SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2603.21335 · 2026

TimeTox: An LLM-Based Pipeline for Automated Extraction of Time Toxicity from Clinical Trial Protocols

Ramez Kouzy, Saketh Vinjamuri, Marielle Fis Loperena, Marie Spezia

arXiv · PDF · Open in the Atlas

Code that ran

7 of 8 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 7 failures of our instrument; 1 no recorded run), measured 2026-11-22; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2603.21335.json · badge: /api/ran/2603.21335.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
sakethbuild/TimeTox canonical (classifier label)
classifier basis: census
7 ran · 1 no recorded run
FunctionStatusWhere it lives
calculate_time_toxic_days Ran
ran; our contract draft was wrong, not the code
sakethbuild/TimeTox/generate_schedules.py
pointer only (licence: NONE) · get_code("caadf401b6e45fca")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, sakethbuild/TimeTox when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

extract_days Ran
ran; our contract draft was wrong, not the code
sakethbuild/TimeTox/production/compare_methods.py
pointer only (licence: NONE) · get_code("335e01d70d0949d3")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, sakethbuild/TimeTox when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

extract_schedule_id Ran
ran; our contract draft was wrong, not the code
sakethbuild/TimeTox/agent_comparison.py
pointer only (licence: NONE) · get_code("58beb0cc0bbb8f7a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, sakethbuild/TimeTox when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

generate_trial_configs Ran
ran; our contract draft was wrong, not the code
sakethbuild/TimeTox/generate_schedules.py
pointer only (licence: NONE) · get_code("34ec13ab8b034d58")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, sakethbuild/TimeTox when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

load_ground_truth Ran
ran; our contract draft was wrong, not the code
sakethbuild/TimeTox/agent_comparison.py
pointer only (licence: NONE) · get_code("acc5b9353a83890b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, sakethbuild/TimeTox when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

parse_json Ran
ran; our contract draft was wrong, not the code
sakethbuild/TimeTox/core/pipeline_with_judge.py
pointer only (licence: NONE) · get_code("4bee91347e376ab1")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, sakethbuild/TimeTox when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

parse_json_response Ran
ran; our contract draft was wrong, not the code
sakethbuild/TimeTox/agent_comparison.py
pointer only (licence: NONE) · get_code("f63dcaa00bc5279a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, sakethbuild/TimeTox when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_assessments_for_trial Not yet run
unverified (harvested, no recorded run)
sakethbuild/TimeTox/generate_schedules.py
pointer only (licence: NONE) · get_code("540deadd5474f411")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, sakethbuild/TimeTox when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 8 samples lifted from this paper's linked repositories, 8 carry a function identity and 0 do not. Of the 8 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 8 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-22.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Background: Time toxicity, the cumulative healthcare contact days from clinical trial participation, is an important but labor-intensive metric to extract from protocol documents. We developed TimeTox, an LLM-based pipeline for automated extraction of time toxicity from Schedule of Assessments tables. Methods: TimeTox uses Google's Gemini models in three stages: summary extraction from full-length protocol PDFs, time toxicity quantification at six cumulative timepoints for each treatment arm, and multi-run consensus via position-based arm matching. We validated against 20 synthetic schedules (240 comparisons) and assessed reproducibility on 644 real-world oncology protocols. Two architectures were compared: single-pass (vanilla) and two-stage (structurethen-count). Results: The two-stage pipeline achieved 100% clinically acceptable accuracy (±3 days) on synthetic data (MAE 0.81 days) versus 41.5% for vanilla (MAE 9.0 days). However, on realworld protocols, the vanilla pipeline showed superior reproducibility: 95.3% clinically acceptable accuracy (IQR ≤ 3 days) across 3 runs on 644 protocols, with 82.0% perfect stability (IQR = 0). The production pipeline extracted time toxicity for 1,288 treatment arms across multiple disease sites. Conclusions: Extraction stability on real-world data, rather than accuracy on synthetic benchmarks, is the decisive factor for production LLM deployment. Code is available at https: //github.com/sakethbuild/TimeTox.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2603.21335")
get_code_for_paper("2603.21335")
have("2603.21335")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2603.21335.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2603.21335.svg)](https://syntology.ai/paper/2603.21335)

Connect an agent — have() is free.