We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ee14a56 commit 9ba2fd8Copy full SHA for 9ba2fd8
2 files changed
.gitignore
@@ -251,3 +251,4 @@ benchmarks-old
251
runs
252
!tests/fixtures/runs/
253
scripts
254
+runs-old
src/balatrobench/analyzer.py
@@ -42,7 +42,10 @@ def _read_used_vouchers(run_dir: Path) -> set[str]:
42
last_line = line
43
44
data = json.loads(last_line)
45
- return set(data.get("used_vouchers", {}).keys())
+ used_vouchers = data.get("used_vouchers", [])
46
+ if isinstance(used_vouchers, dict):
47
+ used_vouchers = list(used_vouchers.keys())
48
+ return set(used_vouchers)
49
50
51
class BenchmarkAnalyzer:
0 commit comments