# agenthon-2026/track1-coding-public architecture

> Architecture diagram of the GitHub repository agenthon-2026/track1-coding-public, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-12-04). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/agenthon-2026/track1-coding-public
- Repository: https://github.com/agenthon-2026/track1-coding-public

## Overview

Track 1 is a public practice kit for evaluating coding agents on quantitative-finance tasks. Participants inspect a task, run their own Dockerized solver to produce deliverables, then verify those outputs locally; the Track 1 package supplies the verifier/scorer wrapper, while shared scoring primitives and optional Harbor execution belong to the external toolkit. The repository also provides an exemplar agent and reusable task-authoring templates. Several runtime details are documented rather than sampled directly, so those links cite the README; the task catalog is represented at directory level.

Main entry points: [`qfbench2_track_coding/scoring.py`](https://github.com/agenthon-2026/track1-coding-public/blob/main/qfbench2_track_coding/scoring.py) (Track verifier), [`units`](https://github.com/agenthon-2026/track1-coding-public/tree/main/units) (Task specs), [`examples/exemplar_agent/solve.py`](https://github.com/agenthon-2026/track1-coding-public/blob/main/examples/exemplar_agent/solve.py) (Example solver), [`qfbench2_track_coding/checker_references.py`](https://github.com/agenthon-2026/track1-coding-public/blob/main/qfbench2_track_coding/checker_references.py) (Reference validation)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_tasks["Practice tasks"]
  node_task_specs["Task specs"]
  node_task_inputs[("Task inputs")]
  node_task_checks["Task checks"]
end

subgraph group_evaluation["Verification and scoring"]
  node_smoke_runner["Smoke runner"]
  node_track_verifier["Track verifier<br/>[scoring.py]"]
  node_reference_guard["Reference validation"]
  node_shared_toolkit["Shared scoring toolkit"]
  node_harbor["Harbor runner"]
end

subgraph group_participant["Participant workflow"]
  node_agent_image["Solver image"]
  node_agent_output["Solver outputs"]
  node_exemplar["Example solver<br/>[solve.py]"]
end

subgraph group_authoring["Task authoring"]
  node_template_pack["Authoring templates"]
end

node_participant(("Agent participant"))

node_participant -->|"studies"| node_task_specs
node_task_specs -->|"provides"| node_task_inputs
node_participant -->|"builds"| node_agent_image
node_agent_image -->|"writes"| node_agent_output
node_participant -->|"runs verification"| node_smoke_runner
node_smoke_runner -->|"invokes"| node_track_verifier
node_track_verifier -->|"runs checks"| node_task_checks
node_track_verifier -->|"validates references"| node_reference_guard
node_track_verifier -->|"checks outputs"| node_agent_output
node_track_verifier -->|"uses gates"| node_shared_toolkit
node_shared_toolkit -->|"returns verdict"| node_track_verifier
node_participant -->|"runs example"| node_exemplar
node_exemplar -->|"writes example output"| node_agent_output
node_participant -.->|"may launch"| node_harbor
node_harbor -.->|"uses adapter"| node_shared_toolkit
node_participant -->|"authors tasks"| node_template_pack

click node_task_specs "https://github.com/agenthon-2026/track1-coding-public/tree/main/units"
click node_task_inputs "https://github.com/agenthon-2026/track1-coding-public/tree/main/units"
click node_task_checks "https://github.com/agenthon-2026/track1-coding-public/tree/main/units"
click node_template_pack "https://github.com/agenthon-2026/track1-coding-public/tree/main/templates"
click node_track_verifier "https://github.com/agenthon-2026/track1-coding-public/blob/main/qfbench2_track_coding/scoring.py"
click node_reference_guard "https://github.com/agenthon-2026/track1-coding-public/blob/main/qfbench2_track_coding/checker_references.py"
click node_exemplar "https://github.com/agenthon-2026/track1-coding-public/blob/main/examples/exemplar_agent/solve.py"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_task_specs,node_task_inputs,node_task_checks toneBlue
class node_smoke_runner,node_track_verifier,node_reference_guard,node_shared_toolkit,node_harbor toneAmber
class node_agent_image,node_agent_output,node_exemplar toneMint
class node_template_pack toneRose
class node_participant toneIndigo
```

## Components

### Practice tasks

- [Task specs](https://github.com/agenthon-2026/track1-coding-public/tree/main/units): `units`
- [Task inputs](https://github.com/agenthon-2026/track1-coding-public/tree/main/units): `units`
- [Task checks](https://github.com/agenthon-2026/track1-coding-public/tree/main/units): `units`

### Verification and scoring

- **Smoke runner**
- [Track verifier](https://github.com/agenthon-2026/track1-coding-public/blob/main/qfbench2_track_coding/scoring.py): `qfbench2_track_coding/scoring.py`
- [Reference validation](https://github.com/agenthon-2026/track1-coding-public/blob/main/qfbench2_track_coding/checker_references.py): `qfbench2_track_coding/checker_references.py`
- **Shared scoring toolkit**
- **Harbor runner**

### Participant workflow

- **Solver image**
- **Solver outputs**
- [Example solver](https://github.com/agenthon-2026/track1-coding-public/blob/main/examples/exemplar_agent/solve.py): `examples/exemplar_agent/solve.py`

### Task authoring

- [Authoring templates](https://github.com/agenthon-2026/track1-coding-public/tree/main/templates): `templates`

### Other components

- **Agent participant**

## Connections

- Agent participant → Task specs: studies (evidence: `README.md`)
- Task specs → Task inputs: provides (evidence: `README.md`)
- Agent participant → Solver image: builds (evidence: `README.md`)
- Solver image → Solver outputs: writes (evidence: `README.md`)
- Agent participant → Smoke runner: runs verification (evidence: `README.md`)
- Smoke runner → Track verifier: invokes (evidence: `README.md`)
- Track verifier → Task checks: runs checks (evidence: `qfbench2_track_coding/scoring.py`)
- Track verifier → Reference validation: validates references (evidence: `qfbench2_track_coding/scoring.py`)
- Track verifier → Solver outputs: checks outputs (evidence: `README.md`)
- Track verifier → Shared scoring toolkit: uses gates (evidence: `qfbench2_track_coding/scoring.py`)
- Shared scoring toolkit → Track verifier: returns verdict (evidence: `qfbench2_track_coding/scoring.py`)
- Agent participant → Example solver: runs example (evidence: `README.md`)
- Example solver → Solver outputs: writes example output (evidence: `README.md`)
- Agent participant → Harbor runner: may launch (evidence: `README.md`)
- Harbor runner → Shared scoring toolkit: uses adapter (evidence: `README.md`)
- Agent participant → Authoring templates: authors tasks (evidence: `README.md`)
