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 |
|
Bytes |
Rows it selects |
Declared geometry |
|---|---|---|---|---|
|
|
|
180 |
paired core 19 + overhang |
|
|
|
2,850 ( |
paired core 19 + overhang (21/19 nt) |
|
|
same table |
907 ( |
mixed measured 19-nt and 21-nt pairing; see native import |
|
|
same table |
356 ( |
asymmetric (20/15 nt) β all incompatible |
|
|
same table |
all 4,113 β refused, |
mixed; see below |
|
|
none β |
β |
paired core 19 + overhang |
|
|
none β the callerβs own table, via |
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 indocs/models_and_scoring.md, now corroborated by the bytes: every row of both datasets recordssource_urlhttps://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, overhttps://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 intests/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 |
|
|---|---|---|
|
a paired core plus the measured 3β² remainder of the guide |
optional; declared default 19 |
|
a blunt duplex, both strands equal to the requested core |
optional, but usually needed; declared default 21 |
|
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 |
|---|---|---|
|
yes β the header check refuses without it |
β |
|
no |
βthis table states no passengerβ, not an error β the field is |
|
no |
no id for |
|
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 |
|---|---|---|
|
|
One row per source row β compatible or not, never dropped |
|
|
One record per compatible observation; a plain FASTA |
|
both |
Provenance, both policy blocks, counts, checksums |
|
|
Every enumerated candidate, including enumeration-time rejects |
|
|
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 |
|---|---|
|
|
|
|
|
|
|
|
|
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:
per row, in
default_filter_reasonsandbenchmark_filter_reasons;per run, in
counts.excluded_by_filter["max_poly_runs"], splitdefault/benchmark;per artifact, in the
polynucleotide_run_requirementblock, 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 |
|---|---|---|---|---|---|---|---|
|
2,431 |
2,431 |
0 |
2,431 |
0 |
1,450 |
1,450 |
|
419 |
419 |
0 |
419 |
0 |
232 |
232 |
|
2,850 |
2,850 |
0 |
2,850 |
0 |
1,682 |
1,682 |
|
907 |
907 |
0 |
907 |
0 |
683 |
683 |
|
356 |
0 |
356 |
0 |
356 |
0 |
0 |
|
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
inputsandoutputscarries its own SHA-256, andoutputspaths are the fixed inner filenames rather than wherever--out-dirhappened to point;invoked_commandissys.argvverbatim, never reconstructed from options;panel.descriptor_hashcovers 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_nativeis pinned to0by the schema andpanels.TargetIdentityStatushas noconfirmedmember, so a native claim is not something this build can express, let alone back up. The four OligoGym-derived panels declaresynthetic_context_localand carry a real span in a fabricated context (71β¦91, or 71β¦90 for the 20 nt guides);prepare.pystill writesunavailablewithtarget_start/end: Nonefor every row, so that span is dropped rather than misreported.tests/data/benchmarks/oligogym_native_design/β the Ensembl-mapped table, its 11,391-rowmappings.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 nodefault_passtally 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_fractionis 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 reportedunknownon 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.