"""Reproduce the explicitly illustrative example in this historical review."""
import json
from pathlib import Path
licences, users, saved_hours_per_user = 100, 40, 10
actual_total = users * saved_hours_per_user
results = {"status": "illustrative, not observed", "licences": licences, "users": users, "hours_per_user": saved_hours_per_user, "total_hours": actual_total, "hours_per_licence": actual_total / licences, "incorrect_extrapolation_hours": licences * saved_hours_per_user, "extrapolation_overstatement_hours": (licences-users) * saved_hours_per_user}
assert actual_total == 400

Path(__file__).with_name("results.json").write_text(json.dumps(results, indent=2, ensure_ascii=False)+"\n")
