chore: safer bench script
This commit is contained in:
parent
634193328b
commit
d62fca4e9c
1 changed files with 1 additions and 1 deletions
|
|
@ -17,7 +17,7 @@ settings.Settings().load_file("cross.yaml")
|
|||
def single(bench, cat, prop):
|
||||
f = f"bench/{bench}{cat}.bench"
|
||||
with open(f, "r") as f:
|
||||
runs = yaml.load(f, Loader=yaml.CLoader)
|
||||
runs = yaml.safe_load(f)
|
||||
stats_helper = rundata.RunDataStatsHelper.init_from_dicts(runs)
|
||||
stat = stats.TestedPairsAndSingles(stats_helper.valid_runs())
|
||||
if stat.singles:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue