Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions _pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -338,3 +338,4 @@ articles:
- articles/devlog-2026-11-22-p3-cs12-sparse-spec-witness
- articles/devlog-2026-11-22-p3-cs13-io-interop-witness
- articles/devlog-2026-11-23-p3-cs14-segments-witness
- articles/devlog-2026-11-23-p3-cs15-refdb-witness
9 changes: 9 additions & 0 deletions bench/scenarios/out/cs15_degenerates.tsv
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
edge arm cls observed
NA build: declared vs undeclared (A13) sp-na-declared accept nmat=1;names=core;nrow=4;ncol=2;class=SBS;version=1;build=NA;indep=TRUE;avail=GRCh38;fmt=<MsRefDb> class: SBS | version: 1 | 1 matrices
NA build: declared vs undeclared (A13) rej-a13-undeclared msuiter_error_refdb a missing build must be declared via build_independent = TRUE
availability: zero-length vs NA entry sp-availability-zero accept nmat=1;names=core;nrow=4;ncol=2;class=SBS;version=1;build=GRCh38;indep=FALSE;avail=;fmt=<MsRefDb> class: SBS | version: 1 | 1 matrices
availability: zero-length vs NA entry rej-avail-na msuiter_error_refdb metadata field 'availability' must be a character vector without NA
colnames: duplicates ride, absence falls sp-dup-colnames accept nmat=1;names=core;nrow=4;ncol=2;class=SBS;version=1;build=GRCh38;indep=FALSE;avail=GRCh38;fmt=<MsRefDb> class: SBS | version: 1 | 1 matrices
colnames: duplicates ride, absence falls rej-mat-colnames msuiter_error_refdb reference matrix 'core' must carry rownames and colnames
column space: 1x1 accepted, 0-col refused sp-1x1 accept nmat=1;names=one;nrow=1;ncol=1;class=SBS;version=1;build=GRCh38;indep=FALSE;avail=GRCh38;fmt=<MsRefDb> class: SBS | version: 1 | 1 matrices
column space: 1x1 accepted, 0-col refused obs-zero-cols-rejected msuiter_error_refdb reference matrix 'core' must carry rownames and colnames
47 changes: 47 additions & 0 deletions bench/scenarios/out/cs15_laws.tsv
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
arm face cls mode clause
obs-zero-cols-rejected ms_refdb msuiter_error_refdb full reference matrix 'core' must carry rownames and colnames | labels are the only legal matching key (never position) | rownames missing: FALSE; colnames missing: TRUE | set the matrix dimnames
rej-mat-empty ms_refdb msuiter_error_refdb full matrices must be a non-empty named list | an MsRefDb bundles at least one reference signature matrix | received: list of length 0 | pass the reference matrices as a named list
rej-mat-notlist ms_refdb simpleError full <msuiter::MsRefDb> object properties are invalid: | - @matrices must be <list>, not <integer>
rej-mat-null ms_refdb simpleError full <msuiter::MsRefDb> object properties are invalid: | - @matrices must be <list>, not <NULL>
rej-mat-unnamed ms_refdb msuiter_error_refdb full every reference matrix must be named | matrix names identify reference sets (e.g. PCAWG) | names: (none) | name every list element
rej-mat-partial-name ms_refdb msuiter_error_refdb full every reference matrix must be named | matrix names identify reference sets (e.g. PCAWG) | names: 'core', '' | name every list element
rej-mat-vector ms_refdb msuiter_error_refdb full reference matrix 'core' must be a numeric matrix | reference signatures are channel-space matrices | received: integer | pass numeric matrices with full dimnames
rej-mat-character ms_refdb msuiter_error_refdb full reference matrix 'core' must be a numeric matrix | reference signatures are channel-space matrices | received: matrix | pass numeric matrices with full dimnames
rej-mat-dataframe ms_refdb msuiter_error_refdb full reference matrix 'core' must be a numeric matrix | reference signatures are channel-space matrices | received: data.frame | pass numeric matrices with full dimnames
rej-mat-rownames ms_refdb msuiter_error_refdb full reference matrix 'core' must carry rownames and colnames | labels are the only legal matching key (never position) | rownames missing: TRUE; colnames missing: FALSE | set the matrix dimnames
rej-mat-colnames ms_refdb msuiter_error_refdb full reference matrix 'core' must carry rownames and colnames | labels are the only legal matching key (never position) | rownames missing: FALSE; colnames missing: TRUE | set the matrix dimnames
rej-mat-nodimnames ms_refdb msuiter_error_refdb full reference matrix 'core' must carry rownames and colnames | labels are the only legal matching key (never position) | rownames missing: TRUE; colnames missing: TRUE | set the matrix dimnames
rej-mat-na ms_refdb msuiter_error_refdb full reference matrix 'core' must not contain NA or non-finite values | the FFI contract rejects NA | offending cells: '2' | fix the reference matrix source
rej-mat-nan ms_refdb msuiter_error_refdb full reference matrix 'core' must not contain NA or non-finite values | the FFI contract rejects NA | offending cells: '5' | fix the reference matrix source
rej-mat-inf ms_refdb msuiter_error_refdb full reference matrix 'core' must not contain NA or non-finite values | the FFI contract rejects NA | offending cells: '8' | fix the reference matrix source
rej-mat-negative ms_refdb msuiter_error_refdb full reference matrix 'core' must be non-negative | reference signatures are non-negative by definition | offending cells: '3' | check the reference matrix source
rej-channels-disagree ms_refdb msuiter_error_refdb full reference matrices must share the same channel labels | channel labels are matched by label, element by element | matrix 'alt' disagrees; offending labels: 'X[C>X]X' | project all matrices onto one common channel space
rej-channels-subset ms_refdb msuiter_error_refdb full reference matrices must share the same channel labels | channel labels are matched by label, element by element | matrix 'small' disagrees; offending labels: (none) | project all matrices onto one common channel space
rej-meta-notlist ms_refdb simpleError full <msuiter::MsRefDb> object properties are invalid: | - @metadata must be <list>, not <integer>
rej-meta-unnamed ms_refdb msuiter_error_refdb full metadata must be a named list | governance fields: version, class, build, schema_version, sha256, license, build_independent, availability | received: list | provide the governance metadata
rej-meta-emptyname ms_refdb msuiter_error_refdb full metadata must be a named list | governance fields: version, class, build, schema_version, sha256, license, build_independent, availability | received: list | provide the governance metadata
rej-meta-absent-one ms_refdb msuiter_error_refdb full reference metadata is missing governance fields | governance fields: version, class, build, schema_version, sha256, license, build_independent, availability | missing: 'license' | record the missing field(s) in metadata
rej-meta-absent-two ms_refdb msuiter_error_refdb full reference metadata is missing governance fields | governance fields: version, class, build, schema_version, sha256, license, build_independent, availability | missing: 'build', 'sha256' | record the missing field(s) in metadata
rej-field-version-empty ms_refdb msuiter_error_refdb full metadata field 'version' must be a single non-empty string | governance fields pin the reference set identity | received: '' | record the field as a single string
rej-field-version-na ms_refdb msuiter_error_refdb full metadata field 'version' must be a single non-empty string | governance fields pin the reference set identity | received: 'NA' | record the field as a single string
rej-field-version-multi ms_refdb msuiter_error_refdb full metadata field 'version' must be a single non-empty string | governance fields pin the reference set identity | received: '1', '2' | record the field as a single string
rej-field-version-num ms_refdb msuiter_error_refdb full metadata field 'version' must be a single non-empty string | governance fields pin the reference set identity | received: '1' | record the field as a single string
rej-field-class-empty ms_refdb msuiter_error_refdb full metadata field 'class' must be a single non-empty string | governance fields pin the reference set identity | received: '' | record the field as a single string
rej-field-schema-na ms_refdb msuiter_error_refdb full metadata field 'schema_version' must be a single non-empty string | governance fields pin the reference set identity | received: 'NA' | record the field as a single string
rej-field-license-multi ms_refdb msuiter_error_refdb full metadata field 'license' must be a single non-empty string | governance fields pin the reference set identity | received: 'CC0-1.0', 'CC-BY-4.0' | record the field as a single string
rej-indep-na ms_refdb msuiter_error_refdb full metadata field 'build_independent' must be a single TRUE or FALSE | build independence is an explicit declaration (A13) | received: 'NA' | set build_independent = TRUE only for build-agnostic sets
rej-indep-num ms_refdb msuiter_error_refdb full metadata field 'build_independent' must be a single TRUE or FALSE | build independence is an explicit declaration (A13) | received: '1' | set build_independent = TRUE only for build-agnostic sets
rej-indep-str ms_refdb msuiter_error_refdb full metadata field 'build_independent' must be a single TRUE or FALSE | build independence is an explicit declaration (A13) | received: 'TRUE' | set build_independent = TRUE only for build-agnostic sets
rej-build-empty ms_refdb msuiter_error_refdb full metadata field 'build' must be a single string, or NA if build independent | NA build is legal only together with build_independent = TRUE | received: '' | record the genome build, or declare build independence
rej-build-empty-declared ms_refdb msuiter_error_refdb full metadata field 'build' must be a single string, or NA if build independent | NA build is legal only together with build_independent = TRUE | received: '' | record the genome build, or declare build independence
rej-build-num ms_refdb msuiter_error_refdb full metadata field 'build' must be a single string, or NA if build independent | NA build is legal only together with build_independent = TRUE | received: '38' | record the genome build, or declare build independence
rej-build-multi ms_refdb msuiter_error_refdb full metadata field 'build' must be a single string, or NA if build independent | NA build is legal only together with build_independent = TRUE | received: 'GRCh38', 'GRCh37' | record the genome build, or declare build independence
rej-a13-undeclared ms_refdb msuiter_error_refdb full a missing build must be declared via build_independent = TRUE | build-agnostic reference sets must say so explicitly (A13) | build = NA, build_independent = FALSE | record the build, or set build_independent = TRUE
rej-sha-upper ms_refdb msuiter_error_refdb full metadata field 'sha256' must be a sha256 hex digest | the digest pins the reference content (A13 manifest) | received: 'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA' | record the sha256 of the reference source
rej-sha-short ms_refdb msuiter_error_refdb full metadata field 'sha256' must be a sha256 hex digest | the digest pins the reference content (A13 manifest) | received: 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa' | record the sha256 of the reference source
rej-sha-nonhex ms_refdb msuiter_error_refdb full metadata field 'sha256' must be a sha256 hex digest | the digest pins the reference content (A13 manifest) | received: 'gggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggg' | record the sha256 of the reference source
rej-sha-num ms_refdb msuiter_error_refdb full metadata field 'sha256' must be a sha256 hex digest | the digest pins the reference content (A13 manifest) | received: '42' | record the sha256 of the reference source
rej-sha-na ms_refdb msuiter_error_refdb full metadata field 'sha256' must be a sha256 hex digest | the digest pins the reference content (A13 manifest) | received: 'NA' | record the sha256 of the reference source
rej-avail-na ms_refdb msuiter_error_refdb full metadata field 'availability' must be a character vector without NA | availability lists the builds with official reference sets | received: character of length 2 | list known builds, or pass character(0)
rej-avail-num ms_refdb msuiter_error_refdb full metadata field 'availability' must be a character vector without NA | availability lists the builds with official reference sets | received: integer of length 1 | list known builds, or pass character(0)
rej-avail-logical ms_refdb msuiter_error_refdb full metadata field 'availability' must be a character vector without NA | availability lists the builds with official reference sets | received: logical of length 1 | list known builds, or pass character(0)
5 changes: 5 additions & 0 deletions bench/scenarios/out/cs15_precedence.tsv
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
arm fires_cls fires_anchor anti_anchor
prec-first-matrix-authority msuiter_error_refdb reference matrices must share the same channel labels matrix 'core' disagrees
prec-field-before-a13 msuiter_error_refdb metadata field 'version' must be a single non-empty string must be declared via build_independent
prec-matrix-before-metadata msuiter_error_refdb reference matrix 'core' must be non-negative is missing governance fields
prec-sha-before-availability msuiter_error_refdb metadata field 'sha256' must be a sha256 hex digest 'availability' must be
9 changes: 9 additions & 0 deletions bench/scenarios/out/cs15_scalars.tsv
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
key value
governance-fields governance fields: version, class, build, schema_version, sha256, license, build_independent, availability
label-key-law labels are the only legal matching key (never position)
ffi-no-na-clause the FFI contract rejects NA
sha-pin-clause the digest pins the reference content (A13 manifest)
plant-checksum 2ee99b67b38c7238357da9033b5a4bee1e4ab7845bd138fe0487c916afc50e37
spec-checksum 29166e1729d5191f56f449091231cef02568d9587c0f8bde787c4dc3927462b5
rng-before FALSE
rng-after FALSE
9 changes: 9 additions & 0 deletions bench/scenarios/out/cs15_specs.tsv
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
arm face cls detail
sp-canonical ms_refdb msuiter::MsRefDb nmat=1;names=core;nrow=4;ncol=2;class=SBS;version=1;build=GRCh38;indep=FALSE;avail=GRCh38;fmt=<MsRefDb> class: SBS | version: 1 | 1 matrices
sp-two-matrices ms_refdb msuiter::MsRefDb nmat=2;names=core,ext;nrow=4;ncol=2;class=SBS;version=1;build=GRCh38;indep=FALSE;avail=GRCh38;fmt=<MsRefDb> class: SBS | version: 1 | 2 matrices
sp-na-declared ms_refdb msuiter::MsRefDb nmat=1;names=core;nrow=4;ncol=2;class=SBS;version=1;build=NA;indep=TRUE;avail=GRCh38;fmt=<MsRefDb> class: SBS | version: 1 | 1 matrices
sp-availability-zero ms_refdb msuiter::MsRefDb nmat=1;names=core;nrow=4;ncol=2;class=SBS;version=1;build=GRCh38;indep=FALSE;avail=;fmt=<MsRefDb> class: SBS | version: 1 | 1 matrices
sp-availability-multi ms_refdb msuiter::MsRefDb nmat=1;names=core;nrow=4;ncol=2;class=SBS;version=1;build=GRCh38;indep=FALSE;avail=GRCh38+GRCh37;fmt=<MsRefDb> class: SBS | version: 1 | 1 matrices
sp-integer-matrix ms_refdb msuiter::MsRefDb nmat=1;names=core;nrow=4;ncol=2;class=SBS;version=1;build=GRCh38;indep=FALSE;avail=GRCh38;fmt=<MsRefDb> class: SBS | version: 1 | 1 matrices
sp-1x1 ms_refdb msuiter::MsRefDb nmat=1;names=one;nrow=1;ncol=1;class=SBS;version=1;build=GRCh38;indep=FALSE;avail=GRCh38;fmt=<MsRefDb> class: SBS | version: 1 | 1 matrices
sp-dup-colnames ms_refdb msuiter::MsRefDb nmat=1;names=core;nrow=4;ncol=2;class=SBS;version=1;build=GRCh38;indep=FALSE;avail=GRCh38;fmt=<MsRefDb> class: SBS | version: 1 | 1 matrices
Loading
Loading