Views
No views yet
imaging-101 tasks (e.g., conventional_ptychography, ct_dual_energy, mri_grappa)da-* tasks1git clone https://github.com/starpacker/biodsbench-adapter.git
2cd biodsbench-adapter
3bun install1export ANTHROPIC_API_KEY="your-api-key-here"
2export ANTHROPIC_BASE_URL="https://api.anthropic.com" # or your proxy
3export ANTHROPIC_MODEL="[REDACTED]"config/llm-config.sh.example to config/llm-config.sh and customize.1bun src/harness/evaluation/cli.ts \
2 --task mri_grappa \
3 --runs-dir output/runs \
4 --max-rounds 5 \
5 --timeout-seconds 2400--tasks-dir to the BioDSBench-imaging101-format dataset:1bun src/harness/evaluation/cli.ts \
2 --task 25303977_0 \
3 --tasks-dir /path/to/BioDSBench-imaging101-format/tasks \
4 --runs-dir output/biodsbench_runs \
5 --max-rounds 2examples/run_imaging101_true_serial.py:1export LLM_API_KEY="your-api-key"
2python3 examples/run_imaging101_true_serial.py \
3 --study-id 25303977 \
4 --start 0 \
5 --end 7 \
6 --max-rounds 2--prior-context JSON file with descriptions, code, and judge feedback from earlier subtasks.examples/ARCHITECTURE.md: Serial vs. single-task designexamples/EFFECTIVENESS_REPORT.md: Case study on PMID 25303977biodsbench-adapter/
├── src/harness/evaluation/ # Core evaluation CLI
│ ├── cli.ts # Main entry point
│ ├── sourceTaskLoop.ts # Task orchestration
│ ├── sourceContextBuilder.ts # Prompt + prior-context injection
│ └── types.ts # TypeScript interfaces
├── config/
│ ├── llm-config.sh.example # API config template
│ └── task-batch-runner.json # Batch runner config
├── scripts/
│ └── run-task-batches.ps1 # PowerShell batch orchestrator
├── examples/
│ ├── run_imaging101_true_serial.py # True-serial orchestrator
│ ├── ARCHITECTURE.md # Design docs
│ └── EFFECTIVENESS_REPORT.md # Effectiveness study
└── tests/ # Unit testsgit clone https://github.com/starpacker/BioDSBench-imaging101-format.git| Flag | Description | Default |
|---|---|---|
--task <id> | Task ID | (required) |
--tasks-dir <path> | Task definitions root | ./tasks |
--runs-dir <path> | Output directory | ./output/runs |
--max-rounds <n> | Judge feedback rounds | 3 |
--timeout-seconds <n> | Per-round timeout | 1800 |
--prior-context <path> | Prior-subtask context JSON (true-serial) | (none) |
1bun test # Run tests
2bun run build # Build TypeScript