Repository navigation
feat(ict,#5681): co-localisation inter-lentilles SAE↔J-Lens (lens_agreement.py + 9 tests) — verdict négatif honnête - #7286
Conversation
…eement.py + 9 tests) Jambe *lens-agreement* de la triade d'evenements du capstone axe-derivee-temporelle (#7259). Nouveau module numpy-only `ict/lens_agreement.py` : les lentilles SAE et J-Lens s'allument-elles aux MEMES positions de token ? Reutilise la primitive deja mergee `ict.workspace.event_colocalization` (#7274, distance plus-proche-voisin symetrisee + null par rotation) — n'ajoute pas de statistique, fournit la glue INTER-lentille que la primitive laisse a l'appelant (distincte de la co-localisation INTRA-lentille beauty<->ignition que #7274 cablait). - `lens_ignition_centers` : centres d'ignition (+ T) par prompt pour une lentille. - `colocalize_lenses` : agrege les verdicts event_colocalization sur les prompts partages, chaque lentille selectionnant ses propres features differentielles (espaces disjoints, cf tete-a-tete sec. 8.3) ; concentration scalaire = monnaie commune. - 9 tests (tests/test_lens_agreement.py) : detection de rafales plantees, verdicts colocalized/dissociated/undefined, saut sur T incompatible, reproductibilite, numpy-only, integration sur les traces reelles (si presentes). Verdict scientifique honnete (fixtures 9B-Base layer 16) : PAS de co-localisation, robuste la ou le test a de la puissance (z_mean negatif ou nul, jamais positif). Coherent avec la dissociation emergence_gain<->ignition d'ICT-24 et le constat "espaces disjoints" du tete-a-tete ; reconnecte le negatif au Gate 5 de la synthese (la jambe temporelle discrimine orthogonalement). Un resultat negatif est un resultat scientifique valide. Verification : pytest tests/ = 452 passed, 2 skipped (aucune regression). See #5681, #7259, #4588 Co-Authored-By: Claude <noreply@anthropic.com>
|
Independent GLM peer-verify (po-2023, EXEC_PROVED — strongest level). PR had 0 reviews. Ran the full suite firsthand in a fresh worktree ( All 9 tests PASS, including Reproduced the honest-negative verdict on real fixtures (independent repro vs PR body table):
The high-power config matches to 2 decimals (−0.1138 vs −0.116). The default-config z (−0.0245 vs −0.007) differs within expected rotation-null sampling noise (n_null=200, only 4 informative prompts → high variance). Verdict honesty confirmed: no co-localization where the test has power. Code review (math + architecture):
Scope of this check (honest): I verified module logic + test execution + real-fixture verdict reproduction + anti-duplication. I did NOT re-derive the Dehaene/Grün theoretical framing or audit the upstream No CHANGES_REQUESTED — sound engineering, honest negative verdict reproduced firsthand. (Worker po-2023 does not merge/approve; informational peer-verify.) |
… flag (+9 regression tests) (#11084) * feat(guard,#11044): recalibrate FP organ — cited verdicts no longer flag as concerns Measured defect (triage po-2024:CoursIA-2, window 07-14..07-20): 11/64 flagged signals were positive reviews quoting a verdict they did not emit ("No CHANGES_REQUESTED", "Verdict : COMMENT_WITHOUT_CONCERNS", "the CHANGES_REQUESTED reflects a pre-fix state"). An organ crying wolf 17% of the time is an organ that gets ignored — the exact mechanism by which the 42 real nits slipped through. Four calibrated layers, each anchored to named PRs: - CITERS (occurrence-level citation guard): negation ("No", "Pas de", "without"), definite-article narration ("the"), hypothetical modals ("would") in the 30 chars before a marker kill that occurrence. - VERDICT_POSITIVE ("COMMENT_WITHOUT_CONCERNS"): formal verdict overrides prose concern counts (#7583/#7593 resolution narrations). - POSITIVE_MARKERS (soft: "SAFE/Safe to merge", "Verdict : OK"): rescue only bodies with no live concern — mixed Hermes reviews keep flagging. - New CONCERN_MARKERS "SCOPE FLAG"/"scope mismatch": #7298 was caught only by accident; the class was invisible. Recovered 7 true positives on 07-18 alone. Acceptance (falsifiable, per ai-01 Phase 2): the 11 named FPs (#6291 #6699 #6986 #7233 #7243 #7248 #7252 #7284 #7286 #7583 #7593) no longer flag; the 42 NON-LEVE still flag (40 distinct PRs replayed, all >=1 signal kept); founder #10761 still flags (2 signals). End-to-end audit 07-14..07-20 (saturated 400, 07-18->07-20): 26 -> 25 flagged, -8 FP, +7 genuine SCOPE FLAGs. Tests: 13 -> 22 (FP classes, mixed-review and emitted-verdict guards). Co-Authored-By: Claude-Code <noreply@anthropic.com> * fix(#11045): cover English 'before merge' demand phrasing (2 measured FNs #594/#590) Window 04-23..04-30 triage (Epic #11044) exposed 2 false negatives: PRs merged with zero lift while reviews demanded 'issues that should be addressed before merge' (#594) and 'CRITICAL - Must fix before merge' (#590). 'avant merge' was already a marker; its English mirror was not. One marker covers both FNs. Acceptance re-run: 11 FP unflagged, 40 NON-LEVE still flagged, both FN PRs now flag, 24/24 tests. Co-Authored-By: Claude-Code <noreply@anthropic.com> * fix(#11045): treat 'previous' as citation word (narrated retraction FP #748) Window 05-01..05-07 triage (Epic #11044): PR #748's flagged signals were the retraction itself - 'CORRECTION - Previous CHANGES_REQUESTED was incorrect... Revised verdict: APPROVE' plus the bot's 'APPROVE - previous CHANGES_REQUESTED retracted'. 'previous' can only narrate a past demand, never issue one. Acceptance re-run: 11 FP unflagged, 40 NON-LEVE still flagged, #748 unflagged, FN corpus #594/#590 and the 5 FLAG-OK of the window still flagged, 25/25 tests. Co-Authored-By: Claude-Code <noreply@anthropic.com> * feat(nits,#11044): 3 narration citers from window 05-08..05-14 (pas/stale/needs rebase) 18 flags / 249 PRs triaged on #11044. 11 FLAG-OK (0 DEFECT-ALIVE on main), 7 FLAG-FP of which 3 mechanized as CITERS: - "pas": FP #860 « **COMMENTED** (pas CHANGES_REQUESTED) » — French negation without « de » (bare form not covered by "pas de"). - "stale": FP #977 « pending dismissal of stale CHANGES_REQUESTED » — re-review request narrating a past reserve. - "needs rebase": FP #887 « CONFLICTING — needs rebase before merge » — procedural demand satisfied by the merge itself (recidive of #729, window 05-01..05-07, retroactively covered). Acceptance: 28 tests pass; harness replays 51 corpus PRs — 11 FP unflagged, 40 NON-LEVE still flagged. Co-Authored-By: Claude-Code <noreply@anthropic.com> * feat(nits,#11044): arrow-citer for conditional verdicts from window 05-15..05-21 8 flags / 194 PRs triaged on #11044. 6 FLAG-OK (1 DEFECT-UNMEASURED visual QA #1253, rest DEFECT-NONE), 2 FLAG-FP: - #1247 « Si Static validation rouge → CHANGES_REQUESTED » : conditional future verdict. An arrow immediately before a marker is a derivation, never an emission — handled in _is_cited (not CITERS) since the arrow is not a word. - #1138 « Awaiting ... review before merge » : procedural note, accepted as residual FP (the awaited review flags on its own concerns). Acceptance: 30 tests pass; harness replays 51 corpus PRs — 11 FP unflagged, 40 NON-LEVE still flagged. Co-Authored-By: Claude-Code <noreply@anthropic.com> --------- Co-authored-by: jsboige <jsboige@gmail.com> Co-authored-by: Claude-Code <noreply@anthropic.com>
Résumé
Jambe lens-agreement de la triade d'événements du capstone axe-dérivée-temporelle (#7259) — la moitié GPU-free de l'approfondissement SAE↔J-Lens (#5681, B-A1).
Nouveau module numpy-only
ict/lens_agreement.py: les lentilles SAE et J-Lens s'allument-elles aux MÊMES positions de token ? Vivant dans des espaces disjoints (features SAE creuses exactes vs directions singulières J-space rang-k, cf tête-à-tête sec. 8.3), les deux lentilles n'ont pas de features comparables — la concentration scalaire par position (Gini) est la monnaie commune, et la co-localisation temporelle des ignitions est la bonne question.lens_ignition_centers— centres d'ignition (+ longueurT) par prompt pour une lentille (concentration → seuil quantile →ignition_events).colocalize_lenses— agrège les verdicts prompt par prompt sur les prompts partagés ; chaque lentille sélectionne ses propres features différentielles.Réutilisation (anti-duplication)
Le module n'ajoute aucune statistique : il réutilise la primitive déjà mergée
ict.workspace.event_colocalization(#7274 : distance plus-proche-voisin symétrisée + null par rotation circulaire, supérieure à Jaccard car tolérante aux quasi-coïncidences). #7274 câblait cette primitive pour la co-localisation INTRA-lentille beauty↔ignition ; ce module la câble pour la co-localisation INTER-lentille SAE↔J-Lens — complémentaire, pas redondante. La glue d'agrégation multi-prompts que la primitive laisse explicitement à l'appelant vit ici.Verdict scientifique — NÉGATIF honnête (pas de co-localisation)
Mesuré sur les fixtures 9B-Base couche 16 (2699 tokens, 20 prompts × 5 registres). Le verdict robuste là où le test a de la puissance est : pas de co-localisation.
z > 0= ignitions plus proches qu'au hasard (co-localisées) ;z < 0= plus éloignées.Lecture honnête :
pers=2, les 20 prompts contribuent, 0undefined),z_meanest négatif (−0.116 / −0.145) : les ignitions des deux lentilles sont, si quelque chose, plus éloignées qu'au hasard. Jamais co-localisées.colocalized(q=0.85 pers=3, z=+0.206) est sous-dotée en puissance : 12/20 promptsundefined(une lentille n'allume aucune ignition persistante). Elle est reproduite par un positif fallacieux dans le CONTROL shuffled (z=+0.150 à q=0.9 pers=3) → c'est un artefact de faible puissance, pas un signal.n_ign_b∈ {0, 1}) ; àpers=3le test manque de prompts informatifs. Le module reporten_ign_a/n_ign_bpar prompt et distingue les promptsundefined(flux vide) précisément pour rendre cette limite lisible.Cohérence avec le corpus ICT : ce négatif prolonge la dissociation
emergence_gain↔ignitiondéjà observée à ICT-24 (~17 % crédités) et le constat « espaces disjoints » du tête-à-tête ; il reconnecte le négatif au Gate 5 de la synthèse (la jambe temporelle discrimine orthogonalement — Φ/F covarient, la dérivée temporelle non). Un résultat négatif est un résultat scientifique valide ; il n'est pas maquillé en co-localisation.Portée & ce qui reste GPU-gaté
Vérification
pytest tests/→ 452 passed, 2 skipped (aucune régression ; les 2 skips = fixtures GPU absentes, gardés parpytest.skip).tests/test_lens_agreement.py: détection de rafales plantées, verdictscolocalized/dissociated/undefined, saut surTincompatible, reproductibilité par graine, module numpy-only (aucune instructionimport torch), intégration sur traces réelles (si présentes → 20 prompts).persistence=3ne franchit le quantile 0.9) + rafales triangulaires (pic au centre), Gini ciblé exactement viaf=(5L+1)/6(invariant d'échelle → la mise à l'échelle par jeu pilotedifferential_featuressans toucher la concentration).Module numpy-only : aucune dépendance torch (le GPU reste confiné aux scripts d'extraction).
See #5681, #7259, #4588