Add admitted collaborator video and trace browser
Browse files6 unmodified lines7891011123 unmodified lines16171819206 unmodified lines<header><div><a href="index.html">← 主实验</a><h1>合作者实验与完整 Trace</h1><p class="muted">已核验最终候选、prompt 和媒体规格。Physics-IQ 保留 medium / xhigh 两个独立结果。</p></div><p class="muted" id="updated">加载当前记录…</p></header><section class="panel"><h2>生成与评分</h2><p class="muted" id="coverage"></p><div class="scroll"><table><thead><tr><th>模型 / 来源</th><th>Physics-IQ</th><th>RBench</th><th>PhyGenBench</th><th>PCVE</th></tr></thead><tbody id="scores"></tbody></table></div><p class="muted">PhyGenBench 使用当前 GPT-6.1-Sol 三阶段评分。评分使用提交的原尺寸压缩预览;原始 RGB 张量未包含在本次导入中。主表 Physics-IQ 使用 xhigh,medium 独立保留。</p></section><section class="panel filters"><label>Benchmark <select id="benchmark"><option value="">全部</option><option value="physics_iq">Physics-IQ</option><option value="rbench">RBench</option><option value="phygenbench">PhyGenBench</option><option value="pcve">PCVE</option></select></label><label>模型 / 档位 <select id="model"><option value="">全部</option></select></label><label>样本 <input id="search" placeholder="例如 0001"></label><span class="muted" id="count"></span></section><div class="grid" id="videos"></div><p><button id="more" hidden>加载更多样本</button></p><p class="muted">每 60 秒同步 HF 上的最新记录。视频上传进度与本地生成完成数分别展示;未提供的 benchmark 不记为模型失败。</p></main><script>3 unmodified linesfunction paint(){if(!data)return;const bench=$('benchmark').value,model=$('model').value,q=$('search').value.trim();const rows=data.videos.filter(v=>(!bench||v.benchmark===bench)&&(!model||v.model===model||v.model.startsWith(model+'-'))&&(!q||v.case.includes(q)));$('count').textContent=`${nf.format(rows.length)} 个样本`;$('videos').innerHTML=rows.slice(0,limit).map(v=>{const u=v.token_usage||{},body=v.video_ready?`<video controls preload="none" src="${esc(v.video_url)}"></video>`:'<div class="empty">视频上传中 · 本地已验收</div>';return `<article class="card">${body}<div class="body"><h3>${esc(v.case)} <span class="badge">${esc(v.benchmark)}</span></h3><p class="muted">${esc(v.model)} · ${esc(v.reasoning_effort||'')}<br>${v.media_contract.width}×${v.media_contract.height} · ${v.media_contract.fps} FPS<br>Input ${nf.format(u.input_tokens||0)} · Output ${nf.format(u.output_tokens||0)}<br>Cached input ${nf.format(u.cached_input_tokens||0)}</p><div class="links"><a href="${esc(v.trace_url)}">完整 Trace ↓</a><a href="${esc(v.detail_url)}">候选与代码 JSON →</a></div></div></article>`}).join('')||'<p class="muted">当前筛选没有已提供的样本。</p>';$('more').hidden=limit>=rows.length;}async function refresh(){try{const r=await fetch(endpoint+'?refresh='+Date.now(),{cache:'no-store'});if(!r.ok)throw Error('HTTP '+r.status);data=await r.json();const selected=$('model').value||params.get('model')||'';const models=[...new Set(data.videos.map(v=>v.model))];$('model').innerHTML='<option value="">全部</option>'+models.map(m=>`<option value="${esc(m)}">${esc(m)}</option>`).join('');if(selected&&!models.includes(selected))$('model').insertAdjacentHTML('beforeend',`<option value="${esc(selected)}">${esc(selected)}</option>`);$('model').value=selected;$('coverage').textContent=`已验收 ${nf.format(data.video_count)} 条;HF 视频已交付 ${nf.format(data.video_uploads_complete)} 条。`;$('updated').textContent='更新:'+new Date(data.last_update_unix*1000).toLocaleString('zh-CN');$('scores').innerHTML=Object.values(data.models).map(m=>'<tr><th>'+esc(m.label)+'</th>'+['physics_iq','rbench','phygenbench','pcve'].map(b=>{const c=m.benchmarks[b]||{};return '<td>'+(c.provided?(c.score==null?`评分 ${c.scored||0} / ${c.complete||0}`:`<b>${Number(c.score).toFixed(b==='physics_iq'?2:4)}</b>`):'未提供')+'</td>'}).join('')+'</tr>').join('');paint()}catch(e){$('updated').className='error';$('updated').textContent='同步未完成:'+e.message}}if(params.get('benchmark'))$('benchmark').value=params.get('benchmark');['benchmark','model','search'].forEach(id=>$(id).addEventListener('input',()=>{limit=60;paint()}));$('more').onclick=()=>{limit+=60;paint()};refresh();setInterval(refresh,60000);</script></body></html>6 unmodified lines789101112133 unmodified lines1718192021226 unmodified lines<header><div><a href="index.html">← 主实验</a><h1>合作者实验与完整 Trace</h1><p class="muted">已核验最终候选、prompt 和媒体规格。Physics-IQ 保留 medium / xhigh 两个独立结果。</p></div><p class="muted" id="updated">加载当前记录…</p></header><section class="panel"><h2>生成与评分</h2><p class="muted" id="coverage"></p><div class="scroll"><table><thead><tr><th>模型 / 来源</th><th>Physics-IQ</th><th>RBench</th><th>PhyGenBench</th><th>PCVE</th></tr></thead><tbody id="scores"></tbody></table></div><p class="muted">PhyGenBench 使用当前 GPT-6.1-Sol 三阶段评分。评分使用提交的原尺寸压缩预览;原始 RGB 张量未包含在本次导入中。主表 Physics-IQ 使用 xhigh,medium 独立保留。</p></section><section class="panel filters"><label>Benchmark <select id="benchmark"><option value="">全部</option><option value="physics_iq">Physics-IQ</option><option value="rbench">RBench</option><option value="phygenbench">PhyGenBench</option><option value="pcve">PCVE</option></select></label><label>模型 / 档位 <select id="model"><option value="">全部</option></select></label><label>样本 <input id="search" placeholder="例如 0001"></label><span class="muted" id="count"></span></section><section class="panel" id="pcve-details" hidden><h2>PCVE · 完整官方指标</h2><div class="scroll"><table><thead><tr><th>模型</th><th>PES ↑</th><th>TE ↓</th><th>Mask IoU ↑</th><th>PSNR ↑</th><th>SSIM ↑</th><th>LPIPS ↓</th><th>CLIP ↑</th><th>官方 FVD ↓</th></tr></thead><tbody id="pcve-scores"></tbody></table></div><p class="muted">129 条完整结果。此处 FVD 属于官方 PCVE 指标;统一视频质量分析的参考分布与采样协议单独记录。</p></section><div class="grid" id="videos"></div><p><button id="more" hidden>加载更多样本</button></p><p class="muted">每 60 秒同步 HF 上的最新记录。视频上传进度与本地生成完成数分别展示;未提供的 benchmark 不记为模型失败。</p></main><script>3 unmodified linesfunction paint(){if(!data)return;const bench=$('benchmark').value,model=$('model').value,q=$('search').value.trim();const rows=data.videos.filter(v=>(!bench||v.benchmark===bench)&&(!model||v.model===model||v.model.startsWith(model+'-'))&&(!q||v.case.includes(q)));$('count').textContent=`${nf.format(rows.length)} 个样本`;$('videos').innerHTML=rows.slice(0,limit).map(v=>{const u=v.token_usage||{},body=v.video_ready?`<video controls preload="none" src="${esc(v.video_url)}"></video>`:'<div class="empty">视频上传中 · 本地已验收</div>';return `<article class="card">${body}<div class="body"><h3>${esc(v.case)} <span class="badge">${esc(v.benchmark)}</span></h3><p class="muted">${esc(v.model)} · ${esc(v.reasoning_effort||'')}<br>${v.media_contract.width}×${v.media_contract.height} · ${v.media_contract.fps} FPS<br>Input ${nf.format(u.input_tokens||0)} · Output ${nf.format(u.output_tokens||0)}<br>Cached input ${nf.format(u.cached_input_tokens||0)}</p><div class="links"><a href="${esc(v.trace_url)}">完整 Trace ↓</a><a href="${esc(v.detail_url)}">候选与代码 JSON →</a></div></div></article>`}).join('')||'<p class="muted">当前筛选没有已提供的样本。</p>';$('more').hidden=limit>=rows.length;}async function refresh(){try{const r=await fetch(endpoint+'?refresh='+Date.now(),{cache:'no-store'});if(!r.ok)throw Error('HTTP '+r.status);data=await r.json();const selected=$('model').value||params.get('model')||'';const models=[...new Set(data.videos.map(v=>v.model))];$('model').innerHTML='<option value="">全部</option>'+models.map(m=>`<option value="${esc(m)}">${esc(m)}</option>`).join('');if(selected&&!models.includes(selected))$('model').insertAdjacentHTML('beforeend',`<option value="${esc(selected)}">${esc(selected)}</option>`);$('model').value=selected;$('coverage').textContent=`已验收 ${nf.format(data.video_count)} 条;HF 视频已交付 ${nf.format(data.video_uploads_complete)} 条。`;$('updated').textContent='更新:'+new Date(data.last_update_unix*1000).toLocaleString('zh-CN');$('scores').innerHTML=Object.values(data.models).map(m=>'<tr><th>'+esc(m.label)+'</th>'+['physics_iq','rbench','phygenbench','pcve'].map(b=>{const c=m.benchmarks[b]||{};return '<td>'+(c.provided?(c.score==null?`评分 ${c.scored||0} / ${c.complete||0}`:`<b>${Number(c.score).toFixed(b==='physics_iq'?2:4)}</b>`):'未提供')+'</td>'}).join('')+'</tr>').join('');paint()}catch(e){$('updated').className='error';$('updated').textContent='同步未完成:'+e.message}}function metricDetails(){if(!data)return;const rows=Object.values(data.models).filter(m=>m.benchmarks?.pcve?.metrics);$('pcve-details').hidden=!rows.length;$('pcve-scores').innerHTML=rows.map(m=>{const v=m.benchmarks.pcve.metrics,o=v.overall;return '<tr><th>'+esc(m.label)+'</th>'+['pes','traj_px','mask_iou','psnr','ssim','lpips','clip_sim'].map(k=>'<td>'+Number(o[k]).toFixed(k==='traj_px'||k==='psnr'?2:4)+'</td>').join('')+'<td>'+Number(v.fvd).toFixed(2)+'</td></tr>'}).join('')}if(params.get('benchmark'))$('benchmark').value=params.get('benchmark');['benchmark','model','search'].forEach(id=>$(id).addEventListener('input',()=>{limit=60;paint()}));$('more').onclick=()=>{limit+=60;paint()};refresh().then(metricDetails);setInterval(()=>refresh().then(metricDetails),60000);</script></body></html>
collaborator_results.html+3-1