This repository has been archived on 2026-11-25. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
MeltMind-Archive/docs/s1-real-scoring-review-release-2026-11-14.txt
T

60 lines
6.7 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
(5 total) ===
--- Reply 1 of 5 ---
From: Frank14f <frank14wyq@gmail.com> (U0C7U0YA91S)
Time: 2026-11-14 16:04:08 CST
Message TS: 1794643448.927799
<@U0C7SSQLBJ7|ClaudeWorker (local)> MoldAstra 定点复核:已将 15:43 裁决写入原 M2 v1.2 页首并从 Drive 回读:https://drive.google.com/file/d/1LDZBY2n2OrL2ipnH18wyZLJgV72rqhPd/view 。1407 为全局流,2000 次等权重抽 24 个已算好的来源配对差,双侧 95% linear percentile 单独决定两项主对比排序;1406 按件、200 次同复本配对,只报查询抽样不确定性。请在结果表把 1407 标为「固定 LOPO 配对差的来源重加权区间」:不同折共享 22 个训练来源,重抽时没有重新拟合秩映射或近邻池,不能据此承诺重新拟合后对新来源的 95% 覆盖。区间含零(含端点)为未分出先后,不是等效。本轮未运行评分或重复代码审查。
*发送工具* <@U0C7NBV22BG|ChatGPT>
--- Reply 2 of 5 ---
From: ClaudeWorker (local) <botuser-T0C8JMA61UY-B0C7YUHNDFC@slack-bots.com> (U0C7SSQLBJ7)
Time: 2026-11-14 16:04:11 CST
Message TS: 1794643451.382079
Queued behind 1 earlier request(s): “MoldAstra 定点复核:已将 15:43 裁决写入原 M2 v1.2 页首并从 Drive 回…”
--- Reply 3 of 5 ---
From: ClaudeWorker (local) <botuser-T0C8JMA61UY-B0C7YUHNDFC@slack-bots.com> (U0C7SSQLBJ7)
Time: 2026-11-14 16:05:16 CST
Message TS: 1794643516.496129
*Claude: main review of the S1 scorer (`e425419c`). Approved with two pins; the real run can start once Grok's targeted checks pass.*
*What I read:* all of `s1_scoring.py`, with the SHAs of the scorer, I/O module and tests checked against SHA256SUMS. I did not run the 14 tests (no NumPy/SciPy in my sandbox), so I rely on the posted log for those.
*Checked against the M2 v1.2 contract and the 15:3x rulings, all consistent:*
• *Rank weights* = c/ΣcE/P over eligible draws only, with no second m factor. The rank map is the weighted mid-rank Σw·1(<) + ½Σw·1(=), clamped to 0 and 1 outside the range, fitted once on the *true* training features and never refitted for the shuffled arms ✓.
• *Arm columns:* A = (d/t, gate/R_g), B adds (g₁₂, g₂₃, gate q₁, gate q₂), C adds the 4 edge summaries. A+S permutes columns 2–5 and the edge shuffle permutes 6–9. Both reuse one row index per part and seed, permute within each part, and never touch test queries ✓.
• *Stratified shuffle:* uses its own Generator from the same seed and the fixed stratum order. Strata with fewer than 8 slots stay unchanged. Ratios are only formed where the gap is > 0, and are multiplied by the receiving node's gap. The edge audit formulas (bounds and cross-channel order) match the algebra ✓.
• *k-NN:* exact, with 8 distinct physical nodes. D_p is computed directly, ties are broken by stable physical ID, and the radius padding is only there to retrieve candidates ✓.
• *Ratio estimators:* draw-count weighted and restricted to eligible nodes; a zero denominator gives NA. Query bootstrap: 1406, 200 replicates of draw slots. Source bootstrap: 1407, 2,000 replicates over sorted source keys, with the 95 % linear percentile interval and the decision read from the source level only ✓.
• Shortfall gate, source-leakage check, one part per source ✓.
*Two pins before the real run:*
1. *Which estimate decides:* the primary ranking is made on the *five-seed mean* source-level interval. Per-seed results are reported for stability, with how many of the 5 seeds agree with the five-seed decision. The source bootstrap does not cover permutation randomness, which is why the five-seed mean decides.
2. *Supervision:* run the folds sequentially under the existing supervisor (1,800 s / 1.25 GiB per fold). Record the k-NN query counts actually used against `query_cost.csv`.
A known, accepted point: the plain and stratified shuffles start from the same seed stream, so they are correlated. That is acceptable because the stratified control is secondary.
*Release:* once Grok has replayed `synthetic_seed_vectors.json` and checked the mid-rank weight formula, MeltAstra may run the real S1 on all 24 LOPO folds. Results come back as a fixed package covering all arms, contrasts, shuffle and clamping audits, and supervision receipts. No training.
--- Reply 4 of 5 ---
From: Grok (local) <botuser-T0C8JMA61UY-B0C7LEBB5V3@slack-bots.com> (U0C7VDY1HEG)
Time: 2026-11-14 16:05:23 CST
Message TS: 1794643523.014799
*Grok: independent check PASS — seed replay and (1/P)c_E/K_pE midranks*
Pinned commit `e425419c8012127400e8945baa8d04e2953646bd`. I regenerated <https://gitea.frank14f.online/Frank14f/MeltMind/src/commit/e425419c8012127400e8945baa8d04e2953646bd/review/2026-11-14/s1-scoring-code/synthetic_seed_vectors.json|synthetic_seed_vectors.json> (SHA256 `1fe6ccd51d34ce3c4ac056e527d4b459d16f27546ca58184fc19383dbad001a2`) from the published PCG64/SeedSequence contract, without using `s1_seed_vectors.py`. Replay ran on CPython 3.13 + NumPy 2.5.4 against vectors published from NumPy 1.26.4; every byte and digest comparison was identical.
• Permutation seeds 1401–1405, prefix 993, n=31: ordinary and stratified maps and their published digests all match. The size-7 (0,0) stratum is left unchanged; each size-8 stratum permutes only its own IDs.
• Query bootstrap `PCG64(SeedSequence([2026111406, 993]))`, 200 replicates of 11 draw slots: first-three count rows and digest `1890914cf3cbb38e7a24f861ba89609fec2a85ef34b714dd152ce42e6fe6e3bc` match; every row sums to 11.
• Source bootstrap `PCG64(SeedSequence([2026111407]))` with no prefix, 2000×24 keys s00–s23: first-three index rows and digest `d91fbe3b6a196edd85245aa2b3924fcb4d615e08a3d32bb2bbcf96b4334c21ca` match.
The hand formula in `test_weighted_midrank_hand_values` is exact. With P=3 and K_pE=(3, 2, 4) after dropping the ineligible node, weights are 1/9, 2/9; 1/6, 1/6; 1/4, 1/12. Masses at 0, 1, 2 are 5/18, 17/36, 1/4. Midranks (F_left+F_right)/2 are 5/36, 37/72, 7/8; unseen 1.5 takes F_right(1)=3/4; strict tails are 0 and 1. The scorer’s `rank_weights` and `RankMap.transform` agree with these fractions (atol 2e-16). I did not repeat a full review, and I loaded no real descriptors, ranks, or S1 run.
--- Reply 5 of 5 ---
From: ClaudeWorker (local) <botuser-T0C8JMA61UY-B0C7YUHNDFC@slack-bots.com> (U0C7SSQLBJ7)
Time: 2026-11-14 16:05:32 CST
Message TS: 1794643532.162559
*Claude: agreed.* The results table will show the 1407 interval under that label: *"source-reweighting interval over fixed LOPO paired differences (ranks and reference pools not refitted; not a coverage guarantee for new sources)"*. On the endpoint convention, the code already classifies an interval that touches 0 as "no ranking difference" (`ci[1] < 0` → ahead, `ci[0] > 0` → behind, everything else no difference), and the report will word that as "not separated", not as "equivalent".