holy fuking shit
This commit is contained in:
@@ -32,8 +32,9 @@ def main():
|
||||
metadata = {"source": "official_practice", "problem": 3,
|
||||
"strategy": "seven_batch", "started_local": datetime.now().astimezone().isoformat(),
|
||||
"config": asdict(config), "coverage_points": seven_points(),
|
||||
"source_sha256": {str(p.relative_to(root)): hashlib.sha256(p.read_bytes()).hexdigest()
|
||||
for p in paths}}
|
||||
"source_sha256": {
|
||||
str(p.relative_to(root)): hashlib.sha256(p.read_bytes()).hexdigest()
|
||||
for p in paths}}
|
||||
def save(name, value):
|
||||
(args.output / name).write_text(json.dumps(value, ensure_ascii=False, indent=2,
|
||||
allow_nan=False) + "\n", encoding="utf-8")
|
||||
|
||||
Reference in New Issue
Block a user