Dataset Viewer
Auto-converted to Parquet Duplicate
text
stringlengths
0
92.8k
{
"session_id": "terminal-bench__dna-assembly__JQ8xAiR__agent",
"model": "dsv4-flash-0731",
"proxy_env": {
"no_proxy": "localhost,127.0.0.1,::1,172.17.0.1,172.16.0.0/12,10.0.0.0/8",
"https_proxy": "http://172.17.0.1:20180",
"NO_PROXY": "localhost,127.0.0.1,::1,172.17.0.1,172.16.0.0/12,10.0.0.0/8",
"HTTPS_PROXY": "http://172.17.0.1:20180",
"HTTP_PROXY": "http://172.17.0.1:20180",
"http_proxy": "http://172.17.0.1:20180"
},
"finish_reason": "completed",
"final_response": "Done. I designed 4 primer pairs (8 primers total) and wrote them to `/app/primers.fasta`.\n\n## Solution summary\n\n**Why 4 pairs (the minimum):** The output plasmid is assembled from 4 distinct pieces via a one-pot BsaI Golden Gate assembly:\n- input (circular, split/linearized backbone)\n- egfp\n...
"n_events": 427,
"usage": {
"input": 2138785,
"output": 84787,
"total": 2223572,
"n_responses": 84
}
}
{"type":"session","version":3,"id":"terminal-bench__dna-assembly__JQ8xAiR__agent","createdAt":1789739200559,"cwd":"/app","isSeeded":false,"delegationDepth":0}
{"type":"agent/inbox/spliced","seq":0,"time":1789739200623,"data":{"target":"next-turn","start":0,"inserted":[{"content":[{"type":"text","text":"The file titled sequences.fasta contains the following sequences:\n * input: A circular input plasmid.\n * egfp: A linear DNA sequence encoding the egfp protein.\n * flag: ...
{"type":"turn/start","seq":1,"time":1789739200626,"data":{"turn":1}}
{"type":"agent/inbox/spliced","seq":2,"time":1789739200636,"data":{"target":"next-turn","start":0,"removedCount":1,"inserted":[]}}
{"type":"step/start","seq":3,"time":1789739200638,"data":{"turn":1,"step":1}}
{"type":"system/message","seq":4,"time":1789739200640,"data":{"turn":1,"step":1,"message":{"role":"system","content":[{"type":"text","text":"You are a helpful software engineer assistant."}],"source":{"kind":"plugin","plugin":"@deepseek-ai/dsh-system-prompt"},"id":"80b6cd61-e9aa-423f-8094-22e5153fe8c9"}},"surfaceOp":"a...
{"type":"user/message","seq":5,"time":1789739200641,"data":{"content":[{"type":"text","text":"The file titled sequences.fasta contains the following sequences:\n * input: A circular input plasmid.\n * egfp: A linear DNA sequence encoding the egfp protein.\n * flag: A linear DNA sequence encoding the FLAG protein and...
{"type":"request/header","seq":6,"time":1789739200642,"data":{"header":{"config":{"provider":"deepseek-official","model":"dsv4-flash-0731","maxTokens":256000,"reasoningEffort":"high"},"adapterDefaults":{"reasoningEffort":true,"maxTokens":true},"tools":[{"name":"bash","description":"Run commands in a bash shell\n* When ...
{"type":"request/context","seq":7,"time":1789739200643,"data":{"provider":"deepseek-official","model":"dsv4-flash-0731","contextWindow":1000000}}
{"type":"session/title","seq":8,"time":1789739200719,"data":{"title":"The file titled sequences.fasta contains","messageSeqs":[5],"source":{"kind":"fallback"}}}
{"type":"assistant/message","seq":9,"time":1789739204288,"data":{"turn":1,"step":1,"message":{"role":"assistant","content":[{"type":"tool-call","id":"chatcmpl-tool-8cf3fa0c755c8cee","name":"bash","arguments":"{\"command\": \"ls -la && echo \\\"---\\\" && cat sequences.fasta\"}"}],"source":{"kind":"model","provider":"de...
{"type":"tool/call","seq":10,"time":1789739204290,"data":{"turn":1,"step":1,"callId":"chatcmpl-tool-8cf3fa0c755c8cee","name":"bash","arguments":"{\"command\": \"ls -la && echo \\\"---\\\" && cat sequences.fasta\"}"}}
{"type":"tool/result","seq":11,"time":1789739204635,"data":{"turn":1,"step":1,"message":{"source":{"kind":"tool","callId":"chatcmpl-tool-8cf3fa0c755c8cee"},"content":[{"type":"tool-result","toolCallId":"chatcmpl-tool-8cf3fa0c755c8cee","content":[{"type":"text","text":"total 16\ndrwxr-xr-x 1 root root 4096 Oct 28 2025 ...
{"type":"step/end","seq":12,"time":1789739204636,"data":{"turn":1,"step":1}}
{"type":"step/start","seq":13,"time":1789739204638,"data":{"turn":1,"step":2}}
{"type":"assistant/message","seq":14,"time":1789739221538,"data":{"turn":1,"step":2,"message":{"role":"assistant","content":[{"type":"tool-call","id":"chatcmpl-tool-90117a899b9f946f","name":"bash","arguments":"{\"command\": \"cd /repo 2>/dev/null || cd ~; python3 << 'EOF'\\nseqs={}\\nname=None\\nfor line in open('seque...
{"type":"tool/call","seq":15,"time":1789739221541,"data":{"turn":1,"step":2,"callId":"chatcmpl-tool-90117a899b9f946f","name":"bash","arguments":"{\"command\": \"cd /repo 2>/dev/null || cd ~; python3 << 'EOF'\\nseqs={}\\nname=None\\nfor line in open('sequences.fasta'):\\n line=line.strip()\\n if line.startswith('>...
{"type":"tool/result","seq":16,"time":1789739221651,"data":{"turn":1,"step":2,"message":{"source":{"kind":"tool","callId":"chatcmpl-tool-90117a899b9f946f"},"content":[{"type":"tool-result","toolCallId":"chatcmpl-tool-90117a899b9f946f","content":[{"type":"text","text":"bash: python3: command not found\n[exit code: 127]"...
{"type":"step/end","seq":17,"time":1789739221651,"data":{"turn":1,"step":2}}
{"type":"step/start","seq":18,"time":1789739221654,"data":{"turn":1,"step":3}}
{"type":"assistant/message","seq":19,"time":1789739222468,"data":{"turn":1,"step":3,"message":{"role":"assistant","content":[{"type":"tool-call","id":"chatcmpl-tool-882f2f0688858da5","name":"bash","arguments":"{\"command\": \"which python || which python3.11 || ls /usr/bin/python*; cat /etc/os-release | head -2\"}"}],"...
{"type":"tool/call","seq":20,"time":1789739222470,"data":{"turn":1,"step":3,"callId":"chatcmpl-tool-882f2f0688858da5","name":"bash","arguments":"{\"command\": \"which python || which python3.11 || ls /usr/bin/python*; cat /etc/os-release | head -2\"}"}}
{"type":"tool/result","seq":21,"time":1789739222578,"data":{"turn":1,"step":3,"message":{"source":{"kind":"tool","callId":"chatcmpl-tool-882f2f0688858da5"},"content":[{"type":"tool-result","toolCallId":"chatcmpl-tool-882f2f0688858da5","content":[{"type":"text","text":"ls: cannot access '/usr/bin/python*': No such file ...
{"type":"step/end","seq":22,"time":1789739222578,"data":{"turn":1,"step":3}}
{"type":"step/start","seq":23,"time":1789739222580,"data":{"turn":1,"step":4}}
{"type":"assistant/message","seq":24,"time":1789739223224,"data":{"turn":1,"step":4,"message":{"role":"assistant","content":[{"type":"tool-call","id":"chatcmpl-tool-8eee523739458ff5","name":"bash","arguments":"{\"command\": \"apt-get install -y python3 >/dev/null 2>&1; which python3; python3 --version\"}"}],"source":{"...
{"type":"tool/call","seq":25,"time":1789739223225,"data":{"turn":1,"step":4,"callId":"chatcmpl-tool-8eee523739458ff5","name":"bash","arguments":"{\"command\": \"apt-get install -y python3 >/dev/null 2>&1; which python3; python3 --version\"}"}}
{"type":"tool/result","seq":26,"time":1789739223334,"data":{"turn":1,"step":4,"message":{"source":{"kind":"tool","callId":"chatcmpl-tool-8eee523739458ff5"},"content":[{"type":"tool-result","toolCallId":"chatcmpl-tool-8eee523739458ff5","content":[{"type":"text","text":"bash: python3: command not found\n[exit code: 127]"...
{"type":"step/end","seq":27,"time":1789739223334,"data":{"turn":1,"step":4}}
{"type":"step/start","seq":28,"time":1789739223336,"data":{"turn":1,"step":5}}
{"type":"assistant/message","seq":29,"time":1789739224071,"data":{"turn":1,"step":5,"message":{"role":"assistant","content":[{"type":"tool-call","id":"chatcmpl-tool-bd64d3e44472c583","name":"bash","arguments":"{\"command\": \"apt-get update >/dev/null 2>&1 && apt-get install -y python3 >/dev/null 2>&1; which python3 &&...
{"type":"tool/call","seq":30,"time":1789739224073,"data":{"turn":1,"step":5,"callId":"chatcmpl-tool-bd64d3e44472c583","name":"bash","arguments":"{\"command\": \"apt-get update >/dev/null 2>&1 && apt-get install -y python3 >/dev/null 2>&1; which python3 && python3 --version\"}"}}
{"type":"tool/result","seq":31,"time":1789739527163,"data":{"turn":1,"step":5,"message":{"source":{"kind":"tool","callId":"chatcmpl-tool-bd64d3e44472c583"},"content":[{"type":"tool-result","toolCallId":"chatcmpl-tool-bd64d3e44472c583","content":[{"type":"text","text":"Your command timed out after 300 seconds or experie...
{"type":"step/end","seq":32,"time":1789739527163,"data":{"turn":1,"step":5}}
{"type":"step/start","seq":33,"time":1789739527164,"data":{"turn":1,"step":6}}
{"type":"assistant/message","seq":34,"time":1789739527936,"data":{"turn":1,"step":6,"message":{"role":"assistant","content":[{"type":"tool-call","id":"chatcmpl-tool-bc550960d207dce4","name":"bash","arguments":"{\"command\": \"command -v python3 python perl ruby node awk gcc cc; ls /usr/bin | grep -E 'python|perl|node|g...
{"type":"tool/call","seq":35,"time":1789739527936,"data":{"turn":1,"step":6,"callId":"chatcmpl-tool-bc550960d207dce4","name":"bash","arguments":"{\"command\": \"command -v python3 python perl ruby node awk gcc cc; ls /usr/bin | grep -E 'python|perl|node|gcc|awk' | head\"}"}}
{"type":"tool/result","seq":36,"time":1789739528147,"data":{"turn":1,"step":6,"message":{"source":{"kind":"tool","callId":"chatcmpl-tool-bc550960d207dce4"},"content":[{"type":"tool-result","toolCallId":"chatcmpl-tool-bc550960d207dce4","content":[{"type":"text","text":"/usr/bin/python3\n/usr/bin/perl\n/usr/bin/awk\nawk\...
{"type":"step/end","seq":37,"time":1789739528147,"data":{"turn":1,"step":6}}
{"type":"step/start","seq":38,"time":1789739528148,"data":{"turn":1,"step":7}}
{"type":"assistant/message","seq":39,"time":1789739529021,"data":{"turn":1,"step":7,"message":{"role":"assistant","content":[{"type":"tool-call","id":"chatcmpl-tool-9f773199df8a1574","name":"bash","arguments":"{\"command\": \"python3 --version && cd /repo 2>/dev/null || cd ~; ls\"}"}],"source":{"kind":"model","provider...
{"type":"tool/call","seq":40,"time":1789739529022,"data":{"turn":1,"step":7,"callId":"chatcmpl-tool-9f773199df8a1574","name":"bash","arguments":"{\"command\": \"python3 --version && cd /repo 2>/dev/null || cd ~; ls\"}"}}
{"type":"tool/result","seq":41,"time":1789739529124,"data":{"turn":1,"step":7,"message":{"source":{"kind":"tool","callId":"chatcmpl-tool-9f773199df8a1574"},"content":[{"type":"tool-result","toolCallId":"chatcmpl-tool-9f773199df8a1574","content":[{"type":"text","text":"Python 3.12.3"}],"isError":false}],"role":"user","i...
{"type":"step/end","seq":42,"time":1789739529124,"data":{"turn":1,"step":7}}
{"type":"step/start","seq":43,"time":1789739529124,"data":{"turn":1,"step":8}}
{"type":"assistant/message","seq":44,"time":1789739529961,"data":{"turn":1,"step":8,"message":{"role":"assistant","content":[{"type":"tool-call","id":"chatcmpl-tool-9778a17f9b6592ae","name":"bash","arguments":"{\"command\": \"pwd; ls -la\"}"}],"source":{"kind":"model","provider":"deepseek-official","model":"dsv4-flash-...
{"type":"tool/call","seq":45,"time":1789739529961,"data":{"turn":1,"step":8,"callId":"chatcmpl-tool-9778a17f9b6592ae","name":"bash","arguments":"{\"command\": \"pwd; ls -la\"}"}}
{"type":"tool/result","seq":46,"time":1789739530064,"data":{"turn":1,"step":8,"message":{"source":{"kind":"tool","callId":"chatcmpl-tool-9778a17f9b6592ae"},"content":[{"type":"tool-result","toolCallId":"chatcmpl-tool-9778a17f9b6592ae","content":[{"type":"text","text":"/root\ntotal 20\ndrwx------ 1 root root 4096 Sep 18...
{"type":"step/end","seq":47,"time":1789739530064,"data":{"turn":1,"step":8}}
{"type":"step/start","seq":48,"time":1789739530064,"data":{"turn":1,"step":9}}
{"type":"assistant/message","seq":49,"time":1789739530785,"data":{"turn":1,"step":9,"message":{"role":"assistant","content":[{"type":"tool-call","id":"chatcmpl-tool-a49a7fd221a96fda","name":"bash","arguments":"{\"command\": \"find / -name sequences.fasta 2>/dev/null\"}"}],"source":{"kind":"model","provider":"deepseek-o...
{"type":"tool/call","seq":50,"time":1789739530786,"data":{"turn":1,"step":9,"callId":"chatcmpl-tool-a49a7fd221a96fda","name":"bash","arguments":"{\"command\": \"find / -name sequences.fasta 2>/dev/null\"}"}}
{"type":"tool/result","seq":51,"time":1789739531343,"data":{"turn":1,"step":9,"message":{"source":{"kind":"tool","callId":"chatcmpl-tool-a49a7fd221a96fda"},"content":[{"type":"tool-result","toolCallId":"chatcmpl-tool-a49a7fd221a96fda","content":[{"type":"text","text":"/app/sequences.fasta"}],"isError":false}],"role":"u...
{"type":"step/end","seq":52,"time":1789739531343,"data":{"turn":1,"step":9}}
{"type":"step/start","seq":53,"time":1789739531344,"data":{"turn":1,"step":10}}
{"type":"assistant/message","seq":54,"time":1789739533024,"data":{"turn":1,"step":10,"message":{"role":"assistant","content":[{"type":"tool-call","id":"chatcmpl-tool-ae60bc8034c388a7","name":"bash","arguments":"{\"command\": \"cd /app && ls -la && python3 << 'EOF'\\nseqs={}\\nname=None\\nfor line in open('sequences.fas...
{"type":"tool/call","seq":55,"time":1789739533025,"data":{"turn":1,"step":10,"callId":"chatcmpl-tool-ae60bc8034c388a7","name":"bash","arguments":"{\"command\": \"cd /app && ls -la && python3 << 'EOF'\\nseqs={}\\nname=None\\nfor line in open('sequences.fasta'):\\n line=line.strip()\\n if line.startswith('>'):\\n ...
{"type":"tool/result","seq":56,"time":1789739533128,"data":{"turn":1,"step":10,"message":{"source":{"kind":"tool","callId":"chatcmpl-tool-ae60bc8034c388a7"},"content":[{"type":"tool-result","toolCallId":"chatcmpl-tool-ae60bc8034c388a7","content":[{"type":"text","text":"total 16\ndrwxr-xr-x 1 root root 4096 Oct 28 2025...
{"type":"step/end","seq":57,"time":1789739533128,"data":{"turn":1,"step":10}}
{"type":"step/start","seq":58,"time":1789739533129,"data":{"turn":1,"step":11}}
{"type":"assistant/message","seq":59,"time":1789739541618,"data":{"turn":1,"step":11,"message":{"role":"assistant","content":[{"type":"tool-call","id":"chatcmpl-tool-90474b024ee3f9e3","name":"bash","arguments":"{\"command\": \"cd /app && python3 << 'EOF'\\nseqs={}\\nname=None\\nfor line in open('sequences.fasta'):\\n ...
{"type":"tool/call","seq":60,"time":1789739541619,"data":{"turn":1,"step":11,"callId":"chatcmpl-tool-90474b024ee3f9e3","name":"bash","arguments":"{\"command\": \"cd /app && python3 << 'EOF'\\nseqs={}\\nname=None\\nfor line in open('sequences.fasta'):\\n line=line.strip()\\n if line.startswith('>'):\\n name...
{"type":"tool/result","seq":61,"time":1789739541722,"data":{"turn":1,"step":11,"message":{"source":{"kind":"tool","callId":"chatcmpl-tool-90474b024ee3f9e3"},"content":[{"type":"tool-result","toolCallId":"chatcmpl-tool-90474b024ee3f9e3","content":[{"type":"text","text":"input start 30 0\ninput start 50 0\ninput start 80...
{"type":"step/end","seq":62,"time":1789739541722,"data":{"turn":1,"step":11}}
{"type":"step/start","seq":63,"time":1789739541722,"data":{"turn":1,"step":12}}
{"type":"assistant/message","seq":64,"time":1789739547973,"data":{"turn":1,"step":12,"message":{"role":"assistant","content":[{"type":"tool-call","id":"chatcmpl-tool-a1356cb31d1c603b","name":"bash","arguments":"{\"command\": \"cd /app && python3 << 'EOF'\\nseqs={}\\nname=None\\nfor line in open('sequences.fasta'):\\n ...
{"type":"tool/call","seq":65,"time":1789739547973,"data":{"turn":1,"step":12,"callId":"chatcmpl-tool-a1356cb31d1c603b","name":"bash","arguments":"{\"command\": \"cd /app && python3 << 'EOF'\\nseqs={}\\nname=None\\nfor line in open('sequences.fasta'):\\n line=line.strip()\\n if line.startswith('>'):\\n name...
{"type":"tool/result","seq":66,"time":1789739548076,"data":{"turn":1,"step":12,"message":{"source":{"kind":"tool","callId":"chatcmpl-tool-a1356cb31d1c603b"},"content":[{"type":"tool-result","toolCallId":"chatcmpl-tool-a1356cb31d1c603b","content":[{"type":"text","text":"egfp end found at -1\nbest egfp match 714 210"}],"...
{"type":"step/end","seq":67,"time":1789739548077,"data":{"turn":1,"step":12}}
{"type":"step/start","seq":68,"time":1789739548077,"data":{"turn":1,"step":13}}
{"type":"assistant/message","seq":69,"time":1789739560880,"data":{"turn":1,"step":13,"message":{"role":"assistant","content":[{"type":"tool-call","id":"chatcmpl-tool-bb0348896f332409","name":"bash","arguments":"{\"command\": \"cd /app && python3 << 'EOF'\\nseqs={}\\nname=None\\nfor line in open('sequences.fasta'):\\n ...
{"type":"tool/call","seq":70,"time":1789739560882,"data":{"turn":1,"step":13,"callId":"chatcmpl-tool-bb0348896f332409","name":"bash","arguments":"{\"command\": \"cd /app && python3 << 'EOF'\\nseqs={}\\nname=None\\nfor line in open('sequences.fasta'):\\n line=line.strip()\\n if line.startswith('>'):\\n name...
{"type":"tool/result","seq":71,"time":1789739560988,"data":{"turn":1,"step":13,"message":{"source":{"kind":"tool","callId":"chatcmpl-tool-bb0348896f332409"},"content":[{"type":"tool-result","toolCallId":"chatcmpl-tool-bb0348896f332409","content":[{"type":"text","text":"egfp 714 (210, 714)\n region 210 923\n out aroun...
{"type":"step/end","seq":72,"time":1789739560989,"data":{"turn":1,"step":13}}
{"type":"step/start","seq":73,"time":1789739560990,"data":{"turn":1,"step":14}}
{"type":"assistant/message","seq":74,"time":1789739571212,"data":{"turn":1,"step":14,"message":{"role":"assistant","content":[{"type":"tool-call","id":"chatcmpl-tool-b5549d2ddde08808","name":"bash","arguments":"{\"command\": \"cd /app && python3 << 'EOF'\\nseqs={}\\nname=None\\nfor line in open('sequences.fasta'):\\n ...
{"type":"tool/call","seq":75,"time":1789739571213,"data":{"turn":1,"step":14,"callId":"chatcmpl-tool-b5549d2ddde08808","name":"bash","arguments":"{\"command\": \"cd /app && python3 << 'EOF'\\nseqs={}\\nname=None\\nfor line in open('sequences.fasta'):\\n line=line.strip()\\n if line.startswith('>'):\\n name...
{"type":"tool/result","seq":76,"time":1789739571319,"data":{"turn":1,"step":14,"message":{"source":{"kind":"tool","callId":"chatcmpl-tool-b5549d2ddde08808"},"content":[{"type":"tool-result","toolCallId":"chatcmpl-tool-b5549d2ddde08808","content":[{"type":"text","text":"match prefix length 214\nout[l-10:l+10] atacatatga...
{"type":"step/end","seq":77,"time":1789739571320,"data":{"turn":1,"step":14}}
End of preview. Expand in Data Studio

Terminal-Bench 2.1 trajectories: DeepSeek-V4.1-Flash, and three lines re-scored on a level environment

The point of this release is not the score. It is that the four lines being compared were not running in the same environment, and we only noticed after publishing the first comparison. Everything here is the repair and the re-measurement.

Raw, unedited agent trajectories for the DeepSeek-V4.1-Flash run over all 89 Terminal-Bench 2.1 tasks, plus every remediation re-run for it and for the two older lines, plus the scoring and analysis scripts. Every number in the write-up can be traced to a file here.

Only the re-runs of the two older lines are here, not their main runs. For DeepSeek-V4-Flash-0731 + dsh, the 89-trial main run and both re-run passes are collected in one place in openguardrails/tb21-dsv4-flash-0731-dsh — start there if that line is what you are after. The older terminus-2 and Qwen main runs are in openguardrails/tb21-qwen3.8-27b-terminus2.

Results

model / scaffold as-shipped + infra re-run + work-product standard
DeepSeek-V4.1-Flash + dsh sdk-minimal 63/89 = 70.8% 66/89 = 74.2% 69/89 = 77.5%
DeepSeek-V4-Flash-0731 + dsh sdk-minimal 52/89 = 58.4% 58/89 = 65.2% 61/89 = 68.5%
Qwen3.8-27B + terminus-2 59/89 = 66.3% 61/89 = 68.5% 61/89 = 68.5%
DeepSeek-V4-Flash-0731 + terminus-2 53/89 = 59.6% 56/89 = 62.9% 56/89 = 62.9%

Exact McNemar, paired over the same 89 tasks:

dsv4.1+dsh  vs  dsv4+dsh      net +8    p = 0.15    not significant
dsv4.1+dsh  vs  qwen3.8+t2    net +8    p = 0.13    not significant
dsv4.1+dsh  vs  dsv4+t2       net +13   p = 0.019   significant
dsv4+dsh    vs  qwen3.8+t2    net  0    p = 1.00    dead even

V4.1 is the only line above 70%, and it is 9 points above V4 on the same scaffold — but 89 tasks cannot carry that to significance. The direction is clear; "proven stronger" is not a claim this sample supports.

The three scoring tiers

Applied identically to every line, by one script (scripts/score4.py):

  1. as-shipped — what the run actually scored. This is what you get if you deploy the same stack today.
  2. + infra re-run — a trial whose verifier never ran a single test (broken dpkg, unreachable mirror, container start failure) was really re-run under the repaired environment, and the re-run's verdict replaces the original. Nothing is estimated or replayed.
  3. + work-product standard — a trial whose work product satisfied the task's own acceptance criterion, evidenced in the agent's own log while its service was still up, counts as solved even though dsh killed the process tree before verification. Each such trial is listed with the log line that justifies it (scripts/evidence_v41.py).

What we had to repair, and what we got wrong

Checking which hosts each run's logs actually talked to showed the four lines had not been run under equal network conditions:

line apt pip/uv repaired?
Qwen3.8 + terminus-2 local disk cache (:20180) local wheel cache (:8099) yes
dsv4 + terminus-2 archive.ubuntu.com direct tuna no
dsv4 + dsh v2raya proxy (:20171) tuna no
dsv4.1 + dsh (main run) v2raya proxy (:20171) tuna no

Host egress here is 8–70 KB/s. A cold apt-get install tesseract-ocr-all … measured 755 s; dsh kills any single command at 300 s, which cuts the dpkg transaction in half and leaves the package database broken, after which the verifier cannot install its own tools and runs zero tests. Through the local cache the same install is 10–25 s.

Re-running the two older lines under the repaired environment raised their scores too (dsv4+dsh 65.2% → 68.5%, dsv4+terminus-2 61.8% → 62.9%). The repair is not a thumb on the scale for the new model.

A fault we could not isolate

Four DSv4.1 trials still ended with a broken dpkg after the network was verifiably fast (assertion: a representative install under 60 s, scripts/verify_repair.sh). We ruled out, by measurement: upstream bandwidth, cache warmth, container CPU/memory limits, the container→proxy path, DNS, and a PTY stdin stalling apt (reproduced with pty.fork(); 25.8 s with a PTY vs 27.3 s without — see scripts/pty_apt_test.py).

The decisive observation is that the same tasks behaved differently for the other model: dsv4 passed write-compressor, polyglot-c-py and sparql-university under the same repaired environment, and broke on two different tasks instead. The fault is stochastic, roughly 20–40% per attempt, and not task- or model-specific. We did not find the mechanism and are not guessing at one.

It left 4 tasks charged to V4.1 and only 2 to V4, which is luck, not capability — so 77.5% is, if anything, an under-estimate.

Agents repairing their own environment

45 of the 87 trials with complete session logs had at least one command killed at dsh's 300 s ceiling, 7.0 h of wall clock in total. Counting only commands the model itself issued (scripts/net_adapt.py):

behaviour count
raised timeouts 36
retry loops / Acquire::Retries 32
narrowed the download (--no-deps, --only-binary, apt-get download + dpkg -i) 13
pushed a long install into the background, escaping the 300 s ceiling 8
switched the pip index 8

The clearest single example, sam-cell-segmentation seq 70 — three correct moves in one command: clean up the killed process, re-launch under nohup where the ceiling cannot reach it, and switch to a domestic mirror (it later downgrades further to CPU-only wheels, having worked out the task needs no CUDA):

pkill -f 'pip install torch' || true; sleep 1; \
nohup pip install torch torchvision \
  --index-url https://mirrors.tuna.tsinghua.edu.cn/pytorch/whl/cpu \
  > /tmp/pip_torch_cpu.log 2>&1 & echo $!

Qwen's line does the same kind of thing (26 × --index-url .../whl/cpu, 350 × nohup). The two counts are not comparable — terminus-2 logs screen captures, dsh logs structured tool calls. Qualitatively, both models self-repair.

None of this is scored. It buys back the starting line, not points.

Layout

trajectories/
  dsv41-dsh/main/<task>/           89 trials: dsh-session.jsonl, dsh-result.json,
  dsv41-dsh/remediation-1/<task>/   8         instruction.txt, result.json, config.json,
  dsv41-dsh/remediation-2/<task>/   4         verifier/test-stdout.txt
  dsv4-dsh/remediation/<task>/     11        (main run: tb21-dsv4-flash-0731-dsh)
  dsv4-terminus2/remediation/<task>/ 1 trial: trajectory.json, terminus_2.pane, …
                                            (main run: tb21-qwen3.8-27b-terminus2)
scripts/
  score4.py              the only scorer; produces all three tiers + McNemar
  classify_v41.py        infra vs budget vs model failure, per trial
  net_cost.py            wall clock lost to commands killed at the ceiling
  net_adapt.py           model-side environment repair, from its own commands
  evidence_v41.py        work-product standard, with the proving log line
  verify_repair.sh       pre-flight assertion that the environment is actually fast
  bench_cfg.py           the TP=8 vs DP=2×TP=4 concurrency sweep
  pty_apt_test.py        the PTY hypothesis that turned out to be wrong
  start_*.sh             exact serving configs for both models
  *.json / *.log         run configs and run logs

Serving configuration

8×A800 80GB PCIe, vLLM with the Ampere port of DeepSeek-V4.1-Flash (openguardrails/vllm-dsv41-flash-sm80). TP=8 + EP was chosen by measurement, not assumption — at the 4-concurrency the harness actually uses it is 7.8% faster than DP=2×TP=4, which only overtakes at concurrency ≥ 8 (scripts/bench_tp8_p40000.json, scripts/bench_dp2tp4_p40000.json).

V4.1's thinking switch is binary: on by default (/tokenize returns 31 for "hi"), off with reasoning_effort: "none" (returns 5). Asserted before and after every run.

Limits

  • One sample per task. No averaging. The stochastic dpkg fault alone moves the score by 2–4 tasks.
  • Not comparable to vendor-published numbers, which are typically multi-run averages.
  • The environment repair is partial by design: only trials that produced no measurement at all were re-run. Trials that produced a verdict keep it, including the two that ran out of wall clock — and those two had zero commands killed at the ceiling, so their timeouts were their own (scripts/net_cost.py).
Downloads last month
120