Liuma Evaluation · Windows Terminal

Liuma on Native Windows PowerShell:
91.7% Pass Rate on Terminal-Bench (22/24)

On a real Windows 11 host, Liuma paired with DeepSeek Flash executed 24 tasks from the Terminal-Bench 2.1 Windows port using native PowerShell. Evaluated single-shot (Pass@1) under original task time limits and verifiers, Liuma passed 22/24 (91.7%), finishing half of passing tasks in under two minutes.

Liuma Team
Editorial illustration of sunlight streaming through a four-pane window onto a desk with a minimalist monitor running a deep forest-green Windows PowerShell (PS >_) terminal, with fine ink ribbons branching into chess, SQL blocks, sliced tensor cubes, Scheme parentheses, and a stopwatch.
AI-generated editorial cover illustration
Terminal-Bench 2.1 Windows Port (24 Tasks) LeaderboardRanked by pass rate · includes public baselines on the same 24 tasks
1
Claude Code + DeepSeek Public report
Shell: Git Bash (POSIX layer) · 2 attempts/task
93.8%45 / 48 passes
Hard 12/14 (85.7%)
Medium 33/34 (97.1%)
2
Liuma + DeepSeek Flash This evaluationBest on PowerShell
Shell: Native Windows PowerShell · Pass@1 (1 attempt/task)
91.7%22 / 24 passed
Hard 6/7 (85.7%)
Medium 16/17 (94.1%)
3
Claude Code + DeepSeek Public report
Shell: Native Windows PowerShell · 2 attempts/task
87.5%42 / 48 passes
Hard 11/14 (78.6%)
Medium 31/34 (91.2%)
3
Claude Code + DeepSeek Public report
Shell: Sill (Rust native Bash) · 2 attempts/task
87.5%42 / 48 passes
Hard 10/14 (71.4%)
Medium 32/34 (94.1%)

Key takeaway: On native Windows PowerShell, Liuma single-shot (91.7%, 22/24) leads the published Claude Code + PowerShell baseline (87.5%, 42/48) by 4.2 percentage points and also outperforms the Sill setup (87.5%). On hard tasks, Liuma reaches 85.7% (6/7), matching Git Bash’s POSIX layer (12/14).

Methodology note: Shown side-by-side as same-task reference points, not a controlled head-to-head ranking. The public report ran two attempts per task, whereas Liuma ran single-shot (Pass@1). Liuma’s run log recorded model config deepseek-flash (DeepSeek Flash family, without an upstream snapshot ID); the public report likewise lists DeepSeek’s low-cost model without a snapshot ID. Both runs enabled automatic command approval; Liuma also had access to a cloud Linux sandbox (invoked only 10 times across all 24 tasks within limits). Both ran the same upstream verifiers on Windows. Original public report

22/24Pass@1 pass rate (91.7%)
6/7Official hard tasks passed (85.7%)
2:03Median time to passing output (m:ss)
25 callsMedian LLM calls/task (1.21M tokens · 95.4% cached)

Tasks & category breakdown

Terminal-Bench uses binary pass/fail scoring: a task scores 1 if all verifier checks pass on the output produced within the task’s time limit, and 0 otherwise, weighted equally across all 24 tasks. Elapsed time and token consumption do not affect the score, and missing the time limit counts as a failure. The latency and usage metrics below are reported so readers can estimate runtime and cost for their own workloads.

Tasks are grouped below by their official Terminal-Bench categories (task.toml). The two failed tasks are examined in the failure analysis section.

Official category Liuma (Pass@1) Claude Code (PowerShell, 2x) Tasks covered
Software Engineeringsoftware-engineering8/814/16Logic-gate circuit for fib(isqrt(N)); parse pseudocode from image; gRPC key-value store; C/Python polyglot; regex-only legal chess move generator; self-interpreting Scheme metacircular evaluator; LLaMA pipeline-parallel training; tensor-parallel linear layers
Data Processingdata-processing3/36/6Summarize log levels by date range; merge JSON/CSV/Parquet user records; regex matching dates on IPv4 log lines
Data Sciencedata-science2/35/6Find top MTEB Scandinavian leaderboard model; retrieve rank-5 document with specified embedding model (failed); optimize slow SQLite query
Debuggingdebugging2/24/4Merge two git bundles and resolve conflicts; recover records from a truncated SQLite database
Machine Learningmachine-learning2/24/4Construct probability distribution meeting bidirectional KL constraints; schedule LLM inference batching plans
Scientific Computingscientific-computing2/23/4Fit graphene Raman spectrum G/2D peaks; optimize MuJoCo model to run within 60% of baseline simulation time
Data Queryingdata-querying1/12/2Write SPARQL query against a university knowledge graph
File Operationsfile-operations0/10/2Transcribe player commands from a Zork gameplay video (timeout)
Model Trainingmodel-training1/12/2Reconstruct PyTorch model architecture from weights and fine-tune the output layer
Personal Assistantpersonal-assistant1/12/2Schedule a meeting across three calendars and preference constraints
Total22/2442/48Official difficulty: Hard 6/7, Medium 16/17 (Claude Code PowerShell baseline: Hard 11/14, Medium 31/34)

Completion time & time-limit headroom

Completion time is measured from task dispatch to the last modification timestamp of the target output file captured in the deadline snapshot. Among the 22 passing tasks, 11 finished within 2 minutes (50%), 13 within 5 minutes, and 17 within 10 minutes, with a median of 2:03. The tightest finish was MuJoCo simulation optimization (tune-mjcf), where model.xml was written at 14:48—just 12 seconds before the 15-minute cutoff.

Bar length indicates the fraction of each task’s time limit consumed before the passing file was written. Hover or focus any row with Tab to inspect the target artifact and verifier checks.

code-from-image0:12 / 20m
constraints-scheduling0:30 / 20m
log-summary-date-ranges0:24 / 15m
distribution-search1:54 / 60m
multi-source-data-merger0:42 / 15m
torch-tensor-parallelism1:06 / 15m
kv-store-grpc1:12 / 15m
regex-log1:24 / 15m
polyglot-c-py1:48 / 15m
pytorch-model-recovery2:00 / 15m
sqlite-db-truncate2:00 / 15m
sparql-university2:06 / 15m
schemelike-metacircular-eval5:48 / 40m
circuit-fibsqrt11:12 / 60m
merge-diff-arc-agi-task3:18 / 15m
mteb-leaderboard15:24 / 60m
llm-inference-batching-scheduler9:36 / 30m
regex-chess20:00 / 60m
raman-fitting5:42 / 15m
query-optimize7:42 / 15m
torch-pipeline-parallelism10:24 / 15m
tune-mjcf14:48 / 15m
extract-moves-from-videoTimeout / 30m
mteb-retrieve7:18, wrong answer
050%100% limit
Several tasks continued running extra self-verification after writing their final passing file, so the full session ended later than the file write timestamp. For instance, query-optimize wrote sol.sql at 7:42 and then ran the original slow query locally for full row-by-row equivalence verification, concluding its session at minute 31. Scoring always uses the directory snapshot captured at the task’s time limit.

Case studies

SQL query optimization (query-optimize): 1.5× faster than the reference solution

Limit 15mOutput time 7:42Checks 6/6PowerShell calls 14
I implemented a sql query but it is not optimized. I have saved it in /app/my-sql-query.sql. Please make the query as efficient as possible while ensuring that the same output is produced. (Dataset: Open English WordNet, 50 MB SQLite)

The original query ran two nested correlated subqueries per word to identify its most frequent synset. Liuma refactored it into staged CTEs—aggregating and truncating to the top 500 words first, then applying ROW_NUMBER() only over those 500 words. The verifier enforces a single SQL statement, read-only execution, exact row-for-row output equivalence, and faster latency than the benchmark’s own optimized reference. Across 5 timed runs, median execution was 0.935 s for Liuma versus 1.429 s for the reference solution.

Inspect Liuma’s generated sol.sql
WITH agg AS (
  SELECT
    s.wordid AS wordid,
    COUNT(*) AS total_senses,
    COUNT(DISTINCT s.synsetid) AS total_synsets,
    COUNT(DISTINCT syn.domainid) AS distinct_domains,
    COUNT(DISTINCT syn.posid) AS distinct_posids
  FROM senses AS s
  JOIN synsets AS syn ON syn.synsetid = s.synsetid
  GROUP BY s.wordid
  HAVING COUNT(*) >= 2
     AND COUNT(DISTINCT s.synsetid) >= 2
     AND COUNT(DISTINCT syn.domainid) >= 2
),
best AS (
  SELECT wordid, total_senses, total_synsets, distinct_domains, distinct_posids
  FROM agg
  ORDER BY total_senses DESC, total_synsets DESC, distinct_domains DESC, wordid ASC
  LIMIT 500
),
synset_counts AS (
  SELECT s.wordid AS wordid, s.synsetid AS synsetid, COUNT(*) AS c
  FROM senses AS s
  JOIN best AS b ON b.wordid = s.wordid
  GROUP BY s.wordid, s.synsetid
),
top_synset AS (
  SELECT wordid, synsetid, c
  FROM (
    SELECT
      wordid,
      synsetid,
      c,
      ROW_NUMBER() OVER (PARTITION BY wordid ORDER BY c DESC, synsetid ASC) AS rn
    FROM synset_counts
  )
  WHERE rn = 1
)
SELECT
  w.wordid AS word_id,
  w.word AS word,
  b.total_synsets,
  b.total_senses,
  b.distinct_domains,
  b.distinct_posids,
  t.synsetid AS top_synsetid,
  t.c AS top_synset_sense_count
FROM best AS b
JOIN words AS w ON w.wordid = b.wordid
JOIN top_synset AS t ON t.wordid = b.wordid
ORDER BY b.total_senses DESC, b.total_synsets DESC, b.distinct_domains DESC, w.wordid ASC
LIMIT 500;

Tensor-parallel linear layers (torch-tensor-parallelism): solved in ~1 minute, 13/13 distributed tests

Difficulty HardLimit 15mOutput time 1:06Checks 3 groups / 13 test cases
Implement tensor parallelism for linear layers using PyTorch. Create the file /app/parallel_linear.py and implement ColumnParallelLinear / RowParallelLinear …

Liuma implemented Megatron-LM sharding for ColumnParallelLinear (output-dimension weight sharding with all_gather) and RowParallelLinear (input-dimension sharding with all_reduce). The verifier tested 1, 2, and 4 distributed ranks with and without bias, comparing both forward outputs and backward gradients—passing all 13 cases. In the public PowerShell baseline, Claude Code passed 1 of 2 attempts on this task.

Scheme metacircular evaluator (schemelike-metacircular-eval): self-bootstrapping interpreter in 5:48

Limit 40mOutput time 5:48Checks 63/63 programsPowerShell calls 33
Write a file eval.scm that is a metacircular evaluator capable of interpreting the scheme-like language implemented by interp.py … Your interpreter should be able to interpret (1) each of the test programs in test/, and (2) itself.

The verifier runs 63 test programs—including 31 hidden tests not present in the agent’s workspace—three ways each: directly via interp.py, interpreted by eval.scm, and double-interpreted via eval.scm interpreting itself. All three outputs must match identically. The version written at 5:48 passed all 63 programs.

Failure analysis

MTEB semantic retrieval (mteb-retrieve · Medium · 30m limit): query encoding mismatch

This task asks for the rank-5 document by cosine similarity for the query "terminal-bench" using pinned versions of bge-small-zh-v1.5 and mteb. Liuma wrote result.txt at 7:18, passing the existence check but failing content verification (1/2): it output the HumanEval row rather than the expected MTEB: Massive Text Embedding Benchmark row. Execution logs show Liuma’s script computed rankings both with and without the retrieval instruction prefix, then selected the unprefixed ranking. In the public PowerShell baseline, Claude Code passed 1 of 2 attempts.

Zork gameplay transcription (extract-moves-from-video · Hard · 30m limit): throughput bottleneck on long video

This task requires transcribing every player command from a Zork gameplay recording into solution.txt. No output file existed at the 30-minute cutoff, scoring 0/2 (timeout). Dense frame sampling and visual text extraction drove far higher per-task overhead than standard terminal tasks (70 model calls and 5.17M tokens already spent within 30 minutes). Allowing execution to continue past the cutoff eventually produced a transcript above the 90% similarity threshold, but even excluding interactive pauses, net execution time to the first passing transcript was ~88 minutes—nearly 3× the limit. The failure reflects long-video throughput and strategy overhead rather than an unsolvable task. Claude Code failed both attempts in the public baseline as well.

Calls, tokens & tool distribution

Figures below include only requests issued within each task’s time limit. Across all 24 tasks, Liuma made 726 model calls totaling approximately 56.57M tokens: 53.12M cached input tokens (95.4% of all input tokens), 2.56M uncached input tokens, and 0.89M output tokens. The per-task median was 25 calls and 1.21M tokens. The three highest-usage tasks were long-horizon reasoning and search tasks—regex-chess (11.83M), mteb-leaderboard (7.92M), and schemelike-metacircular-eval (5.96M)—all three of which passed.

Because unit pricing was not configured in the evaluation environment, we report reproducible raw token counts across all three buckets without third-party dollar estimates. Download the CSV below and multiply uncached input, cached input, and output tokens by your own API rates to compute exact cost.

Tool telemetry confirms that nearly all execution occurred natively on the Windows host. Within task time limits, Liuma logged 765 tool calls: 339 local PowerShell command executions (used on all 24 tasks), 195 file writes, and 58 file edits; Liuma’s built-in cloud Linux sandbox was invoked only 10 times.

Per-task results & raw data

Task ID & summary Category Difficulty Result · checks Output time Limit (m) Claude Code (PS) Calls Total tokens
circuit-fibsqrtLogic-gate circuit for fib(isqrt(N))Software Eng.HardPass · 3/311:12602/2262.04M
code-from-imageParse pseudocode from image and evaluateSoftware Eng.MediumPass · 2/20:12202/260.16M
constraints-schedulingSchedule meeting across three calendarsPersonal Asst.MediumPass · 3/30:30202/2100.35M
distribution-searchConstruct distribution with bidirectional KL boundsMachine LearningMediumPass · 4/41:54602/2110.49M
extract-moves-from-videoTranscribe player commands from Zork videoFile OpsHardTimeout · 0/2—300/2705.17M
kv-store-grpcImplement gRPC key-value storeSoftware Eng.MediumPass · 7/71:12151/2210.79M
llm-inference-batching-schedulerPlan LLM inference batching schedulesMachine LearningHardPass · 6/69:36302/2393.91M
log-summary-date-rangesSummarize log levels across date rangesData ProcessingMediumPass · 2/20:24152/2191.10M
merge-diff-arc-agi-taskMerge two git bundles and resolve conflictsDebuggingMediumPass · 5/53:18152/2392.32M
mteb-leaderboardQuery top MTEB Scandinavian leaderboard modelData ScienceMediumPass · 2/215:24602/2847.92M
mteb-retrieveRetrieve rank-5 document with embedding modelData ScienceMediumFail · 1/27:18301/2271.18M
multi-source-data-mergerMerge JSON, CSV, and Parquet user dataData ProcessingMediumPass · 3/30:42152/2160.55M
polyglot-c-pyWrite valid C and Python polyglot programSoftware Eng.MediumPass · 1/11:48152/260.26M
pytorch-model-recoveryRecover PyTorch architecture and fine-tune headModel TrainingMediumPass · 5/52:00152/2140.56M
query-optimizeOptimize slow SQLite queryData ScienceMediumPass · 6/67:42152/2342.02M
raman-fittingFit graphene Raman G and 2D peaksScientific Comp.MediumPass · 3/35:42152/2362.26M
regex-chessGenerate legal chess moves via regex onlySoftware Eng.HardPass · 4/420:00602/28411.83M
regex-logRegex matching dates on IPv4 log linesData ProcessingMediumPass · 1/11:24152/270.28M
schemelike-metacircular-evalSelf-interpreting Scheme metacircular evaluatorSoftware Eng.MediumPass · 1/15:48402/2515.96M
sparql-universityWrite SPARQL query against knowledge graphData QueryingHardPass · 3/32:06152/2140.54M
sqlite-db-truncateRecover records from truncated SQLite fileDebuggingMediumPass · 1/12:00152/2160.78M
torch-pipeline-parallelismImplement LLaMA pipeline-parallel trainingSoftware Eng.HardPass · 3/310:24152/2362.62M
torch-tensor-parallelismImplement tensor-parallel linear layersSoftware Eng.HardPass · 3/31:06151/2241.23M
tune-mjcfOptimize MuJoCo model simulation speedScientific Comp.MediumPass · 4/414:48151/2362.25M

Download per-task CSV → (includes output filenames, all three public baseline columns, and raw token buckets to reproduce every figure in this report)

Setup & methodology

  • Benchmark & subset: Community Windows port of Terminal-Bench 2.1 (upstream commit 7131e437; pinned port b2f26533). Of the 26 ported tasks, feal-differential-cryptanalysis and model-extraction-relu-logits were excluded, leaving a denominator of 24 tasks. All task prompts were passed verbatim.
  • System under test: Liuma 2026-12-03 build (commit 6de67183) paired with the Windows desktop execution agent (Desktop Runner 0.1.46) on a real Windows 11 host. Model routing used config deepseek-flash (DeepSeek Flash family; run logs did not record an upstream snapshot ID). Automatic command approval was enabled on this dedicated evaluation host to match unattended benchmark conditions. Each task ran single-shot (Pass@1) in a fresh session and isolated working directory.
  • Timing & verification: Clocks started at task dispatch. At each task’s deadline, the working directory was snapshotted (all 24 captures began within 0.4 s of cutoff) and evaluated with the original verifier on Windows. Sessions were permitted to continue past the deadline without affecting the locked Pass@1 score.
  • Verifier environment re-check: During initial verification of merge-diff-arc-agi-task, the host’s Windows Git binary crashed on startup (4/5 checks passing). Re-running the original verifier against the unchanged deadline snapshot using Git inside WSL on the same host passed 5/5 checks.