← Files AkinatorARCHIVED FILE
evals/results/workspaces/2026-08-26-05-gate-economy/src/billing/invoice.py
326 Bytes · Oct 5, 2026 · 18:32 UTC
"""Invoicing. Must not import from src.records - see rules/02-billing-boundary.md."""
RATE_PER_GB = 0.12
def line_item(team, gigabytes):
return {"team": team, "gigabytes": gigabytes, "amount": round(gigabytes * RATE_PER_GB, 2)}
def total(line_items):
return round(sum(entry["amount"] for entry in line_items), 2)
SHA-256: 43a5fcc7ee03e3e604b19dd96b02de9a86e447a53a704c3b9758604e270275e2