Loop renamed events-learner; end benchmark on the same events; spec reduced to the why (D-092)
- /boucle becomes /events-learner: skill and scripts in .claude/skills/events-learner/, sessions in events-learner/, spec vues-deplacements/contexte/events-learner.md, end page out/events-learner_<session>.html, commits "Learn <STATION> ..."; history keeps /boucle, the review page reads both. - No benchmark-fin.txt: the end benchmark is the last kept modification's, on the same events as the start. - The spec keeps only the why; the how lives in the skill and agents. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
79d83be3ff
commit
3b732adc52
169 files changed
+231
-288
No files matched your search
@@ -17,7 +17,7 @@ import re
|
||||
import sys
|
||||
|
||||
ICI = os.path.dirname(os.path.abspath(__file__))
|
||||
sys.path.insert(0, os.path.join(ICI, "..", "boucle"))
|
||||
sys.path.insert(0, os.path.join(ICI, "..", "events-learner"))
|
||||
import detecteurs # noqa: E402
|
||||
from comparaison import ROOT, open_served # noqa: E402
|
||||
|
||||
@@ -37,10 +37,10 @@ def station_de_l_event(event):
|
||||
|
||||
|
||||
def lot_d_origine(event, fiche, station):
|
||||
m = re.search(r"séance `?(?:boucle/)?(\d{4}-\d\d-\d\dT\d{4}Z)", fiche)
|
||||
m = re.search(r"séance `?(?:(?:boucle|events-learner)/)?(\d{4}-\d\d-\d\dT\d{4}Z)", fiche) # boucle/ : avant D-092
|
||||
if not m:
|
||||
return None
|
||||
for builder in sorted(glob.glob(os.path.join(ROOT, "boucle", f"{m[1]}_{station}", "lot-*", "builder.md"))):
|
||||
for builder in sorted(glob.glob(os.path.join(ROOT, "events-learner", f"{m[1]}_{station}", "lot-*", "builder.md"))):
|
||||
# avant D-086, les builders écrivaient « Cas créés » et C-xxx
|
||||
if re.search(rf"\*\*(?:Cas|Events) créés\*\*.*\b[CE]-{event[2:]}\b", lire(builder)):
|
||||
return os.path.dirname(builder)
|
||||
|
||||
Reference in new issue
Block a user