Repository navigation
v1.1.0
Added
rulesandexplainprint measured precision per language. The rule
catalog embedseval/solana/measured.json; a rule with no fresh or held-out
label printsunmeasured, never 100%. The JSON rule rows gain ameasured
object keyed by language withstatus,tp,fp,labelled,precision,
wilson95,split,populationand, for cells with fewer than five labels,
count_only(printed ask/n (n<5, count only), never a percentage). The
Rust and Anchor TypeScript numbers are the held-out split of the Solana PoC
study (eval/solana-poc/), not the earlier test-suite measurement, which
stays published ineval/solana/RESULTS.md; the Solidity number uses only the
fresh (out-of-sample) corpus.docs/precision.mdstates the population and
the limits, and the generated rule pages carry the same line.
Changed
rules --format json:languageslistsjavascriptfor every rule
that checks Solana tests. The tool already read JavaScript Anchor/web3.js
tests; the list said onlyrustandtypescript.eval/results/rules-v0.6.0.json
is regenerated (onlylanguagesand the newmeasuredobjects change; the
precision tables and the R3 check are unchanged).
Fixed
- Release workflow: the
checksumsjob did not listverifyinneeds, so
the version it repacks with was empty; andscripts/package-release.shwrote
the zip to a relative output directory from inside the staging directory.
Both were caught by the 1.1.0 dry runs, before any tag. A regression case in
scripts/test-package-release.shcovers the relative output directory. - Attestation test on Linux/macOS: the fake
ghin
scripts/test-verify-attestation.shwas not executable, socommand -v gh
found the runner's realgh. The Action itself runs the script withbash
and was not affected. - CI package check now allows
eval/solana/measured.json, which the crate
embeds forrules/explain.
Documentation
- Solana PoC measurement (P1-A redo, 2026-11-25).
eval/solana-poc/
measures the frozen 1.0.4 rules on 99 public Solana PoC units (12 judged,
82 exploit-by-construction, 5 patched negative controls) from 45 pinned
sources, preregistered before any run or label. The tool reads 1 of 12
judged PoCs (8.3% [1.5-35.4]) and 72 of 82 exploit-by-construction ones;
held-out precision over all rules is 46/106 = 43.4% [34.4-52.9], with RG08
29/30 and RG09 7/7 against RG01 2/12, RG02 8/30, RG04 0/16 and RG06 0/6.
docs/precision.mdcarries the summary (checked bytests/docs.rs).
No rule logic changed. - Correction.
eval/solana/{README,RESULTS}.mdanddocs/precision.md
said a public Solana PoC corpus does not exist in a form the tool reads.
That was wrong: the search checked three repositories and stopped, and the
Neodyme workshop PoCs it cited are unsolved templates. The text now says so
and links the PoC measurement. - P1 Rust/Anchor TypeScript measurement. Four pinned public test suites,
174 flags, 133 sampled, 63 held-out labels, Wilson 95% intervals per rule and
language. The report says plainly that the corpus is test suites, not PoCs,
and records the missing PoC corpus as a gap rather than widening the claim. - Correction.
docs/precision.mdsaid the264ca72solana-program-library
pin had fiveprogram/testsdirectories; at that commit onlytoken-lending
andgovernancehave one. The text is corrected.
Install
cargo binstall realism-gate
or download an archive below and check it:
sha256sum -c SHA256SUMS --ignore-missing
gh attestation verify <archive> --repo KhomDev/realism-gate
Three binaries are included: realism-gate (the checker), rgate
(the same program under a short name) and realism-gate-mcp (the MCP
server). cargo binstall installs all three. Linux builds are static
(musl).
Built with rustc 1.95.0 and repacked deterministically, so the
archives can be compared with a local rebuild. From a checkout of this
repository:
scripts/reproduce-release.sh v1.1.0 x86_64-unknown-linux-musl