Detector-learner: one benchmark, scripts moved, critic with realistic suggestions (D-120)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
maximeandClaude Opus 5.5 committed 2026-11-03 15:12:24 +01:00
1 parent 98be20a2bc
commit 98c3308ca7
14 files changed
+291 -284

No files matched your search

+2 -5
View File
@@ -22,7 +22,7 @@ import sys
from datetime import datetime, timezone
ICI = os.path.dirname(os.path.abspath(__file__))
sys.path.insert(0, ICI)
sys.path.insert(0, os.path.join(ICI, "..", "detector-learner"))
import score # noqa: E402
RACINE = os.path.normpath(os.path.join(ICI, "..", "..", ".."))
@@ -30,10 +30,7 @@ HISTORIQUE = os.path.join(RACINE, "vues-deplacements", "benchmark", "historique.
TOUTES = "toutes"
def version():
def git(*a):
return subprocess.run(["git", "-C", RACINE, *a], capture_output=True, text=True).stdout.strip()
return git("rev-parse", "--short", "HEAD") + ("+" if git("status", "--porcelain", "--", "detectors") else "")
version = score.version
def mesurer():