Benchmark artifacts

For the consolidated public-source inventory, download recipes, native workflow runbook, and historical findings, see the public benchmark guide.

The sirnaforge benchmark surface turns a published siRNA efficacy panel into a versioned, checksummed artifact that the existing fixed-length design path consumes with no new execution path, and records what every filter did to every measured observation under two policies at once.

Issue #109. Variable-length and asymmetric design are deliberately not here; they are #110.

oligogym/ is a synthetic-flank benchmark

Warning

The 4,113 OligoGym-derived rows make design enumeration and parameter benchmarking runnable. They do not validate native transcript accessibility.

Every row of tests/data/benchmarks/oligogym/records.csv is context_type = "synthetic_neutral_flanks" with site_start = 71 β€” verified on all 4,113. The β€œtranscript” each row was written against is what scripts/prepare_oligo_benchmarks.py fabricated for it:

70 Γ— A  +  reverse-complement(guide)  +  70 Γ— A

so the site span these rows carry (1-based 71…91 for the 21 nt guides, 71…90 for the 20 nt ones) is an exact coordinate in a fabricated context. The guide/passenger sequences and the labels are as measured; the coordinates are not native.

That is why these contexts remain synthetic_context_local. They cannot be promoted to a native claim by the coordinates in this table. Native identity can only enter through the separately checksummed Ensembl mapping assets described below.

Read every tally on this page accordingly. A default_pass count over an OligoGym-derived panel is evidence about design enumeration and filter behaviour. It is not an accessibility result, and nothing on this surface scores an artifact against the measured efficacy the panel ships.

tests/data/benchmarks/README.md is the authority for these bytes and draws the same distinction. Read it before reading this page.

Which panels are present

Nine panel ids are registered: the six #109 names, five of which ship vendored bytes, plus three architecture-level user_supplied_* ids that ship none (see below). Commit f4beab7 added tests/data/benchmarks/oligogym/records.csv β€” 4,113 rows, 21 columns, SHA-256 2fb449362985c52c89ef02d8c7606da641b8cb314d86dac1d7f0cba74611a9c1 β€” and four descriptors read it, each selecting its own rows out of the one shared table by dataset.

Panel id

data_present

Bytes

Rows it selects

Declared geometry

huesken_subset

true

tests/unit/data/sirna_efficacy_subset.csv

180

paired core 19 + overhang

ichihara

true

tests/data/benchmarks/oligogym/records.csv

2,850 (ichihara_2007_1 2,431 + ichihara_2007_2 419)

paired core 19 + overhang (21/19 nt)

martinelli

true

same table

907 (martinelli_2023_1)

mixed measured 19-nt and 21-nt pairing; see native import

shmushkovich

true

same table

356 (shmushkovich_2018_1)

asymmetric (20/15 nt) β€” all incompatible

oligogym

true

same table

all 4,113 β€” refused, aggregate_of the three above

mixed; see below

huesken_full

false

none β€” work/sirna_bench.csv is untracked here

β€”

paired core 19 + overhang

user_supplied_*

false

none β€” the caller’s own table, via --panel-csv

every row of it

one id per geometry; see below

data_present can no longer be a claim with nothing behind it: PanelDescriptor carries vendored_csv, a validator enforces data_present ⇔ a named path, and a test asserts every claimed path exists on disk. 2,850 + 907 + 356 = 4,113, and the three selectors are checked disjoint.

The native observations refine Martinelli’s mixed measured geometry: 858 rows have a 19-nt paired core with a measured 2-nt 3β€² tail on each strand, 18 are fully complementary 21-mers, 30 are noncomplementary, and one has only an unresolved 1-nt pairing. The optional native import partitions those into fixed-length 19- and 21-nt artifacts and retains the other 31 as review-only rows.

oligogym is data_present: true and still not ingestible: its one table spans three geometries (3,708 rows on the paired-core-19 geometry; the other 405 are Martinelli’s 49 non-core rows plus all 356 asymmetric Shmushkovich rows), so derive_observation refuses the aggregate and names its members rather than stamping one architecture on the file. Prepare a member panel instead.

What the citations can and cannot show

Every placeholder citation is gone, and each one is now something this repository can be made to show. What it can show is a DOI per row, a per-dataset row count, and the sequences and labels themselves. What it cannot: tests/data/external/oligogym/*.csv.gz, the upstream extract every row names in source_file, is not vendored here (fetchable with the pinned public-source manifest), and no primary-source full text has been read here either.

  • ichihara β€” the Ichihara et al. 2007 Nucleic Acids Research citation already vetted in docs/models_and_scoring.md, now corroborated by the bytes: every row of both datasets records source_url https://doi.org/10.1093/nar/gkm699.

  • martinelli β€” the DOI its rows carry, https://doi.org/10.1016/j.ygeno.2024.110815, and nothing more. No author list, title or journal is recorded, because none has been read here. The dataset name says 2023 while the DOI string says 2024; this repository holds nothing that resolves which is the publication year, and the descriptor says so rather than picking one.

  • shmushkovich β€” the same shape, over https://doi.org/10.1093/nar/gky745.

  • oligogym β€” the public benchmark guide records the upstream collection URLs and pinned download manifest. The adapter and member DOIs identify the retained table; an upstream collection link does not independently verify primary assay values.

  • huesken_subset β€” unchanged, and still the only panel with a predeclared development/held-out split. Its citation, redistribution, SHA-256 and an explicit statement of what it does and does not prove are in tests/unit/data/README.md. The Huesken paper is not open access, so those efficacy values were not verified against the primary source.

A test fails if the word β€œplaceholder” reappears in any citation, endpoint or assay-label constant.

Measured endpoints stay per-panel and are deliberately unpoolable β€” spelled β€œpercent” so nobody averages them with huesken_subset’s 0–1 inhibition_fraction: percent_inhibition_relative_to_control_higher_is_better (Ichihara, observed range βˆ’27.8…134.1), percent_knockdown_of_target_mrna_higher_is_better (Martinelli, 0.0…98.0) and percent_target_mrna_remaining_lower_is_better (Shmushkovich, 3.49…119.88). Shmushkovich reads label_processed, its own direction, and not the efficacy_higher_is_better column beside it: for that dataset alone that column is a derived 100 βˆ’ label flip, and reading it would record a transformation as a measurement.

split_rule_id is None for all four OligoGym-derived panels. records.csv has no accession column β€” target is a gene symbol, and empty on 1,275 of its 4,113 rows β€” so splitting on it would be a new rule wearing the audited sha256_accession_parity_v1 id.

Shmushkovich’s 356 rows are recorded and refused, not designed

All 356 are a 20 nt guide with a 15 nt passenger equal to reverse-complement(guide[:15]): a 15 nt core with a 5 nt single-stranded guide tail. That is the asymmetric hsiRNA geometry #109 excludes by construction, so the panel is declared ASYMMETRIC with declared_paired_length: None and every row comes back compatibility_status: incompatible at any requested length, with a compatibility_reason naming the asymmetry and #110.

Nothing is sliced, padded or relabelled to make them fit: paired_guide_sequence == full_guide_sequence on every row, with guide_3p_overhang and passenger_3p_overhang both None. They are vendored, and ingested, to be recorded and refused β€” they reach observations.csv and accounting.csv, and design_inputs.fasta for the panel is empty.

Because the descriptor declares no paired length, prepare --panel shmushkovich requires an explicit --paired-length; inventing one that nothing measured is refused.

What the tests are evidence about

tests/unit/test_benchmark_panels.py re-derives every geometry claim in the registry straight from records.csv, and tests/unit/test_benchmark_real_panels.py carries those real rows through prepare and design and reconciles the tallies against the vendored manifest.json. Tests over the artifact contract still run against huesken_subset and the synthetic tests/unit/data/benchmark/synthetic_*.csv fixtures built to reproduce each declared architecture (documented in tests/unit/data/benchmark/README.md).

A green run over the OligoGym panels is evidence that the surface carries measured rows through without relabelling them. It is not evidence that a design is good, because nothing here compares a design to the efficacy the panel measured.

The PRD #109 cites as its source, docs/prd_benchmark_artifacts_and_variable_length.md, does not exist in the working tree or in any branch’s history. The issue body is the entire specification, and nothing in this page summarises a document that was read.

What benchmark prepare reads, and the one thing it still drops

The CLI reads all four OligoGym-derived panels off their own vendored_csv and applies each descriptor’s row selector. These are the tallies of one run of it, per panel, at --paired-length 19:

$ uv run sirnaforge benchmark prepare --panel ichihara     --paired-length 19 --out-dir work/bench
Panel: ichihara (data present: True)      Observations kept: 2850 (incompatible: 0)
$ uv run sirnaforge benchmark prepare --panel martinelli   --paired-length 19 --out-dir work/bench
Panel: martinelli (data present: True)    Observations kept: 907 (incompatible: 0)
$ uv run sirnaforge benchmark prepare --panel shmushkovich --paired-length 19 --out-dir work/bench
Panel: shmushkovich (data present: True)  Observations kept: 0 (incompatible: 356)
$ uv run sirnaforge benchmark prepare --panel oligogym     --paired-length 19 --out-dir work/bench
❌ Error: panel 'oligogym' is a shared redistribution of ichihara, martinelli,
shmushkovich spanning more than one duplex architecture, so it has none of its
own to ingest under; prepare one of those panels instead

2,850 = 2,431 + 419, and 907 and 356 are the datasets counts tests/data/benchmarks/oligogym/manifest.json declares, so each panel carries every row its selector claims and no row belonging to another. The aggregate exits 1 before mkdir, leaving no artifact directory behind. design over those artifacts enters 2,850 / 907 / 0 rows respectively, with no_candidate 0 / 0 / 356.

Warning

One gap remains, and it is lossy. prepare writes target_identity_status: "unavailable" with target_start/end: None for every row, so the 1-based 71..91 span derive_observation computes in the fabricated context is discarded rather than recorded, even though artifact.py’s vocabulary now holds synthetic_context_local and BenchmarkArtifactCounts has no bucket that would keep such a row’s tally honest. Deliberately not an overclaim in either direction: unavailable understates evidence the artifact could reproduce exactly, where panel_local would read as a coordinate in a panel’s own measured target. Carrying it through belongs with the rest of the target-identity story on #110.

Why the vendored path and the row selector had to land in one change was measured, not feared: wiring the path while still ignoring the selector makes --panel ichihara ingest all 4,113 rows and report kept 4113 / incompatible 0, tallying {(21 nt, compatible): 3757, (20 nt, compatible): 356} β€” it stamps paired-core-19 on all 356 asymmetric Shmushkovich rows and writes them into design_inputs.fasta. That relabelling of a measured sequence is precisely what #109 exists to prevent.

Importing native mapping evidence

benchmark prepare can import the checksummed native observations and all-hit mapping table emitted for tests/data/benchmarks/oligogym_native_design/. Pass the three native inputs together:

uv run sirnaforge benchmark prepare --panel ichihara --paired-length 19 \\
  --native-observations-csv tests/data/benchmarks/oligogym_native_design/observations.csv \\
  --native-mappings-csv tests/data/benchmarks/oligogym_native_design/mappings.csv \\
  --native-reference-manifest work/native/human.json --out-dir work/bench

The reference manifest declares species, assembly, release, and the SHA-256 of the reference FASTA. --native-reference-fasta is optional; when supplied, its bytes must match that checksum. These fields are caller-declared mapping provenance; the importer checks observations and mappings against the declaration, but cannot independently recover a reference release from a mapping CSV. The vendored OligoGym target mappings identify human GRCh38 only. The four human, mouse, rat, and macaque manifests under references/representative/ describe a separate off-target reference set; they do not establish native target mappings in all four species, and they do not contain Ensembl release labels. Do not infer those labels from the representative FASTA checksums. A separate full-release mapping set is now available under tests/data/benchmarks/oligogym_four_species_release116/. Its references/ directory preserves checksummed Ensembl release-116 acquisition records for human GRCh38, mouse GRCm39, rat GRCr8, and macaque Mmul_10. The four tables contain 66,204, 18,624, 2,782, and 5,150 exact transcript sites respectively. Every mapped interval and oriented query was checked against its checksummed full cDNA FASTA. Human assays remain human observations: other species are explicitly sequence projections, with no transferred efficacy labels. See that directory’s README for regeneration. Generated CSVs can be deterministically compressed and re-manifested with scripts/package_four_species_mappings.py. The release-116 tables are stored as deterministic .csv.gz files. For human native imports, decompress species/human/observations.csv.gz and concatenate the numbered human mapping gzip parts before decompression. Use the resulting CSVs with references/human.json. The manifests record SHA-256 for the complete compressed stream and decompressed CSV bytes.

The artifact checksums each native input, retains all exact transcript hits in native_mappings.csv, and records 1-based transcript coordinates, gene/transcript IDs, strand, and reference provenance. One exact hit is confirmed; multiple exact hits are ambiguous; missing or unusable evidence stays unavailable. counts.mapped_native and counts.mapped_native_ambiguous count those first two states separately.

Martinelli is partitioned by measured pairing state. A 19-nt paired core with the measured 2-nt overhangs enters a __len19 artifact; a fully complementary 21-nt duplex enters __len21. The other 30 noncomplementary and one short partial pairing stay in the observation table as review-only rows. When a longer native passenger hit contains the exact paired-core prefix, the imported mapping keeps the transcript hit and records the core’s shorter end coordinate. A hit with a mismatching query, span, reference assembly, or measured duplex geometry is refused before it can be labeled native.

Shmushkovich’s 15/20 asymmetric records remain review-only. They are preserved without padding, trimming, or entry into the fixed-length design FASTA. paired_length on each observation records the measured pairing; requested_length in the manifest records the fixed design length for that artifact.

Artifact schema 1.0 predates per-observation measured duplex geometry and native mapping provenance. Readers reject it with a migration message; re-run benchmark prepare from the original panel and native sidecars to produce schema 1.1 rather than silently filling missing geometry or provenance.

Generating projections for four species

scripts/map_oligo_benchmarks_to_ensembl.py also supports a four-species exact-mapping mode. Supply one JSON reference manifest for each of human, mouse, rat, and macaque:

{
  "species": "human",
  "assembly": "GRCh38",
  "release": "Ensembl 113",
  "fasta": "/references/Homo_sapiens.GRCh38.cdna.all.fa",
  "sha256": "<64-character SHA-256 of those exact FASTA bytes>"
}

Then run the mapper with all four declarations:

uv run python -m scripts.map_oligo_benchmarks_to_ensembl \
  --source-dir tests/data/external/oligogym \
  --output-dir work/oligogym_four_species \
  --species-reference-manifest work/references/human.json \
  --species-reference-manifest work/references/mouse.json \
  --species-reference-manifest work/references/rat.json \
  --species-reference-manifest work/references/macaque.json

The command verifies every FASTA checksum before scanning and requires all four species declarations; missing references stop the run instead of looking like no exact target. It writes one observations and all-hit mappings CSV per species. Mapping statuses distinguish mapped, no_exact_site in a searched reference, and unavailable_unsupported_geometry for rows with no supported paired query. Coordinates are 1-based inclusive within the transcript FASTA. Each hit carries transcript and gene IDs, transcript coordinates, transcript orientation, genomic strand/contig parsed from the Ensembl header, assembly, release, and reference checksum. The manifest checksums the compressed assay inputs, labeled assay-observation table, and generated species sidecars.

Only human rows are measured_species_native. Mouse, rat, and macaque results are cross_species_sequence_projection; their observation sidecars intentionally omit efficacy columns, and the root manifest states that labels were not transferred. The measured human assay labels stay in assay_observations.csv and are not outcomes measured in the other species.

Four cDNA files are present in the local cache, but their recorded sources use mutable current_fasta URLs and do not establish an Ensembl release. They are not sufficient to produce reproducibly pinned four-species benchmark results. Use reference manifests for archived releases and preserve the exact FASTA checksums; all-four real-reference mappings remain pending until those pinned inputs are supplied.

Your own table: the user_supplied_* ids

Three registered ids are architecture-level rather than panel-level. They name a duplex geometry, ship no bytes, and read the table you pass with --panel-csv:

Panel id

Reads your table as

--paired-length

user_supplied_paired_core_with_overhang

a paired core plus the measured 3β€² remainder of the guide

optional; declared default 19

user_supplied_fully_complementary

a blunt duplex, both strands equal to the requested core

optional, but usually needed; declared default 21

user_supplied_asymmetric

an asymmetric duplex β€” every row comes back incompatible

mandatory; an asymmetric descriptor declares no fixed core

They exist because vendoring the OligoGym bytes closed the only door your own table had. Every published panel now refuses a --panel-csv β€” correctly, since a run must not read different bytes than the ones its own manifest names as vendored β€” and that left fully_complementary and asymmetric with no reachable descriptor at all.

Your table must use the column names the descriptors declare. There is no per-run column-mapping option: a mapping supplied at run time would be a second way to state what a descriptor already states, and it would not be covered by the descriptor_hash the manifest records, so two artifacts could share a panel id and a hash while having read different columns. Rename your columns instead.

Column

Required

Absent means

guide_sequence

yes β€” the header check refuses without it

β€”

passenger_sequence

no

β€œthis table states no passenger”, not an error β€” the field is None

accession

no

no id for --panel-transcripts to match, so the design context is the target site

efficacy

no

no measured value is recorded for the row

Supplying accession buys a transcript lookup and nothing else: split is empty on every row of these ids whether the column is there or not, because split_rule_id is None.

You do not have to come here to learn that. Omitting --panel-csv under one of these ids refuses with the mandatory columns the descriptor itself declares, so the answer arrives at the point the question is asked:

$ uv run sirnaforge benchmark prepare --panel user_supplied_fully_complementary --out-dir work/bench
❌ Error: panel 'user_supplied_fully_complementary' has no vendored bytes in
this repository and no --panel-csv was given; supply --panel-csv pointing at a
table carrying guide_sequence
$ uv run sirnaforge benchmark prepare --panel user_supplied_paired_core_with_overhang \
    --paired-length 19 --panel-csv my_table.csv --out-dir work/bench
Panel: user_supplied_paired_core_with_overhang (data present: False)
Paired length: 19 nt
Observations kept: 2 (incompatible: 1)

What an artifact under one of these ids does not carry is any claim by this repository. There is no citation and no redistribution, because there is no source to cite; the citation field says so in words. target_identity_status is unavailable on every row, because this repository knows nothing about your target context β€” not even whether one exists β€” and split_rule_id is None, because predeclared_split’s id is pinned to the accession lists in tests/unit/data/README.md and stamping it on your accessions would report an un-audited partition under an audited rule’s name. That holds even when --panel-transcripts matches your accession and supplies the design context β€” design_context_source becomes panel_transcript, but target_identity_status stays unavailable and target_transcript_id is left empty, because matching a header in a FASTA you also supplied is not evidence about a native transcript. What the artifact is checkable against is your own bytes: manifest.json records their path and SHA-256.

user_supplied_asymmetric exists to record and refuse. Split-length and asymmetric design are out of #109’s scope and out of #110’s fixed-length work alike, so every row it ingests comes back compatibility_status: incompatible with both strand lengths named in its reason, none is sliced or padded into a 19–23 nt core, and design_inputs.fasta is empty. Preparing a table under it is how you get that refusal in writing, per row, rather than inferring it.

The artifact

One directory per (compatible panel Γ— paired length), named <panel_id>__len<paired_length>, with five fixed inner filenames:

File

Written by

Holds

observations.csv

prepare

One row per source row β€” compatible or not, never dropped

design_inputs.fasta

prepare

One record per compatible observation; a plain FASTA

manifest.json

both

Provenance, both policy blocks, counts, checksums

candidates_all.csv

design

Every enumerated candidate, including enumeration-time rejects

accounting.csv

design

The observation↔candidate join, with both filter verdict sets

Paired length is bounded to 19–23 nt β€” the range sirnaforge design already accepts. An artifact outside it could never be consumed by the path it exists to feed.

Nothing measured is dropped, padded, trimmed or relabelled

An observation this build cannot pair to the requested fixed length still gets its observations.csv row, with compatibility_status: incompatible and a stated compatibility_reason. An asymmetric duplex is never sliced into a symmetric core β€” silently truncating it would misrepresent a measured sequence, which #109 forbids outright. That is no longer a hypothetical: shmushkovich’s 356 vendored 20/15 rows all take this path. Sequences are copied as measured and upper-cased only; a lower-case letter in a sequence column is rejected by the schema, because it would mean some caller normalised rather than copied.

Two optional-column conventions are worth knowing before you parse a row. Every optional column uses the ordinary β€œempty cell means None” convention, except guide_3p_overhang and passenger_3p_overhang: there, an empty cell means measured, and blunt and the sentinel <not_stated> means the panel states no overhang. Both are real, different facts, and CSV cannot otherwise tell them apart.

benchmark prepare

uv run sirnaforge benchmark prepare --panel huesken_subset --out-dir benchmark_artifacts
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€ Benchmark Summary ─────────────┐
β”‚ 🧬 Benchmark artifact prepared             β”‚
β”‚ Panel: huesken_subset (data present: True) β”‚
β”‚ Paired length: 19 nt                       β”‚
β”‚ Observations kept: 180 (incompatible: 0)   β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

--paired-length defaults to the panel descriptor’s declared length, and is required for a panel that declares none β€” only ASYMMETRIC does, i.e. shmushkovich. A panel that ships vendored bytes refuses an explicit --panel-csv, so a run cannot silently read different bytes than the ones its own manifest names as vendored; a panel with no vendored bytes requires one. With four more panels now vendored, that first rule bites four more panel ids than it used to.

The prepared FASTA is the compatibility guarantee

design_inputs.fasta is a plain FASTA keyed by design_context_id, so the unmodified fixed-length path consumes it with no benchmark code in the loop at all:

uv run sirnaforge design benchmark_artifacts/huesken_subset__len19/design_inputs.fasta --length 19

That is the executable form of #109’s β€œconsumable by the current fixed-length design/workflow path” criterion, and it is pinned by a test rather than only documented here.

Each record’s design_context_source says what context it holds. huesken_subset has its transcripts vendored beside it, so its records are panel_transcript. The OligoGym-derived panels do not, so every record is measured_target_site β€” the 21 nt reverse complement of that row’s measured guide, and nothing wider. The synthetic transcripts in tests/data/benchmarks/oligogym/inputs/*.fasta (161 nt, or 160 for the 20 nt guides) are never read by prepare or design. A design tally over those panels is therefore enumeration over a 21 nt window, which is another reason it cannot be an accessibility result.

benchmark design

uv run sirnaforge benchmark design --artifact benchmark_artifacts/huesken_subset__len19
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€ Benchmark Summary ──────────────────────┐
β”‚ 🧬 Benchmark design complete                                  β”‚
β”‚ Entered design: 180  no candidate: 0                          β”‚
β”‚ Default pass: 111  Benchmark pass: 111                        β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

One run, two verdict sets

accounting.csv carries five accounting columns per row β€” entered_design, default_filter_status, default_filter_reasons, benchmark_filter_status, benchmark_filter_reasons β€” but there is exactly one design pass, under the benchmark policy. The default set is re-derived by re-applying the default policy’s filter descriptors to the values that one run already recorded per candidate.

That re-derivation is exact rather than approximate only because widening is monotone: an observed value like GC content or longest polynucleotide run is a property of the candidate, not of the threshold, so a widened run enumerates a superset of what a default run would have. Which is why a narrowing of either GC bound is refused before any file is opened:

$ uv run sirnaforge benchmark design --artifact ... --gc-min 40
--gc-min 40.0 narrows the default floor of 30.0; the benchmark interface may only widen
gc_min, never raise it, because a narrowed run cannot stand in for the default run its
default_filter_status claims to re-derive

An observation with no candidate keeps its accounting.csv row with entered_design: false, candidate_id empty and both statuses not_evaluated: a gate cannot be blamed for a candidate that was never built. The schema enforces that pairing rather than trusting it.

Per-run GC widening, with the default policy untouched

--gc-min / --gc-max widen the bounds for that run only. Nothing in this surface writes a global default; the manifest carries both resolved policies so the separation is checkable rather than asserted:

uv run sirnaforge benchmark design --artifact ... --gc-min 20 --gc-max 75

Manifest field

Value

gc_widening.gc_min β†’ default / benchmark

30.0 / 20.0

gc_widening.gc_min.source, .widened

explicit, true

run_policy resolved gc_min

20.0 (explicit)

default_run_policy resolved gc_min

30.0 (builtin_profile)

run_policy.profile.content_hash vs default_run_policy’s

identical

widened is read off provenance, not off benchmark != default: a value test cannot tell an omitted option from one typed with the default value.

The polynucleotide-run requirement stays active

max_poly_runs <= 3, action fail, is resolved identically for both policies in every call β€” only gc_min/gc_max are ever placed in the stated settings the benchmark policy is built from, so nothing on this surface can relax it. It is recorded in three independent places:

  1. per row, in default_filter_reasons and benchmark_filter_reasons;

  2. per run, in counts.excluded_by_filter["max_poly_runs"], split default/benchmark;

  3. per artifact, in the polynucleotide_run_requirement block, which states the comparator, threshold, action, whether it was evaluated, and both exclusion counts.

The observed value itself is in candidates_all.csv’s max_poly_runs_observed column alongside its max_poly_runs_verdict, so an exclusion can be checked, not just read.

candidates_all.csv is a superset, on purpose

The designer drops a candidate outright when an enumeration-time gate rejects it with a fail action; it survives only in the rejected list. A homopolymer observation that a default run would also have rejected still has to appear in the accounting with a real verdict on both columns, so candidates_all.csv is survivors plus enumeration-time rejects β€” a superset of what sirnaforge design would write for the same input. On the vendored subset at length 19 that is 361 + 179 = 540 rows.

What the vendored OligoGym panels actually measure

Every number below was produced by running the real prepare_artifact/design_artifact code over tests/data/benchmarks/oligogym/records.csv (SHA-256 2fb449362985c52c89ef02d8c7606da641b8cb314d86dac1d7f0cba74611a9c1) at paired length 19, under the shipped default policy with no widening. Because prepare.py cannot resolve these panels yet (see above), the two missing pieces β€” the vendored path and the row selector β€” were supplied in-process; nothing else was substituted, and tests/unit/test_benchmark_real_panels.py reaches the same surfaces the same way, with a probe descriptor.

Panel / dataset

in source

kept

incompatible

entered design

no candidate

default pass

benchmark pass

ichihara_2007_1

2,431

2,431

0

2,431

0

1,450

1,450

ichihara_2007_2

419

419

0

419

0

232

232

ichihara (both)

2,850

2,850

0

2,850

0

1,682

1,682

martinelli

907

907

0

907

0

683

683

shmushkovich

356

0

356

0

356

0

0

oligogym

4,113

β€”

β€”

β€”

β€”

β€”

β€”

Every count reconciles exactly against the vendored manifest.json’s declared 2,431 / 419 / 907 / 356; there is no disagreement anywhere. oligogym is refused as an aggregate before a row is read.

guide_match is paired_core_exact on all 3,757 entered rows β€” the designer rebuilt each row’s own 19 nt core from its own measured site β€” and none on all 356 Shmushkovich rows, whose FASTA is empty. Martinelli’s exclusions are max_poly_runs 179, gc_content_max 40, max_paired_fraction 17, identical under both policies.

The default verdict set is invariant under a widened benchmark run, which is #109’s core accounting claim. Designing the same Martinelli artifact twice β€” once unwidened, once with --gc-min 10 --gc-max 90 β€” leaves default_pass at 683 both times while benchmark_pass moves 683 β†’ 711, and json.dumps(manifest["default_run_policy"], sort_keys=True) is identical string-for-string across the two runs, profile content hash included. The same holds on ichihara_2007_2: default_pass 232 β†’ 232, benchmark_pass 232 β†’ 289. gc_content_max exclusions go {default 40, benchmark 40} β†’ {default 40, benchmark 0} while max_poly_runs stays {default 179, benchmark 179} in both runs.

Measured values survive the round trip verbatim as strings, not merely float-equal, on all 4,113 rows: the last ichihara_2007_2 row’s 74.00336740698765 comes out of observations.csv as the same 17-significant-digit string. full_guide_sequence equals records.csv’s guide_sequence upper-cased on every row.

Reproducibility

The manifest is designed so a second run over the same bytes can be compared, not merely trusted:

  • every entry in inputs and outputs carries its own SHA-256, and outputs paths are the fixed inner filenames rather than wherever --out-dir happened to point;

  • invoked_command is sys.argv verbatim, never reconstructed from options;

  • panel.descriptor_hash covers the registry entry, so an edited descriptor is as visible as edited data, and both policy blocks carry the profile’s content hash, covering thresholds and per-filter actions;

  • neither CSV carries a timestamp or a path, and rows are written sorted by their join key.

created_utc is the single field the schema deliberately leaves nondeterministic, and it lives only in manifest.json, never in a CSV. Two full prepare + design passes over the same panel bytes with the same argv produce byte-identical observations.csv, design_inputs.fasta, candidates_all.csv and accounting.csv, and manifests that differ in that one field alone.

What this surface does not do

Out of scope for #109, and deliberately absent rather than stubbed:

  • variable-length or asymmetric design β€” an asymmetric observation is recorded as incompatible, never coerced (#110). shmushkovich’s 356 rows are the vendored proof of it;

  • native transcript mapping, which is #110’s. counts.mapped_native is pinned to 0 by the schema and panels.TargetIdentityStatus has no confirmed member, so a native claim is not something this build can express, let alone back up. The four OligoGym-derived panels declare synthetic_context_local and carry a real span in a fabricated context (71…91, or 71…90 for the 20 nt guides); prepare.py still writes unavailable with target_start/end: None for every row, so that span is dropped rather than misreported. tests/data/benchmarks/oligogym_native_design/ β€” the Ensembl-mapped table, its 11,391-row mappings.csv, its per-dataset orthology and its representative references β€” is vendored on this branch and untouched by #109;

  • any comparison of a design to the efficacy the panel measured. Nothing here ranks, correlates or scores an artifact against measured_value. The measured labels are carried through unchanged so that such an evaluation becomes possible; performing one is not part of this surface, and no default_pass tally on this page is a statement about predictive accuracy;

  • any change to global default GC thresholds β€” widening is per run, through this interface only;

  • max_repeat_transcript_fraction is excluded from both verdict sets, because the only code that ever measures it runs from the post-screening step against a real cDNA reference, never from the design-from-file path a benchmark run uses. Left in, it reported unknown on essentially every row and drowned the verdicts this surface exists to report.

See the benchmark section of the CLI reference for the generated option help.