🛰️ Daily AI Frontier
‹ back to 2026-10-14

The Last Mile of Coding Agents for Long-Document Tasks: An Empirical Study on Clinical Trial Protocol Digitization

arXiv cs.CL LLM Agents Jiacheng Lin, Geoffrey Low, Nishit Agarwal, Rahul Jain, Afrah Shafquat, Mandis Beigi, Jimeng Sun 2026-10-13
Representative image for The Last Mile of Coding Agents for Long-Document Tasks: An Empirical Study on Clinical Trial Protocol Digitization

TL;DR - TrialPD-Bench evaluates coding agents on converting long clinical-trial protocol PDFs into structured data, finding that even top systems often locate the right evidence but fail to transcribe and structure it accurately. A domain-specific harness with task skills and verification substantially narrows this “last mile” gap.

  • TrialPD-Bench contains 150 expert-annotated, publicly available protocol PDFs spanning four task categories.
  • The study evaluates nine proprietary and open-weight models across five coding-agent harnesses, measuring output quality, evidence recall, behavior, and cost.
  • Agent traces show that evidence retrieval is usually successful; errors primarily arise during transcription and structuring.
  • TrialScribe improves a locally served open-weight model by 6.2–59.4 points across eight metrics, matching or exceeding tested proprietary models such as GPT-5.6-Sol.

view merged work →