in weak_to_strong/logger.py [0:0]
def append_to_jsonl(path: str, data: dict): with open(path, "a") as f: f.write(json.dumps(data) + "\n")