|
Download README.md from linjc16/TrialPD-Bench: direct link, hf CLI and curl.
- Browser
- Download file 2.23 kB
-
https://huggingface.co/datasets/linjc16/TrialPD-Bench/resolve/main/README.md
- Command line
-
hf download hf://datasets/linjc16/TrialPD-Bench/README.md
-
curl -L -o README.md https://huggingface.co/datasets/linjc16/TrialPD-Bench/resolve/main/README.md
2.23 kB
metadata
pretty_name: TrialPD-Bench (Harbor tasks, test split)
task_categories:
- document-question-answering
- text-generation
language:
- en
tags:
- clinical-trials
- protocol-digitization
- harbor
- coding-agents
size_categories:
- n<1K
license: cc-by-nc-4.0
TrialPD-Bench: Harbor tasks (test split)
Clinical trial protocol PDFs and expert-verified reference annotations, packaged as Harbor tasks so that a coding agent can be run and scored end to end. Only the test split is included; the protocols used to develop TrialScribe's skills and checklists are not in this dataset.
| Subset | Tasks | Input | Output | Headline metric |
|---|---|---|---|---|
indication/ |
40 | full protocol PDF | indications.json |
indication F1 |
criteria/ |
134 | full protocol PDF | criteria.json |
criterion F1 |
objectives/ |
89 | full protocol PDF | objectives.json |
objective / endpoint F1 |
soa_page/ |
86 | one SoA page (PDF) | soa_table.html |
Activity-Visit F1 |
soa_document/ |
37 | full protocol PDF | p<page>.html, one per SoA page |
Activity-Visit and Sub/sup F1 (missed pages score 0) |
timeline/ |
3 | full protocol PDF | timeline.json |
metric v2 (epoch accuracy, encounter / activity / timing F1) |
One task is one protocol (or, for soa_page, one page). manifest.csv lists all 389.
Layout
<subset>/<task_id>/
task.toml timeouts, resources; the verifier runs with no network
instruction.md the prompt, including the output contract
environment/
Dockerfile self-contained (python:3.11-slim + poppler + node)
inputs/ the PDF (and SPEC.md for the SoA subsets), baked in at /app
solution/ oracle: copies the gold into place
tests/ scorer, vendored evaluator, and the gold
manifest.csv
Run
harbor run -p criteria -a oracle -n 4 -o <jobs-dir> # should score 1.0
harbor run -p criteria -a claude-code -m <model> -n 4 -o <jobs-dir>
-o must be on local disk (Docker bind-mounts the verifier directory). The PDFs are
full protocols (median 122 pages), so each task image is large; use --limit while
iterating.