Repository navigation
feat(model): publish calibrated Reference ranges for Rust, PHP, and Dart - #143
Merged
Merged
Conversation
4 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Calibrate and publish 20-repository pre-2023 Reference ranges (10th to 90th percentile, matching ADR 0008) for the built-in Rust, PHP, and Dart Language plugins, record them in ADRs 0010, 0011, and 0012, and update
README.mdwith the unified 4-language Reference ranges table.Tier
Tier 2 from the tier check: updates
reference_ranges()incodeint-lang-rust,codeint-lang-php, andcodeint-lang-dart, adds sharedcodeint_model::scan::build_reference_ranges, adds ADRs 0010–0012, and updates conformance tests and documentation.Task
Owner request to run calibrated 20-repo Reference range panels before cutting the next release:
codeint 0.2.1(ac42e2f)0010,0011, and0012codeint-lang-rust,codeint-lang-php, andcodeint-lang-dartexpect_reference_ranges: true), pluginHOW-TO.mdpages, andREADME.mdFail-first test
crates/plugin-host/tests/conformance.rs(expect_reference_ranges: truefor Rust, PHP, Dart) and plugin conformance testsreference_ranges()returnedVec::new()for Rust, PHP, and DartChecks
cargo test --locked --package codeint-lang-rust --package codeint-lang-php --package codeint-lang-dart --package codeint-plugin-host --test conformancecargo clippy --workspace --all-targets --locked -- -D warningscargo xtask merged-result./target/release/codeint diff origin/mainlefthookpre-commit hooksSafety proof
crates/plugin-host/tests/conformance.rsvalidates all four metrics' Reference ranges (0.0 <= low <= high <= 1.0) for Rust, PHP, and Dart.interrogate: none run below Tier 3.Runtime evidence
Measured 60 pre-2023 public repositories (20 Rust, 20 PHP, 20 Dart) with
codeint 0.2.1(ac42e2f); full per-repository tables and exclusions are recorded in ADRs 0010, 0011, and 0012.Gaps