ci.eval.compare: turn warnings into errors

This helps detect my math errors
This commit is contained in:
Philip Taron
2025-09-16 11:59:13 -07:00
parent 4c7ec9bf20
commit f8210561f3

View File

@@ -3,6 +3,7 @@ import json
import numpy as np
import os
import pandas as pd
import warnings
from pathlib import Path
from scipy.stats import ttest_rel
@@ -149,6 +150,9 @@ def main():
options = parser.parse_args()
# Turn warnings into errors
warnings.simplefilter("error")
before_stats = Path(options.before)
after_stats = Path(options.after)