Repository navigation
docs: six KPIs, with their base measurements and the two parity proxies that do not work - #1179
Conversation
Three about the rewrite (NIP parity, store performance, migration safety) and three about the factory (review share, rounds per job, escapes). Two proxies for parity were measured and rejected: zero stubs across 282 files cannot fail, and per-NIP modules overlap the advertised set at 8 of 25.
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the
|
🦋 Changeset detectedLatest commit: b2836d2 The changes in this PR will be included in the next version bump. This PR includes changesets to release 0 packagesWhen changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
[Low impact] This documentation update appears safe to merge.
|
Greptile's three findings, all real: the benchmark command omitted the required --out, the rounds distribution summed to 24 for a 27-job claim, and the factory records are workspace-only, so the tables are now stated as recorded values with sample sizes and the excluded record named.
Dismissed because a newer commit was pushed; Greptile will re-review the current head.
Greptile's finding: the migrate_cli swap cases are cfg(target_os = "linux"), so the same command on macOS passes while skipping every directory-pin test. The row now states Linux with /proc/self/fd, and the release record must name the host.
Dismissed because a newer commit was pushed; Greptile will re-review the current head.
A KPI contract for the rewrite and for the factory that is building it, written as six numbers with a source and a threshold each.
The three about the rewrite
grep -c 'unimplemented!\|todo!('over all 282.rsfiles (84,757 lines) answers 0, so a stub count can never fail; andsrc/nipNN.rsexists for 12 NIPs whilepackage.jsonadvertises 25, with an overlap of 8 and four modules (05 56 66 98) belonging to NIPs that are not advertised. Module presence measures file layout. What replaces both is a per-NIP ledger keyed to a test with a recorded inversion.docs/rewrite/benchmarks/lmdb-50k-seed7.json; a regression against that artifact on the same workload fires. The v3 multiple cannot fire yet and the document does not carry one: the Postgres columns are absent because the host has no database, and benchmarks: measure the TypeScript/Postgres baseline on a host with Docker #1132 owns them.031added. Non-negotiable, because it decides whether cutover may run unattended.The three about the factory
Measured tonight over the 27 jobs in
.factory/jobsthat carry aspansline — $103.16 in total:017= 1.56,001= 2.18,026= 4.14,031= 1.16). The threshold is 2.0, and the caveat is written into the row: the ratio is unstable below ~$1 of total spend, so it is reported only above that floor or it rewards making builds expensive.What is deliberately absent
Stub count, test count (1,390 attributes today), diff size, token spend, PR count. Each is listed with the reason, so the next person does not re-add one.
Why the thresholds look the way they do
Every number here is taken from the recorded distribution rather than chosen for comfort: a target of "review under 1.0" would have been invented, because the median in this history is 1.5. Where the history is too thin — the performance multiple — the document says the KPI is not shipped yet instead of quoting a figure nobody measured.