API: stability tool (daily corr_y medians per target), only cited target names on camera images
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
8ba75b92fa
commit
5052a3940d
7 files changed
+91
-8
No files matched your search
+10
-1
@@ -229,12 +229,21 @@ def check_image_proche():
|
||||
leve(b._image_proche, "20200101T0000Z")
|
||||
|
||||
|
||||
def check_stabilite():
|
||||
b = boite(seance_temporaire(), "LENZSPITZE")
|
||||
t = b.executer_analyste("stabilite", {"station": "LENZSPITZE", "du": "2026-10-16", "au": "2026-10-20",
|
||||
"hors": ["2026-10-17T00:00Z/2026-10-18T00:00Z"]})
|
||||
assert "1017" in t and "étendue" in t, t[:400]
|
||||
ligne = next(l for l in t.splitlines() if l.startswith("1017 "))
|
||||
assert ligne.split()[1] == "3", ligne # 4 jours, dont le 17 écarté
|
||||
|
||||
|
||||
def check_stations_dans_la_seance():
|
||||
from outils import AVEC_SORTIE
|
||||
assert "stations" in AVEC_SORTIE
|
||||
|
||||
|
||||
CHECKS = [check_image_proche, check_max_tokens, check_sans_repli, check_capture_reduite, check_stations_dans_la_seance, check_boucle, check_erreur, check_cout, check_source, check_outil_qui_leve, check_lecture_refusee,
|
||||
CHECKS = [check_stabilite, check_image_proche, check_max_tokens, check_sans_repli, check_capture_reduite, check_stations_dans_la_seance, check_boucle, check_erreur, check_cout, check_source, check_outil_qui_leve, check_lecture_refusee,
|
||||
check_chemin, check_station_absente, check_detecteurs, check_plafond, check_image, check_compiler]
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
||||
Reference in new issue
Block a user