Notre avis
Analyse les manuscrits et le code d'un dépôt pour repérer les utilisations de W₁ au lieu de la métrique W₂ imposée, puis génère un rapport de mise en conformité.
Points forts
- Détecte à la fois les incohérences de notation dans les manuscrits et les appels de code sans ordre explicite.
- Croise les résultats avec la norme de notation canonique de notation.md.
- Produit un rapport structuré avec fichier, ligne, problème et correction suggérée.
- Ne modifie aucun fichier sans confirmation explicite.
Limites
- Spécifique à un projet : nécessite notation.md et la convention W₂.
- Ne vérifie que les motifs W₁/W non subscriptés, pas la validité mathématique globale.
- Ne corrige pas automatiquement les problèmes détectés.
Lorsque la phase 0 exige de vérifier que toutes les références à Wasserstein utilisent W₂ comme métrique principale.
Lorsque vous devez corriger directement les incohérences ou que le dépôt ne suit pas la convention W₂.
Analyse de sécurité
SûrThe skill only reads and analyzes files for pattern inconsistencies, generating a report; it does not execute any destructive, data-exfiltrating, or obfuscated operations.
Aucun point d'attention détecté
Exemples
/wasserstein-audit all/wasserstein-audit papersRun the Wasserstein consistency audit across the codebase and report blocking issues./wasserstein-audit — Audit Wasserstein Order Consistency
Scan all manuscript drafts and codebase for W₁ vs W₂ inconsistencies. Resolves the blocking Phase 0 deliverable: the legacy P01 manuscript uses W₁ in several places while project convention mandates W₂ as the primary metric.
Usage
/wasserstein-audit
/wasserstein-audit [papers|code|all]
Example: /wasserstein-audit all
What this does
- Reads
papers/shared/notation.md(canonical notation standard, Wasserstein Audit section) - Scans manuscript
.mdfiles underpapers/for W₁, unsubscripted W, ambiguous W_p - Scans Python files under all domain packages for Wasserstein calls without explicit
p=2 - Cross-references findings against what notation.md already has "verified"
- Produces a structured reconciliation report — does not fix anything without confirmation
Manuscript patterns that trigger a flag
| Pattern | Issue |
|---|---|
| W_1 / $W_1$ / W_{1} | W₁ usage — needs justification or must change to W₂ |
| $W$ (unsubscripted) | Always flag — violates notation standard |
| bottleneck without alongside Wasserstein | Sole metric violation |
| wasserstein without explicit order nearby | Ambiguous |
Code patterns that trigger a flag
| Pattern | Issue |
|---|---|
| wasserstein_distance(a, b) with no p= arg | Default may not be W₂ in all library versions |
| p=1 or order=1 near Wasserstein call | Explicit W₁ usage |
| bottleneck_distance(...) | Must not be used as sole metric |
| gudhi.wasserstein.wasserstein_distance without order=2 | gudhi default not guaranteed |
Report format
## Wasserstein Audit Report — YYYY-MM-DD
### Manuscript Findings
| File | Line | Found | Issue | Suggested Fix |
### Code Findings
| File | Line | Found | Issue | Suggested Fix |
### Status
- Blocking Phase 0: YES / NO
- Total issues: N (manuscript: N₁, code: N₂)
### Recommended Actions
Library defaults (reference)
persim.wasserstein_distance— p=2 by default ✓gudhi.wasserstein.wasserstein_distance— requires explicitorder=arggiotto-tdaWasserstein vectorisation — p=2 by default ✓- W₁ in theory proofs is acceptable in Methods sections if clearly labelled and distinguished from the computational metric used
TDD Red-Green-Refactor
Testing
Skill qui guide Claude a travers le cycle TDD complet.
Audit d'Accessibilité Web
Testing
Réalise un audit d'accessibilité web complet selon les normes WCAG.
Générateur de Tests UAT
Testing
Génère des cas de test d'acceptation utilisateur structurés et complets.