← Files AkinatorARCHIVED FILE

evals/results/workspaces/2026-08-26-05-gate-economy/src/records/model.py

322 Bytes · Oct 4, 2026 · 12:31 UTC

↓ Download file

"""Record storage."""

from dataclasses import dataclass


@dataclass
class Record:
    id: str
    team: str
    name: str
    size_bytes: int


def total_size(records):
    return sum(record.size_bytes for record in records)


def by_team(records, team):
    return [record for record in records if record.team == team]

SHA-256: df4e9c21704d466a98d1bb5332d8628c0045b87ead91639f126a8cc96d3032c3