Files
IdealRMT-DecisionTrees/run/print.py
2025-06-13 16:11:56 -07:00

7 lines
187 B
Python

import json
from pathlib import Path
for file in Path("results/compressed_tree/").glob("*.json"):
with open(file, "r") as f:
s = json.load(f)
print(max(s["paths"])+1)