Repository navigation
docs(probas,#8081): PyMC-19 foundational citations (Weibull 1951 / Kaplan-Meier 1958 / Cox 1972) - #8302
Merged
Conversation
docs(probas,#8081): PyMC-19 foundational citations (Weibull 1951 / Kaplan-Meier 1958 / Cox 1972) Mirror of PR #8257 (po-2025, MERGED 2026-07-24) on the Python twin of Infer-19. 3 markdown cells modified, 0 code cells touched, +2311 chars added: - cell[9]: Weibull (1951) citation inline at Weibull intro (section 4) - cell[14]: Kaplan & Meier (1958) citation inline at Exercice 1 (Censure a droite) - cell[20]: Cox (1972) citation at Conclusion + new ### References section with the 3 primary papers + Salvatier et al. (2016) PyMC3 paper Grain: MED/notebook-probas-pymc19-citations. Lane: myia-po-2023:CoursIA-2. See #8081 (axis-1 fidelity, partial). Co-Authored-By: Claude-Code <noreply@anthropic.com> @
Contributor
Notebook PR Validation: PASS
Checks: H.1 (no errors), H.3 (execution_count), C.1 (no banned patterns) |
Contributor
Golden-Set Execution (H.7 P3)✅ 8/8 notebooks passed (certified reproducible)
Pinned lockfile: |
This was referenced Jul 24, 2026
This was referenced Jul 24, 2026
Merged
Merged
jsboige
pushed a commit
that referenced
this pull request
Jul 24, 2026
… c.844/c.845/c.847 omissions) (#8322) Sub-grain sha-only-rebaseline of MY OWN omissions from c.844 (PyMC-19 citations #8302), c.845 (Infer-18 citations #8307), and c.847 (PyMC-18 citations #8314). All 3 PRs MERGED on main without rebaselining the twin_pairs.yaml sha → 4 sha stale on Probas-18 (Python+ C#) + Probas-19 (Python). Verified firsthand via git ls-tree HEAD, zero content asymmetry (triage jsboige OWNER #8264 comment 3, 2026-07-24T10:15Z). Scope: ONLY MY entries (Probas-18, Probas-19). NOT touching Probas-15 (jsboige CAP #8280) nor ML-7 (po-2024 CAP #8284) — G-VAR-2 batch-rebaseline = ai-01 CAP. Method: byte-surgical +5/-5 hand-edit on twin_pairs.yaml (L963 ★★★, NOT check_twin_parity.py --update which churns YAML +298 lines). Validation: check_twin_parity.py --check: OK=36 DRIFT=3 (was OK=36 DRIFT=3; my 2 pairs moved DRIFT→OK, 2 NEW DRIFTs appeared from jsboige/po-2024 work = their CAP). See #8264. See #8057. Co-authored-by: myia-po-2023 <po-2023@myia.ai> Co-authored-by: Claude-Code <noreply@anthropic.com>
jsboige
added a commit
that referenced
this pull request
Jul 28, 2026
…MBML/Pearl/Kschischang-Bishop) (#8651) * docs(probas,#8081): add canonical citations to PyMC-3 Factor-Graphs (MBML / Pearl / Kschischang-Bishop) PyMC-3 (Murder Mystery / factor graphs) was the residual of the #8081 Probas citation-distillation rollout: PyMC-15/16/17/18/19 all anchored in prior cycles (#8302/#8314/#8334/#8339/#8348), but PyMC-3 carried zero canonical citations despite being built on MBML's flagship example (verified firsthand). Adds 4 inline citation blockquotes (PyMC-18 #8314 format), one per conceptually- relevant section: - section 1 Murder Mystery -> Winn & Bishop (2019), Model-Based Machine Learning, Ch.1. - section 2 Explaining Away -> Pearl (1988), Probabilistic Reasoning, section 3.3 (collider). - section 3 Monty Hall -> vos Savant (1990) / Gill (2011, Comptes Rendus Mathematiques). - Conclusion factor graphs + sum-product -> Kschischang-Frey-Loeliger (2001, IEEE TIT 47(2):498-519) + Bishop (2006) PRML section 8.4, with the EP-vs-MCMC mapping. Markdown-only (C.3 exception, no re-exec): code cells byte-identical (source + outputs + execution_count 1-8, verified canonical-JSON deep compare, 0 changed). Exactly 4 markdown cells changed [2,8,10,17]. +13/-3 diff is benign nbformat line-wrap normalization (no content loss). nbformat VALID, LF-only 0 CR. Catalogue byte-identical. Format matches precedent (French-accented blockquotes, PyMC-18 style). See #8081 (Probas distillation audit, partial - closes PyMC-3 residual). See #4956 (twin marathon - Infer-3 <-> PyMC-3 registered semantic twin). Co-Authored-By: Claude-Code <noreply@anthropic.com> * chore(twin-register,#8651): rebaseline Probas-3 python_sha after citation PR Markdown citation edit (PR #8651) moved the PyMC-3 Factor-Graphs blob SHA (9f0c7a4 -> 3e358b9); the twin-parity registry lagged, tripping the only red check (Twin parity audit #8057). Rebaseline via check_twin_parity --update; known_differences left untouched (the source-attribution gap is closing, not widening -- ai-01 c.28 review). DRIFT=0 after rebaseline (123 OK). Co-Authored-By: Claude-Code <noreply@anthropic.com> --------- Co-authored-by: po-2024-worker <ai@myia.fr> Co-authored-by: Claude-Code <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Grain: MED/notebook-probas-pymc19-citations — lane myia-po-2023:CoursIA-2 — prev: MED/docs-hygiene (c.839), tool twin-parity (c.840/c.842)
c.844 — PyMC-19 foundational citations (#8081 axis-1, Python twin of #8257)
Scope
PR de citations canoniques sur le notebook Python de l'analyse de survie, miroir de la
PR #8257 (po-2025, MERGED 2026-07-24) qui a couvert le jumeau .NET Infer-19.
Issue epic #8081 (axe-1 = fidélité distillation = citations canoniques) : la tranche
GameTheory / Infer / PyMC a déjà été resyncée pour #7594 / #6855 / #7610 / #4365 / #5081
(GameTheory), et pour Infer-2 / Infer-11 / Infer-12 / PyMC-2 / PyMC-11 / Infer-13 /
Infer-19 (c.830-c.834 + c.838 + #8257). Cette PR comble le dernier gap du corpus 19 :
le notebook PyMC-19-Survival-Analysis (jumeau Python de Infer-19, créé #5346) cite
Weibull, Kaplan-Meier et Cox sans référence aux papiers primaires fondateurs.
Changements
Substance : 1 fichier modifié, +30/-2 lignes (atomic, G.4 strict, byte-surgical).
k")> *Origine.*inline)> *Reference.*inline)### Referencesavec les 3 papiers primaires annotésTotal : +2311 chars sur 3 cellules markdown, 0 cellule code touchée, 0 output hand-édité.
Méthode (byte-surgical, anchor vérifié verbatim)
Lecture first-hand de PR docs(probas,#8081): Infer-19 Survival foundational citations (Weibull 1951 / Kaplan-Meier 1958 / Cox 1972) #8257 (
gh pr view 8257 --json body) pour confirmer lepattern appliqué au jumeau .NET :
> *Origine.* Weibull (1951, *J. Applied Mechanics* 18(3):293-297)> *Reference.* Kaplan & Meier (1958, *JASA* 53(282):457-481)\n\n---\n\n### References\n\n**Sources fondatrices (papiers primaires).**\n\n- Weibull (1951) ...\n- Kaplan & Meier (1958) ...\n- Cox (1972) ...Lecture first-hand du notebook PyMC-19 : 21 cellules (13 markdown + 8 code). Vérifié
que les cellules équivalentes existent et n'ont pas déjà la citation :
k" sans citerPatch Python (json + LF-only) : 3 listes
cells[i]['source']reconstruites verbatim(lignes originales + lignes ajoutées), assertion d'ancrage
actual == oldavant chaquemodification, écriture binaire
f.write(json.dumps(...).encode('utf-8'))pour préserverLF-only (cf L965 ★ de c.840). Total diff :
+30/-2cellules (nbformatindent=1).Citation Salvatier et al. (2016) ajoutée au References — moteur NUTS utilisé dans le
notebook (peer-reviewed PeerJ Computer Science 2:e55). Différencie PyMC-19 du jumeau
.NET (qui cite Lawless + documentation Infer.NET).
Verifications
+30/-2strict, 1 fichier, 1 sujet (= tranche PyMC-19 pedagogy post-docs(probas,#8081): Infer-19 Survival foundational citations (Weibull 1951 / Kaplan-Meier 1958 / Cox 1972) #8257).COURSE_CATALOG.generated.json/.mdnon touchés (aucun marqueurCATALOG-STATUSdans PyMC-19, donc pas de pollution catalogue).raw.count(b'\r\n') == 0sur le fichier post-patch ✓.0 cellule code touchée, 0 output hand-édité (exception C.2 confirmée).
validate_pr_notebooks.py PyMC-19-Survival-Analysis.ipynb:PASS (8 code cells,
execution_count+outputscohérents).audit_c1_c3.py --family Probas: 58/58 PASS, 0 violation.git diff --name-only= 1 fichier(PyMC-19-Survival-Analysis.ipynb). Pas de contamination scratchpad (body généré hors
worktree, cf L677-L4 ★★).
EXEC_PROVED) + SearXNG/WebFetch (références bibliographiques canoniques 1951/1958/1972).
Pas de fabrication.
API_KEY|TOKEN|sk-|ghp_|AIza|os.getenv("KEY", "literal")surdiff → 0 hit.
notebook-citations PyMC twin≠notebook-citations C# twin(docs(probas,#8081): Infer-19 Survival foundational citations (Weibull 1951 / Kaplan-Meier 1958 / Cox 1972) #8257) ≠ vagues c.830-c.834 (Infer-2/11/12/PyMC-11) ≠ c.838 (Crowdsourcing) —substance genuinely distincte (litmus L954 ★ OK : PyMC-19 = NUTS + arviz LOO + Sal-
vatier 2016 ≠ Infer-19 EP + Lawless + Variable.GammaFromShapeAndRate).
c.841 hub-resync + c.843 abort (collision L898 ★★★) → 4ᵉ pivot distinct, R6 variété
respectée.
Hors scope (pour mémoire)
PR docs(probas,#8081): Infer-19 Survival foundational citations (Weibull 1951 / Kaplan-Meier 1958 / Cox 1972) #8257 body pour les ancres canoniques exactes (Cox JRSS 34(2):187-202 vs PyMC-19
34(2):187-220 : la pagination exacte diffère selon éditions — j'ai pris 187-220 qui
est l'édition JRSS Series B la plus couramment citée ; si MERGE reviewer veut aligner
sur 187-202 = édition originale docs(probas,#8081): Infer-19 Survival foundational citations (Weibull 1951 / Kaplan-Meier 1958 / Cox 1972) #8257, fix trivial sub-1min).
pratiques, pas des concepts fondateurs.
post-cascade.
Liens
distillation MBML/Infer.NET, axe-1 = citations canoniques)
MERGED 2026-07-24, po-2025), #8247
(Infer-13 Crowdsourcing, po-2023, MERGEABLE), #8234
(PyMC-2 GMM, po-2023 c.834, MERGEABLE), #8230
(Infer-12 Hierarchical, MERGEABLE), #8231
(Infer-2 GMM, MERGEABLE), #8232
(Infer-11 LDA, MERGEABLE), #8233
(PyMC-11 LDA closes docs(probas,#8081): sub-issue batch citations canoniques — Infer-11 + PyMC-11 + Infer-12 + Infer-2 + PyMC-2 #8205, MERGEABLE)
par chore(twin-parity,#8264): rebaseline 13 Probas/Infer.NET-PyMC pairs (sha-only drift, 19→6) #8282 c.842), c.844 = pivot vers PyMC-19 citations (fresh sub-grain, mirror docs(probas,#8081): Infer-19 Survival foundational citations (Weibull 1951 / Kaplan-Meier 1958 / Cox 1972) #8257).
R6 variété respectée.
🤖 Generated with Claude Code