gpt-5.6-luna @ xhigh · cursor-xl
cursor-xlxhigh
- config
- gpt-5.6-luna-eff-xhigh--cli--cursor-xl--dev
- batch
- 2026-07-19--unified
- transport
- cursor-agent-cli-isolated-home
- protocol
- cli · plan
- served model
- gpt-5.6-luna-xhigh
- 采集于
- 2026年7月18日 11:54 · N=2
variant
live
slot 0 · P-q · sandboxed iframe

截图是 similarity 通道测量时的原始像素。运行 live 会在 sandboxed iframe 中重新执行原始输出;渲染结果取决于你的浏览器和字体,不保证与测量像素一致。
similarity 邻居
最近
gpt-5.6-luna @max · cursor-xl0.74gpt-5.6-terra @max · cursor-xl0.73gpt-5.6-luna @max · codex-oauth0.72gpt-5.6-luna @max · cursor0.71gpt-5.6-luna @xhigh · cursor0.71最远
north-mini-code-free · api0.46claude-haiku-4-5 @max · CC0.48claude-sonnet-4 · cursor0.48claude-sonnet-4-thinking · cursor0.49minimax-m2.5 · go0.49限于 session 2026-07-19--unified
similarity 衡量本 session 内的趋同程度 —— 不是质量。
Fidelity —— 卡片展示的数据对不对?
- namematch
- conditionmatch
- datematch
- max tempambiguous展示值:17max-equals-min
- min tempambiguous展示值:17max-equals-min
- hourlyambiguouscoverage · 0 命中 · 0 不符 · 24 未展示
- request sidematch0 处违规
extractor fidelity-extractor-v1+Berlin-2026-07-15
源码 —— 原始模型输出,一字节未改
下载 card.html<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Aeris — Daily Weather</title>
<style>
:root {
color-scheme: dark;
--ink: #f3f7fb;
--muted: #91a4b8;
--soft: #b7c8d9;
--line: rgba(187, 219, 241, 0.13);
--panel: rgba(16, 34, 53, 0.78);
--panel-strong: rgba(20, 42, 65, 0.92);
--accent: #72d7e8;
--accent-warm: #ffbf71;
--accent-cool: #91bfff;
}
* {
box-sizing: border-box;
}
html,
body {
min-width: 1100px;
min-height: 100%;
margin: 0;
}
body {
overflow-x: auto;
color: var(--ink);
background:
radial-gradient(circle at 12% 8%, rgba(49, 133, 171, 0.22), transparent 29rem),
radial-gradient(circle at 88% 88%, rgba(79, 79, 151, 0.2), transparent 31rem),
#07131f;
font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
letter-spacing: 0.01em;
}
body::before {
position: fixed;
inset: 0;
z-index: -1;
pointer-events: none;
content: "";
opacity: 0.28;
background-image:
linear-gradient(rgba(146, 191, 218, 0.05) 1px, transparent 1px),
linear-gradient(90deg, rgba(146, 191, 218, 0.05) 1px, transparent 1px);
background-size: 58px 58px;
mask-image: linear-gradient(to bottom, black, transparent 78%);
}
body::after {
position: fixed;
inset: 0;
z-index: -1;
pointer-events: none;
content: "";
background: linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.025) 48%, transparent 55%);
}
[hidden] {
display: none !important;
}
.dashboard {
width: min(1180px, calc(100vw - 68px));
margin: 0 auto;
padding: 28px 0 24px;
}
.topbar {
display: flex;
align-items: center;
justify-content: space-between;
height: 38px;
margin-bottom: 22px;
}
.brand {
display: flex;
align-items: center;
gap: 11px;
color: var(--soft);
font-size: 11px;
font-weight: 750;
letter-spacing: 0.2em;
text-transform: uppercase;
}
.brand-mark {
position: relative;
display: grid;
width: 25px;
height: 25px;
place-items: center;
overflow: hidden;
border: 1px solid rgba(114, 215, 232, 0.45);
border-radius: 8px;
background: linear-gradient(145deg, rgba(114, 215, 232, 0.3), rgba(80, 117, 190, 0.13));
box-shadow: 0 0 22px rgba(114, 215, 232, 0.15);
}
.brand-mark::before,
.brand-mark::after {
position: absolute;
width: 16px;
height: 1px;
content: "";
background: var(--accent);
transform: rotate(-38deg);
}
.brand-mark::after {
width: 10px;
margin-top: 8px;
margin-left: 8px;
opacity: 0.55;
}
.topbar-meta {
display: flex;
align-items: center;
gap: 18px;
color: #7890a6;
font-size: 10px;
font-weight: 700;
letter-spacing: 0.14em;
text-transform: uppercase;
}
.topbar-meta span:first-child {
display: flex;
align-items: center;
gap: 7px;
}
.status-dot {
width: 6px;
height: 6px;
border-radius: 50%;
background: #71d8b1;
box-shadow: 0 0 0 4px rgba(113, 216, 177, 0.1), 0 0 15px rgba(113, 216, 177, 0.85);
}
.weather-shell {
position: relative;
}
.hero-card,
.hourly-card {
position: relative;
overflow: hidden;
border: 1px solid var(--line);
background: linear-gradient(140deg, rgba(20, 43, 67, 0.94), rgba(10, 26, 43, 0.89));
box-shadow:
0 25px 70px rgba(0, 0, 0, 0.22),
inset 0 1px rgba(255, 255, 255, 0.055);
}
.hero-card {
min-height: 274px;
padding: 27px 30px 29px;
border-radius: 28px;
}
.hero-card::before {
position: absolute;
top: -185px;
right: -120px;
width: 490px;
height: 390px;
border: 1px solid rgba(114, 215, 232, 0.12);
border-radius: 50%;
content: "";
box-shadow:
0 0 0 30px rgba(114, 215, 232, 0.025),
0 0 0 62px rgba(114, 215, 232, 0.02);
transform: rotate(-18deg);
}
.hero-card::after {
position: absolute;
right: 65px;
bottom: -155px;
width: 340px;
height: 230px;
border-radius: 50%;
content: "";
background: radial-gradient(ellipse, rgba(114, 215, 232, 0.12), transparent 70%);
filter: blur(8px);
}
.hero-header {
position: relative;
z-index: 1;
display: flex;
align-items: flex-start;
justify-content: space-between;
padding-bottom: 21px;
border-bottom: 1px solid rgba(183, 213, 235, 0.1);
}
.location-line {
display: flex;
align-items: center;
gap: 9px;
margin-bottom: 8px;
color: var(--accent);
font-size: 10px;
font-weight: 800;
letter-spacing: 0.16em;
text-transform: uppercase;
}
.pin {
position: relative;
width: 9px;
height: 12px;
border: 1.5px solid currentColor;
border-radius: 8px 8px 8px 8px;
transform: scale(0.9);
}
.pin::before {
position: absolute;
top: 2px;
left: 2px;
width: 3px;
height: 3px;
border: 1px solid currentColor;
border-radius: 50%;
content: "";
}
.pin::after {
position: absolute;
bottom: -4px;
left: 2px;
width: 4px;
height: 4px;
border-right: 1.5px solid currentColor;
border-bottom: 1.5px solid currentColor;
content: "";
transform: rotate(45deg);
}
h1 {
max-width: 650px;
margin: 0;
color: var(--ink);
font-size: 31px;
font-weight: 620;
letter-spacing: -0.04em;
line-height: 1.03;
}
.hero-date {
padding: 9px 13px;
border: 1px solid rgba(175, 208, 230, 0.14);
border-radius: 10px;
color: var(--soft);
background: rgba(8, 20, 34, 0.36);
font-size: 11px;
font-weight: 700;
letter-spacing: 0.06em;
white-space: nowrap;
}
.hero-body {
position: relative;
z-index: 1;
display: grid;
grid-template-columns: 1.04fr 1fr 1.06fr;
gap: 38px;
align-items: center;
min-height: 161px;
padding-top: 22px;
}
.condition-lockup {
display: flex;
align-items: center;
gap: 19px;
}
.condition-icon {
display: grid;
flex: 0 0 83px;
width: 83px;
height: 83px;
place-items: center;
border: 1px solid rgba(114, 215, 232, 0.2);
border-radius: 22px;
color: var(--accent-warm);
background: linear-gradient(145deg, rgba(114, 215, 232, 0.11), rgba(12, 31, 48, 0.42));
box-shadow:
inset 0 1px rgba(255, 255, 255, 0.08),
0 13px 32px rgba(0, 0, 0, 0.13);
}
.condition-icon svg {
width: 58px;
height: 58px;
overflow: visible;
}
.condition-icon.tone-cool {
color: var(--accent-cool);
}
.condition-icon.tone-wet {
color: #74d6e2;
}
.condition-icon.tone-storm {
color: #cfb7ff;
}
.condition-icon.tone-snow {
color: #e0f4ff;
}
.condition-icon.tone-fog {
color: #a9bfce;
}
.eyebrow {
margin-bottom: 8px;
color: #7895ad;
font-size: 9px;
font-weight: 800;
letter-spacing: 0.16em;
text-transform: uppercase;
}
.condition-name {
margin-bottom: 9px;
color: var(--ink);
font-size: 19px;
font-weight: 550;
letter-spacing: -0.025em;
}
.condition-detail {
color: var(--muted);
font-size: 11px;
line-height: 1.45;
}
.temperature-readout {
min-width: 0;
padding-left: 28px;
border-left: 1px solid rgba(183, 213, 235, 0.11);
}
.big-temperature {
display: flex;
align-items: flex-start;
margin: -3px 0 2px;
color: var(--ink);
font-size: 66px;
font-weight: 280;
letter-spacing: -0.09em;
line-height: 0.9;
}
.big-temperature .degree {
margin-top: 5px;
margin-left: 8px;
color: var(--accent);
font-size: 19px;
font-weight: 520;
letter-spacing: -0.03em;
}
.temperature-caption {
color: var(--muted);
font-size: 11px;
}
.range-panel {
padding: 17px 18px 16px;
border: 1px solid rgba(183, 213, 235, 0.12);
border-radius: 16px;
background: rgba(7, 19, 32, 0.35);
}
.range-values {
display: flex;
align-items: baseline;
justify-content: space-between;
margin-bottom: 12px;
}
.range-value {
color: var(--ink);
font-size: 19px;
font-weight: 550;
letter-spacing: -0.035em;
}
.range-value small {
margin-left: 3px;
color: #7992a8;
font-size: 10px;
font-weight: 700;
letter-spacing: 0.03em;
}
.range-value.low {
color: #9ed9f1;
}
.range-track {
position: relative;
height: 6px;
margin: 2px 0 11px;
border-radius: 99px;
background: rgba(158, 196, 220, 0.12);
}
.range-track::before {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border-radius: inherit;
content: "";
background: linear-gradient(90deg, #83cfee 0%, #72d7e8 38%, #ffc16e 82%, #ffad63 100%);
opacity: 0.9;
}
.range-track::after {
position: absolute;
top: -3px;
left: 72%;
width: 12px;
height: 12px;
border: 2px solid #d8f2f4;
border-radius: 50%;
content: "";
background: #2f748d;
box-shadow: 0 0 15px rgba(114, 215, 232, 0.65);
transform: translateX(-50%);
}
.range-labels {
display: flex;
justify-content: space-between;
color: #6f8a9f;
font-size: 9px;
font-weight: 700;
letter-spacing: 0.08em;
text-transform: uppercase;
}
.hourly-card {
margin-top: 18px;
padding: 21px 22px 20px;
border-radius: 23px;
background: rgba(12, 29, 46, 0.81);
}
.hourly-card::before {
position: absolute;
top: 0;
right: 11%;
left: 11%;
height: 1px;
content: "";
background: linear-gradient(90deg, transparent, rgba(114, 215, 232, 0.34), transparent);
}
.section-heading {
display: flex;
align-items: flex-end;
justify-content: space-between;
margin-bottom: 18px;
}
.section-heading h2 {
margin: 0 0 4px;
color: var(--ink);
font-size: 16px;
font-weight: 600;
letter-spacing: -0.02em;
}
.section-heading p {
margin: 0;
color: #728da4;
font-size: 10px;
letter-spacing: 0.02em;
}
.hourly-summary {
display: flex;
align-items: center;
gap: 8px;
color: #7e96aa;
font-size: 10px;
font-weight: 700;
letter-spacing: 0.11em;
text-transform: uppercase;
}
.hourly-summary::before {
width: 6px;
height: 6px;
border-radius: 50%;
content: "";
background: var(--accent);
box-shadow: 0 0 10px rgba(114, 215, 232, 0.8);
}
.hourly-grid {
display: grid;
grid-template-columns: repeat(12, minmax(0, 1fr));
gap: 8px;
}
.hour-card {
position: relative;
min-width: 0;
height: 106px;
padding: 12px 8px 9px;
border: 1px solid rgba(181, 215, 236, 0.1);
border-radius: 12px;
background: linear-gradient(180deg, rgba(37, 67, 91, 0.37), rgba(11, 27, 44, 0.47));
text-align: center;
transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}
.hour-card:hover {
border-color: rgba(114, 215, 232, 0.4);
background: linear-gradient(180deg, rgba(41, 84, 108, 0.46), rgba(11, 29, 47, 0.58));
transform: translateY(-2px);
}
.hour-label {
display: block;
margin-bottom: 9px;
color: #829bb0;
font-size: 10px;
font-weight: 700;
letter-spacing: 0.05em;
}
.hour-temperature {
display: block;
min-height: 17px;
color: var(--ink);
font-size: 14px;
font-weight: 650;
letter-spacing: -0.02em;
}
.hour-temperature.missing {
color: #657e93;
}
.hour-bar {
position: absolute;
right: 12px;
bottom: 10px;
left: 12px;
height: 28px;
border-radius: 4px;
background: rgba(121, 174, 204, 0.07);
}
.hour-bar i {
position: absolute;
right: 0;
bottom: 0;
left: 0;
height: var(--bar-height);
min-height: 4px;
border-radius: 4px;
background: linear-gradient(180deg, rgba(114, 215, 232, 0.9), rgba(82, 131, 180, 0.35));
box-shadow: 0 0 12px rgba(114, 215, 232, 0.16);
}
.footer-note {
display: flex;
justify-content: space-between;
margin-top: 14px;
padding: 0 4px;
color: #587187;
font-size: 9px;
letter-spacing: 0.06em;
text-transform: uppercase;
}
.state-panel {
display: grid;
min-height: 560px;
place-items: center;
padding: 50px;
border: 1px solid var(--line);
border-radius: 28px;
background: linear-gradient(140deg, rgba(20, 43, 67, 0.94), rgba(10, 26, 43, 0.89));
text-align: center;
}
.state-inner {
max-width: 380px;
}
.state-symbol {
display: grid;
width: 62px;
height: 62px;
margin: 0 auto 21px;
place-items: center;
border: 1px solid rgba(114, 215, 232, 0.24);
border-radius: 18px;
color: var(--accent);
background: rgba(114, 215, 232, 0.08);
}
.state-symbol svg {
width: 30px;
height: 30px;
}
.state-panel.error .state-symbol {
border-color: rgba(255, 157, 120, 0.25);
color: #ffad83;
background: rgba(255, 157, 120, 0.08);
}
.state-panel h2 {
margin: 0 0 9px;
color: var(--ink);
font-size: 22px;
font-weight: 560;
letter-spacing: -0.035em;
}
.state-panel p {
margin: 0;
color: var(--muted);
font-size: 12px;
line-height: 1.6;
}
.loader {
width: 110px;
height: 3px;
margin: 25px auto 0;
overflow: hidden;
border-radius: 99px;
background: rgba(114, 215, 232, 0.13);
}
.loader::before {
display: block;
width: 42%;
height: 100%;
border-radius: inherit;
content: "";
background: var(--accent);
box-shadow: 0 0 15px var(--accent);
animation: loading 1.25s ease-in-out infinite;
}
@keyframes loading {
0% { transform: translateX(-110%); }
50% { transform: translateX(145%); }
100% { transform: translateX(280%); }
}
@media (max-width: 1140px) {
.dashboard {
width: calc(100vw - 42px);
}
.hero-body {
gap: 23px;
}
.temperature-readout {
padding-left: 19px;
}
}
</style>
</head>
<body>
<main class="dashboard">
<header class="topbar">
<div class="brand">
<span class="brand-mark" aria-hidden="true"></span>
<span>Aeris / Daily brief</span>
</div>
<div class="topbar-meta">
<span><i class="status-dot" aria-hidden="true"></i> Atmospheric data</span>
<span>UTC · °C</span>
</div>
</header>
<section id="loadingState" class="state-panel" aria-live="polite">
<div class="state-inner">
<div class="state-symbol" aria-hidden="true">
<svg viewBox="0 0 32 32" fill="none">
<circle cx="16" cy="16" r="8" stroke="currentColor" stroke-width="1.5"/>
<path d="M16 3v4M16 25v4M3 16h4M25 16h4M6.8 6.8l2.8 2.8M22.4 22.4l2.8 2.8M25.2 6.8l-2.8 2.8M9.6 22.4l-2.8 2.8" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"/>
</svg>
</div>
<h2>Reading the atmosphere</h2>
<p>Gathering the latest daily conditions and hourly temperatures.</p>
<div class="loader" aria-hidden="true"></div>
</div>
</section>
<section id="errorState" class="state-panel error" hidden aria-live="assertive">
<div class="state-inner">
<div class="state-symbol" aria-hidden="true">
<svg viewBox="0 0 32 32" fill="none">
<path d="M16 5.5 28 26H4L16 5.5Z" stroke="currentColor" stroke-width="1.6" stroke-linejoin="round"/>
<path d="M16 12v7M16 23.2v.2" stroke="currentColor" stroke-width="1.8" stroke-linecap="round"/>
</svg>
</div>
<h2>Weather data could not be loaded</h2>
<p id="errorMessage">Please check the requested date or try again later.</p>
</div>
</section>
<div id="weatherContent" hidden>
<section class="hero-card" aria-labelledby="locationName">
<div class="hero-header">
<div>
<div class="location-line">
<span class="pin" aria-hidden="true"></span>
<span id="coordinates">52.52° N · 13.405° E</span>
</div>
<h1 id="locationName">Berlin</h1>
</div>
<div id="dateText" class="hero-date">Thursday, August 13, 2026</div>
</div>
<div class="hero-body">
<div class="condition-lockup">
<div id="conditionIcon" class="condition-icon" aria-hidden="true"></div>
<div>
<div class="eyebrow">Expected conditions</div>
<div id="conditionName" class="condition-name">—</div>
<div class="condition-detail">Daily outlook<br>for the requested location</div>
</div>
</div>
<div class="temperature-readout">
<div class="eyebrow">Daily maximum</div>
<div class="big-temperature">
<span id="maxTemperature">—</span>
<span class="degree">°C</span>
</div>
<div class="temperature-caption">Highest expected temperature</div>
</div>
<div class="range-panel">
<div class="eyebrow">Temperature range</div>
<div class="range-values">
<span class="range-value low"><span id="minTemperature">—</span><small>°C low</small></span>
<span class="range-value"><span id="maxRangeTemperature">—</span><small>°C high</small></span>
</div>
<div class="range-track" aria-hidden="true"></div>
<div class="range-labels">
<span>Minimum</span>
<span>Maximum</span>
</div>
</div>
</div>
</section>
<section class="hourly-card" aria-labelledby="hourlyTitle">
<div class="section-heading">
<div>
<h2 id="hourlyTitle">Hourly temperature</h2>
<p id="hourlySubtitle">24 readings across the requested day</p>
</div>
<div class="hourly-summary">UTC timeline</div>
</div>
<div id="hourlyGrid" class="hourly-grid"></div>
</section>
<footer class="footer-note">
<span>Open-Meteo compatible weather service</span>
<span id="dataMode">Daily observation</span>
</footer>
</div>
</main>
<script>
(() => {
"use strict";
const params = new URLSearchParams(window.location.search);
const today = new Date().toISOString().slice(0, 10);
function validDate(value) {
if (!/^\d{4}-\d{2}-\d{2}$/.test(value || "")) return false;
const parsed = new Date(value + "T00:00:00Z");
return !Number.isNaN(parsed.getTime()) && parsed.toISOString().slice(0, 10) === value;
}
function validNumber(value, min, max) {
const number = Number(value);
return Number.isFinite(number) && number >= min && number <= max ? number : null;
}
const latitude = validNumber(params.get("lat"), -90, 90) ?? 52.52;
const longitude = validNumber(params.get("lon"), -180, 180) ?? 13.405;
const requestedDate = validDate(params.get("date")) ? params.get("date") : today;
const locationName = (params.get("name") || "Berlin").trim() || "Berlin";
const isArchive = requestedDate < today;
const loadingState = document.getElementById("loadingState");
const errorState = document.getElementById("errorState");
const weatherContent = document.getElementById("weatherContent");
const conditionMap = {
clear: {
label: "Clear sky",
tone: "warm",
icon: "clear"
},
mainlyClear: {
label: "Mainly clear",
tone: "warm",
icon: "mainlyClear"
},
partlyCloudy: {
label: "Partly cloudy",
tone: "cool",
icon: "partlyCloudy"
},
overcast: {
label: "Overcast",
tone: "fog",
icon: "cloud"
},
fog: {
label: "Fog",
tone: "fog",
icon: "fog"
},
drizzle: {
label: "Drizzle",
tone: "wet",
icon: "drizzle"
},
rain: {
label: "Rain",
tone: "wet",
icon: "rain"
},
snow: {
label: "Snow fall",
tone: "snow",
icon: "snow"
},
snowGrains: {
label: "Snow grains",
tone: "snow",
icon: "snow"
},
showers: {
label: "Rain showers",
tone: "wet",
icon: "showers"
},
snowShowers: {
label: "Snow showers",
tone: "snow",
icon: "snowShowers"
},
storm: {
label: "Thunderstorm",
tone: "storm",
icon: "storm"
},
hailStorm: {
label: "Thunderstorm with hail",
tone: "storm",
icon: "storm"
},
unknown: {
label: "Variable conditions",
tone: "cool",
icon: "cloud"
}
};
function conditionForCode(code) {
const value = Number(code);
if (value === 0) return conditionMap.clear;
if (value === 1) return conditionMap.mainlyClear;
if (value === 2) return conditionMap.partlyCloudy;
if (value === 3) return conditionMap.overcast;
if (value === 45 || value === 48) return conditionMap.fog;
if ([51, 53, 55, 56, 57].includes(value)) return conditionMap.drizzle;
if ([61, 63, 65, 66, 67].includes(value)) return conditionMap.rain;
if (value === 77) return conditionMap.snowGrains;
if ([71, 73, 75].includes(value)) return conditionMap.snow;
if ([80, 81, 82].includes(value)) return conditionMap.showers;
if ([85, 86].includes(value)) return conditionMap.snowShowers;
if (value === 95) return conditionMap.storm;
if ([96, 99].includes(value)) return conditionMap.hailStorm;
return conditionMap.unknown;
}
function weatherIcon(type) {
const icons = {
clear: `
<svg viewBox="0 0 72 72" fill="none">
<circle cx="36" cy="36" r="12.5" fill="currentColor" opacity=".94"/>
<path d="M36 8v7M36 57v7M8 36h7M57 36h7M16.2 16.2l5 5M50.8 50.8l5 5M55.8 16.2l-5 5M21.2 50.8l-5 5" stroke="currentColor" stroke-width="3" stroke-linecap="round"/>
</svg>`,
mainlyClear: `
<svg viewBox="0 0 72 72" fill="none">
<circle cx="30" cy="29" r="12" fill="currentColor" opacity=".94"/>
<path d="M30 7v6M30 45v6M8 29h6M46 29h6M14.5 13.5l4.2 4.2M45.5 44.5l4.2 4.2M45.5 13.5l-4.2 4.2" stroke="currentColor" stroke-width="2.5" stroke-linecap="round"/>
<path d="M25 53.5h27.5a9.5 9.5 0 0 0 0-19 13.5 13.5 0 0 0-25.8 4.3A7.4 7.4 0 0 0 25 53.5Z" fill="#17364e" stroke="currentColor" stroke-width="2.2" stroke-linejoin="round"/>
</svg>`,
partlyCloudy: `
<svg viewBox="0 0 72 72" fill="none">
<circle cx="29" cy="27" r="11.5" fill="currentColor" opacity=".9"/>
<path d="M29 7v5.5M29 41.5V47M9 27h5.5M43.5 27H49M14.8 12.8l3.9 3.9M43.2 41.2l3.9 3.9M43.2 12.8l-3.9 3.9" stroke="currentColor" stroke-width="2.4" stroke-linecap="round"/>
<path d="M24 56h29a10 10 0 0 0 0-20 14 14 0 0 0-26.8 4.7A8 8 0 0 0 24 56Z" fill="#17364e" stroke="currentColor" stroke-width="2.3" stroke-linejoin="round"/>
</svg>`,
cloud: `
<svg viewBox="0 0 72 72" fill="none">
<path d="M19 55h34a11 11 0 0 0 0-22 15.5 15.5 0 0 0-29.8 5.4A8.8 8.8 0 0 0 19 55Z" fill="currentColor" opacity=".2" stroke="currentColor" stroke-width="2.8" stroke-linejoin="round"/>
<path d="M19 55h34a11 11 0 0 0 0-22 15.5 15.5 0 0 0-29.8 5.4A8.8 8.8 0 0 0 19 55Z" stroke="currentColor" stroke-width="2.8" stroke-linejoin="round"/>
</svg>`,
fog: `
<svg viewBox="0 0 72 72" fill="none">
<path d="M17 33.5h37a11 11 0 0 0-22-3.2A10.2 10.2 0 0 0 17 33.5Z" fill="currentColor" opacity=".22" stroke="currentColor" stroke-width="2.5" stroke-linejoin="round"/>
<path d="M12 43h48M18 51h36M24 59h25" stroke="currentColor" stroke-width="2.8" stroke-linecap="round"/>
</svg>`,
drizzle: `
<svg viewBox="0 0 72 72" fill="none">
<path d="M18 39h35a10 10 0 0 0 0-20 14.5 14.5 0 0 0-28 5.2A8.3 8.3 0 0 0 18 39Z" fill="currentColor" opacity=".2" stroke="currentColor" stroke-width="2.6" stroke-linejoin="round"/>
<path d="M25 48v4M36 48v4M47 48v4" stroke="currentColor" stroke-width="2.8" stroke-linecap="round"/>
</svg>`,
rain: `
<svg viewBox="0 0 72 72" fill="none">
<path d="M17 37h37a10.5 10.5 0 0 0 0-21 14.5 14.5 0 0 0-28.1 5.2A8.3 8.3 0 0 0 17 37Z" fill="currentColor" opacity=".2" stroke="currentColor" stroke-width="2.6" stroke-linejoin="round"/>
<path d="m25 47-3 7M37 47l-3 7M49 47l-3 7" stroke="currentColor" stroke-width="2.8" stroke-linecap="round"/>
</svg>`,
showers: `
<svg viewBox="0 0 72 72" fill="none">
<path d="M17 36h37a10.5 10.5 0 0 0 0-21 14.5 14.5 0 0 0-28.1 5.2A8.3 8.3 0 0 0 17 36Z" fill="currentColor" opacity=".2" stroke="currentColor" stroke-width="2.6" stroke-linejoin="round"/>
<path d="m24 46-3 7M36 46l-3 7M48 46l-3 7M57 46l-3 7" stroke="currentColor" stroke-width="2.8" stroke-linecap="round"/>
</svg>`,
snow: `
<svg viewBox="0 0 72 72" fill="none">
<path d="M17 36h37a10.5 10.5 0 0 0 0-21 14.5 14.5 0 0 0-28.1 5.2A8.3 8.3 0 0 0 17 36Z" fill="currentColor" opacity=".2" stroke="currentColor" stroke-width="2.6" stroke-linejoin="round"/>
<path d="M24 47v13M18.5 50.3l11 6.4M29.5 50.3l-11 6.4M38 47v13M32.5 50.3l11 6.4M43.5 50.3l-11 6.4M52 47v13M46.5 50.3l11 6.4M57.5 50.3l-11 6.4" stroke="currentColor" stroke-width="1.9" stroke-linecap="round"/>
</svg>`,
snowShowers: `
<svg viewBox="0 0 72 72" fill="none">
<path d="M17 35h37a10.5 10.5 0 0 0 0-21 14.5 14.5 0 0 0-28.1 5.2A8.3 8.3 0 0 0 17 35Z" fill="currentColor" opacity=".2" stroke="currentColor" stroke-width="2.6" stroke-linejoin="round"/>
<path d="M24 46v11M19.5 48.7l9 5.2M28.5 48.7l-9 5.2M43 46v11M38.5 48.7l9 5.2M47.5 48.7l-9 5.2M57 46v5" stroke="currentColor" stroke-width="1.8" stroke-linecap="round"/>
</svg>`,
storm: `
<svg viewBox="0 0 72 72" fill="none">
<path d="M17 36h37a10.5 10.5 0 0 0 0-21 14.5 14.5 0 0 0-28.1 5.2A8.3 8.3 0 0 0 17 36Z" fill="currentColor" opacity=".2" stroke="currentColor" stroke-width="2.6" stroke-linejoin="round"/>
<path d="m38 40-10 15h9l-3 13 13-19h-9l7-9H38Z" fill="currentColor" stroke="currentColor" stroke-width="1.5" stroke-linejoin="round"/>
</svg>`
};
return icons[type] || icons.cloud;
}
function formatTemperature(value) {
const number = Number(value);
return Number.isFinite(number) ? String(Math.round(number)) : "—";
}
function coordinate(value, positive, negative) {
return Math.abs(value).toFixed(3).replace(/\.?0+$/, "") + "° " + (value >= 0 ? positive : negative);
}
function hourLabel(value) {
const match = String(value).match(/T(\d{2}):(\d{2})/);
return match ? match[1] + ":" + match[2] : String(value).slice(-5);
}
function setState(state) {
loadingState.hidden = state !== "loading";
errorState.hidden = state !== "error";
weatherContent.hidden = state !== "ready";
}
function renderWeather(data) {
const daily = data.daily;
const hourly = data.hourly;
const dailyIndex = Array.isArray(daily.time) ? daily.time.indexOf(requestedDate) : -1;
if (
dailyIndex < 0 ||
!Array.isArray(daily.temperature_2m_max) ||
!Array.isArray(daily.temperature_2m_min) ||
!Array.isArray(daily.weather_code) ||
!Array.isArray(hourly.time) ||
!Array.isArray(hourly.temperature_2m)
) {
throw new Error("The weather response did not contain the requested date.");
}
const maximum = daily.temperature_2m_max[dailyIndex];
const minimum = daily.temperature_2m_min[dailyIndex];
const weather = conditionForCode(daily.weather_code[dailyIndex]);
const hourlyRows = hourly.time
.map((time, index) => ({
time,
temperature: hourly.temperature_2m[index]
}))
.filter(row => String(row.time).startsWith(requestedDate));
if (!hourlyRows.length) {
throw new Error("No hourly temperatures were returned for the requested date.");
}
const dateObject = new Date(requestedDate + "T00:00:00Z");
const formattedDate = new Intl.DateTimeFormat("en-US", {
weekday: "long",
month: "long",
day: "numeric",
year: "numeric",
timeZone: "UTC"
}).format(dateObject);
document.getElementById("locationName").textContent = locationName;
document.getElementById("coordinates").textContent =
coordinate(latitude, "N", "S") + " · " + coordinate(longitude, "E", "W");
document.getElementById("dateText").textContent = formattedDate;
document.getElementById("conditionName").textContent = weather.label;
document.getElementById("conditionIcon").className = "condition-icon tone-" + weather.tone;
document.getElementById("conditionIcon").innerHTML = weatherIcon(weather.icon);
document.getElementById("maxTemperature").textContent = formatTemperature(maximum);
document.getElementById("minTemperature").textContent = formatTemperature(minimum);
document.getElementById("maxRangeTemperature").textContent = formatTemperature(maximum);
document.getElementById("hourlySubtitle").textContent =
hourlyRows.length + " readings across the requested day";
document.getElementById("dataMode").textContent =
isArchive ? "Historical observation" : "Forecast observation";
const numericTemperatures = hourlyRows
.map(row => Number(row.temperature))
.filter(Number.isFinite);
const minimumHourly = numericTemperatures.length ? Math.min(...numericTemperatures) : 0;
const maximumHourly = numericTemperatures.length ? Math.max(...numericTemperatures) : 1;
const spread = maximumHourly - minimumHourly || 1;
document.getElementById("hourlyGrid").innerHTML = hourlyRows.map(row => {
const numeric = Number(row.temperature);
const hasTemperature = Number.isFinite(numeric);
const percentage = hasTemperature
? 28 + ((numeric - minimumHourly) / spread) * 72
: 10;
const temperatureText = formatTemperature(row.temperature);
const ariaText = hasTemperature
? hourLabel(row.time) + ", " + temperatureText + " degrees Celsius"
: hourLabel(row.time) + ", temperature unavailable";
return `
<div class="hour-card" aria-label="${ariaText}">
<span class="hour-label">${hourLabel(row.time)}</span>
<span class="hour-temperature${hasTemperature ? "" : " missing"}">${temperatureText}°</span>
<span class="hour-bar" aria-hidden="true" style="--bar-height:${percentage}%"><i></i></span>
</div>
`;
}).join("");
}
async function loadWeather() {
setState("loading");
const endpoint = isArchive ? "/api/om/archive" : "/api/om/forecast";
const query = new URLSearchParams({
latitude: String(latitude),
longitude: String(longitude),
daily: "temperature_2m_max,temperature_2m_min,weather_code",
hourly: "temperature_2m",
timezone: "UTC",
temperature_unit: "celsius",
start_date: requestedDate,
end_date: requestedDate
});
try {
const response = await fetch(endpoint + "?" + query.toString(), {
headers: { "Accept": "application/json" },
cache: "no-store"
});
if (!response.ok) {
throw new Error("The weather service returned an unavailable response.");
}
const data = await response.json();
renderWeather(data);
setState("ready");
} catch (error) {
document.getElementById("errorMessage").textContent =
"Please check the requested date or try again later.";
setState("error");
}
}
loadWeather();
})();
</script>
</body>
</html>L1 —— 廉价的确定性描述量
| bytes 总计 | 34,332 | html / css / js | 4,469 / 15,224 / 14,639 |
|---|---|---|---|
| dom 节点 | 80 | dom 深度 | 10 |
| css 规则 | 86 | 含 js | 是 |
| brightness | 33.4 | contrast | 20.1 |
| colorfulness | 20.4 | 留白 | 87.6% |
该 slot 的 telemetry
| prompt tokens | 3 | completion tokens | 14,680 |
|---|---|---|---|
| total tokens | 14,683 | wall | 99.5 s |
| cost | — | request id | — |
config.json574 B
{
"N": 2,
"auth": {
"credential_ref": "WCB_NONE",
"method": "oauth-login"
},
"billing": "plan",
"config_id": "gpt-5.6-luna-eff-xhigh--cli--cursor-xl--dev",
"effort": "xhigh",
"family": "gpt",
"m": {
"min": 2,
"q": 2
},
"model_id": "gpt-5.6-luna",
"protocol": "cli",
"served_model": "gpt-5.6-luna-xhigh",
"telemetry": {
"completion_tokens": 45577,
"cost_usd": null,
"prompt_tokens": 12,
"total_tokens": 45589,
"wall_ms": 329086
},
"transport": "cursor-agent-cli-isolated-home",
"vendor_sanction_ref": null
}send-log2.5 KB
{
"N": 2,
"batch_id": "2026-08-13--cursor-xl-s2",
"config_id": "gpt-5.6-luna-eff-xhigh--cli--cursor-xl--dev",
"positions": [
{
"attempts": [
{
"attempt_index": 0,
"backoff_ms": null,
"charged": true,
"ended_at": "2026-08-13T09:42:58.601968+00:00",
"http_status": null,
"outcome": "valid",
"reached_model": true,
"reason": "ok",
"request_id": null,
"started_at": "2026-08-13T09:41:19.063060+00:00"
}
],
"block_index": 0,
"model_reaching_attempt_index": 0,
"slot_index": 0,
"terminal_state": "valid",
"variant": "P-q"
},
{
"attempts": [
{
"attempt_index": 0,
"backoff_ms": null,
"charged": true,
"ended_at": "2026-08-13T09:43:56.989339+00:00",
"http_status": null,
"outcome": "valid",
"reached_model": true,
"reason": "ok",
"request_id": null,
"started_at": "2026-08-13T09:43:02.263475+00:00"
}
],
"block_index": 0,
"model_reaching_attempt_index": 0,
"slot_index": 0,
"terminal_state": "valid",
"variant": "P-min"
},
{
"attempts": [
{
"attempt_index": 0,
"backoff_ms": null,
"charged": true,
"ended_at": "2026-08-13T09:45:02.147434+00:00",
"http_status": null,
"outcome": "valid",
"reached_model": true,
"reason": "ok",
"request_id": null,
"started_at": "2026-08-13T09:44:00.405754+00:00"
}
],
"block_index": 1,
"model_reaching_attempt_index": 0,
"slot_index": 1,
"terminal_state": "valid",
"variant": "P-min"
},
{
"attempts": [
{
"attempt_index": 0,
"backoff_ms": null,
"charged": true,
"ended_at": "2026-08-13T09:46:58.397631+00:00",
"http_status": null,
"outcome": "valid",
"reached_model": true,
"reason": "ok",
"request_id": null,
"started_at": "2026-08-13T09:45:05.262617+00:00"
}
],
"block_index": 1,
"model_reaching_attempt_index": 0,
"slot_index": 1,
"terminal_state": "valid",
"variant": "P-q"
}
],
"retry_policy": {
"max_unreachable_retries": 5,
"rate_limit_backoff": {
"max_attempts": 4,
"max_total_ms": 60000
}
}
}