Pith. sign in

REVIEW 3 major objections 5 minor 129 references

Frontier coding agents fail systematically on scientific imaging pipelines in ways general coding benchmarks never show.

Reviewed by Pith at T0; open to challenge. T0 means a machine referee read the full paper against a public rubric. the ladder, T0–T4 →

T0 review · grok-4.5

2026-07-14 09:14 UTC pith:M6KD4ZJY

load-bearing objection Solid, carefully built inverse-problem coding benchmark; the multi-track evidence for convention and solver failures is real, with residual risk only on end-to-end image metrics. the 3 major comments →

arxiv 2607.10789 v1 pith:M6KD4ZJY submitted 2026-07-12 cs.AI

Imaging-101: Benchmarking LLM Coding Agents on Scientific Computational Imaging

classification cs.AI
keywords computational imaginginverse problemslarge language modelsscientific benchmarksagentic systemscoding agentsphysical conventionsreconstruction pipelines
verification ladder T0 review T1 audit T2 compute T3 formal T4 reserved

The pith

A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.

Computational imaging recovers hidden signals from indirect, noisy measurements, but building a correct reconstruction pipeline still demands deep domain expertise. This paper introduces Imaging-101: 57 expert-verified tasks across six scientific fields, each grounded in a peer-reviewed paper and rewritten as a shared four-stage pipeline of preprocessing, forward physics, inverse solving, and visualization. Seven frontier language models are scored on planning, function-level unit tests, and end-to-end reconstruction. The dominant failures are scientific, not surface coding mistakes: missed unit and normalization conventions, wrong solver choices, and brittle pipeline integration. Under a controlled multi-agent setup the best end-to-end success is about 30 percent, and full module pass rates stay much lower, arguing for skill-augmented, domain-specialized agents rather than general coding ability alone.

Core claim

On 57 paper-grounded computational imaging tasks, frontier LLM coding agents systematically fail at algorithm selection, physical convention handling, and pipeline integration—failure modes that general coding and science-QA benchmarks do not expose. Controlled end-to-end success peaks at 29.8 percent, while simultaneous pass of all three scientific modules ranges only from 1.8 to 22.8 percent across models.

What carries the argument

Imaging-101: every task is canonicalized into a standardized four-stage pipeline (preprocessing, forward physics modeling, inverse solver, visualization) and graded on three tracks—planning, function-level numerical unit tests, and end-to-end reconstruction against calibrated image-quality thresholds.

Load-bearing premise

The evaluation treats expert plan judgments plus calibrated image-quality cutoffs as enough proof of scientific correctness, even though a physically wrong pipeline can still look plausible and pass those image metrics.

What would settle it

Rerun the same 57-task suite under the same multi-agent harness and reflection budget with a stronger model or skill library; if end-to-end rates rise high while function-level fixtures and expert plan rubrics also pass on convention-sensitive tasks (for example multi-coil MRI normalization and NLOS intensity-to-amplitude conversion), the claim of systematic scientific-reasoning gaps would not hold.

Watch this falsifier — get emailed when new claim-graph text bears on it.

If this is right

  • Reliable imaging copilots will need reusable, verified skill modules that encode tacit conventions such as normalizations, unit conversions, and modality-specific solvers.
  • Getting the algorithmic plan right has a larger effect on final reconstruction success than perfecting every individual function in isolation.
  • Image-quality scores alone cannot certify physical correctness, so multi-track evaluation (plan, unit tests, end-to-end) is required to catch convention drift.
  • Richer execution environments (shell, packages, free debugging) can substantially raise pass rates relative to sandboxed multi-agent setups.
  • New tasks can be added by the same expert-in-the-loop four-stage canonicalization, enabling community growth of the benchmark.

Where Pith is reading between the lines

These are editorial extensions of the paper, not claims the author makes directly.

  • The same defaulting to statistically dominant conventions likely appears in other inverse-problem fields where minority physical conventions are underrepresented in training data.
  • Injecting verified physics modules at code-writing time, not only at test time, may directly attack the dominant convention-drift failure class.
  • The large gap between planning pass rates and end-to-end success points to long-horizon integration as a distinct research target from single-function coding skill.

Editorial analysis

A structured set of objections, weighed in public.

Desk editor's note, referee report, simulated authors' rebuttal, and a circularity audit.

Referee Report

3 major / 5 minor

Summary. The manuscript introduces Imaging-101, a benchmark of 57 expert-verified computational imaging tasks spanning six scientific domains. Each task is grounded in a peer-reviewed paper and open-source reference, then canonicalized into a four-stage pipeline (preprocessing, forward physics, inverse solver, visualization). Three tracks—planning (expert binary judgments with LLM-judge assistance), function-level unit tests with reflection, and end-to-end reconstruction under a shared multi-agent harness—evaluate seven frontier LLMs. Results show low overall planning pass rates (~39–53%), very low all-module function-level success (1.8–22.8%), and end-to-end success at most 29.8% (Claude-4.6-Opus; 56.1% for black-box Claude Code). Dominant failures are scientific rather than purely syntactic: measurement-to-model misalignment, inappropriate solver selection, numerical-convention drift, and pipeline integration. The authors argue these gaps exceed those of general coding benchmarks and motivate skill-augmented, domain-specialized agents.

Significance. If the multi-track evidence holds, Imaging-101 is a substantial contribution: it fills a clear gap between clean-interface scientific coding benchmarks and the inverse-problem nature of computational imaging, with unusually careful expert-in-the-loop construction (12 domain experts, dual verification, paper-grounded references, calibrated fixtures). The case studies (NLOS intensity-to-amplitude conversion, MVUE coil normalization, FPM solver substitution) and the cross-tabulation of planning vs. function-level vs. end-to-end (Table 2) give concrete, falsifiable characterizations of failure modes that general coding suites rarely isolate. Releasing standardized tasks, plans, fixtures, and tutorials further supports community extension. The residual risk that NCC/NRMSE can accept physically wrong but visually plausible pipelines is acknowledged by the authors and partially bounded by the planning and function-level tracks; it does not erase the empirical value of the suite.

major comments (3)
  1. §2.3 Stage 3 and §3.3: End-to-end pass criteria (0.9× reference NCC, 1.1× reference NRMSE) can accept physically incorrect pipelines, as the authors themselves show for convention drift and the StarWarps black-hole case. Intermediate physics checks are deliberately omitted end-to-end. For the central claim that failures are scientific (not just coding), the paper should either (i) report, for a subset of end-to-end passes, whether planning and/or function-level physics checks also pass, or (ii) add a short multi-instance / alternative-metric analysis (promised in Appendix C.4) so that a single favorable instance cannot mask a missing prior. Without this, the softest joint of the multi-track argument remains under-quantified.
  2. §2.4.4–2.4.5 and Table 1: Controlled end-to-end results use a single self-developed multi-agent harness with fixed reflection budgets; Claude Code is reported separately at 56.1%. The claim that performance differences primarily reflect model capability (rather than harness idiosyncrasy) is plausible but load-bearing. A brief sensitivity check—e.g., one alternative agent scaffold or budget on a stratified subset—would strengthen attribution. If infeasible, state more explicitly that reported numbers are joint model–harness capability, not pure model ability.
  3. §4.2 and Appendix C.3: “Probabilistic mode collapse” is introduced as the analogue of the knowing–doing gap, supported mainly by 50 repeats of Claude-4.6-Opus on mri_l1_wavelet (47/50 convention-drift failures). That is useful but narrow. Either broaden the repeatability evidence to a few more convention-sensitive tasks/models, or temper the generality of the term so it is not read as a fully established mechanism across the suite.
minor comments (5)
  1. Abstract and §1: minor grammar (“visualization) Three evaluation tracks”; “We evaluatesevenLLMs”).
  2. Fig. 2 and task tables: a single task may involve multiple measurement principles; make the multi-label counting rule explicit in the caption.
  3. Table 1: Avg. Plan Length and Avg. Rounds to Success are informative; a short note on whether longer plans correlate with higher planning pass rates would help interpretation.
  4. §5 Limitations: pretraining leakage and construction bias are discussed (Appendix C.1); consider elevating a one-sentence summary into the main limitations paragraph for readers who skip the appendix.
  5. Appendix B planning checklists (Tables 5–9) are a major asset; ensure the main text points to them when describing the expert rubric so reviewers can audit pass/fail examples (Tables 10–12).

Circularity Check

0 steps flagged

Empirical benchmark paper with no derivation circularity: tasks, fixtures, and metrics are external to the models under test.

full rationale

Imaging-101 is an evaluation paper, not a first-principles derivation. Its load-bearing claims (frontier coding agents systematically fail on scientific computational imaging beyond general coding benchmarks; end-to-end success ≤29.8%; function-level all-module pass 1.8–22.8%) rest on executing agent code against expert-curated tasks grounded in external peer-reviewed papers and open-source reference implementations, graded by held-out unit-test fixtures, expert plan review, and NCC/NRMSE vs. hidden references. Pass thresholds (0.9× reference NCC, 1.1× reference NRMSE) are calibrated to reference quality as standard benchmark design, not fitted parameters renamed as predictions. Claude Code assisted construction is a construction-bias risk, not circularity; the Codex re-clean control (32→30) and decade-wise leakage analysis treat exposure as measurable limitation rather than defining success by the models’ own outputs. No self-definitional loop, no uniqueness theorem imported from the authors, no ansatz smuggled via self-citation, and no renaming of a known result as a derived law. Residual concerns about image metrics accepting physically wrong but plausible pipelines are correctness/proxy risks already bounded by the planning and function-level tracks, not circular reductions of claim to input.

Axiom & Free-Parameter Ledger

4 free parameters · 4 axioms · 2 invented entities

As a benchmark/evaluation paper, load-bearing premises are methodological choices rather than physical postulates: inverse-problem framing, four-stage canonicalization, expert dual review, numerical pass thresholds, and a fixed agent harness. Free parameters are mainly evaluation thresholds and iteration budgets. No new physical entities are introduced.

free parameters (4)
  • End-to-end pass thresholds = 0.9× NCC, 1.1× NRMSE
    Tasks pass if NCC ≥ 0.9× reference NCC and NRMSE ≤ 1.1× reference NRMSE (plus optional task-specific metrics). These multipliers are calibrated choices that define success.
  • Function-level reflection budget = 10 rounds
    Agents get a fixed number of reflection rounds (default 10) before non-completion is scored as failure; this budget shapes measured capability.
  • End-to-end multi-agent outer rounds = 5 rounds
    Sandboxed end-to-end evaluation allows up to five revision rounds after execution feedback.
  • Unit-test numerical tolerances = rtol ∈ [1e-10, 1e-2]
    Deterministic operators use task-dependent rtol in [1e-10, 1e-2]; stochastic checks use shape/dtype/moments. Tolerance choice affects pass rates, especially convention-drift cases.
axioms (4)
  • domain assumption A computational imaging task is an inverse problem y = A(x) + η that can be canonicalized into preprocessing, forward physics, inverse solver, and visualization.
    Section 2.1–2.2; this interface is the benchmark’s organizing assumption.
  • domain assumption Expert dual agreement on planning dimensions and reference-code unit tests are valid ground truth for scientific coding correctness.
    Sections 2.3–2.4; disagreements count as failures, and fixtures come from verified reference runs.
  • ad hoc to paper NCC and NRMSE (with calibrated margins) are adequate primary image-quality metrics across heterogeneous modalities.
    Section 2.3 and Appendix C.4 prefer NCC/NRMSE over PSNR/SSIM; the paper also admits image metrics alone cannot certify physical correctness.
  • ad hoc to paper Performance differences under a shared multi-agent harness primarily reflect model capability rather than harness idiosyncrasy.
    Section 2.4.4; limitations note results are joint model-harness capability.
invented entities (2)
  • Imaging-101 task suite / standardized four-stage pipeline independent evidence
    purpose: Provide a common, execution-verifiable interface for evaluating coding agents on scientific inverse imaging problems.
    The benchmark itself is the main constructed object; independent evidence is the released tasks, tests, and expert verification process.
  • Probabilistic mode collapse (as used here) no independent evidence
    purpose: Name the tendency of models to default to the statistically dominant numerical/physical convention even when the task requires another.
    Section 4.2 and Appendix C.3; a descriptive failure-mode label supported by the 50-run MVUE example, not a new physical mechanism.

pith-pipeline@v1.1.0-grok45 · 57388 in / 3471 out tokens · 45131 ms · 2026-07-14T09:14:40.499426+00:00 · methodology

0 comments
read the original abstract

Computational imaging, which recovers hidden signals from indirect, noisy measurements, underpins quantitative discovery across scientific disciplines, yet building a correct reconstruction pipeline demands deep domain expertise and remains laborious even for domain scientists. We introduce Imaging-101, a benchmark of 57 expert-verified computational imaging tasks spanning six scientific domains, each grounded in a peer-reviewed paper and canonicalized into a standardized four-stage pipeline (preprocessing, forward physics modeling, inverse solver, and visualization) Three evaluation tracks (planning, function-level unit tests, and end-to-end reconstruction) probe distinct agent capabilities across the full pipeline. Evaluating seven frontier LLMs uncovers systematic challenges in applying coding agents to computational imaging that go beyond those exposed by general coding benchmarks, spanning algorithm selection, physical convention handling, and pipeline integration. These findings highlight concrete capability gaps and point toward skill-augmented, domain-specialized agents as a practical path to reliable computational imaging assistance.

Figures

Figures reproduced from arXiv: 2607.10789 by Binhong Gao, Enze Ye, He Sun, Jiahe Ying, Shaochi Ren, Siyi Chen, Tianhan Zhang, Weimin Bai, Yixuan Jia, Yubing Li, Yuxuan Gu, Zhijun Zeng.

Figure 1
Figure 1. Figure 1: Overview of Imaging-101. (A) Imaging-101 benchmarks LLM agents on scientific computational imaging tasks across astronomy, biology, chemistry & material science, earth science, medicine, and physics. (B) Each task supports three evaluation tracks: Planning (approach/design vs. reference plan), Function-level (per-function numerical unit tests), and End-to-end (full pipeline scored by image quality metrics)… view at source ↗
Figure 2
Figure 2. Figure 2: Imaging-101 task composition. (A) Distribution of tasks across the six scientific domains. (B) Publication year of the reference paper for each task, showing coverage of work from 1970s to 2020s across multiple decades. (C) Distribution by fundamental measurement principle; a single task may involve multiple principles. Imaging-101 contains 57 tasks spanning six scientific domains: astronomy, biology, chem… view at source ↗
Figure 3
Figure 3. Figure 3: Case studies across the three evaluation tracks. (A) Planning failures fall into two categories: (I) measurement￾to-physics misalignment, where the agent skips a required preprocessing step (e.g., intensity-to-wavefield conversion in confocal NLOS), and (II) inappropriate solver selection, where the agent substitutes a generic optimizer for a physics-coupled algorithm (e.g., gradient descent instead of pty… view at source ↗

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Reference graph

Works this paper leans on

129 extracted references · 15 linked inside Pith

  1. [1]

    Inverse problems: a bayesian perspective,

    A. M. Stuart, “Inverse problems: a bayesian perspective,”Acta numerica, vol. 19, pp. 451–559, 2010

  2. [2]

    Solving inverse problems using data-driven models,

    S. Arridge, P . Maass, O. Öktem, and C.-B. Schönlieb, “Solving inverse problems using data-driven models,”Acta Numerica, vol. 28, pp. 1–174, 2019

  3. [3]

    The automation of science,

    R. D. King, J. Rowland, S. G. Oliver, M. Young, W. Aubrey, E. Byrne, M. Liakata, M. Markham, P . Pir, L. N. Soldatovaet al., “The automation of science,”Science, vol. 324, no. 5923, pp. 85–89, 2009

  4. [4]

    A deep learning approach to antibiotic dis- covery,

    J. M. Stokes, K. Yang, K. Swanson, W. Jin, A. Cubillos-Ruiz, N. M. Donghia, C. R. MacNair, S. French, L. A. Carfrae, Z. Bloom- Ackermannet al., “A deep learning approach to antibiotic dis- covery,”Cell, vol. 180, no. 4, pp. 688–702, 2020

  5. [5]

    Highly accurate protein structure prediction with alphafold,

    J. Jumper, R. Evans, A. Pritzel, T. Green, M. Figurnov, O. Ron- neberger, K. Tunyasuvunakool, R. Bates, A. Žídek, A. Potapenko et al., “Highly accurate protein structure prediction with alphafold,” nature, vol. 596, no. 7873, pp. 583–589, 2021

  6. [6]

    Hypoth- esis generation with large language models,

    Y. Zhou, H. Liu, T. Srivastava, H. Mei, and C. Tan, “Hypoth- esis generation with large language models,”arXiv preprint arXiv:2404.04326, 2024

  7. [7]

    First sagittarius a* event horizon telescope results. ii. eht and multi-wavelength observations, data processing, and calibration,

    E. H. T. Collaborationet al., “First sagittarius a* event horizon telescope results. ii. eht and multi-wavelength observations, data processing, and calibration,”arXiv preprint arXiv:2311.08679, 2023

  8. [8]

    An overview of full-waveform inversion in exploration geophysics,

    J. Virieux and S. Operto, “An overview of full-waveform inversion in exploration geophysics,”Geophysics, vol. 74, no. 6, pp. WCC1– WCC26, 2009

  9. [9]

    Local patches meet global context: Scalable 3d diffusion priors for computed tomography reconstruction,

    T. Yang, J. Hu, J. A. Fessler, and L. Shen, “Local patches meet global context: Scalable 3d diffusion priors for computed tomography reconstruction,”arXiv preprint arXiv:2512.18161, 2025

  10. [10]

    On the determination of functions from their integral values along certain manifolds,

    J. Radon, “On the determination of functions from their integral values along certain manifolds,”IEEE transactions on medical imaging, vol. 5, no. 4, pp. 170–176, 2007

  11. [11]

    Maximum likelihood reconstruction for emission tomography,

    L. A. Shepp and Y. Vardi, “Maximum likelihood reconstruction for emission tomography,”IEEE transactions on medical imaging, vol. 1, no. 2, pp. 113–122, 2007

  12. [12]

    Sparse mri: The application of compressed sensing for rapid mr imaging,

    M. Lustig, D. Donoho, and J. M. Pauly, “Sparse mri: The application of compressed sensing for rapid mr imaging,”Magnetic Resonance in Medicine: An Official Journal of the International Society for Magnetic Resonance in Medicine, vol. 58, no. 6, pp. 1182–1195, 2007

  13. [13]

    Optimization methods for mr image reconstruction (long version),

    J. A. Fessler, “Optimization methods for mr image reconstruction (long version),”arXiv preprint arXiv:1903.03510, 2019

  14. [14]

    Spatiotemporal maps for dynamic mri reconstruction,

    R. A. Lobos, X. Wang, R. T. Fung, Y. He, D. Frey, D. Gupta, Z. Liu, J. A. Fessler, and D. C. Noll, “Spatiotemporal maps for dynamic mri reconstruction,”arXiv preprint arXiv:2507.14429, 2025

  15. [15]

    Addbiomechanics: Automating model scaling, inverse kinematics, and inverse dynamics from human motion data through sequential optimization,

    K. Werling, N. A. Bianco, M. Raitor, J. Stingel, J. L. Hicks, S. H. Collins, S. L. Delp, and C. K. Liu, “Addbiomechanics: Automating model scaling, inverse kinematics, and inverse dynamics from human motion data through sequential optimization,”Plos one, vol. 18, no. 11, p. e0295152, 2023

  16. [16]

    Automating the practice of science: Opportunities, challenges, and implications,

    S. Musslick, L. K. Bartlett, S. H. Chandramouli, M. Dubova, F. Gobet, T. L. Griffiths, J. Hullman, R. D. King, J. N. Kutz, C. G. Lucaset al., “Automating the practice of science: Opportunities, challenges, and implications,”Proceedings of the National Academy of Sciences, vol. 122, no. 5, p. e2401238121, 2025

  17. [17]

    J. P . Kaipio and E. Somersalo,Statistical and computational inverse problems. Springer, 2005

  18. [18]

    Tarantola,Inverse problem theory and methods for model parameter estimation

    A. Tarantola,Inverse problem theory and methods for model parameter estimation. SIAM, 2005

  19. [19]

    Chemcrow: Augmenting large-language models with chemistry tools,

    A. M. Bran, S. Cox, O. Schilter, C. Baldassari, A. D. White, and P . Schwaller, “Chemcrow: Augmenting large-language models with chemistry tools,”arXiv preprint arXiv:2304.05376, 2023

  20. [20]

    Hugginggpt: Solving ai tasks with chatgpt and its friends in hugging face,

    Y. Shen, K. Song, X. Tan, D. Li, W. Lu, and Y. Zhuang, “Hugginggpt: Solving ai tasks with chatgpt and its friends in hugging face,” Advances in Neural Information Processing Systems, vol. 36, pp. 38 154– 38 180, 2023

  21. [21]

    Scicode: A research coding benchmark curated by scientists,

    M. Tian, L. Gao, S. Zhang, X. Chen, C. Fan, X. Guo, R. Haas, P . Ji, K. Krongchon, Y. Liet al., “Scicode: A research coding benchmark curated by scientists,”Advances in Neural Information Processing Systems, vol. 37, pp. 30 624–30 650, 2024. 11

  22. [22]

    Scienceagentbench: Toward rigorous assessment of language agents for data-driven scientific discovery,

    Z. Chen, S. Chen, Y. Ning, Q. Zhang, B. Wang, B. Yu, Y. Li, Z. Liao, C. Wei, Z. Luet al., “Scienceagentbench: Toward rigorous assessment of language agents for data-driven scientific discovery,” arXiv preprint arXiv:2410.05080, 2024

  23. [23]

    Scienceboard: Evaluating multimodal autonomous agents in realistic scientific workflows,

    Q. Sun, Z. Liu, C. Ma, Z. Ding, F. Xu, Z. Yin, H. Zhao, Z. Wu, K. Cheng, Z. Liuet al., “Scienceboard: Evaluating multimodal autonomous agents in realistic scientific workflows,”arXiv preprint arXiv:2505.19897, 2025

  24. [24]

    Wave-based non- line-of-sight imaging using fast fk migration,

    D. B. Lindell, G. Wetzstein, and M. O’Toole, “Wave-based non- line-of-sight imaging using fast fk migration,”ACM Transactions on Graphics (ToG), vol. 38, no. 4, pp. 1–13, 2019

  25. [25]

    Ptylab.m/py/jl: a cross- platform, open-source inverse modeling toolbox for conventional and fourier ptychography,

    L. Loetgering, M. Du, D. B. Flaes, T. Aidukas, F. Wechsler, D. S. P . Molina, M. Rose, A. Pelekanidis, W. Eschen, J. Hess, T. Wilhein, R. Heintzmann, J. Rothhardt, and S. Witte, “Ptylab.m/py/jl: a cross- platform, open-source inverse modeling toolbox for conventional and fourier ptychography,”Opt. Express, vol. 31, no. 9, pp. 13 763– 13 797, Apr 2023

  26. [26]

    Experimental robustness of fourier ptychography phase retrieval algorithms,

    L.-H. Yeh, J. Dong, J. Zhong, L. Tian, M. Chen, G. Tang, M. Soltanolkotabi, and L. Waller, “Experimental robustness of fourier ptychography phase retrieval algorithms,”Optics express, vol. 23, no. 26, pp. 33 214–33 240, 2015

  27. [27]

    Reconstructing video of time- varying sources from radio interferometric measurements,

    K. L. Bouman, M. D. Johnson, A. V . Dalca, A. A. Chael, F. Roelofs, S. S. Doeleman, and W. T. Freeman, “Reconstructing video of time- varying sources from radio interferometric measurements,”IEEE Transactions on Computational Imaging, vol. 4, no. 4, pp. 512–527, 2018

  28. [28]

    Scibench: Evaluating college-level scientific problem-solving abilities of large language models,

    X. Wang, Z. Hu, P . Lu, Y. Zhu, J. Zhang, S. Subramaniam, A. R. Loomba, S. Zhang, Y. Sun, and W. Wang, “Scibench: Evaluating college-level scientific problem-solving abilities of large language models,”arXiv preprint arXiv:2307.10635, 2023

  29. [29]

    Evaluating large language models trained on code,

    M. Chen, “Evaluating large language models trained on code,” arXiv preprint arXiv:2107.03374, 2021

  30. [30]

    Swe-bench: Can language models resolve real- world github issues?

    C. E. Jimenez, J. Yang, A. Wettig, S. Yao, K. Pei, O. Press, and K. Narasimhan, “Swe-bench: Can language models resolve real- world github issues?”arXiv preprint arXiv:2310.06770, 2023

  31. [31]

    Bigcodebench: Benchmarking code generation with diverse function calls and complex instructions,

    T. Y. Zhuo, M. C. Vu, J. Chim, H. Hu, W. Yu, R. Widyasari, I. N. B. Yusuf, H. Zhan, J. He, I. Paulet al., “Bigcodebench: Benchmarking code generation with diverse function calls and complex instructions,”arXiv preprint arXiv:2406.15877, 2024

  32. [32]

    Mle-bench: Eval- uating machine learning agents on machine learning engineering,

    J. S. Chan, N. Chowdhury, O. Jaffe, J. Aung, D. Sherburn, E. Mays, G. Starace, K. Liu, L. Maksin, T. Patwardhanet al., “Mle-bench: Eval- uating machine learning agents on machine learning engineering,” arXiv preprint arXiv:2410.07095, 2024

  33. [33]

    Blade: Benchmarking language model agents for data-driven science,

    K. Gu, R. Shang, R. Jiang, K. Kuang, R.-J. Lin, D. Lyu, Y. Mao, Y. Pan, T. Wu, J. Yuet al., “Blade: Benchmarking language model agents for data-driven science,”arXiv preprint arXiv:2408.09667, 2024

  34. [34]

    Astrovisbench: A code benchmark for scientific computing and visualization in astronomy,

    S. A. Joseph, S. M. Husain, S. S. Offner, S. Juneau, P . Torrey, A. S. Bolton, J. P . Farias, N. Gaffney, G. Durrett, and J. J. Li, “Astrovisbench: A code benchmark for scientific computing and visualization in astronomy,”arXiv preprint arXiv:2505.20538, 2025

  35. [35]

    Biodsa-1k: Benchmarking data science agents for biomedical research,

    Z. Wang, B. Danek, and J. Sun, “Biodsa-1k: Benchmarking data science agents for biomedical research,”arXiv preprint arXiv:2505.16100, 2025

  36. [36]

    Cfdllmbench: A benchmark suite for evaluating large language models in computational fluid dynamics,

    N. Somasekharan, L. Yue, Y. Cao, W. Li, P . Emami, P . S. Bhargav, A. Acharya, X. Xie, and S. Pan, “Cfdllmbench: A benchmark suite for evaluating large language models in computational fluid dynamics,”arXiv preprint arXiv:2509.20374, 2025

  37. [37]

    Gpqa: A graduate-level google- proof q&a benchmark,

    D. Rein, B. L. Hou, A. C. Stickland, J. Petty, R. Y. Pang, J. Dirani, J. Michael, and S. R. Bowman, “Gpqa: A graduate-level google- proof q&a benchmark,” inFirst conference on language modeling, 2024

  38. [38]

    Llms are greedy agents: Effects of rl fine-tuning on decision-making abilities,

    T. Schmied, J. Bornschein, J. Grau-Moya, M. Wulfmeier, and R. Pascanu, “Llms are greedy agents: Effects of rl fine-tuning on decision-making abilities,”arXiv preprint arXiv:2504.16078, 2025

  39. [39]

    Phybench: Holistic evaluation of physical perception and reasoning in large language models,

    S. Qiu, S. Guo, Z.-Y. Song, Y. Sun, Z. Cai, J. Wei, T. Luo, Y. Yin, H. Zhang, Y. Huet al., “Phybench: Holistic evaluation of physical perception and reasoning in large language models,”arXiv preprint arXiv:2504.16074, 2025

  40. [40]

    Chatbot arena: An open platform for evaluating LLMs by human preference,

    W.-L. Chianget al., “Chatbot arena: An open platform for evaluating LLMs by human preference,” inProceedings of the 41st International Conference on Machine Learning. PMLR, 21–27 Jul 2024. Siyi Chenreceived the B.S. degree in physics from Peking University, Beijing, China. He is currently pursuing the Ph.D. degree with the Department of Electrical Enginee...

  41. [41]

    WRITE_FILE - create or overwrite a file 9Action: WRITE_FILE 10Path: <file path relative to /workspace> 11Content: 12<file content - include the ENTIRE file, not a snippet> 13END_CONTENT

  42. [42]

    RUN - execute a shell command 15Action: RUN 16Command: <shell command>

  43. [43]

    READ_FILE - read a file 18Action: READ_FILE 19Path: <file path>

  44. [44]

    Wait for the Observation 29before continuing

    DONE - signal that you have finished 21 22Respond in this exact format every turn: 23Thought: <your reasoning> 24Action: <one of WRITE_FILE | RUN | READ_FILE | DONE> 25<action arguments as shown above> 26 27Important rules: 28- Write ONE action per response. Wait for the Observation 29before continuing. 30- Always write complete files, never partial patch...

  45. [45]

    Problem statement (what we recover, from what 6measurements)

  46. [46]

    Mathematical formulation (forward model equation)

  47. [47]

    Solution strategy (step-by-step algorithmic approach)

  48. [48]

    Expected results (which methods, expected quality) 10 11== Problem Description == 12{readme} 13 14== Data Specification (meta_data) == 15{meta_data} 16 17Begin by reading any additional data files if needed, then 18write plan/approach.md. Fig. S6: Instruction prompt given to the PlannerAgent (appended after the shared preamble of Figure S5). It elicits a ...

  49. [49]

    File structure (which src/ *.py files)

  50. [50]

    Function signatures with full type annotations and 7docstrings

  51. [51]

    Class definitions where appropriate

  52. [52]

    Data flow diagram (text-based) 10 11== Problem Description == 12{readme} 13 14== Solution Approach == 15{approach} 16 17Write plan/design.md with complete function signatures for 18every function that needs to be implemented. Fig. S7: Instruction prompt given to the ArchitectAgent (appended after the shared preamble of Figure S5). Conditioned on the READM...

  53. [53]

    load calibration + centre-crop 20482 →768 2; 2) lens-mount origin triangulation across 2 cameras; 3) 4-step phase shiftψ= arctan((I 3 −I 1)/(I0 −I 2)), periodsT∈ {70,100,110}px; 4) unwrap (skimage) + DC offset removal via integer-period search; 5) convert to mm (0.115 mm/px) + average across periods; 6) subtract reference (no-lens) intersections→displacem...

  54. [54]

    per-frame closure phase + log closure amplitude computation (gain-invariant, avoids station calibration) eht_black_hole_ original

  55. [55]

    enumerate valid triangles/quadrangles (∼35+35 independent closures, 7 stations); 2) closure phases φC = arg(Vij ·V jk ·V ki)and log closure amplitudes; 3) noise propagationσ CP = qP σ2 i /|Vi|2 eit_conductivity_ reconstruction

  56. [56]

    normalized voltage difference δv= (V 1 −V 0)/|V0|; 2) sign-normalized δv= (V 1 −V 0)/sign(V0) for BP (×192 scaling); 3) optional Jacobian row normalization by forward voltages (GREIT/JAC) electron_ ptychography

  57. [57]

    mean of all 2304 diffraction patterns; 2) probe radius/center from vacuum probe threshold 0.7 (∼49.2 px, center ∼96.9, 88.3); 3) calibration: real 2.39 Å/px, reciprocal22.6/49.2≈0.46mrad/px; 4) BF-disk mask at0.8·max; 5) rotation (169◦)/transpose/defocus (C1 ≈ −355Å) handoff to ptychography exoplanet_imaging1) mean-subtract flattened frames (references an...

  58. [58]

    extract1024×1024ROI; 2) LED frequency-space calibration (nearest grid point to NA offset); 3) sort LEDs by distance from optical axis; 4) normalize by global max intensity; 5) amplitude target √Imeas; 6) DOF-based z-sampling (DOF= 0.5/NA 2 ≈7.6µm, step0.8·DOF→ ∼14 planes) hessian_sim1) frame averaging (beishu_an = 1, no-op); 2) pattern-frequency estimatio...

  59. [59]

    extract wrapped phase + coherence from complex interferogram; 2) wrapped finite-difference gradients adjusted to [−π, π] Continued on next page 23 TABLE 5 (continued) Task Ground-truth pre-processing steps lucky_imaging1) frame extraction + monochrome (luminance) conversion; 2) Gaussian blur kernel 7 (gauss_width = 7) before sharpness ranking; 3) brightne...

  60. [60]

    noise calibration from frame 0:32×32blocks, regressv=β 1µ+β 2 (b≈100ADU,α= 1.5); 2) recorruption pairsˆp=p+αg,¯p=p−g/α,g∼ N(0,(β 1H(p−b) +β 2)I); 3)∼10,000 random128 2 patches + rotation/flip augmentation; 4) joint[0,1]percentile normalization mri_grappa1) extract fully-sampled ACS calibration region (20 lines) for kernel calibration mri_l1_wavelet 1) cro...

  61. [61]

    density compensation: iterative Pipe method, 30 iters,w (k+1) =w (k)/|FNUF H NUw(k)|, applied asw⊙y mri_t2_mapping1) tissue masking (T 2 >0); 2) clamp non-positive signals; 3) log-linearizationlogS= logM 0 −TE/T 2 mri_tv1) k-space + GT pre-normalized by 99th-percentile per-sample MVUE magnitude; 2) 1-D phase-encode mask layout handling plane_wave_ ultrasound

  62. [62]

    DC removal (subtract spatial mean of raw 8-bit RF); 2) zero-pad time axis to4×N t +N shift and spatial axis to 1.5×N x pnp_mri_ reconstruction

  63. [63]

    normalize image data to[0,1] raman_cell_ phenotyping

  64. [64]

    crop to fingerprint 700–1800 cm −1; 2) Whitaker-Hayes cosmic-ray removal (kernel 3, threshold 8); 3) Savitzky-Golay smoothing (window 7, polyorder 3); 4) ASLS baseline ( λ= 10 6, p= 0.01 ); 5) global min-max normalization to [0,1] (pixelwise = False) seismic_FWI_ original

  65. [65]

    cosine taper on last 5 samples of each trace (Tapplied to both modeled and observed data) seismic_lsrtm_ original

  66. [66]

    scattered-data derivation: forward-model smooth background,d scat =d obs −d 0 shack-hartmann1) slope extraction: intensity-weighted centroid minus reference centroid per subaperture, ordered all-x-then-all-y shapelet_source_ reconstruction

  67. [67]

    noise-weight computation Wii = 1/σ2 i , σ2 i =σ 2 bkg +|d i|/texp (σbkg = 10, texp = 100). (Source-image prep — grayscale, median background subtraction, pad, Gaussianσ= 5,25×block-average downsample,n max = 150 decomposition — is data generation) single_molecule_ light_field

  68. [68]

    scale pixel quantities to µm (pixel_size_sample); 2) centre X, Y by subtracting means (align to MLA centre); 3) filter localisations outside BFP circle (+ optional rho/spot/photon filters); 4) two-pass per-view aberration correction (subtract per-view mean residuals before refit) usct_FWI1) near-source muting at 7500µm in the misfit; 2) per-frequency sour...

  69. [69]

    Fourier ptychography phase retrieval

    pixel scaling for pretrained UNet:x scaled = (x−0.5)·10(reversex=x scaled/10 + 0.5) xray_tooth_gridrec1) flat/dark-field correctionT= (proj−dark avg)/(flatavg −dark avg)(10 frames each); 2) Beer-Lambert log: sinogram=−ln(T), clipT≥10 −12; 3) rotation-center estimation via cross-correlation of opposing projections Tables 6 and 7 list, for each of the 57 ta...

  70. [70]

    33 3)Code Design: the full set of typed function signatures fromplan/design.md, establishing the interface contract

    Solution Approach: the algorithmic strategy from plan/approach.md (mathematical formulation, solver schedule, expected quality). 33 3)Code Design: the full set of typed function signatures fromplan/design.md, establishing the interface contract. 4)Target Function: the specific source file to implement (e.g.preprocessing.py). 5)Unit Tests: the verbatim con...

  71. [71]

    Read any relevant data/fixture files to understand inputs 22and outputs

  72. [72]

    Write the source file containing the target function

  73. [73]

    Run the unit tests to verify

  74. [74]

    Fix any failures, then signal DONE. Fig. S8: Function-level instruction prompt (appended after the shared system preamble of Figure S5). The agent is asked to implement a single target module given five context blocks (the problem description, solution approach, full typed code design, the target source file, and the unit tests it will be graded against) ...

  75. [75]

    Call the LLM with the current message history

  76. [76]

    Parse theThought(chain-of-thought reasoning) andAction(one of the four primitives) from the response

  77. [77]

    Execute the action inside the sandboxed workspace (write a file, run a shell command, or read a file) and collect the observation

  78. [78]

    Append the observation to the message history

  79. [79]

    If not, reject the signal and instruct the agent to run the test suite before finishing

    If the agent signals DONE, apply agate check: verify that pytest was actually executed at least once. If not, reject the signal and instruct the agent to run the test suite before finishing

  80. [80]

    update x

    Repeat until DONEis accepted orKiterations are exhausted. Context management.: Three mechanisms keep the conversation within the LLM’s context budget as the agent iterates: • Output truncation.Command outputs and file reads are capped at 8 K characters. When exceeded, the first 3.5 K and last 3.5 K characters are retained with an elision marker in between...

Showing first 80 references.