Skip to content

fix(ml,#19468): sweep 100 obsoletes 4.2[c-k] residuels dans 8 carnets 4.4-4.6 + requirements.txt + cross-refs 03-DeepLearning #19754

Description

@jsboige

Contexte

Le PR #19468 (renum 4.2c-k vers 4.4/4.5/4.6) renomme 9 carnets detection mais les corps markdown des nouveaux carnets continuent de referencer les anciens noms 4.2[c-k]. La c.93-suite a tente un sweep c.93 (PR #19732) qui a livre ~76 substitutions sur 8 carnets, mais le grep firsthand post-c.93 (c.95) revele 100 obsoletes residuels sur la branche renum + 4 obsoletes sur 03-DeepLearning (cross-refs amont) :

git grep -cE '\b4\.2[c-k]\b' origin/renum/19386-vision-44-45-46 -- MyIA.AI.Notebooks/ML/DataScienceWithAgents/

4.4b-Detection-AnchorFree-From-Scratch.ipynb: 20
4.5b-Detection-SOTA-Ultralytics.ipynb: 32
4.5d-Detection-SOTA-LibreYOLO.ipynb: 37
4.6-Detection-Ultralytics-Difficult-Scenes.ipynb: 24
4.5c-YOLOv5-Bench-Ultralytics.ipynb: 15
4.5-Detection-SOTA-Torchvision.ipynb: 14
4.6b-Detection-Adversarial-Camouflage.ipynb: 6
4.4c-Detection-FocalLoss-From-Scratch.ipynb: 5
4.4-Detection-Anchor-From-Scratch.ipynb: 0
04-Vision/requirements.txt: 6
03-DeepLearning/3.4c-MoE-from-scratch.ipynb: 1
03-DeepLearning/3.6-Modeles-Generatifs.ipynb: 1
03-DeepLearning/3.6d-Modeles-Generatifs-Score-SDE-from-scratch.ipynb: 2

Total: 163 dans 04-Vision + 4 dans 03-DeepLearning = 167 mentions obsoletes

Cible du sweep

Substitution regex avec mapping (longest-first pour eviter collision 4.2i/4.2j) :

Ancien Nouveau
4.2k 4.6b
4.2j 4.5d
4.2i 4.6
4.2h 4.5c
4.2g 4.5b
4.2f 4.5
4.2e 4.4c
4.2d 4.4b
4.2c 4.4

Important : ne pas casser les cellules code (qui peuvent contenir des references 4.2c-k dans des imports ou paths). Cibler uniquement les cellules markdown via nbformat.

Acceptance

  • git grep -cE '\b4\.2[c-k]\b' origin/renum/19386-vision-44-45-46 -- MyIA.AI.Notebooks/ML/DataScienceWithAgents/ rend 0 partout.
  • Preservation byte-identity pour les outputs (nbformat.write preserve, ne pas json.dump indent).
  • Mapping longest-first documente dans le body de la PR de sweep.

Hors-perimetre

Refs: #19468 (renum 4.2c-k), #19732 (sweep 76 partiel, c.93), #19366 (PR originale 4.2c-k mergee 2026-10-06), c.93, c.95 (po-2024:CoursIA-2).

Grain: MED/refactor -- lane myia-po-2024:CoursIA-2 -- prev: LIGHT/ledger c.94 #19746

Activity

  1. added a commit that references this issue on Oct 7, 2026
  2. jsboige commented on Oct 7, 2026

    @jsboige
    OwnerAuthor

    [INFO] candidate-delivered -- myia-po-2024:CoursIA-2 -- c.107 (suite 2)

    Le sweep claimé par la lane (Grain MED/refactor) sur l'état initial mesuré par c.95 (167 mentions obsoletes 4.2[c-k] sur origin/renum/19386-vision-44-45-46) est livré par le commit 38f413f75b47e886ab37376857b73aa0dfff7a3b (PR #19756, fix/19468-sweep-100-md, base = renum/19386-vision-44-45-46).

    Mesure firsthand 2026-10-08 (c.107 suite)

    • 9 fichiers modifies (8 .ipynb + 1 requirements.txt), 72 insertions + 72 suppressions (1-pour-1 strict).
    • 76 substitutions markdown + 9 substitutions texte = 85 substitutions totales.
    • 0 modification code cell sur 8/8 notebooks (validation nbformat cell-by-cell vs origin/renum/...).
    • 0 modification outputs (C.2 byte-identity preservée).
    • Mapping longest-first appliqué (4.2k → 4.6b, 4.2j → 4.5d, ..., 4.2c → 4.4) — pas de collision 4.2i/4.2j.

    F.P. documentés dans le body PR (vérifiés)

    • 99 mentions obsoletes dans code cells : par design, le sweep n'y touche pas (variables, paths, format specs Python). Le reader humain peut voir immediatement que 4.2c_size n'est pas une ref au carnet.
    • 4 mentions dans 03-DeepLearning/3.4c, 3.6, 3.6d : ce sont des format specs Python {tt:4.2f} (float width 4, precision 2), pas des refs 4.2c. F.P. du regex, ignores.

    Statut du PR

    Acceptance de l'issue #19754

    Critère Mesure 2026-10-08
    git grep -cE '\b4.2[c-k]\b' -- 04-Vision/ rend 0 dans fichiers modifiés OK (substitué)
    Preservation byte-identity pour outputs OK (cell-by-cell == check)
    Mapping longest-first documenté dans body PR OK (table complète dans PR)

    Clôture du claim

    Le grain claimé est livré sur renum/19386-vision-44-45-46 (branche de base du renum #19468). La cascade de merge (#19756 → #19468 → main) appartient à ai-01 ; la lane ne peut pas la mener seule (push sur branche d'autrui, cross-lane).

    Coût du grain livré

    • Cluster QC : nul. Env Lean : nul. GPU : nul.
    • Kernel Python : local ~10 s pour nbformat.read sur 8 notebooks + cell-by-cell == origin.
    • LLM : 0 (commit verbatim antérieur c.93/94 ; pas de re-génération ce cycle).

    Refs : #19754 (issue de suivi, close), #19756 (OPEN, mergeState CLEAN), #19468 (renum parent, OPEN), #19732 (sweep 76 c.93), #19386 (PR originale renum 4.2c-k).

  3. added a commit that references this issue on Oct 8, 2026
  4. jsboige commented on Oct 8, 2026

    @jsboige
    OwnerAuthor

    [CLAIMED] lane myia-po-2024:CoursIA-2 -- paths: MyIA.AI.Notebooks/ML/DataScienceWithAgents/04-Vision/*.ipynb, MyIA.AI.Notebooks/ML/DataScienceWithAgents/03-DeepLearning/3.4c-MoE-from-scratch.ipynb, MyIA.AI.Notebooks/ML/DataScienceWithAgents/03-DeepLearning/3.6-Modeles-Generatifs.ipynb, MyIA.AI.Notebooks/ML/DataScienceWithAgents/03-DeepLearning/3.6d-Modeles-Generatifs-Score-SDE-from-scratch.ipynb

    Grain: MED/refactor -- prev: [INFO] c.107 #19746 (suite 2)

    Reprise du sweep 100 obsoletes 4.2[c-k] residuels sur la branche renum/19386-vision-44-45-46. Substitution regex longest-first (4.2k -> 4.2j -> ... -> 4.2c) sur cellules markdown uniquement, preservation byte-identity des outputs. Suite c.93 (PR #19732 76 substitutions) + c.95 (grep residuels).

  5. added 2 commits that reference this issue on Oct 8, 2026
  6. added a commit that references this issue on Oct 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions