Merge tea/parity into P3.5

This commit is contained in:
2026-11-28 16:31:56 -06:00
+1 -1
View File
@@ -192,7 +192,7 @@ def scored_hospital(api, platform):
assert (css, label) == (theirs["ado_css"], CLASSIFICATION[theirs["ado_clasificacion"]]) assert (css, label) == (theirs["ado_css"], CLASSIFICATION[theirs["ado_clasificacion"]])
# The EEG analysis: every signal's verdict, level and metrics are the current platform's. # The EEG analysis: every signal's verdict, level and metrics are the current platform's.
wait_for(api, ok(api.post("/models/tea/analyze"))["run_id"], 1800) wait_for(api, ok(api.post("/models/tea/analyze"))["run_id"], 3600) # 62 EEGs, 2 CPUs: ~45 min
with sqlite3.connect(db) as con: with sqlite3.connect(db) as con:
signals = con.execute("select eeg_id, eeg_estudio from eeg where eeg_estudio is not null") signals = con.execute("select eeg_id, eeg_estudio from eeg where eeg_estudio is not null")
hashes = {i: hashlib.sha256(b).hexdigest() for i, b in signals} hashes = {i: hashlib.sha256(b).hexdigest() for i, b in signals}