Skip to content

Use the measured split figure in the spec and keep 10 evidence lines per cell - #71

Merged
Pranav-Mathad merged 2 commits into
mainfrom
issue-12-spec-figure-and-cell-evidence
Nov 29, 2026
Merged

Pranav-Mathad merged 2 commits into
mainfrom
issue-12-spec-figure-and-cell-evidence

Conversation

@Pranav-Mathad

Copy link
Copy Markdown
Owner

Follow-up to #12 (closed).

What this changes

Submission lane, spec.md §12.3 and the report settings. Two corrections after #70, plus the re-run they require.

  • spec.md §12.3, item 1. The worked example said that on Artemis's May 2026 split exceptions per 1,000 lines rose 59% under the new layout and 5% under the old one. The pipeline does not reproduce that; the figure came from an earlier probe that checked different decisions. The item now gives what the pipeline measures from 2026-04-01 to 2026-07-01 (48 to 66 modules): links between modules go from 12,140 to 14,103 under the new layout (+16.2%) and to 12,677 under the old one (+4.4%), so 73% of that change disappears and the split counts as a reorganisation; exceptions per 1,000 lines move little under either layout (-8.3% and -7.1%). The rule in the item now matches the code: two measures, and at least half of the change in one of them must disappear.
  • report.bundle.max_refs_per_cell back to 10 (it was set to 3 in Run all three repositories, calibrate, and add results, bundles and run instructions #70). 3 saved only 1 to 3 MB per repository and left a reader with 3 example lines per grid cell.
  • results/ and the three bundles refreshed. A settings change moves params_hash, so the committed files were re-made from new runs. README: the bundle sizes.

What was run and what came out

  • Each repository from scratch, twice, with the new setting (ingest, parse, model, analyze, report into two scratch runs folders). For all three the run folder name is the same, core.db.fingerprint is identical over 25 tables, and every written file is byte-identical (2,353 / 2,323 / 2,575 files for Artemis / Shopware / Graylog).
  • Findings are unchanged: 219 / 179 / 189 at END, 10 in the list to fix first on each. The only differences in results/ are params_hash and the setting itself in each manifest; decisions.yaml is unchanged.
  • results/ and bundles against the runs: cmp identical; the file list of each installed bundle equals the run's web/ folder. web/public/bundles/index.json and the fixture bundles are unchanged.
  • The setting took effect: every edge count in map.json is the same as before; the most evidence lines on an edge went from 3 to 10. Edges that now keep more than 3 lines: 494 / 153 / 531. Example: Artemis programming -> core, count 602, 3 lines before and 10 now, the old 3 being the first 3 of the new 10.
  • Bundles: every file loads through its contract model; check_bundle reports 0 errors on all three. Size on disk 42 / 32 / 31 MB (was 37 / 31 / 27); cited code files 2,342 / 2,312 / 2,564.
  • The app, served with vite and dumped with headless Chrome: the structure grid and the decisions screen on all three show the right repository, module counts (73 / 146 / 108) and finding counts, with no error text.
  • make check passes.

Not run

  • Only two screens were dumped this time, and a DOM dump does not show the canvas drawings or a cell's opened list of lines.
  • The whole-run times in the README were not re-measured: the new runs were made two at a time, and the changed setting only affects the report step.

For reviewers

  • On Shopware, two grid cells keep fewer evidence lines than their count (sw-landing-page -> app/service: count 1, no line; sw-settings-shipping -> app/service: count 2, one line). This was already so before this change.

Checks

  • make check passes
  • Every new fact carries its evidence: commit, file and lines, or the commits (spec.md §4.4)
  • Output is sorted and has no clock time, so a second run gives the same bytes
  • No language or project name in engine code; new starting values are in settings/
  • Does not touch core/contracts.py, core/schema/ or core/runs.py

@Pranav-Mathad
Pranav-Mathad merged commit 93a40ca into main Nov 29, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant