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
4 changes: 2 additions & 2 deletions crates/ry-checker/tests/oracle.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
//! R oracle harness.
//!
//! The complete fixture matrix is `#[ignore]`'d by default; run it with
//! `cargo test -p ry-checker --test oracle -- --ignored --nocapture`
//! (or `scripts/oracle.sh`). Registered `# oracle-claim: RYxxx` fixtures run
//! `cargo test -p ry-checker --test oracle -- --ignored --nocapture`.
//! Registered `# oracle-claim: RYxxx` fixtures run
//! in the default test gate, and their registry coverage is always checked.
//!
//! For each fixture in `testdata/oracle/`, if `Rscript` is on PATH, runs
Expand Down
11 changes: 10 additions & 1 deletion docs/corpus/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,18 @@
Each ledger pins the *identities* (package, rule code, path, line, column) of
every diagnostic `ry` emitted on an audited package corpus, together with the
independent classification (`true_positive` / `false_positive` / `uncertain`)
and a `workstream` label. Pinning identities — not aggregate counts — means
and an `audit_group` label. Pinning identities — not aggregate counts — means
removing one finding can never be silently mistaken for removing another.

The `audit_group` field groups reviewed findings by how the audit explained
Comment thread
pullfrog[bot] marked this conversation as resolved.
Resolved
each label. `posit-0.9.0.json` has 12 groups; most name a cause
(`type-narrowing`, `test-fixture`), one an owner (`upstream-package`), and
the largest, `manual-audit` (390 of 728 findings), is the manually
classified batch. `tidyverse-0.7.1.json` has 17 groups: 16 are batch ids
from its audit (`P2`, `P3a`, `plan-32-33`), kept verbatim because the
planning records that defined them were local-only and no longer exist;
the other, `upstream-ggplot2`, names the upstream package.

| Ledger | `ry` | Packages | Diagnostics | TP / FP / Unc | Reconciliation |
| :-- | :-- | :-- | ---: | :-- | :-- |
| [`tidyverse-0.7.1.json`](tidyverse-0.7.1.json) | 0.7.1 | 24 | 100 | 4 / 96 / 0 | hermetic (strict CI gate) |
Expand Down
Loading