grok-4.3 @ medium · api

apimedium
config
grok-4.3-eff-medium--api--official--dev
batch
2026-07-19--unified
transport
xai-official-api
protocol
api · metered
served model
grok-4.3
采集于
2026年7月18日 11:54 · N=4
variant
live
slot 0 · P-q · sandboxed iframe
grok-4.3 @medium · api P-q slot 0 截图

截图是 similarity 通道测量时的原始像素。运行 live 会在 sandboxed iframe 中重新执行原始输出;渲染结果取决于你的浏览器和字体,不保证与测量像素一致。

similarity 邻居

限于 session 2026-07-19--unified

similarity 衡量本 session 内的趋同程度 —— 不是质量。

Fidelity —— 卡片展示的数据对不对?

  • namematch
  • conditionmatch
  • datenot-foundno-parseable-date
  • max tempambiguousinsufficient-distinct-temperature-nodes
  • min tempambiguousinsufficient-distinct-temperature-nodes
  • 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=1280, height=800">
<title>Weather</title>
<style>
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  width: 1280px;
  height: 800px;
  margin: 0;
  background: linear-gradient(135deg, #0f172a 0%, #1e2937 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e2e8f0;
  overflow: hidden;
}
.card {
  width: 520px;
  background: #1e2937;
  border-radius: 24px;
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.4);
  overflow: hidden;
  border: 1px solid #334155;
}
.header {
  padding: 32px 32px 24px;
  background: linear-gradient(to bottom, #334155, transparent);
}
.location {
  display: flex;
  align-items: center;
  gap: 12px;
}
.location-icon {
  width: 28px;
  height: 28px;
  background: #64748b;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}
.location h1 {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.5px;
}
.date {
  margin-top: 6px;
  font-size: 15px;
  color: #94a3b8;
  padding-left: 40px;
}
.main {
  padding: 0 32px 32px;
  display: flex;
  align-items: flex-end;
  gap: 24px;
}
.temp-block {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.max-temp {
  font-size: 72px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -3px;
}
.min-temp {
  font-size: 32px;
  font-weight: 500;
  color: #94a3b8;
  margin-bottom: 8px;
}
.condition {
  font-size: 18px;
  font-weight: 500;
  color: #cbd5e1;
  margin-bottom: 12px;
  padding-left: 2px;
}
.hourly {
  padding: 24px 32px;
  background: #0f172a;
  border-top: 1px solid #334155;
}
.hourly h3 {
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.hourly-list {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: none;
}
.hourly-list::-webkit-scrollbar {
  display: none;
}
.hour-item {
  min-width: 42px;
  text-align: center;
  flex-shrink: 0;
}
.hour-time {
  font-size: 11px;
  color: #64748b;
  margin-bottom: 6px;
  font-weight: 500;
}
.hour-temp {
  font-size: 15px;
  font-weight: 600;
  background: #1e2937;
  padding: 6px 0;
  border-radius: 8px;
  border: 1px solid #334155;
}
.error {
  padding: 80px 32px;
  text-align: center;
  color: #f87171;
  font-size: 15px;
}
</style>
</head>
<body>
<div class="card" id="card">
  <div class="header">
    <div class="location">
      <div class="location-icon">📍</div>
      <h1 id="location">Berlin</h1>
    </div>
    <div class="date" id="date">Today</div>
  </div>
  
  <div class="main" id="main-content">
    <div>
      <div class="temp-block">
        <div class="max-temp" id="max-temp">—</div>
        <div class="min-temp" id="min-temp">/ —</div>
      </div>
      <div class="condition" id="condition">—</div>
    </div>
  </div>
  
  <div class="hourly" id="hourly-section">
    <h3>Hourly • UTC</h3>
    <div class="hourly-list" id="hourly-list"></div>
  </div>
</div>

<script>
function getQueryParams() {
  const params = new URLSearchParams(window.location.search);
  const lat = parseFloat(params.get('lat')) || 52.52;
  const lon = parseFloat(params.get('lon')) || 13.405;
  const name = params.get('name') || 'Berlin';
  let date = params.get('date');
  
  if (!date) {
    const today = new Date();
    date = today.toISOString().split('T')[0];
  }
  
  return { lat, lon, name, date };
}

function getWeatherCondition(code) {
  const conditions = {
    0: "Clear sky",
    1: "Mainly clear",
    2: "Partly cloudy",
    3: "Overcast",
    45: "Fog",
    48: "Depositing rime fog",
    51: "Light drizzle",
    53: "Moderate drizzle",
    55: "Dense drizzle",
    61: "Slight rain",
    63: "Moderate rain",
    65: "Heavy rain",
    71: "Slight snow",
    73: "Moderate snow",
    75: "Heavy snow",
    77: "Snow grains",
    80: "Slight rain showers",
    81: "Moderate rain showers",
    82: "Violent rain showers",
    85: "Slight snow showers",
    86: "Heavy snow showers",
    95: "Thunderstorm",
    96: "Thunderstorm with hail",
    99: "Thunderstorm with heavy hail"
  };
  return conditions[code] || "Unknown";
}

function formatDate(dateStr) {
  const date = new Date(dateStr + 'T00:00:00Z');
  return date.toLocaleDateString('en-US', { 
    weekday: 'long', 
    month: 'long', 
    day: 'numeric',
    timeZone: 'UTC'
  });
}

function isPastDate(dateStr) {
  const today = new Date();
  const todayStr = today.toISOString().split('T')[0];
  return dateStr < todayStr;
}

async function fetchWeather(lat, lon, date) {
  const isPast = isPastDate(date);
  const endpoint = isPast ? '/api/om/archive' : '/api/om/forecast';
  
  const params = new URLSearchParams({
    latitude: lat,
    longitude: lon,
    daily: 'temperature_2m_max,temperature_2m_min,weather_code',
    hourly: 'temperature_2m',
    timezone: 'UTC',
    temperature_unit: 'celsius',
    start_date: date,
    end_date: date
  });
  
  const url = `${endpoint}?${params.toString()}`;
  
  const response = await fetch(url);
  if (!response.ok) throw new Error('Network error');
  
  const data = await response.json();
  return data;
}

function renderWeather(data, name, dateStr) {
  const card = document.getElementById('card');
  
  // Location and date
  document.getElementById('location').textContent = name;
  document.getElementById('date').textContent = formatDate(dateStr);
  
  // Daily data
  const daily = data.daily;
  const max = Math.round(daily.temperature_2m_max[0]);
  const min = Math.round(daily.temperature_2m_min[0]);
  const code = daily.weather_code[0];
  
  document.getElementById('max-temp').textContent = max;
  document.getElementById('min-temp').textContent = `/ ${min}`;
  document.getElementById('condition').textContent = getWeatherCondition(code);
  
  // Hourly data
  const hourlyList = document.getElementById('hourly-list');
  hourlyList.innerHTML = '';
  
  const hourlyTemps = data.hourly.temperature_2m;
  const hourlyTimes = data.hourly.time;
  
  // Filter to only the requested day (should already be one day, but ensure)
  for (let i = 0; i < 24 && i < hourlyTemps.length; i++) {
    const temp = Math.round(hourlyTemps[i]);
    const time = hourlyTimes[i];
    const hour = time.split('T')[1].substring(0, 5);
    
    const item = document.createElement('div');
    item.className = 'hour-item';
    item.innerHTML = `
      <div class="hour-time">${hour}</div>
      <div class="hour-temp">${temp}°</div>
    `;
    hourlyList.appendChild(item);
  }
}

function showError() {
  const card = document.getElementById('card');
  card.innerHTML = `
    <div class="error">
      <div style="font-size: 48px; margin-bottom: 16px;">⚠️</div>
      <div>Unable to load weather data</div>
    </div>
  `;
}

async function init() {
  const { lat, lon, name, date } = getQueryParams();
  
  try {
    const data = await fetchWeather(lat, lon, date);
    
    if (!data.daily || !data.hourly) {
      throw new Error('Invalid data');
    }
    
    renderWeather(data, name, date);
  } catch (error) {
    showError();
  }
}

init();
</script>
</body>
</html>

L1 —— 廉价的确定性描述量

bytes 总计7,269html / css / js853 / 2,329 / 4,087
dom 节点23dom 深度7
css 规则21含 js
brightness33.4contrast12.6
colorfulness9.1留白94.1%

该 slot 的 telemetry

prompt tokens493completion tokens2,253
total tokens2,746wall35.7 s
costrequest id
config.json557 B
{
  "N": 4,
  "auth": {
    "credential_ref": "WCB_XAI_OFFICIAL_KEY",
    "method": "api-key"
  },
  "billing": "metered",
  "config_id": "grok-4.3-eff-medium--api--official--dev",
  "effort": "medium",
  "family": "grok",
  "m": {
    "min": 4,
    "q": 4
  },
  "model_id": "grok-4.3",
  "protocol": "api",
  "served_model": "grok-4.3",
  "telemetry": {
    "completion_tokens": 19900,
    "cost_usd": null,
    "prompt_tokens": 3912,
    "total_tokens": 23812,
    "wall_ms": 263572
  },
  "transport": "xai-official-api",
  "vendor_sanction_ref": null
}
send-log4.6 KB
{
  "N": 4,
  "batch_id": "2026-07-18--official-grok",
  "config_id": "grok-4.3-eff-medium--api--official--dev",
  "positions": [
    {
      "attempts": [
        {
          "attempt_index": 0,
          "backoff_ms": null,
          "charged": true,
          "ended_at": "2026-07-17T14:58:25.711900+00:00",
          "http_status": 200,
          "outcome": "valid",
          "reached_model": true,
          "reason": "ok",
          "request_id": null,
          "started_at": "2026-07-17T14:58:00.202156+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-07-17T14:59:04.504133+00:00",
          "http_status": 200,
          "outcome": "valid",
          "reached_model": true,
          "reason": "ok",
          "request_id": null,
          "started_at": "2026-07-17T14:58:28.782401+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-07-17T14:59:41.463775+00:00",
          "http_status": 200,
          "outcome": "valid",
          "reached_model": true,
          "reason": "ok",
          "request_id": null,
          "started_at": "2026-07-17T14:59:07.969704+00:00"
        }
      ],
      "block_index": 1,
      "model_reaching_attempt_index": 0,
      "slot_index": 1,
      "terminal_state": "valid",
      "variant": "P-q"
    },
    {
      "attempts": [
        {
          "attempt_index": 0,
          "backoff_ms": null,
          "charged": true,
          "ended_at": "2026-07-17T15:00:15.622667+00:00",
          "http_status": 200,
          "outcome": "valid",
          "reached_model": true,
          "reason": "ok",
          "request_id": null,
          "started_at": "2026-07-17T14:59:45.866466+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-07-17T15:00:58.301909+00:00",
          "http_status": 200,
          "outcome": "valid",
          "reached_model": true,
          "reason": "ok",
          "request_id": null,
          "started_at": "2026-07-17T15:00:19.439118+00:00"
        }
      ],
      "block_index": 2,
      "model_reaching_attempt_index": 0,
      "slot_index": 2,
      "terminal_state": "valid",
      "variant": "P-min"
    },
    {
      "attempts": [
        {
          "attempt_index": 0,
          "backoff_ms": null,
          "charged": true,
          "ended_at": "2026-07-17T15:01:39.844653+00:00",
          "http_status": 200,
          "outcome": "valid",
          "reached_model": true,
          "reason": "ok",
          "request_id": null,
          "started_at": "2026-07-17T15:01:02.523812+00:00"
        }
      ],
      "block_index": 2,
      "model_reaching_attempt_index": 0,
      "slot_index": 2,
      "terminal_state": "valid",
      "variant": "P-q"
    },
    {
      "attempts": [
        {
          "attempt_index": 0,
          "backoff_ms": null,
          "charged": true,
          "ended_at": "2026-07-17T15:02:21.681131+00:00",
          "http_status": 200,
          "outcome": "valid",
          "reached_model": true,
          "reason": "ok",
          "request_id": null,
          "started_at": "2026-07-17T15:01:43.196309+00:00"
        }
      ],
      "block_index": 3,
      "model_reaching_attempt_index": 0,
      "slot_index": 3,
      "terminal_state": "valid",
      "variant": "P-q"
    },
    {
      "attempts": [
        {
          "attempt_index": 0,
          "backoff_ms": null,
          "charged": true,
          "ended_at": "2026-07-17T15:02:49.601168+00:00",
          "http_status": 200,
          "outcome": "valid",
          "reached_model": true,
          "reason": "ok",
          "request_id": null,
          "started_at": "2026-07-17T15:02:25.178905+00:00"
        }
      ],
      "block_index": 3,
      "model_reaching_attempt_index": 0,
      "slot_index": 3,
      "terminal_state": "valid",
      "variant": "P-min"
    }
  ],
  "retry_policy": {
    "max_unreachable_retries": 5,
    "rate_limit_backoff": {
      "max_attempts": 4,
      "max_total_ms": 60000
    }
  }
}