Repository navigation
docs(probas,#8081): restore MBML Ch.7 founding context (Haiti 2010 / Ushahidi) to Crowdsourcing twins - #8288
Merged
Conversation
…Ushahidi) to Crowdsourcing twins
Infer-13-Crowdsourcing (C# .NET) and PyMC-13-Crowdsourcing (Python) both introduced
the crowdsourcing problem with a GENERIC framing ("annoter des images / items") and
jumped straight to the math formalization -- silently omitting the founding
crisis-mapping motivation that the source they are distilled from opens with.
Verified firsthand (G.1, 2026-07-24) against the canonical source:
- MBML Ch.7 "Harnessing the Crowd" (mbmlbook.com/CrowdSourcing.html, Winn & Bishop)
opens with: "In 2010 a magnitude 7.0 earthquake struck Haiti..."
- Ushahidi (Swahili for "testimony"): created 2008 during the Kenyan post-election
violence to map eyewitness reports; deployed during the Haiti quake; used by
military, UN and NGOs.
- The problem the notebooks model (infer the true latent label from conflicting/noisy
annotations by workers of unequal reliability) is EXACTLY the Haiti/Ushahidi
truth-on-the-ground inference problem.
So omitting it was a PERTE PAR COMPLAISANCE (distillation dropped the motivating
real-world story) -- finding A4a of the #8081 distillation-fidelity audit.
Fix: prepend the verified founding story to the existing "### Contexte" first
paragraph in BOTH twins (identical story -> twin parity preserved). The original
generic paragraph is kept verbatim right after, bridged by "Le meme principe
s'applique a des taches plus routinieres."
Markdown-only (exception C.2): no code cell touched, no execution_count/output
changed, no re-exec needed. Byte-surgical: raw str.replace on the single JSON
source-string element per notebook (json.dumps ensure_ascii=False to preserve
accents matching the file style), no json round-trip. 1 ins / 1 del per notebook,
all other cells byte-identical (Infer-13 50 cells, PyMC-13 43 cells unchanged).
Twin-parity rebaseline (same PR, registry #8057): editing both blobs changes both
shas, so last_audit.python_sha (2f27544 -> dd2ad73) and csharp_sha
(dab2a01 -> 21a8d2a) are rebaselined in twin_pairs.yaml, date/by -> po-2026,
+1 known_differences bullet documenting the backfill. check_twin_parity
Probas-13 [OK] post-commit.
Scope: finding A4 PART (a) only -- the founding crisis-mapping context. Part (b)
(a real-tweets dataset application, MBML Ch.7 sec "Making use of the tweets") is a
separate heavier grain (needs data + re-exec), flagged residual for a later cycle.
Validations: H.3 validate_pr_notebooks 2/2 PASS; detect_solution_leaks 0/0/0 both;
catalog byte-identical to main; check_twin_parity Probas-13 [OK] post-commit;
1 ahead / 0 behind origin/main.
See #8081 (distillation-fidelity audit, finding A4a -- partial: context backfill).
See #3801 (Prong-B substance axis -- content loss by complacency).
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: |
jsboige
deleted the
feature/probas-crowdsourcing-founding-context-8081
branch
September 2, 2026 13:15
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.
Contexte — #8081 finding A4a (audit fidélité distillation, axe contenu)
Infer-13-Crowdsourcing(C# .NET) etPyMC-13-Crowdsourcing(Python) introduisaient le crowdsourcing par un cadrage générique (« annoter des images / items ») et enchaînaient directement sur la formalisation mathématique — en omettant silencieusement la motivation fondatrice (cartographie de crise) dont s'ouvre la source canonique dont ils sont distillés.Vérifié firsthand (G.1, 2026-07-24) contre la source canonique :
Omission = PERTE PAR COMPLAISANCE (la distillation a droppé l'histoire motivante réelle). Finding A4a de l'audit #8081.
Fix — restaurer le contexte fondateur dans les DEUX jumeaux
On préfixe l'histoire vérifiée (Haïti 2010 + Ushahidi, ancrée MBML Ch.7) au premier paragraphe
### Contexteexistant, dans les deux jumeaux (histoire identique → parité sémantique préservée). Le paragraphe générique original est conservé verbatim juste après, pontué par « Le même principe s'applique à des tâches plus routinières. »Markdown-only (exception C.2) : aucune cellule code touchée, aucun
execution_count/output modifié, pas de re-exec. Byte-surgical :raw str.replacesur le single élément de chaîne source JSON par notebook (json.dumps ensure_ascii=Falsepour préserver les accents comme le fichier), pas de round-trip json. 1 ins / 1 del par notebook, toutes les autres cellules byte-identiques (Infer-13 50 cells, PyMC-13 43 cells inchangés).Twin-parity rebaseline (même PR, registre #8057)
L'édition des deux blobs change les deux shas →
last_audit.python_sha(2f27544c→dd2ad73e) etcsharp_sha(dab2a015→21a8d2a1) rebaselined danstwin_pairs.yaml, date/by → po-2026, +1 ligneknown_differencesdocumentant le backfill.check_twin_parity Probas-13 [OK]post-commit.Preuves vérifiables
git diff= exactement 1 élément source-string changé par notebook (visible dans le diff : l'ancienne ligne → nouvelle ligne plus longue), le reste byte-identique.validate_pr_notebooks.py2/2 (Infer-13 + PyMC-13).Probas-13 Crowdsourcing: [OK]post-commit.9068f074f).Scope — partial (A4a uniquement)
Finding A4 partie (a) = contexte fondateur de cartographie de crise (borné, vérifiable, valeur pédagogique haute). Partie (b) = application réelle sur dataset de tweets (MBML Ch.7 sec « Making use of the tweets »), grain plus lourd (données + re-exec) → résiduel, cycle ultérieur.
See #8081(contribution partielle à l'epic, ne clôt pas).Nature du grain
Distillation-fidelity content-backfill (axe substance #3801, ≠ claims↔outputs #8052 drainé, ≠ citations axis-1 mécanique). Famille Probas/Infer.NET-PyMC — c'est l'epic de fidélité de ma lane (po-2026 = Probas/Infer). Genre frais après 2 cycles claims↔outputs (GenAI/Audio, Probas/PyMC DecPyMC, SMT/Z3-API). R6 rotation genre ✓.
See #8081 (distillation-fidelity audit, finding A4a — partial). See #3801 (Prong-B substance axis).
Livré par po-2026 (worker cron). Genre distillation-fidelity après drainage claims↔outputs #8052 (convergence fleet-wide).