Files
oto-enterprise-os-dtp/05_deliverables_mvp/qa/regression/out/regression_plan.json
T
Claude Code DTP Worker 85cd625dac [DTP-Worker 20260812_093114] fix correctness · financement_bancaire gate — un dossier incomplet pouvait afficher percent 100.0 (barre pleine ✓) tout en BLOQUANT
Défaut latent, byte-repro-aveugle : _cond_apport arrondit percent à 1 décimale
(round) tandis que ok est un test exact. Un versement dans la bande [99.95%,100%[
(ex. 19 999/20 000 USD = 99.995%) remonte à percent:100.0 alors que ok=False,
remaining=1 USD → barre frontend « 100% ✓ » qui refuse la soumission + raison
auto-contradictoire « reste 1 USD · 100.0% ». Seul _cond_apport atteignable
(montant continu) ; documents/autorisations = ratios entiers sur listes 13/4,
bande inatteignable.

Fix chirurgical : garde `if not ok and pct>=100.0: pct=99.9` → invariant
d'affichage percent==100.0 ⟺ ok. Échantillon commité à 67.8% (hors bande) →
gate_status_example.json/out rebuild BYTE-IDENTIQUE.

Test à dents test_apport_quasi_complet_ninclut_pas_100pct (mordu sans le fix).
Cascade +1 test : régression 633→634/616→617, plan+MANIFEST+quality_report
régénérés, fiches QA/Backend/CRM re-dérivées. run_ci 33/0/0.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-08-12 09:43:10 +00:00

311 lines
7.5 KiB
JSON

{
"matrix": "OTO QA · Matrice de régression exhaustive",
"version": "1.0",
"reference_cadre": "Roadmap Sprint 8 · QA « Regression tests exhaustifs » · CLAUDE.md #5 (zéro régression silencieuse · niveau 4Big)",
"self_module": "qa/regression",
"thresholds": {
"min_test_files": 1,
"min_methods_per_suite": 8
},
"discover_cmd": [
"python3",
"-m",
"unittest",
"discover",
"-s",
"tests"
],
"coverage": {
"ok": true,
"suites_count": 24,
"gated_in_ci": 25,
"self_module_excluded": "qa/regression",
"self_module_gated": true,
"missing_tests_dir": [],
"not_in_gate": [],
"orphan_tests_dirs": []
},
"suites": [
{
"id": "crm.commissions",
"path": "crm/commissions",
"jobs": [
"crm-commissions-tests"
],
"in_gate": true,
"has_tests_dir": true,
"test_files": 1,
"test_methods": 27
},
{
"id": "crm.dossier_vente",
"path": "crm/dossier_vente",
"jobs": [
"crm-dossier-vente-tests"
],
"in_gate": true,
"has_tests_dir": true,
"test_files": 1,
"test_methods": 31
},
{
"id": "crm.financement_bancaire",
"path": "crm/financement_bancaire",
"jobs": [
"crm-financement-bancaire-tests"
],
"in_gate": true,
"has_tests_dir": true,
"test_files": 1,
"test_methods": 36
},
{
"id": "crm.workflow_vente",
"path": "crm/workflow_vente",
"jobs": [
"crm-workflow-vente-tests"
],
"in_gate": true,
"has_tests_dir": true,
"test_files": 1,
"test_methods": 25
},
{
"id": "demo.scenarios",
"path": "demo/scenarios",
"jobs": [
"demo-scenario-tests"
],
"in_gate": true,
"has_tests_dir": true,
"test_files": 1,
"test_methods": 39
},
{
"id": "devops.deploy_runbook",
"path": "devops/deploy_runbook",
"jobs": [
"devops-deploy-runbook-tests"
],
"in_gate": true,
"has_tests_dir": true,
"test_files": 1,
"test_methods": 29
},
{
"id": "faisabilite.bancable",
"path": "faisabilite/bancable",
"jobs": [
"bancable-tests"
],
"in_gate": true,
"has_tests_dir": true,
"test_files": 1,
"test_methods": 22
},
{
"id": "faisabilite.generator",
"path": "faisabilite/generator",
"jobs": [
"faisabilite-gen-tests"
],
"in_gate": true,
"has_tests_dir": true,
"test_files": 1,
"test_methods": 17
},
{
"id": "fiscal.ecf_dgii",
"path": "fiscal/ecf_dgii",
"jobs": [
"fiscal-ecf-tests"
],
"in_gate": true,
"has_tests_dir": true,
"test_files": 1,
"test_methods": 39
},
{
"id": "frontend.chat_otoia",
"path": "frontend/chat_otoia",
"jobs": [
"chat-otoia-tests"
],
"in_gate": true,
"has_tests_dir": true,
"test_files": 1,
"test_methods": 31
},
{
"id": "frontend.portails",
"path": "frontend/portails",
"jobs": [
"frontend-portails-tests"
],
"in_gate": true,
"has_tests_dir": true,
"test_files": 1,
"test_methods": 19
},
{
"id": "legal.confotur",
"path": "legal/confotur",
"jobs": [
"legal-confotur-tests"
],
"in_gate": true,
"has_tests_dir": true,
"test_files": 1,
"test_methods": 44
},
{
"id": "mobile.app_config",
"path": "mobile/app_config",
"jobs": [
"mobile-app-config-tests"
],
"in_gate": true,
"has_tests_dir": true,
"test_files": 1,
"test_methods": 22
},
{
"id": "pie.manifest",
"path": "pie/manifest",
"jobs": [
"pie-manifest-tests"
],
"in_gate": true,
"has_tests_dir": true,
"test_files": 1,
"test_methods": 20
},
{
"id": "publiciste",
"path": "publiciste",
"jobs": [
"publiciste-tests"
],
"in_gate": true,
"has_tests_dir": true,
"test_files": 1,
"test_methods": 26
},
{
"id": "qa.acceptance",
"path": "qa/acceptance",
"jobs": [
"qa-acceptance-tests"
],
"in_gate": true,
"has_tests_dir": true,
"test_files": 1,
"test_methods": 37
},
{
"id": "qa.audit_4big",
"path": "qa/audit_4big",
"jobs": [
"qa-audit-4big-tests"
],
"in_gate": true,
"has_tests_dir": true,
"test_files": 1,
"test_methods": 37
},
{
"id": "qa.audit_5d",
"path": "qa/audit_5d",
"jobs": [
"qa-audit-5d-tests"
],
"in_gate": true,
"has_tests_dir": true,
"test_files": 1,
"test_methods": 37
},
{
"id": "rbac",
"path": "rbac",
"jobs": [
"rbac-tests"
],
"in_gate": true,
"has_tests_dir": true,
"test_files": 1,
"test_methods": 10
},
{
"id": "rbac.apply_plan",
"path": "rbac/apply_plan",
"jobs": [
"rbac-applyplan-tests"
],
"in_gate": true,
"has_tests_dir": true,
"test_files": 1,
"test_methods": 16
},
{
"id": "rbac.fixtures_gen",
"path": "rbac/fixtures_gen",
"jobs": [
"rbac-fixtures-tests"
],
"in_gate": true,
"has_tests_dir": true,
"test_files": 1,
"test_methods": 11
},
{
"id": "rbac.roleprofile_gen",
"path": "rbac/roleprofile_gen",
"jobs": [
"rbac-roleprofile-tests"
],
"in_gate": true,
"has_tests_dir": true,
"test_files": 1,
"test_methods": 11
},
{
"id": "rbac.userperm_gen",
"path": "rbac/userperm_gen",
"jobs": [
"rbac-userperm-tests"
],
"in_gate": true,
"has_tests_dir": true,
"test_files": 1,
"test_methods": 12
},
{
"id": "seo",
"path": "seo",
"jobs": [
"seo-tests"
],
"in_gate": true,
"has_tests_dir": true,
"test_files": 1,
"test_methods": 36
}
],
"under_threshold": [],
"totals": {
"suites": 24,
"test_files": 24,
"test_methods": 634,
"min_methods": 10,
"under_threshold": 0
},
"verdict": "PASS",
"notes": [
"Harnais de MÉTA-NIVEAU : agrège l'exécution de TOUTES les suites de tests gated du mandat en une seule matrice + un verdict PASS/FAIL. Sprint 8 · QA « Regression tests exhaustifs ».",
"Périmètre PROUVÉ, pas déclaré : les suites sont DÉRIVÉES de .gitea/workflows/ci.yml (réutilise q4lib/registry.parse_ci — zéro duplication · #5), jamais listées à la main. Tout job de test ajouté au CI entre automatiquement dans la matrice.",
"Séparation des pouvoirs (ISA 315) : le harnais s'exclut lui-même (self_module) — il ne s'auto-exécute pas (évite la récursion) et ne se compte pas dans le total régression.",
"ANTI-INVENTION (#6) : le `build` (plan) ne contient AUCUN compteur de résultats (0 test vert écrit à la main) ; seuls des FAITS de disque (fichiers/méthodes test_*) et de CI (job, gate) y figurent. Les compteurs verts/rouges sont produits UNIQUEMENT par `run`, en parsant la sortie réelle de unittest.",
"Distinct de l'audit 4Big : audit_4big note la QUALITÉ statique par module (doc/schema/CLI/hand-off) ; ce harnais prouve que chaque suite S'EXÉCUTE AU VERT et fournit le compte agrégé faisant autorité (« N tests verts »). Axes complémentaires, non redondants."
]
}