Skip to content

research(v5): inventory development paired SD without freezing power - #323

Draft
TheHalfMoon wants to merge 2 commits into
research/v5-r2-durable-evidencefrom
research/v5-dev-paired-sd-inventory
Draft

TheHalfMoon wants to merge 2 commits into
research/v5-r2-durable-evidencefrom
research/v5-dev-paired-sd-inventory

Conversation

@TheHalfMoon

@TheHalfMoon TheHalfMoon commented Oct 9, 2026 •

Copy link
Copy Markdown
Owner

Intent

Development-only, model-free, non-authoritative nuisance inventory of the existing V5 S1 paired source-task metric-difference distributions. This stack builds on draft PR #322 (original R2, two repeats, frozen research margins); does not alter #320's scientific execution or #321's duplicate-input guard; does not touch main.

Reproducible computation

Adds scripts/v5_s1_development_paired_sd_inventory.py, a fail-closed exact-source adapter using the existing frozen repeatability _row_metrics for canonical accuracy/NLL/Brier and semantic JS. Anchors to the exact 16,384-row committed baseline and independently verified real R1; verifies all paired prompts, tasks, targets, splits, logit finiteness, run seed/intervention, and 3,840 source-task clusters in each DEV_EVAL/CAL_EVAL split. Processes all nine already qualified B1/C1/C2 runs (seeds 11/29/47), never cherry-picks by performance.

Output artifacts/v5/development/s1-paired-sd-inventory-2026-10-09/development-paired-sd.json SHA-256 b1edf781b61d3f5ce227c08908ca43ad9864c0b398a7318c33895951af37bacd: 72 finite descriptive sample SD observations for intervention/seed/split/metric plus paired mean, min, max, input hashes. Independent one-off computation generated numerically identical all 72 records before the reusable script was authored.

Large heterogeneity exists: DEV canonical accuracy paired SD B1 seed 11 ~0.0510 vs seed 29 ~0.9981; C1 seed 11 ~0.1369 vs seed 29 ~0.8077; C2 seed 11 ~0.0995 vs seed 29 ~0.7479. NLL also changes markedly across methods/seeds. These are descriptive development findings, not clinical/effect evidence.

macOS exact-head qualification

  • PYTHONPATH=src python3 -m pytest -q tests/reliability_v5/ --disable-warnings --maxfail=1: 305 passed; 86 subtests.
  • Full repository pytest: 1,357 passed; 264 subtests.
  • Python compile PASS, frozen binding qualification exact 307 files PASS, git diff --check PASS.
  • Alibaba OpenCodeReview local zero-cost delegate preview and host review recorded; no independent external model verdict. Jev deferred under zero-cost policy. DCO sign-off on commit; cryptographic GitHub signature is not asserted.
  • NO GPU, model call, PHI, paid API/compute, confirmatory/reserve identity, replication, publication or merge authority.

The actual remaining power gate

This inventory is NOT a frozen final power input or a justification to choose the smallest observed variance. The exact primary non-target hypothesis family and multiplicity count must be prospectively declared, and a conservative variance model must account for training-seed uncertainty and correlated source/seed effects. Only after those separate decisions may the frozen alpha=0.05, Holm, power=0.90, n=4096 planning mechanics be applied, without endpoint selection based on observed outcomes. Existing frozen benchmark margins remain nonclinical.

DRAFT / REVIEW ONLY, stacked atop draft PR #322. Do not merge until signed-commit and independent-review gates qualify and the scientific/governance authority is explicit. Owner and repo remain TheHalfMoon/commandMed.


Summary by cubic

Adds development-only, fail-closed inventories of paired source-task standard deviations and calculator-level effect correlations across the nine qualified B1/C1/C2 runs (seeds 11, 29, 47), without freezing any power input or selecting endpoints.

  • The paired-SD script computes candidate-minus-baseline per-source-task SD (ddof=1) for the four frozen metrics across DEV/CAL splits, reusing the frozen _row_metrics; it validates all 16,384 rows, paired identities, finite logits, and 3,840 clusters per split.
  • The calculator-ICC script runs a one-way descriptive ANOVA over 64 calculators (60 source tasks each) per split and reports unclipped rho, illustrating within- vs between-calculator variance for the same nine runs.
  • Between-seed SD varies widely (DEV canonical accuracy: B1 seed 11 ≈0.051, B1 seed 29 ≈0.998), so a single favorable per-seed estimate must not be used for future power calculations.
  • Both outputs are marked exploratory, exclude training-seed uncertainty, and make no confirmatory-power, hypothesis-family, or merge claims; stacked on draft PR research(v5): preserve verified R2 and frozen paired margins #322.

Written for commit 4a3a865. Summary will update on new commits.

View guided diff Turn on auto-fix

Signed-off-by: Gocceri <azialshehri@gmail.com>
@coderabbitai

coderabbitai Bot commented Oct 9, 2026 •

Copy link
Copy Markdown

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Copy link
Copy Markdown
Owner Author

2026-10-10 — Durable calculator-effect ICC developmental evidence added and qualified mechanically at exact head

DRAFT / SOURCE-BOUND DEVELOPMENT ONLY / NOT QUALIFIED SCIENTIFIC POWER

Normal append-only DCO commit 4a3a86588fccd293792dd3c3ab9a648153c1eefc extends this existing PR #323, not a new PR: a pure offline project-owned read-only-to-input replayer scripts/v5_s1_development_calculator_icc_inventory.py, 11 unit/contract tests tests/reliability_v5/test_development_calculator_icc_inventory.py, machine-readable source-bound 72-cell evidence artifacts/v5/development/s1-calculator-icc-inventory-2026-10-10/development-calculator-icc.json (SHA-256 37d64c0f6ac14d04cc6420a020e7bb7997fb333e50729f33798b2d403d292370), methods/limits doc, and an exact-head read-only GitHub workflow. Original 11 input matrix SHA-256 identities are pinned in the replayer, and the original preserved paired-SD evidence hash is frozen at b1edf781b61d3f5ce227c08908ca43ad9864c0b398a7318c33895951af37bacd; an unexpected byte change or failed source/task/prompt/seed identity comparison rejects replay. The new output uses exclusive-create/no overwrite.

Source-bound result: 9 already-existing B1/C1/C2 × fixed seeds 11/29/47 × DEV_EVAL/CAL_EVAL × four original metric definitions = 72 descriptive cells, with 64 calculator IDs × 60 unique source cases per split, no prompt-level pseudo-replication. The one-way ANOVA raw/unclipped calculator effect ICC has median 0.0231171372, min -0.0126448905, max 0.2380776928 (12 negative finite-sample estimates kept, 60 nonnegative). The 72 decomposed whole-split paired SDs reconstruct the earlier saved source-bound 72 SDs with maximum absolute error 3.552713678800501e-15; NO measured confirmatory ICC, no crossed seed/calculator/source covariance and no power certificate. No model run, PHI, paid APIs, confirmatory/reserve identity access, raw patient/case metadata publication, main or frozen science modifications.

Exact local Mac evidence at the new source: focused synthetic + prior inventory tests 15 passed, V5 suite 316 passed +86 subtests, full repo 1,368 passed +264 subtests, Python compilation and diff checks PASS. Totals correspond to this #323 branch (not the different #328 stacked branch). Repo tree clean after normal push. Alibaba OCR eligibility preview only, not independent review.

GitHub Actions exact-head run 38068989562: COMPLETED SUCCESS on commit 4a3a865. The workflow checked out the PR head commit, compiled and ran synthetic integrity tests, and replayed the complete original bound development matrices in an ephemeral destination, checking hashes, 72 records and declared non-qualification flags. All steps PASSED.

Remaining scientific and owner gates: complete prospectively declared independent-reviewed primary non-target Holm hypothesis family; defensible calculator-level inference target (fixed 64 selected rules vs population of rules); source-case × 3 stochastic training-seed covariance, missingness and endpoint coupling; actual per-cell 90% power at familywise alpha=.05/planned N4096 or explicit prospective reviewed power-failure route; genuine external methodology, source/Alibaba OCR reviews, cryptographic signatures and founder merge authority. The GitHub review count remains zero; a DCO footer is not a cryptographic signature. #323 remains DRAFT/UNMERGED and downstream PRs may require a separate requalification after this base branch changes. No confirmatory/replication execution or clinical/paper claim is authorized.

Existing gate: #326.

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.

2 participants