doubao-seed-2-1-pro-260628 @ enabled · api
apienabled
- config
- doubao-seed-2-1-pro-eff-enabled--api--official--dev
- batch
- 2026-07-19--unified
- transport
- volcano-ark-official-api
- protocol
- api · metered
- served model
- doubao-seed-2-1-pro-260628
- 采集于
- 2026年7月18日 11:54 · N=4
variant
live
slot 0 · P-q · sandboxed iframe
该 slot 没有截图
截图是 similarity 通道测量时的原始像素。运行 live 会在 sandboxed iframe 中重新执行原始输出;渲染结果取决于你的浏览器和字体,不保证与测量像素一致。
similarity 邻居本 session 没有 similarity 数据 —— 这个 batch 没有计算 pairs。
Fidelity —— 卡片展示的数据对不对?
没有 fidelity 判定 —— 该 slot 为 model-failed(fidelity 仅对 valid slot 计算)。
源码 —— 原始模型输出,一字节未改
下载 card.html<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Weather Card</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
background: linear-gradient(135deg, #e0f7fa 0%, #bbdefb 100%);
font-family: 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, system-ui, sans-serif;
padding: 2rem;
}
.weather-card {
width: 100%;
max-width: 1024px;
border-radius: 28px;
box-shadow: 0 24px 64px rgba(0, 0, 0, 0.18);
overflow: hidden;
background: #ffffff;
}
.card-top {
padding: 3rem;
padding-bottom: 2.5rem;
color: white;
transition: background 0.5s ease;
position: relative;
}
.location-info {
display: grid;
grid-template-columns: 1fr auto;
gap: 2rem;
align-items: start;
}
.location-name {
font-size: 2.75rem;
font-weight: 700;
line-height: 1.1;
margin-bottom: 0.75rem;
}
.date-display {
font-size: 1.25rem;
opacity: 0.92;
font-weight: 400;
}
.weather-display {
text-align: center;
}
.weather-emoji {
font-size: 6rem;
line-height: 1;
margin-bottom: 0.5rem;
display: block;
}
.weather-condition {
font-size: 1.375rem;
font-weight: 500;
opacity: 0.95;
}
.temp-high-low {
display: flex;
gap: 2.5rem;
margin-top: 3.5rem;
}
.temp-group {
display: flex;
flex-direction: column;
}
.temp-label {
font-size: 0.875rem;
text-transform: uppercase;
letter-spacing: 0.08em;
opacity: 0.8;
margin-bottom: 0.25rem;
}
.temp-value {
font-size: 2.25rem;
font-weight: 700;
}
.card-bottom {
padding: 2.5rem 3rem;
background: #ffffff;
}
.section-title {
font-size: 1.25rem;
font-weight: 600;
color: #37474f;
margin-bottom: 2rem;
}
.hourly-container {
display: flex;
justify-content: space-between;
align-items: flex-end;
height: 200px;
gap: 0.4rem;
}
.hour-item {
flex: 1;
display: flex;
flex-direction: column;
align-items: center;
gap: 0.6rem;
}
.hour-temp {
font-size: 0.875rem;
font-weight: 600;
color: #37474f;
}
.hour-bar {
width: 100%;
max-width: 24px;
border-radius: 12px 12px 4px 4px;
background: linear-gradient(to top, #4fc3f7 0%, #ffb74d 100%);
transition: height 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.hour-time {
font-size: 0.75rem;
color: #78909c;
font-weight: 500;
}
.loading-state, .error-state {
padding: 5rem 3rem;
text-align: center;
}
.loading-state {
font-size: 1.25rem;
color: #546e7a;
}
.error-state {
display: none;
color: #c62828;
}
.error-state h2 {
font-size: 1.75rem;
margin-bottom: 1rem;
}
.error-state p {
font-size: 1.125rem;
opacity: 0.8;
}
.weather-content {
display: none;
}
</style>
</head>
<body>
<div class="weather-card">
<div class="loading-state" id="loading">
<p>Loading weather data...</p>
</div>
<div class="error-state" id="error">
<h2>⚠️ Unable to load weather data</h2>
<p>Please check the location and date, or try again later.</p>
</div>
<div class="weather-content" id="content">
<div class="card-top" id="cardTop">
<div class="location-info">
<div>
<h1 class="location-name" id="locationName"></h1>
<p class="date-display" id="dateDisplay"></p>
<div class="temp-high-low">
<div class="temp-group">
<span class="temp-label">High</span>
<span class="temp-value" id="highTemp"></span>
</div>
<div class="temp-group">
<span class="temp-label">Low</span>
<span class="temp-value" id="lowTemp"></span>
</div>
</div>
</div>
<div class="weather-display">
<span class="weather-emoji" id="weatherEmoji"></span>
<p class="weather-condition" id="weatherCondition"></p>
</div>
</div>
</div>
<div class="card-bottom">
<h2 class="section-title">Hourly Temperatures (UTC)</h2>
<div class="hourly-container" id="hourlyContainer"></div>
</div>
</div>
</div>
<script>
function getTodayUTC() {
const now = new Date();
return `${now.getUTCFullYear()}-${String(now.getUTCMonth() + 1).padStart(2, '0')}-${String(now.getUTCDate()).padStart(2, '0')}`;
}
function isValidDateStr(str) {
const regex = /^\d{4}-\d{2}-\d{2}$/;
if (!regex.test(str)) return false;
const [y, m, d] = str.split('-').map(Number);
const date = new Date(Date.UTC(y, m - 1, d));
return date.getUTCFullYear() === y && date.getUTCMonth() === m - 1 && date.getUTCDate() === d;
}
const weatherMap = {
0: { text: "Clear Sky", emoji: "☀️", gradient: "linear-gradient(135deg, #ffb300 0%, #4fc3f7 100%)" },
1: { text: "Mainly Clear", emoji: "🌤️", gradient: "linear-gradient(135deg, #ffb74d 0%, #4fc3f7 100%)" },
2: { text: "Partly Cloudy", emoji: "⛅", gradient: "linear-gradient(135deg, #90caf9 0%, #e0e0e0 100%)" },
3: { text: "Overcast", emoji: "☁️", gradient: "linear-gradient(135deg, #90a4ae 0%, #cfd8dc 100%)" },
45: { text: "Fog", emoji: "🌫️", gradient: "linear-gradient(135deg, #b0bec5 0%, #eceff1 100%)" },
48: { text: "Rime Fog", emoji: "🌫️", gradient: "linear-gradient(135deg, #b0bec5 0%, #eceff1 100%)" },
51: { text: "Light Drizzle", emoji: "🌦️", gradient: "linear-gradient(135deg, #607d8b 0%, #90a4ae 100%)" },
53: { text: "Moderate Drizzle", emoji: "🌦️", gradient: "linear-gradient(135deg, #607d8b 0%, #90a4ae 100%)" },
55: { text: "Dense Drizzle", emoji: "🌦️", gradient: "linear-gradient(135deg, #607d8b 0%, #90a4ae 100%)" },
56: { text: "Freezing Drizzle", emoji: "🌧️", gradient: "linear-gradient(135deg, #546e7a 0%, #78909c 100%)" },
57: { text: "Dense Freezing Drizzle", emoji: "🌧️", gradient: "linear-gradient(135deg, #546e7a 0%, #78909c 100%)" },
61: { text: "Light Rain", emoji: "🌧️", gradient: "linear-gradient(135deg, #455a64 0%, #607d8b 100%)" },
63: { text: "Moderate Rain", emoji: "🌧️", gradient: "linear-gradient(135deg, #455a64 0%, #607d8b 100%)" },
65: { text: "Heavy Rain", emoji: "🌧️", gradient: "linear-gradient(135deg, #37474f 0%, #546e7a 100%)" },
66: { text: "Light Freezing Rain", emoji: "🌧️", gradient: "linear-gradient(135deg, #455a64 0%, #607d8b 100%)" },
67: { text: "Heavy Freezing Rain", emoji: "🌧️", gradient: "linear-gradient(135deg, #37474f 0%, #546e7a 100%)" },
71: { text: "Light Snow", emoji: "🌨️", gradient: "linear-gradient(135deg, #90caf9 0%, #e3f2fd 100%)" },
73: { text: "Moderate Snow", emoji: "🌨️", gradient: "linear-gradient(135deg, #90caf9 0%, #e3f2fd 100%)" },
75: { text: "Heavy Snow", emoji: "❄️", gradient: "linear-gradient(135deg, #bbdefb 0%, #f5f5f5 100%)" },
77: { text: "Snow Grains", emoji: "❄️", gradient: "linear-gradient(135deg, #bbdefb 0%, #f5f5f5 100%)" },
80: { text: "Light Rain Showers", emoji: "🌦️", gradient: "linear-gradient(135deg, #546e7a 0%, #78909c 100%)" },
81: { text: "Moderate Rain Showers", emoji: "🌧️", gradient: "linear-gradient(135deg, #455a64 0%, #607d8b 100%)" },
82: { text: "Violent Rain Showers", emoji: "⛈️", gradient: "linear-gradient(135deg, #37474f 0%, #546e7a 100%)" },
85: { text: "Light Snow Showers", emoji: "🌨️", gradient: "linear-gradient(135deg, #90caf9 0%, #e3f2fd 100%)" },
86: { text: "Heavy Snow Showers", emoji: "❄️", gradient: "linear-gradient(135deg, #bbdefb 0%, #f5f5f5 100%)" },
95: { text: "Thunderstorm", emoji: "⛈️", gradient: "linear-gradient(135deg, #263238 0%, #455a64 100%)" },
96: { text: "Thunderstorm with Hail", emoji: "⛈️", gradient: "linear-gradient(135deg, #212121 0%, #37474f 100%)" },
99: { text: "Severe Thunderstorm with Hail", emoji: "⛈️", gradient: "linear-gradient(135deg, #1a1a1a 0%, #263238 100%)" }
};
const fallbackWeather = {
text: "Unknown Conditions",
emoji: "🌡️",
gradient: "linear-gradient(135deg, #4fc3f7 0%, #29b6f6 100%)"
};
async function loadWeather() {
const loadingEl = document.getElementById('loading');
const errorEl = document.getElementById('error');
const contentEl = document.getElementById('content');
try {
const params = new URLSearchParams(window.location.search);
let lat = parseFloat(params.get('lat'));
let lon = parseFloat(params.get('lon'));
let name = params.get('name');
let dateStr = params.get('date');
if (isNaN(lat)) lat = 52.52;
if (isNaN(lon)) lon = 13.405;
if (!name) name = "Berlin";
if (!dateStr || !isValidDateStr(dateStr)) {
dateStr = getTodayUTC();
}
const [y, m, d] = dateStr.split('-').map(Number);
const requestDate = new Date(Date.UTC(y, m - 1, d));
const todayUTC = new Date(Date.UTC(
new Date().getUTCFullYear(),
new Date().getUTCMonth(),
new Date().getUTCDate()
));
const endpoint = requestDate < todayUTC ? '/api/om/archive' : '/api/om/forecast';
const apiParams = 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: dateStr,
end_date: dateStr
});
const response = await fetch(`${endpoint}?${apiParams.toString()}`);
if (!response.ok) throw new Error(`API error: ${response.status}`);
const data = await response.json();
if (!data.daily?.temperature_2m_max?.length ||
!data.daily?.temperature_2m_min?.length ||
!data.daily?.weather_code?.length ||
!data.hourly?.temperature_2m?.length ||
data.hourly.temperature_2m.length < 24) {
throw new Error("Incomplete weather data");
}
const maxTemp = Math.round(data.daily.temperature_2m_max[0]);
const minTemp = Math.round(data.daily.temperature_2m_min[0]);
const weatherCode = data.daily.weather_code[0];
const weather = weatherMap[weatherCode] || fallbackWeather;
const hourlyTemps = data.hourly.temperature_2m.slice(0, 24);
const hourlyTimes = data.hL1 —— 廉价的确定性描述量
没有 L1 —— 该 slot 为 model-failed。
该 slot 的 telemetry
| prompt tokens | 382 | completion tokens | 19,088 |
|---|---|---|---|
| total tokens | 19,470 | wall | 341.3 s |
| cost | — | request id | — |
config.json608 B
{
"N": 4,
"auth": {
"credential_ref": "WCB_ARK_KEY",
"method": "api-key"
},
"billing": "metered",
"config_id": "doubao-seed-2-1-pro-eff-enabled--api--official--dev",
"effort": "enabled",
"family": "doubao",
"m": {
"min": 3,
"q": 0
},
"model_id": "doubao-seed-2-1-pro-260628",
"protocol": "api",
"served_model": "doubao-seed-2-1-pro-260628",
"telemetry": {
"completion_tokens": 70965,
"cost_usd": null,
"prompt_tokens": 1119,
"total_tokens": 72084,
"wall_ms": 1295472
},
"transport": "volcano-ark-official-api",
"vendor_sanction_ref": null
}send-log4.8 KB
{
"N": 4,
"batch_id": "2026-07-19--official-ark",
"config_id": "doubao-seed-2-1-pro-eff-enabled--api--official--dev",
"positions": [
{
"attempts": [
{
"attempt_index": 0,
"backoff_ms": null,
"charged": true,
"ended_at": "2026-07-19T10:04:31.544980+00:00",
"http_status": 200,
"outcome": "valid",
"reached_model": true,
"reason": "ok",
"request_id": null,
"started_at": "2026-07-19T09:56:21.963710+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-19T10:10:16.921498+00:00",
"http_status": 200,
"outcome": "model-failed",
"reached_model": true,
"reason": "no-valid-html",
"request_id": null,
"started_at": "2026-07-19T10:04:35.667208+00:00"
}
],
"block_index": 0,
"model_reaching_attempt_index": 0,
"slot_index": 0,
"terminal_state": "model-failed",
"variant": "P-q"
},
{
"attempts": [
{
"attempt_index": 0,
"backoff_ms": null,
"charged": true,
"ended_at": "2026-07-19T10:20:17.288144+00:00",
"http_status": 200,
"outcome": "model-failed",
"reached_model": true,
"reason": "no-valid-html",
"request_id": null,
"started_at": "2026-07-19T10:10:16.922349+00:00"
}
],
"block_index": 1,
"model_reaching_attempt_index": 0,
"slot_index": 1,
"terminal_state": "model-failed",
"variant": "P-q"
},
{
"attempts": [
{
"attempt_index": 0,
"backoff_ms": null,
"charged": true,
"ended_at": "2026-07-19T10:25:56.667224+00:00",
"http_status": 200,
"outcome": "valid",
"reached_model": true,
"reason": "ok",
"request_id": null,
"started_at": "2026-07-19T10:20:17.289424+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-19T10:33:46.795350+00:00",
"http_status": 200,
"outcome": "valid",
"reached_model": true,
"reason": "ok",
"request_id": null,
"started_at": "2026-07-19T10:26:00.225978+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-19T10:41:41.253184+00:00",
"http_status": 200,
"outcome": "model-failed",
"reached_model": true,
"reason": "no-valid-html",
"request_id": null,
"started_at": "2026-07-19T10:33:50.521887+00:00"
}
],
"block_index": 2,
"model_reaching_attempt_index": 0,
"slot_index": 2,
"terminal_state": "model-failed",
"variant": "P-q"
},
{
"attempts": [
{
"attempt_index": 0,
"backoff_ms": null,
"charged": true,
"ended_at": "2026-07-19T10:52:57.458979+00:00",
"http_status": 200,
"outcome": "model-failed",
"reached_model": true,
"reason": "no-valid-html",
"request_id": null,
"started_at": "2026-07-19T10:41:41.254263+00:00"
}
],
"block_index": 3,
"model_reaching_attempt_index": 0,
"slot_index": 3,
"terminal_state": "model-failed",
"variant": "P-q"
},
{
"attempts": [
{
"attempt_index": 0,
"backoff_ms": null,
"charged": true,
"ended_at": "2026-07-19T11:11:16.311653+00:00",
"http_status": 200,
"outcome": "model-failed",
"reached_model": true,
"reason": "no-valid-html",
"request_id": null,
"started_at": "2026-07-19T10:52:57.460828+00:00"
}
],
"block_index": 3,
"model_reaching_attempt_index": 0,
"slot_index": 3,
"terminal_state": "model-failed",
"variant": "P-min"
}
],
"retry_policy": {
"max_unreachable_retries": 5,
"rate_limit_backoff": {
"max_attempts": 4,
"max_total_ms": 60000
}
}
}