Skip to content

docs(probas,#8081): Infer-7 canonical citations + IRT(Rasch 1PL)/DINA fidelity notes - #8243

Merged
myia-ai-01 merged 1 commit into
mainfrom
feature/infer7-irt-citations-8081
Jul 24, 2026
Merged

myia-ai-01 merged 1 commit into
mainfrom
feature/infer7-irt-citations-8081

Conversation

@myia-po-2023

Copy link
Copy Markdown
Collaborator

Contexte

Suite de l'audit fidélité #8081 (distillation Probas/Infer.NET vs sources originales). Suite de #8238 (Infer-9) + #8239 (Infer-10) : c.846 a pivoté en code-correctness (Sudoku, série CLEAN firsthand). R6 ré-autorise donc 1 cycle citations → Infer-7-Skills-IRT, notebook uncontended (≠ #8205 qui cible Infer-2/11/12 + PyMC-2/11).

Finding firsthand (G.1)

grep Rasch|Lord|Birnbaum|DINA|JEBS|de la Torre|IRT sur Infer-7 = 0 hit. Le notebook couvre l'Item Response Theory (modèle 1PL/Rasch, ability/difficulty) et le modèle DINA (diagnostic cognitif, slip/guess, matrice Q) — concepts fondateurs de la psychométrie sans aucune citation de leurs sources canoniques.

Backfill markdown-only (3 cellules)

Cell Section Action
0 Intro Lineage + 4 sources canoniques (Rasch 1960, Lord 1980, Birnbaum 1968, de la Torre 2009, Rupp/Templin/Henson 2010)
8 Modèle IRT Note de fidélité : identifie P=σ(capacite−difficulte) comme le 1PL/Rasch, explicite la specific objectivity de Rasch, situe les extensions 2PL (discrimination) / 3PL (guessing) de Birnbaum
24 DINA Note de fidélité : les 3 objets canoniques (matrice Q, profil latent binaire, règle Noisy-AND bruitée par slip/guess) + le passage clef IRT→DINA = trait latent scalaire → profil de compétences multidimensionnel discret

Substance ajoutée au-delà d'une registry : cell 8 explicite que le notebook implémente le 1PL/Rasch (le modèle le plus parcimonieux, avec la propriété forte de specific objectivity) et relie probit↔logistique à Infer-9/Bishop ; cell 24 rend explicite pourquoi DINA est un saut conceptuel (multidimensionnalité discrète vs trait scalaire), justifiant toute la section 4.

Références vérifiées firsthand (anti-fabrication, SearXNG multi-sources)

  • Rasch, G. (1960), Probabilistic Models for Some Intelligence and Attainment Tests, Danish Institute for Educational Research.
  • Lord, F. M. (1980), Applications of IRT to Practical Testing Problems, Erlbaum.
  • Birnbaum, A. (1968), dans Lord & Novick, Statistical Theories of Mental Test Scores, Addison-Wesley (2PL/3PL).
  • de la Torre, J. (2009), DINA Model and Parameter Estimation: A Didactic, JEBS 34(1):115–130, DOI 10.3102/1076998607309474.

Validation

  • Markdown-only (exception C.2) : 23 code cells byte-identiques (exec_count/outputs préservés, pas de re-exec).
  • Diff +15/−3 sur 3 cellules markdown, zéro churn (serializer json.dumps(indent=1, ensure_ascii=False) + LF, round-trip byte-stable vérifié). LaTeX matche la convention du notebook (capacite/difficulte sans accents LaTeX, comme la cell 8 originale).
  • JSON valide, nbformat 4.5, 74 cellules préservées.
  • FR (règle readme-french-first).

See #8081 (contribution partielle : ajoute Infer-7 au périmètre d'audit, ne résout pas l'epic).

… fidelity notes

Audit fidelite #8081 : Infer-7-Skills-IRT couvre l'Item Response Theory
(IRT) et le modele DINA (diagnostic cognitif) -- concepts fondateurs de la
psychometrie distilles SANS AUCUNE citation academique (grep
Rasch|Lord|Birnbaum|DINA|slip|guess|Q-matrix|JEBS = 0 hit). Backfill
markdown-only sur 3 cellules :

- Cell 0 (intro) : lineage + 3 sources canoniques (Rasch 1960, Lord 1980,
  Birnbaum 1968 pour l'IRT ; de la Torre 2009 pour le DINA ; Rupp/Templin/
  Henson 2010 pour le diagnostic cognitif general).
- Cell 8 (modele IRT) : note de fidelite identifiant le modele implemente
  P=sigma(capacite-difficulte) comme le 1PL/Rasch (parametre de difficulte
  seul), explicitant la propriete de specific objectivity defendue par Rasch,
  et situant les extensions 2PL (discrimination, Birnbaum) / 3PL (guessing).
  Lien probit vs logistique renvoye a Infer-9/Bishop PRML §4.3-4.5.
- Cell 24 (DINA) : note de fidelite sur les 3 objets canoniques (matrice Q,
  profil latent binaire, regle conjonctive Noisy-AND bruitee par slip/guess)
  et le passage cle IRT->DINA = trait latent scalaire continu -> profil de
  competences multidimensionnel discret (justifiant toute la section 4).

References verifiees firsthand (anti-fabrication, SearXNG multi-sources) :
- Rasch G. (1960), Probabilistic Models for Some Intelligence and
  Attainment Tests (Danish Institute for Educational Research).
- Lord F.M. (1980), Applications of IRT to Practical Testing Problems.
- Birnbaum A. (1968), dans Lord & Novick, Statistical Theories of Mental
  Test Scores (Addison-Wesley).
- de la Torre J. (2009), "DINA Model and Parameter Estimation: A Didactic",
  JEBS 34(1):115-130, DOI 10.3102/1076998607309474.

Markdown-only (exception C.2) : 23 code cells byte-identiques (exec_count et
outputs preserves, pas de re-exec). +15/-3 sur 3 cellules markdown, zero churn
(serializer json.dumps(indent=1, ensure_ascii=False) + LF, round-trip
byte-stable). LaTeX matche la convention du notebook (capacite/difficulte
sans accents LaTeX, comme cell 8 originale).

See #8081 (audit fidelite distillation Probas/Infer.NET ; Infer-7 uncontended,
distinct du scope #8205 qui cible Infer-2/11/12 + PyMC-2/11).
@github-actions

Copy link
Copy Markdown
Contributor

Notebook PR Validation: PASS

  • Notebooks checked: 1
  • Code cells validated: 23
  • Result: All passed

Checks: H.1 (no errors), H.3 (execution_count), C.1 (no banned patterns)
Non-Python kernels (.NET/Lean): C.1 + errors only (execution_count advisory)
QuantConnect notebooks: C.1 + errors only (require QC Cloud for execution)

@github-actions

Copy link
Copy Markdown
Contributor

Golden-Set Execution (H.7 P3)

✅ 8/8 notebooks passed (certified reproducible)

Notebook Status Time
2.1-Workflow-ML.ipynb ✅ SUCCESS 5.0s
2.2-Descente-de-gradient.ipynb ✅ SUCCESS 4.4s
2.3-Regression-lineaire-logistique.ipynb ✅ SUCCESS 4.1s
2.4-Arbres-Forets-Ensembles.ipynb ✅ SUCCESS 5.0s
Search-1-StateSpace.ipynb ✅ SUCCESS 4.0s
SL-1-LogicalLearning.ipynb ✅ SUCCESS 3.1s
rl_4_multi_armed_bandits.ipynb ✅ SUCCESS 25.9s
GameTheory-4c-NashExistence-Python.ipynb ✅ SUCCESS 3.6s

Pinned lockfile: scripts/notebook_tools/golden_set.lock.txt (H.7 P3, axe A #4208)

@jsboige jsboige left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Hermes] COMMENT — Docs citations canoniques IRT/DINA.

Vérifications :

  • Citations fondatrices correctes : Rasch (1960), Lord (1980), Birnbaum (1968), de la Torre (2009), Rupp/Templin/Henson (2010) — sources canoniques de la psychométrie/diagnostic cognitif ✅
  • Note fidélité 1PL/Rasch : distinction 1PL vs 2PL/3PL (Birnbaum), specific objectivity, équivalence lien logistique/probit — conceptuellement juste ✅
  • Note fidélité DINA : matrice Q, profil latent binaire, règle conjonctive Noisy-AND, slip/guess — description fidèle à de la Torre 2009 ✅
  • Le passage IRT scalaire → diagnostic cognitif multidimensionnel justifie bien la structure section 4 ✅
  • Security scan : clean ✅

Aucun changement requis. Citations bien choisies et fidèles aux sources.

@myia-ai-01
myia-ai-01 merged commit 9bf43fd into main Jul 24, 2026
26 of 27 checks passed
jsboige added a commit that referenced this pull request Jul 24, 2026
#8162) -- URGENT fleet blocker (#8255)

* fix(security): strip probeAddresses banner from Infer-6 (re-injected by #8162 re-exec) -- fleet blocker unblock

Le commit d89a6e2 (#8162, "stub-ify viz demo cell 20", merge aujourd'hui 03:33) a
re-execute la cellule 20 de Infer-6-Debugging.ipynb SANS appliquer le strip post-exec.
La banniere probeAddresses (.NET Interactive HTTP-bootstrap, kernel-injected, se
re-injecte a CHAQUE re-exec .NET) s'est donc retrouvez committed dans l'output
data["text/html"] de la cell 20.

Fuite de securite sur un repo PUBLIC : la banniere contient un <script> JS qui appelle
loadDotnetInteractiveApi() -> probeAddresses([...]) avec la liste COMPLETE des
interfaces reseau du runner/contributeur :
  - IPv6 globalement routable Orange-FR /32 : 2a01:e0a:9d4:f320:6701:5a41:8422:35ad
    et 2a01:e0a:9d4:f320:7caf:c5ad:fe00:85e5
  - IPv6 link-local : fe80::902b:f9f6:2003:66a1, fe80::ae60:2bbf:92f7:4e06, ...
  - IPv4 LAN : 192.168.0.51, 172.21.192.1, 172.25.0.1
  - loopback ::1, 127.0.0.1

BLOCKER FLEET-WIDE : le check CI "probeAddresses banner guard" tourne en --scan-all
(pas scope aux fichiers changes), donc cette banniere Infer-6 fait FAILER TOUTES les
PR open du cluster (~20+ : #8238/#8239/#8243/#8249/#8253 + tranches cost-frontmatter
po-2025 + citations po-2023...). Aucune PR ne peut merger tant qu'Infer-6 porte la
banniere.

Fix : strip_probe_banner.py --apply (outil dedie, exception Rule-6 sanctionnee -- la
banniere est un artefact kernel, PAS un output pedagogique reel ; elle se re-injecte
a chaque re-exec .NET, donc le workflow canonique = re-exec PUIS strip, #8162 a oublie
le strip). Remplace data["text/html"] de la cell 20 output[0] (display_data) par "" --
structure output preservee, exec_count et autres outputs intacts. Precedents : #6338
(#6309), #6632 (#6312).

+1/-1, 1 fichier, 1 champ. validate_pr_notebooks.py PASS (17 cells).

Co-Authored-By: Claude <noreply@anthropic.com>

* chore(twin-parity,#8057): rebaseline Probas-6 csharp_sha to post-strip Infer-6 blob

This PR strips the probeAddresses banner from Infer-6-Debugging (changing its
blob). Infer-6 is the C# side of the registered Probas-6 Debugging twin pair, so
per the twin-rebaseline rule (#8264, any PR touching a registered twin must
rebaseline its last_audit sha) this commit updates Probas-6 csharp_sha to the
post-strip blob (21c3019).

Verified via local fleet-merge simulation (merge #8267+#8246+#8250+#8255):
without this rebaseline, Probas-6 re-drifts after the banner strip
(af1ea69 pre-strip -> 21c3019 post-strip). With it, twin-parity goes GREEN
(OK=39) once the unblock sequence lands.

Note: #8267 also sets Probas-6 csharp_sha (to the pre-strip af1ea69, since it
rebaselined before this strip). If #8267 merges first, this line will conflict
trivially -- resolve by keeping THIS value (21c3019), which reflects the
actual post-strip Infer-6 blob.

Co-Authored-By: Claude-Code <noreply@anthropic.com>

---------

Co-authored-by: jsboige <jsboige@gmail.com>
Co-authored-by: Claude <noreply@anthropic.com>
myia-ai-01 pushed a commit that referenced this pull request Jul 25, 2026
… + Junker-Sijtsma DINA (#8530)

* docs(probas,#8081): Infer-7 MBML Ch.2 distillation-source attribution + Junker-Sijtsma DINA

Add markdown cell '### Origine pedagogique : MBML Ch.2' linking Infer-7-Skills-IRT
to its distillation source (MBML Ch.2 'Assessing People''s Skills', mbmlbook.com),
completing academic attribution with Junker & Sijtsma (2001) for DINA. Rasch/Lord
already present via #8243 (audit #8087 row partially stale). Markdown-only, +1 cell.

See #8081, #8087.

Co-Authored-By: Claude <noreply@anthropic.com>

* chore(twin-register,#8057): rebaseline Probas-7 csharp_sha post #8081 Infer-7 enrich

PR #8530 enriched the C# twin (Infer-7 MBML Ch.2 Junker-Sijtsma DINA
attribution) -> twin-parity gate #8057 flagged DRIFT (blob moved, registry
SHA stale). Refresh csharp_sha to the new git blob (7723219...) per the
manual per-entry procedure (cf #8508). python twin (PyMC-7) untouched,
python_sha unchanged.

Co-Authored-By: Claude-Code <noreply@anthropic.com>

---------

Co-authored-by: Claude <noreply@anthropic.com>
@jsboige
jsboige deleted the feature/infer7-irt-citations-8081 branch September 2, 2026 13:14
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.

3 participants