Repository navigation
docs(qc,#5780): migrate RiskParity MANIFEST to canonical ## filename.png + Description visuelle field (6 figures) (See #5780) - #8096
Merged
Conversation
…png + Description visuelle field (6 figures)
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/vision-cross-genre — lane myia-po-2024:CoursIA-2 (MiniMax M3, VISION ACTIVE) — prev: DEEP/audit-distillation (c.803)
Résumé
Migre le MANIFEST
QuantConnect/RiskParity(sous-projet QC research Risk Parity portfolio) vers le format canonique## <filename>.png(post-#7771) avec insertion du champ**Description visuelle** : …pour les 6 figures :rp-exploration,rp-h1-inversevol,rp-h2-backtest,rp-h3-tlt,rp-h4-lookback,rp-regime. Couvre l'audit vision fondateur c.454 (0/6 ACCURATE, 6 corrections content-driven appliquées : ratio systemic 6:0 typique L490 c.433→c.438) préservé byte-identity. Sub-genreMANIFEST-desc-visuelle(L778-L1/L2/L3 + L779-L1/L2) pivot cross-genre post-c.801/c.802/c.803 stack outillage/audit → c.804 = cross-famille QC vision-cross-genre (capacité distinctive MiniMax M3 vision, mandat user 2026-07-11).Contexte
Doctrine #5780 amendée par PR #7771 (canonical
## <filename>.pngheaders +**Description visuelle** :field obligatoire, cfextract_readme_figures.py::_append_manifest). MANIFEST RiskParity était en format vague-1 détaillé (table-based Figure/Fichier/Dimensions/Poids/Source/Sujet + Diagnostic G.1 firsthand table). Le detectordetect_manifest_field.py(regex^(#{2,3})\s+(?P<fname>[^\s]+\.png)\s*$) reject ces headers legacy (qui contiennent backticks + em-dash + titre, pas le bare filename.png). Donc le MANIFEST était en violation silencieuse : grandfathered par défaut mais non-conforme au format canonique.c.804 sub-grain (migration doctrine #5780) : la migration préserve 100% du contenu c.454 (audit fondateur G.1, alt-text FR reformulé CONTENT-driven, contenu réel vérifié 6 panneaux, verdict synthétique 0/6 ACCURATE 6/6 corrections content-driven, ratio systemic 6:0 typique L490 c.433→c.438, finding critique = Sharpe headline FAUX 0.399 vs notebook réel 0.544 cell[10]), 6 attributions cell×output confirmées, preuves vérifiables G.1 firsthand vision MiniMax M3, hygiène PR — seule la structure d'en-tête change (legacy table + vague-1 détaillé → canonical
## filename.png+**Description visuelle** :field adjacent avec PIL RGB stats 100×50 + signature chromatique 1-phrase).c.804 sub-grain pivot cross-genre strict post-c.801/c.802/c.803 stack outillage/audit — G-VAR-3 ✓ puisque les 3 grains c.801-c.803 relèvent de genres distincts :
Pivot cross-genre OK : le stack c.801-c.803 était outillage interne (registre/détecteur) + audit (read-only read-heavy), c.804 = substance visuelle directe (vision-QA sur PNG × 6 + PIL RGB stats). G-VAR-2 ✓ : c.804 = MED (substantiel : 6 figures canonical + audit vision M3 firsthand × 6 + cross-référence c.454 audit fondateur), pas LIGHT.
Vision QA capability (mandat user 2026-07-11) : MiniMax M3 (lane po-2024 main-loop) + ai-01 = lanes capables vision, GLM-5.x AVEUGLE. Une tâche dont la valeur dépend du rendu visuel (galeries de figures README, plots générés par notebook) voit son QA visuel routé vers MiniMax ou ai-01, jamais vérifié text-only sur une lane GLM. c.804 = exactement ce cas (audit PNG × 6 + PIL RGB stats).
Modifications
Fichier :
MyIA.AI.Notebooks/QuantConnect/projects/RiskParity/assets/readme/MANIFEST.md+101/-56 atomic (c.187 HARD) :
## rp-X.png(1 ligne) = regex match FIGURE_HEADER_RE**Description visuelle** :field adjacent (5-8 lignes) avec PIL RGB stats + signature chromatique 1-phrase + matplotlib-blanc discriminator tell L778-L2 (5/6 figures) OU heatmap divergente tell L779-L1 NEW (1/6 figure = rp-exploration mean RGB (228,234,217) std B=58 dominant avec bg blanc 61%)**Alt-text (FR)** *(c.454 reformulé CONTENT-driven)*,**Contenu réel vérifié** (audit visuel MiniMax M3, c.454),**Poids**, Verdict synthétique c.454 (0/6 ACCURATE, 6/6 corrections content-driven, ratio systemic 6:0), Finding critique (Sharpe headline FAUX 0.399 vs notebook réel 0.544 cell[10]), Cause racinaire (auto-extraction commentaires cellule sans lecture visuelle), 6 attributions cell×output confirmées, Preuves vérifiables G.1 firsthand (PNG vision-QA MiniMax M3 viaRead), Hygiène PR catalog-pr-hygiene préservés verbatim byte-identity.Tell visuel c.778-L2 + c.779-L1 NEW (vérifié firsthand MiniMax M3 + PIL RGB stats 100×50)
Distinction vs c.783/c.785/c.786/c.787/c.788 tells :
(234, 234, 242))aw-explorationmean RGB (211,180,182) std B=87 dominant bg blanc 22%Profil matplotlib académique par défaut hors seaborn-darkgrid, signature d'un
plt.subplots()+ bar chart standard sanssns.set_theme(). Palettetab10matplotlib pour les bar charts (InversVol/TLT/IEF/GLD),RdBu_rpour la heatmap corrélation divergente, scatter libre pour le Sharpe+MaxDD dual-panel.Conformité
endswith('\n')True)git diff origin/main..HEAD -- "**/CATALOG-STATUS*" "**/COURSE_CATALOG*"= videMANIFEST.md--checkexit 0, 6/6 figures déclarentDescription visuelle, 0 defectRead× 6 + RGB PIL stats (matplotlib-blanc tell L778-L2 confirmé sur 5 figures + heatmap divergente tell L779-L1 NEW sur 1 figure rp-exploration)python -c "data.count(b'\r')" = 0myia-po-2024:CoursIA-2ne lance JAMAIS/coordinate, PR soumise à ai-01 sweep §H.4gh pr viewpost-push)C:\tmp\c804_riskparity_manifest_body.mdgh api repos/jsboige/CoursIA/pulls --method POST -F body=@file## .png+**Description visuelle** :adjacent (post-#7771 amendée doctrine #5780)**Alt-text (FR)** *(c.454 reformulé CONTENT-driven)*,**Contenu réel vérifié** (audit visuel MiniMax M3, c.454),**Poids**, verdict synthétique 0/6 ACCURATE 6/6 corrections, ratio systemic 6:0 typique L490, finding critique Sharpe FAUX 0.399 vs notebook 0.544, cause racinaire auto-extraction commentaires cellule, 6 attributions cell×output, preuves vérifiables G.1, hygiène PR préservés verbatimgit submodule updateeffectué en init worktreegit worktree add C:/dev/CoursIA-2/devCoursIA-2-c804-riskparity-manifest-desc-visuelle -b feature/c804-riskparity-manifest-desc-visuelle origin/main(shared tree dirty)Validation
git diff --stat origin/main..HEAD:1 file changed, 101 insertions(+), 56 deletions(-)(atomic c.187)python scripts/notebook_tools/detect_manifest_field.py --check MyIA.AI.Notebooks/QuantConnect/projects/RiskParity/assets/readme/MANIFEST.md: exit 0,6 figure(s) checked, all declare \Description visuelle`,0 defect(s)`python -c "data.count(b'\r')": 0 CR (LF-only)python -c "data.endswith(b'\n')": True (MD047 OK)grep -nE "sk-|ghp_|AIza|password=|secret=" MANIFEST.md: 0 hits (aucun faux positif, prose FR sans risque de confusion avec « Risk Parity »)Read(MiniMax M3 vision) + RGB stats PIL coherent c.778-L2 (matplotlib-blanc dominant mean RGB 219-244) + c.779-L1 NEW heatmap divergente tell (mean RGB (228,234,217) std B=58 dominant sur rp-exploration variante dual-panel composite)Découvertes scientifiques c.804 (vision-QA MiniMax M3 + cross-c.451-c.453 ML-DOUBLE-NATURE)
rp-h4-lookback = QUASI-PLAT sweep : Sharpe range 0.544→0.580 sur lookback 30-90j, écart Δ=0.036 (< 7% du range). Winner 40j par Sharpe marginal 0.580 vs DD -17.0%. Conclusion : le paramètre lookback est très peu discriminant sur cette stratégie RP, contrairement à AllWeather c.788 aw-h4-sma200 (étagement clair 5 niveaux réduction SMA200). Résultat négatif important : pas d'over-engineering à faire sur ce paramètre (range trop étroit pour mériter un sweep exhaustif).
rp-h1-inversevol = sweep discriminant sur Capital mais pas sur Contribution au Risque : triple-panel bar chart montre que la réallocation de capital (depuis SPY vers TLT) réduit le capital exposé mais la contribution au risque reste dominée par SPY (effet de levier implicite). Anti-pattern classique Risk Parity = surpondérer les actifs à faible volatilité sans ajuster le levier.
rp-h3-tlt = quad-panel TLT Pain analysis : 4 sous-graphiques détaillés sur la douleur subie par l'allocation TLT 2020-2023 (drawdown duration, underwater %, recovery time, peak-to-trough). Std PIL record bas (18-19) = figure très clean avec peu de couleurs saturées, signature d'un plot sobre sur matplotlib-blanc.
rp-exploration = heatmap tell L779-L1 NEW variante dual-panel : la figure combine courbe rendements cumulés + heatmap corrélation sur 2 panneaux côte à côte. Différent de aw-exploration c.788 (matrice corrélation seule) et de lsh-exploration c.783 (seaborn-darkgrid). Tell RGB
(228,234,217)std B=58 dominant = signature heatmap dense sur composite dual-panel.rp-regime = RP perd 2× moins que SPY en Inflation 2022 : mono-panel bar chart rendements par régime macro. Inflation 2022 : RP -9.8% vs SPY -18.6% = RP perd 2× moins. Conclusion positive forte : la stratégie Risk Parity remplit son rôle de décorrélation inflationnaire (TLT/IEF protègent, GLD hedge, DBC commodities).
6 attributions cell×output confirmées : rp-exploration=cell4·out1, rp-h1-inversevol=cell6·out1, rp-h2-backtest=cell8·out1, rp-h3-tlt=cell12·out0, rp-h4-lookback=cell14·out1, rp-regime=cell16·out2 — toutes vérifiables via
research.ipynbre-execution.Finding critique c.454 fondateur : Sharpe headline FAUX 0.399 dans l'alt-text d'origine vs réel 0.544 dans le notebook cell[10]. Inversion factuelle corrigée c.454, propagée verbatim dans la migration c.804.
Cause racinaire systemic 6:0 confirmée RiskParity : les alt-texts d'origine étaient générés par auto-extraction à partir des commentaires de cellule, pas à partir du contenu visuel réel. Le rédacteur original ne pouvait pas voir les PNG (LLM sans vision au moment de la génération initiale) — corrigé c.454 par audit visuel MiniMax M3, préservé verbatim c.804.
Comparaison c.788 AllWeather sweep NUL aw-h3-rebalance vs c.804 RiskParity sweep QUASI-PLAT rp-h4-lookback : les 2 sous-patterns NUL se distinguent :
rp-exploration.pnga mean RGB(228, 234, 217)(vert-bleu-rouge très proches) avec std B=58 dominant (vs autres figures std B<41 sauf rp-exploration) et bg blanc 61% (vs 48-75% ailleurs). 3-prong signature tell = heatmap dense divergenteRdBu_rpalette (rouge = corrélation +, bleu = -, blanc ≈ 0) composite avec courbe rendements. Variante tell L779-L1 NEW vs aw-exploration c.788 (heatmap seule).Out-of-scope (sub-grain c.805+ candidats post-merge)
3 autres MANIFESTs QC project détectés sans
Description visuellefield (avant c.804) :Tracking post-c.804 : si tous 3 fusionnés, EPIC #5780 (MANIFEST canonical doctrine rollout) complète la migration des MANIFESTs QC project non-ML restants.
Lien
MANIFEST-desc-visuelle(L778-L1/L2/L3 NEW) + c.779-L1/L2 NEW tells heatmap divergente + bar-chart-bleu accentgh issue list --state opencross-lane, R5 HARD (jamais siloté)🤖 Generated with Claude Code