SWE Dataset Factory turns permissive public repositories (and oracle-provable hybrid seeds) into DeepAgent / Harbor pack trees that agent harnesses can load.
Certified packs ship only under datasets/deepagent_v1.
| Path | Role |
|---|---|
datasets/deepagent_v1 |
Product corpus (Docker oracle certified) |
datasets/harbor_v1 |
Historical multi-lang motor tables (fixture) |
datasets/v1 |
Historical boltons V1 JSONL (fixture) |
Fixtures may be orbited by offline unit tests. They never count toward product certified N.
flowchart TB
subgraph sources [Sources]
AL[Allowlist + license gate]
GIT[Local git clone / fetch]
OXY[Optional Oxylabs universal HTTP]
end
subgraph build [Build]
DISC[Discover multi-file candidates]
ENV[Envbuild image at base SHA]
LAB[Dual-run F2P/P2P labels]
end
subgraph cert [Certify]
ORC[Docker oracle sol=1 null=0]
EXP[Harbor export tree]
PIER[Pier load / oracle]
PAN[Hardness panel while budget remains]
end
subgraph ship [Ship]
MAN[pack_manifest + tasks]
PROV[PROVENANCE.md]
REP[report.md + ledger]
end
AL --> DISC
GIT --> DISC
OXY -.-> DISC
DISC --> ENV --> LAB --> ORC --> EXP --> PIER --> PAN --> MAN
MAN --> PROV
MAN --> REP
Every keep under datasets/deepagent_v1 (and live-generate dests like
datasets/test_n10) must satisfy:
- Real HTTPS
repository_urland immutable 40-charbase_commit_hash - Multi-file gold solution (≥2 product sources); tests held out in
test.patch - Dual-run fail_to_pass / pass_to_pass node ids with F2P ≥ MIN_F2P_NODES (default 3) — thin F2P=1 refused on product/live_generate
- Source hunks ≥ 10 on product hard path
- Docker oracle: solution reward = 1, null reward = 0
- Agent isolation (no solution/ or held-out tests in the agent view)
allow_internet=falseat agent + verifier runtime- Permissive license only (copyleft / unknown fail closed)
- Prompt–verifier alignment (instruction not version-only vs behavioural F2P)
- Anti-easy: solve-all class dropped from hardness promote
- Panel attempted while project remaining budget is positive
Fake / stub oracle backends are refused on the deepagent ship and cert paths. See PRODUCT_HARDNESS.md for floors and opt-out rules.
| Command | Stage |
|---|---|
discover / mine-allowlist |
Candidate discovery |
envbuild |
Image build at base SHA |
deepagent-oracle |
Docker sol/null cert |
export-harbor |
Pack tree writer |
pier-cert |
Pier reward evidence |
ship-deepagent |
Full product ship to datasets/deepagent_v1 |
ship-harbor / ship-v1 |
Historical fixture ships only |
ledger |
Exact OpenRouter spend |
oxylabs-probe |
Live GitHub HTTP smoke (blocked if no creds) |
- Project hard cap: $600 total OpenRouter spend (exact + reserved).
- Full hardness panel on keeps while remaining budget is positive.
- Language zeros (for example JavaScript or Rust) must appear explicitly in the ship report with under-supply notes.
- Historical fixture green tests never replace independent deepagent_v1 N.
src/swe_factory/pipeline/ship_deepagent.py— product shipsrc/swe_factory/harbor/— export, oracle, pier adapterssrc/swe_factory/sources/— allowlist, git mine, oxylabs clientsrc/swe_factory/accounting.py— ledger