Publish PhysFix evaluation report alongside video dashboard
Browse files12345678<!doctype html><html lang="zh-CN"><meta charset="utf-8"><base href="https://huggingface.co/datasets/HuggingFriends/PhysFixBench/resolve/main/data/evaluation_20261201/"><meta name="viewport" content="width=device-width,initial-scale=1"><title>PhysFix · Evaluation</title><style>body{font:15px system-ui;background:#f5f7fb;color:#182435;margin:0}main{max-width:1400px;margin:auto;padding:30px}h1{margin-bottom:8px}a{color:#2360b8}p{line-height:1.7}.box{background:white;border:1px solid #dde4ec;border-radius:12px;padding:20px;margin:18px 0}table{width:100%;border-collapse:collapse}td,th{padding:12px;text-align:left;border-bottom:1px solid #e4eaf1}select{padding:9px;margin-right:10px}details{margin:10px 0}img{max-width:430px;max-height:260px}small{color:#64748b}.good{color:#157347}.partial{color:#9a5c00}.bad{color:#b33333}.grid{display:flex;flex-wrap:wrap;gap:14px}.ev{max-width:440px}button{padding:8px}</style><main><h1>PhysFix 物理修复评测</h1><p>参考 <a href="https://arxiv.org/pdf/2609.35134">VideoPhysEdit</a> 的未编辑基线与 <a href="https://arxiv.org/pdf/2611.29184v1">PhyCoVE</a> 的 EA / PC / Joint。裁判为 GPT-6-Astra,独立于 GPT-Sol 修复模型;所有分数为 AI 判定。<a href="README.md">评测协议</a> · <a href="summary.json">汇总 JSON</a> · <a href="results.jsonl">逐条结果</a> · <a href="https://huggingfriends-pixelworld-dashboard.static.hf.space/physfix.html?scope=all">视频看板</a></p><div class="box"><b>完整成功:</b>原卡全部 fully_fixed,RA、CP、PC 均至少 4,且没有可见新物理缺陷。部分修复单列;不确定样本保留,不能计成功。RA = 修复达成度,CP = 正常内容保留,PC = 输出自身物理合理性。<p><small>真实样本没有正确目标视频。CF / PES 需要可靠的物体轨迹,目前缺少经过验证的轨迹,记录为 N/A。合成样本的像素误差降低只是辅助诊断。候选样本结果不等于最终 benchmark 定案。</small></p></div><div class="box"><div id="status"></div><p>统计范围 <select id="scope"><option value="all">全部样本(含候选)</option><option value="formal">当前正式保留范围</option><option value="candidate_exploration">原候选</option><option value="synthetic_expansion_candidate">新增合成候选</option></select> 来源 <select id="kind"><option value="all">全部</option><option value="real">Real</option><option value="synthetic_rule">规则合成</option><option value="synthetic_model">模型合成</option></select></p><div id="stats"></div><p id="matched"></p></div><div class="box"><select id="variant"><option value="all">三种 prompt</option><option value="problem_expected">问题+预期表现</option><option value="problem_only">仅问题</option><option value="self_fixing">自主修复</option></select><select id="verdict"><option value="all">全部判定</option><option value="strict_joint">完整且安全修复</option><option value="partial_repair">部分修复</option><option value="unresolved">需人工复核</option><option value="new_defect">新物理缺陷</option></select><div id="cases"></div></div></main><script>let S,R;const pct=x=>x==null?'—':(100*x).toFixed(1)+'%';const num=x=>x==null?'—':x.toFixed(2);const esc=x=>String(x??'').replace(/[&<>"']/g,c=>({'&':'&','<':'<','>':'>','"':'"',"'":'''}[c]));const labels={problem_expected:'问题+预期表现',problem_only:'仅问题',self_fixing:'自主修复'};async function start(){[S,R]=await Promise.all([fetch('summary.json').then(r=>r.json()),fetch('results.jsonl').then(r=>r.text()).then(t=>t.trim()?t.trim().split('').map(JSON.parse):[])]);render()}function render(){let sc=document.querySelector('#scope').value,k=document.querySelector('#kind').value,v=document.querySelector('#variant').value,ve=document.querySelector('#verdict').value;document.querySelector('#status').textContent='更新 '+S.updated_utc+' · 可评测输出 '+S.available_outputs+' · 已完成评测 '+S.evaluated_outputs+' · GPT-6-Astra / medium';let groups=S.groups.filter(g=>(sc==='all'?g.scope==='all':g.scope===sc)&&(k==='all'?g.source_kind==='all':g.source_kind===k));document.querySelector('#stats').innerHTML='<table><tr><th>模型 / prompt</th><th>评测覆盖</th><th>完整修复</th><th>部分修复</th><th>严格联合成功</th><th>RA / CP / PC</th><th>需复核</th></tr>'+groups.map(g=>'<tr><td>'+esc(g.model_key)+' · '+labels[g.variant]+'</td><td>'+g.evaluated_outputs+'/'+g.frozen_cases+'</td><td>'+pct(g.full_repair_rate_evaluated)+'</td><td>'+g.partial_repair_count+'</td><td>'+pct(g.strict_joint_rate_evaluated)+'</td><td>'+num(g.RA_mean)+' / '+num(g.CP_mean)+' / '+num(g.PC_mean)+'</td><td>'+g.unresolved_count+'</td></tr>').join('')+'</table>';document.querySelector('#matched').textContent='公平比较:三个 GPT-6.1-Sol prompt 均已评测的共同样本 '+S.matched_gpt61_cases.length+' 条。上表为各组已评测输出,不能直接当成不同 prompt 的公平排名。共同样本统计见 summary.json。';let rows=R.filter(r=>(sc==='all'||r.run_scope===sc)&&(k==='all'||r.source_kind===k)&&(v==='all'||r.prompt_variant===v)&&(ve==='all'||r.outcomes[ve]));document.querySelector('#cases').innerHTML=rows.map(r=>'<details><summary>'+esc(r.benchmark_id)+' · '+esc(r.model_key)+' · '+labels[r.prompt_variant]+' · <b class="'+(r.outcomes.strict_joint?'good':r.outcomes.partial_repair?'partial':'bad')+'">'+(r.outcomes.strict_joint?'完整且安全':r.outcomes.full_repair?'目标修复,保留/物理未通过':r.outcomes.partial_repair?'部分修复':r.outcomes.unresolved?'需复核':'未修复')+'</b></summary><p><a href="'+esc(r.dashboard_url)+'" target="_blank">打开前后视频</a> · RA '+r.REPAIR.ra_score+' / CP '+r.REPAIR.cp_score+' / PC '+r.PC.score+'</p><p>'+esc(r.REPAIR.summary)+'</p>'+r.REPAIR.per_issue.map(i=>'<p>原卡 '+(i.issue_index+1)+':'+esc(r.issues[i.issue_index].problem)+'<br>判定 '+esc(i.verdict)+' · '+esc(i.limitation)+'</p>').join('')+'<p>新物理问题:'+esc(r.REPAIR.new_physics.status)+' · '+esc(r.REPAIR.new_physics.description)+'</p><p>合成痕迹:'+esc(r.REPAIR.visual_artifacts.join(';'))+'</p><div class="grid">'+r.evidence_images.map(e=>'<div class="ev"><a href="'+esc(e.image)+'" target="_blank"><img loading="lazy" src="'+esc(e.image)+'"></a><p>'+esc(e.role)+' #'+e.frame+' '+e.time_seconds.toFixed(3)+'s · '+esc(e.observation)+'</p></div>').join('')+'</div></details>').join('')||'<p>此筛选条件暂无已完成评测。</p>'}document.querySelectorAll('select').forEach(x=>x.onchange=render);start();</script></html>physfix-eval.htmlAdded+8