Skip to content

fix(model): bump import and dependency Metric versions - #779

Merged
avidianity merged 4 commits into
mainfrom
fix/metric-versions-0.10.5
Dec 2, 2026
Merged

avidianity merged 4 commits into
mainfrom
fix/metric-versions-0.10.5

Conversation

@avidianity

@avidianity avidianity commented Dec 2, 2026 •

Copy link
Copy Markdown
Owner

Summary

Increment the six Metric versions affected by the PHP, TypeScript, and Python resolution fixes.
Refresh the saved state and Finding ID snapshots under ADR 0046.
Recalibrate Import cycles Reference ranges and record the measured binary for that Metric.

Tier

Tier 3 from cargo xtask risk-tier --base origin/main.
The test-oracle guard flags changes to assertions that now expect the new Metric versions and calibration provenance.

Task

  • Increment Import cycles to 3, Import boundaries to 4, and Orphan files to 2.
  • Increment all three Dependency hygiene Metrics to 2.
  • Preserve existing fixture inputs and state for unrelated Metrics.
  • Cover PHP application resolution with a new Finding ID fixture.
  • Recalibrate published Reference ranges for the affected Metric only.

This change follows #768, #770, #771, #774, and #775.

Fail-first test

  • Test: reference_ranges_and_published_tables_match_summary_provenance.
  • Before calibration, CI ran one test and failed: built-in typescript-javascript range import_cycles had metric_version 3 and the published summary had 2. Failed CI
  • After calibration, the named test ran and passed. A second probe replaced the published Metric heading with Verbosity v999. It ran one test and failed with docs/evaluation.md must record the calibration provenance for import_cycles v3. Restoring the report produced 1 passed.
  • The earlier resolver PRs recorded the original fail-first reproductions. Independent CLI probes showed the new build rejects saved v0.10.4 Metric versions until refreshed.

Checks

Check Result
Evaluation documentation accuracy and calibration rendering 3 integration tests and 1 rendering test passed
CLI Import cycles 23 passed. The separately named dynamic import regression ran once and passed.
CLI Reference ranges and Markdown reports 6 and 8 passed
TypeScript Framework profiles, base conformance, and Go conformance 12 Framework profile tests passed. Both named base conformance tests ran and passed.
CLI reference examples and Finding ID stability 6 and 2 passed, including the Finding ID lock regression
Codeint self-check, Git hooks, and merged-result Passed
Standards and Independent Spec reviews PASS on 1fce604163de72f103c69a64dab736eecd83510c

Safety proof

  • Updating old state adopts six new Metric versions while preserving unrelated Findings and state.
  • Independent PHP and React CLI probes updated six entries each in the Baseline and Ratchet. Both reported state check: PASS.
  • A field-by-field comparison of the historical and published JSON found changes only in Import cycles readings, panel distributions, version, and provenance.
  • interrogate: No verified findings survived the state migration and calibration probes. The calibration check regenerated the published Markdown byte for byte and independently compared 750 readings, nine distributions, and unchanged historical fields. CLI probes matched version, bounds, and provenance for all 58 ranges checked across base plugins and Framework profiles.

Runtime evidence

The check verification feature map covers the CLI report.
The fitted data comes from codeint 0.10.4 at 2887c2d6919690e87bdf055b2f40e96f97850409.
The repo evaluator used the 750 applicable pinned entries from eval/panels.json, one run per entry.
All 750 entries produced Import cycles v3 readings and the CLI exited 0 for every entry.
The exact candidate CLI reported 0 to 0.492 for Python Import cycles with calibration commit 2887c2d69196.

Reference range Prior Recalibrated
Python 0.000 to 0.446 0.000 to 0.492
Dart 0.061 to 0.600 0.061 to 0.600
Go 0.000 to 0.000 0.000 to 0.000
PHP 0.000 to 0.133 0.000 to 0.133
Rust 0.000 to 0.611 0.000 to 0.611
TypeScript and JavaScript 0.000 to 0.182 0.000 to 0.182
React 0.000 to 0.202 0.000 to 0.202
Vue 2 0.000 to 0.128 0.000 to 0.128
Vue 3 0.000 to 0.325 0.000 to 0.325

Risk summary

Users with saved Baselines or Ratchets must refresh six changed Metrics after upgrading.
The version check identifies stale measurements and tells users how to refresh them.
Python users see a wider Import cycles comparison range.
Reverting this PR before release restores the previous version records and Reference range.
Recommendation: merge when the required checks and Independent review pass. The Owner approved the release fixes and this recalibration in advance.

Gaps

  • Deferred coverage: Full suite runs in CI.
  • Pre-existing failure: The evaluator exited 1 because the Python oracle compares bare module names with the grouped from-import strings emitted after fix(lang-python): resolve from-package submodule imports #768. Static-import recall reached 35.12% and precision reached 35.13%, below the oracle threshold. All 100 CLI measurements completed successfully. The published report identifies the prior oracle verdict and discloses the fresh result separately. The separate Python corpus job already fails on main.
  • Environmental failures: None observed.

@github-actions github-actions Bot added the tier-3 Tier 3 from the tier check label Dec 2, 2026
@avidianity
avidianity merged commit 3cfcea3 into main Dec 2, 2026
19 of 21 checks passed
@avidianity
avidianity deleted the fix/metric-versions-0.10.5 branch December 2, 2026 21:31
@avidianity avidianity mentioned this pull request Dec 2, 2026
5 tasks done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tier-3 Tier 3 from the tier check

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant