Harbor format: 502 knowledge_work tasks (part 9)
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
Files changed (50)
- .gitattributes+49
- tasks/ib-ratios-lcut/solution/files/ratios.xlsxAdded
- tasks/ib-ratios-lcut/solution/solve.shAdded+4
- tasks/ib-ratios-lcut/task.tomlAdded+48
- tasks/ib-ratios-lcut/tests/consulting_markets_memo.pyAdded+64
- tasks/ib-ratios-lcut/tests/expected.jsonAdded+263
- tasks/ib-ratios-lcut/tests/grade.pyAdded+330
- tasks/ib-ratios-lcut/tests/test.shAdded+4
- tasks/ib-ratios-lcut/validation/openenv.jsonAdded+30
- tasks/ib-three-statement-ingm-v2/environment/inputs/brief.emlAdded+36
- tasks/ib-three-statement-ingm-v2/environment/inputs/facts.csvAdded+520
- tasks/ib-three-statement-ingm-v2/environment/inputs/followup.emlAdded+15
- tasks/ib-three-statement-ingm-v2/environment/inputs/model.xlsxAdded
- tasks/ib-three-statement-ingm-v2/environment/inputs/source.txtAdded+4
- tasks/ib-three-statement-ingm-v2/instruction.mdAdded+23
- tasks/ib-three-statement-ingm-v2/solution/computation.jsonAdded+22
- tasks/ib-three-statement-ingm-v2/solution/files/memo.docxAdded
- tasks/ib-three-statement-ingm-v2/solution/files/model.xlsxAdded
- tasks/ib-three-statement-ingm-v2/solution/solve.shAdded+4
- tasks/ib-three-statement-ingm-v2/task.tomlAdded+52
- tasks/ib-three-statement-ingm-v2/tests/consulting_markets_memo.pyAdded+64
- tasks/ib-three-statement-ingm-v2/tests/expected.jsonAdded+346
- tasks/ib-three-statement-ingm-v2/tests/grade.pyAdded+330
- tasks/ib-three-statement-ingm-v2/tests/test.shAdded+4
- tasks/ib-three-statement-ingm-v2/validation/openenv.jsonAdded+30
- tasks/ib-three-statement-pbyi/environment/inputs/brief.emlAdded+31
- tasks/ib-three-statement-pbyi/environment/inputs/facts.csvAdded+230
- tasks/ib-three-statement-pbyi/environment/inputs/model.xlsxAdded
- tasks/ib-three-statement-pbyi/environment/inputs/source.txtAdded+3
- tasks/ib-three-statement-pbyi/instruction.mdAdded+24
- tasks/ib-three-statement-pbyi/solution/computation.jsonAdded+25
- tasks/ib-three-statement-pbyi/solution/files/memo.docxAdded
- tasks/ib-three-statement-pbyi/solution/files/model.xlsxAdded
- tasks/ib-three-statement-pbyi/solution/solve.shAdded+4
- tasks/ib-three-statement-pbyi/task.tomlAdded+51
- tasks/ib-three-statement-pbyi/tests/consulting_markets_memo.pyAdded+64
- tasks/ib-three-statement-pbyi/tests/expected.jsonAdded+382
- tasks/ib-three-statement-pbyi/tests/grade.pyAdded+330
- tasks/ib-three-statement-pbyi/tests/test.shAdded+4
- tasks/ib-three-statement-pbyi/validation/openenv.jsonAdded+30
- tasks/ib-trading-comps-amcx/environment/inputs/brief.emlAdded+46
- tasks/ib-trading-comps-amcx/environment/inputs/comps.xlsxAdded
- tasks/ib-trading-comps-amcx/environment/inputs/facts.csvAdded
- tasks/ib-trading-comps-amcx/environment/inputs/source.txtAdded+8
- tasks/ib-trading-comps-amcx/instruction.mdAdded+24
- tasks/ib-trading-comps-amcx/solution/computation.jsonAdded+119
- tasks/ib-trading-comps-amcx/solution/files/comps.xlsxAdded
- tasks/ib-trading-comps-amcx/solution/files/memo.docxAdded
- tasks/ib-trading-comps-amcx/solution/solve.shAdded+4
- tasks/ib-trading-comps-amcx/task.tomlAdded+51
238 unmodified lines239240241238 unmodified linestasks/cuad-room-f1105c186b36-v2/environment/inputs/contracts/ENERGOUSCORP_03_16_2017-EX-10.24-STRATEGIC_ALLIANCE_AGREEMENT.pdf filter=lfs diff=lfs merge=lfs -texttasks/cuad-room-f1f7c01b4fc9-v2/environment/inputs/contracts/ArcaUsTreasuryFund_20200207_N-2_EX-99.K5_11971930_EX-99.K5_Development_Agreement.pdf filter=lfs diff=lfs merge=lfs -texttasks/cuad-room-f1f7c01b4fc9-v2/environment/inputs/contracts/VEONEER_INC_02_21_2020-EX-10.11-JOINT_VENTURE_AGREEMENT.pdf filter=lfs diff=lfs merge=lfs -text238 unmodified lines239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290238 unmodified linestasks/cuad-room-f1105c186b36-v2/environment/inputs/contracts/ENERGOUSCORP_03_16_2017-EX-10.24-STRATEGIC_ALLIANCE_AGREEMENT.pdf filter=lfs diff=lfs merge=lfs -texttasks/cuad-room-f1f7c01b4fc9-v2/environment/inputs/contracts/ArcaUsTreasuryFund_20200207_N-2_EX-99.K5_11971930_EX-99.K5_Development_Agreement.pdf filter=lfs diff=lfs merge=lfs -texttasks/cuad-room-f1f7c01b4fc9-v2/environment/inputs/contracts/VEONEER_INC_02_21_2020-EX-10.11-JOINT_VENTURE_AGREEMENT.pdf filter=lfs diff=lfs merge=lfs -texttasks/market-entry-nc-building-supply/environment/inputs/census/CBSA-EST2025-ALLDATA.pdf filter=lfs diff=lfs merge=lfs -texttasks/market-entry-nc-building-supply/environment/inputs/census/cntyasc.pdf filter=lfs diff=lfs merge=lfs -texttasks/market-entry-va-therapy/environment/inputs/bea/FIPSModifications.pdf filter=lfs diff=lfs merge=lfs -texttasks/market-entry-va-therapy/environment/inputs/census/CC-EST2025-AGESEX.pdf filter=lfs diff=lfs merge=lfs -texttasks/maud-contract0-43ba3310-v3/environment/inputs/merger_agreement.docx filter=lfs diff=lfs merge=lfs -texttasks/maud-contract1-58d1e38e-v2/environment/inputs/merger_agreement.docx filter=lfs diff=lfs merge=lfs -texttasks/maud-contract10-6c657615-v4/environment/inputs/merger_agreement.docx filter=lfs diff=lfs merge=lfs -texttasks/maud-contract101-cc900e96-v4-v2/environment/inputs/merger_agreement.docx filter=lfs diff=lfs merge=lfs -texttasks/maud-contract104-9c315350-v3/environment/inputs/merger_agreement.docx filter=lfs diff=lfs merge=lfs -texttasks/maud-contract107-b2d59d05-v4-v2/environment/inputs/merger_agreement.docx filter=lfs diff=lfs merge=lfs -texttasks/maud-contract11-034c401b-v2/environment/inputs/merger_agreement.docx filter=lfs diff=lfs merge=lfs -texttasks/maud-contract11-78c4f8ec-v4/environment/inputs/merger_agreement.docx filter=lfs diff=lfs merge=lfs -texttasks/maud-contract11-959df5c0-v3/environment/inputs/merger_agreement.docx filter=lfs diff=lfs merge=lfs -texttasks/maud-contract11-bec0ec7c-v4/environment/inputs/merger_agreement.docx filter=lfs diff=lfs merge=lfs -texttasks/maud-contract111-1c3236c8-v4/environment/inputs/merger_agreement.docx filter=lfs diff=lfs merge=lfs -texttasks/maud-contract111-b99f554f-v4/environment/inputs/merger_agreement.docx filter=lfs diff=lfs merge=lfs -texttasks/maud-contract113-94e17166-v3/environment/inputs/merger_agreement.docx filter=lfs diff=lfs merge=lfs -texttasks/maud-contract114-af7928df-v4/environment/inputs/merger_agreement.docx filter=lfs diff=lfs merge=lfs -texttasks/maud-contract114-d3bad00c-v4/environment/inputs/merger_agreement.docx filter=lfs diff=lfs merge=lfs -texttasks/maud-contract117-e47deca7-v3/environment/inputs/merger_agreement.docx filter=lfs diff=lfs merge=lfs -texttasks/maud-contract117-e7b8600e-v4-v2/environment/inputs/merger_agreement.docx filter=lfs diff=lfs merge=lfs -texttasks/maud-contract118-ac658d89-v4-v2/environment/inputs/merger_agreement.docx filter=lfs diff=lfs merge=lfs -texttasks/maud-contract120-0149bbc8-v4/environment/inputs/merger_agreement.docx filter=lfs diff=lfs merge=lfs -texttasks/maud-contract120-10a23d59-v2/environment/inputs/merger_agreement.docx filter=lfs diff=lfs merge=lfs -texttasks/maud-contract120-41f6e05a-v2/environment/inputs/merger_agreement.docx filter=lfs diff=lfs merge=lfs -texttasks/maud-contract120-66ee1b86-v4/environment/inputs/merger_agreement.docx filter=lfs diff=lfs merge=lfs -texttasks/maud-contract121-814493f2-v4/environment/inputs/merger_agreement.docx filter=lfs diff=lfs merge=lfs -texttasks/maud-contract122-beaff7c7-v4/environment/inputs/merger_agreement.docx filter=lfs diff=lfs merge=lfs -texttasks/maud-contract122-ec5e204a-v4/environment/inputs/merger_agreement.docx filter=lfs diff=lfs merge=lfs -texttasks/maud-contract124-4168d70d-v2/environment/inputs/merger_agreement.docx filter=lfs diff=lfs merge=lfs -texttasks/maud-contract124-4eba3413-v3/environment/inputs/merger_agreement.docx filter=lfs diff=lfs merge=lfs -texttasks/maud-contract124-a13c7ec4-v4-v2/environment/inputs/merger_agreement.docx filter=lfs diff=lfs merge=lfs -texttasks/maud-contract124-c28f8404-v4/environment/inputs/merger_agreement.docx filter=lfs diff=lfs merge=lfs -texttasks/maud-contract125-58c67260-v2/environment/inputs/merger_agreement.docx filter=lfs diff=lfs merge=lfs -texttasks/maud-contract125-6157d9ea-v4-v2/environment/inputs/merger_agreement.docx filter=lfs diff=lfs merge=lfs -texttasks/maud-contract127-165b69d9-v4-v2/environment/inputs/merger_agreement.docx filter=lfs diff=lfs merge=lfs -texttasks/maud-contract127-aa06aabd-v4/environment/inputs/merger_agreement.docx filter=lfs diff=lfs merge=lfs -texttasks/maud-contract130-90b63db8-v4/environment/inputs/merger_agreement.docx filter=lfs diff=lfs merge=lfs -texttasks/maud-contract130-a3085f18-v2/environment/inputs/merger_agreement.docx filter=lfs diff=lfs merge=lfs -texttasks/maud-contract130-e1018afb-v2/environment/inputs/merger_agreement.docx filter=lfs diff=lfs merge=lfs -texttasks/maud-contract133-8b60a1c8-v4-v2/environment/inputs/merger_agreement.docx filter=lfs diff=lfs merge=lfs -texttasks/maud-contract133-cc49a678-v3/environment/inputs/merger_agreement.docx filter=lfs diff=lfs merge=lfs -texttasks/maud-contract134-29bc9247-v2/environment/inputs/merger_agreement.docx filter=lfs diff=lfs merge=lfs -texttasks/maud-contract134-7c778e89-v2/environment/inputs/merger_agreement.docx filter=lfs diff=lfs merge=lfs -texttasks/maud-contract134-b6c3901b-v4-v2/environment/inputs/merger_agreement.docx filter=lfs diff=lfs merge=lfs -texttasks/maud-contract14-4b5deddf-v2/environment/inputs/merger_agreement.docx filter=lfs diff=lfs merge=lfs -texttasks/maud-contract141-4b4a4674-v4/environment/inputs/merger_agreement.docx filter=lfs diff=lfs merge=lfs -texttasks/maud-contract141-5e048673-v4/environment/inputs/merger_agreement.docx filter=lfs diff=lfs merge=lfs -texttasks/maud-contract143-5264b09c-v4-v2/environment/inputs/merger_agreement.docx filter=lfs diff=lfs merge=lfs -text
1234#!/bin/shset -eumkdir -p /workspace/outputscp -R /solution/files/. /workspace/outputs/123456789101112131415161718192021222324252627282930313233343536373839404142434445464748schema_version = "1.3"
[task]name = "apex-gap/ib-ratios-lcut"
[metadata.apex_gap]capability_tags = ["xlsx-io", "docx-io", "csv-io", "financial-math", "spreadsheet-formulas", "data-reconciliation"]case_family = "ib-ratios"group_key = "ib-xbrl:874396"job = "investment-banking"source = "SEC-FSDS/figurewell-sec-xbrl-financials"source_accessions = ["0000874396-26-000008"]source_ciks = ["874396"]source_license = "SEC filings (public records) via the CC0 Hub compilation; original task adaptation"source_revision = "d74dfdb8fdf4a326b64d8d0813163850f5d5a32a"source_split = "10-K filings accepted 2025-10-01 to 2026-09-30, fiscal year 2025"source_task_id = "ib-ratios-lcut"source_tickers = ["LCUT"]
[metadata.openenv_hf_sandbox]variant = "apex-gap-hfsandbox-v1"task_modified_for_hf_sandbox = truenetwork_enabled = true
[environment]docker_image = "ghcr.io/younesbelkada/apex@sha256:24969c952247033023872f87161a16e067003469506be63783bbaa5d96926bdf"workdir = "/workspace"cpus = 1memory_mb = 4096build_timeout_sec = 600network_mode = "public"
[agent]timeout_sec = 1800network_mode = "public"
[verifier]timeout_sec = 600network_mode = "public"environment_mode = "separate"
[verifier.environment]network_mode = "public"cpus = 1memory_mb = 4096
[[artifacts]]source = "/workspace/outputs"12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364"""Check a memo's labelled paragraphs ("Label: value") against the expected fields.
spec: {"file": "memo.docx", "fields": [{"label": ..., "kind": "choice", "accept": [...]}, {"label": ..., "kind": "number", "value": x, "rel_tol": 0.01}]}
Labels match case-insensitively and must each appear exactly once; other paragraphs are ignored.A choice matches one accepted value after case and whitespace folding. A number is one numeral(thousands commas, a leading "$" or a trailing "%" allowed) within rel_tol of the gold; rel_tol 0means the whole number exactly."""
import mathimport re
from docx import Document
NUMERAL = re.compile(r"[+-]?(?:(?:\d{1,3}(?:,\d{3})+|\d+)(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?")
def fold(text): return " ".join(str(text).replace("\u2019", "'").replace("\u2013", "-").replace("\u2014", "-").split()).casefold()
def number(raw): s = raw.strip().replace("\u2212", "-").rstrip(".") sign = "" for _ in range(2): # "-$1,200" and "$-1,200" alike if s[:1] in ("+", "-") and not sign: sign, s = s[0], s[1:].lstrip() if s[:1] == "$": s = s[1:].lstrip() s = s.removesuffix("%").strip() if not NUMERAL.fullmatch(s) or s[:1] in ("+", "-"): return None return float(sign + s.replace(",", ""))
def check(spec, outputs_dir, tests_dir): path = outputs_dir / spec["file"] if not path.is_file(): return False, f"missing {spec['file']}" wanted = {fold(f["label"]): f for f in spec["fields"]} found = {} for paragraph in Document(path).paragraphs: label, sep, value = paragraph.text.partition(":") key = fold(label) if sep and key in wanted: if key in found: return False, f"label {wanted[key]['label']!r} appears more than once" found[key] = value.strip() for key, field in wanted.items(): if key not in found: return False, f"missing paragraph {field['label']!r}" value = found[key] if field["kind"] == "choice": if fold(value).strip(" .") not in {fold(a).strip(" .") for a in field["accept"]}: return False, f"{field['label']}: got {value!r}" else: got = number(value) if got is None: return False, f"{field['label']}: {value!r} is not a single number" if not math.isclose(got, field["value"], rel_tol=field.get("rel_tol", 0.01), abs_tol=0): return False, f"{field['label']}: got {value!r}" return True, ""123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263{ "checks": [ { "id": "ratios-B3", "type": "xlsx_cell", "file": "ratios.xlsx", "sheet": "Ratios", "cell": "B3", "value": 38.172960910869286, "rel_tol": 0.01, "abs_tol": 0 }, { "id": "ratios-C3", "type": "xlsx_cell", "file": "ratios.xlsx", "sheet": "Ratios", "cell": "C3", "value": 37.1481310567605, "rel_tol": 0.01, "abs_tol": 0 }, { "id": "ratios-B4", "type": "xlsx_cell", "file": "ratios.xlsx", "sheet": "Ratios", "cell": "B4", "value": 7.2330119832726165, "rel_tol": 0.01, "abs_tol": 0 }, { "id": "ratios-C4", "type": "xlsx_cell", "file": "ratios.xlsx", "sheet": "Ratios", "cell": "C4", "value": 1.915630165464639, "rel_tol": 0.01, "abs_tol": 0 }, { "id": "ratios-B5", "type": "xlsx_cell", "file": "ratios.xlsx", "sheet": "Ratios", "cell": "B5", "value": -2.2205074441542014, "rel_tol": 0.01, "abs_tol": 0 }, { "id": "ratios-C5", "type": "xlsx_cell", "file": "ratios.xlsx", "sheet": "Ratios", "cell": "C5", "value": -4.15737429641645, "rel_tol": 0.01, "abs_tol": 0 }, { "id": "ratios-B6", "type": "xlsx_cell", "file": "ratios.xlsx", "sheet": "Ratios", "cell": "B6", "value": -6.595686381962657, "rel_tol": 0.01, "abs_tol": 0 }, { "id": "ratios-C6", "type": "xlsx_cell", "file": "ratios.xlsx", "sheet": "Ratios", "cell": "C6", "value": -13.316887238786418, "rel_tol": 0.01, "abs_tol": 0 }, { "id": "ratios-B7", "type": "xlsx_cell", "file": "ratios.xlsx", "sheet": "Ratios", "cell": "B7", "value": 2.4618466749701797, "rel_tol": 0.01, "abs_tol": 0 }, { "id": "ratios-C7", "type": "xlsx_cell", "file": "ratios.xlsx", "sheet": "Ratios", "cell": "C7", "value": 2.847558700105862, "rel_tol": 0.01, "abs_tol": 0 }, { "id": "ratios-B8", "type": "xlsx_cell", "file": "ratios.xlsx", "sheet": "Ratios", "cell": "B8", "value": 1.1279597740917209, "rel_tol": 0.01, "abs_tol": 0 }, { "id": "ratios-C8", "type": "xlsx_cell", "file": "ratios.xlsx", "sheet": "Ratios", "cell": "C8", "value": 1.3697097552988127, "rel_tol": 0.01, "abs_tol": 0 }, { "id": "ratios-B9", "type": "xlsx_cell", "file": "ratios.xlsx", "sheet": "Ratios", "cell": "B9", "value": 83.77044799634527, "rel_tol": 0.01, "abs_tol": 0 }, { "id": "ratios-C9", "type": "xlsx_cell", "file": "ratios.xlsx", "sheet": "Ratios", "cell": "C9", "value": 91.1811329257809, "rel_tol": 0.01, "abs_tol": 0 }, { "id": "ratios-B10", "type": "xlsx_cell", "file": "ratios.xlsx", "sheet": "Ratios", "cell": "B10", "value": 174.96529299062874, "rel_tol": 0.01, "abs_tol": 0 }, { "id": "ratios-C10", "type": "xlsx_cell", "file": "ratios.xlsx", "sheet": "Ratios", "cell": "C10", "value": 173.91989450886214, "rel_tol": 0.01, "abs_tol": 0 }, { "id": "ratios-B11", "type": "xlsx_cell", "file": "ratios.xlsx", "sheet": "Ratios", "cell": "B11", "value": 51.89019985837741, "rel_tol": 0.01, "abs_tol": 0 }, { "id": "ratios-C11", "type": "xlsx_cell", "file": "ratios.xlsx", "sheet": "Ratios", "cell": "C11", "value": 41.089141975945275, "rel_tol": 0.01, "abs_tol": 0 }, { "id": "ratios-B12", "type": "xlsx_cell", "file": "ratios.xlsx", "sheet": "Ratios", "cell": "B12", "value": 206.8455411285966, "rel_tol": 0.01, "abs_tol": 0 }, { "id": "ratios-C12", "type": "xlsx_cell", "file": "ratios.xlsx", "sheet": "Ratios", "cell": "C12", "value": 224.01188545869775, "rel_tol": 0.01, "abs_tol": 0 }, { "id": "ratios-B13", "type": "xlsx_cell", "file": "ratios.xlsx", "sheet": "Ratios", "cell": "B13", "value": 1.2195605187319885, "rel_tol": 0.01, "abs_tol": 0 }, { "id": "ratios-C13", "type": "xlsx_cell", "file": "ratios.xlsx", "sheet": "Ratios", "cell": "C13", "value": -0.4710933599600599, "rel_tol": 0.01, "abs_tol": 0 }, { "id": "memo", "type": "custom", "module": "consulting_markets_memo", "file": "memo.docx", "fields": [ { "label": "Return on equity FY2025 percent", "kind": "number", "value": -13.316887238786418, "rel_tol": 0.01 }, { "label": "Cash conversion cycle FY2025", "kind": "number", "value": 224.01188545869775, "rel_tol": 0.01 }, { "label": "Cash conversion cycle change", "kind": "number", "value": 17.16634433010114, "rel_tol": 0.01 }, { "label": "Gross margin change in percentage points", "kind": "number", "value": -1.0248298541087877, "rel_tol": 0.01 }, { "label": "Working capital trend", "kind": "choice", "accept": [ "worsened" ] } ] } ]}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330"""Deterministic grader shared by converted knowledge-work tasks.
Runs inside the separate verifier sandbox. Reads /tests/expected.json, inspects thesubmitted /workspace/outputs tree and writes a binary reward plus per-check details.No model calls and no network.
expected.json: {"checks": [{"id": ..., "type": ..., ...}, ...]}Check types: answer field of outputs/answer.json; kind = number|text|choice|date|bool|list xlsx_range recalculated outputs/<file> vs tests/<target> over sheet!range (SpreadsheetBench rules) xlsx_cell recalculated outputs/<file> sheet!cell vs value with tolerance (optional alt_values) file_contains outputs/<file> text (docx/pdf/ics/eml/txt) must contain every needle custom tests/<module>.py defines check(spec, outputs_dir, tests_dir) -> (bool, str)"""
import datetime as dtimport jsonimport reimport shutilimport subprocessimport sysimport tempfileimport unicodedatafrom pathlib import Path
OUT = Path("/workspace/outputs")TESTS = Path("/tests")LOGS = Path("/logs/verifier")
def norm_text(v): v = unicodedata.normalize("NFKC", str(v)).casefold() v = re.sub(r"[‘’“”]", "'", v) v = re.sub(r"[^\w%.$/-]+", " ", v) return " ".join(v.split()).strip(" .")
def to_number(v): if isinstance(v, bool): raise ValueError("bool") if isinstance(v, (int, float)): return float(v) s = str(v).strip().replace(",", "").replace("$", "").replace("−", "-") neg = s.startswith("(") and s.endswith(")") s = s.strip("()").strip() pct = s.endswith("%") s = s.rstrip("%").strip() s = re.sub(r"\s*(usd|dollars|million|billion|thousand|m|bn|k)$", "", s, flags=re.I) x = float(s) x = -x if neg else x return x / 100 if pct else x
def number_ok(got, want, rel, abs_): try: g = to_number(got) except (TypeError, ValueError): return False w = float(want) tol = max(abs_, rel * abs(w)) # "12.5%" may mean the ratio 0.125 or the percent number 12.5; the gold fixes which. candidates = [g, g * 100] if isinstance(got, str) and got.strip().endswith("%") else [g] return any(abs(c - w) <= tol for c in candidates)
def parse_date(v): if isinstance(v, (dt.date, dt.datetime)): return v if isinstance(v, dt.date) else v.date() s = str(v).strip() for fmt in ("%Y-%m-%d", "%m/%d/%Y", "%m/%d/%y", "%d %B %Y", "%B %d, %Y", "%b %d, %Y", "%Y/%m/%d"): try: return dt.datetime.strptime(s, fmt).date() except ValueError: continue raise ValueError(s)
def check_answer(check, answers): key = check["field"] if key not in answers: return False, f"missing field {key!r}" got, want, kind = answers[key], check["value"], check.get("kind", "text") if kind == "number": ok = number_ok(got, want, check.get("rel_tol", 0.005), check.get("abs_tol", 0.01)) if not ok and check.get("percent_either"): ok = number_ok(got, want * 100, check.get("rel_tol", 0.005), check.get("abs_tol", 0.01) * 100) or ( number_ok(got, want / 100, check.get("rel_tol", 0.005), check.get("abs_tol", 0.01) / 100) ) elif kind == "date": try: ok = parse_date(got) == parse_date(want) except ValueError: ok = False elif kind == "bool": g = norm_text(got) ok = g in {"yes", "true"} if want else g in {"no", "false"} elif kind == "choice": ok = norm_text(got) == norm_text(want) elif kind == "list": if not isinstance(got, list): return False, f"{key}: expected a JSON list" # Filenames may be given with a directory prefix; compare base names. base = lambda x: norm_text(str(x).replace("\\", "/").rsplit("/", 1)[-1]) ok = sorted(base(x) for x in got) == sorted(base(x) for x in want) else: accepted = check.get("accept", [want]) ok = norm_text(got) in {norm_text(a) for a in accepted} return ok, "" if ok else f"{key}: got {got!r}"
# LibreOffice keeps cached formula values on load unless told otherwise; force a full recalculation.RECALC_PROFILE = """<?xml version="1.0" encoding="UTF-8"?><oor:items xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema"><item oor:path="/org.openoffice.Office.Calc/Formula/Load"><prop oor:name="OOXMLRecalcMode" oor:op="fuse"><value>0</value></prop></item><item oor:path="/org.openoffice.Office.Calc/Formula/Load"><prop oor:name="ODFRecalcMode" oor:op="fuse"><value>0</value></prop></item></oor:items>"""
def recalc(path, tmp): dest = Path(tmp) / f"recalc-{len(list(Path(tmp).glob('recalc-*')))}" dest.mkdir() profile = Path(tmp) / "lo-profile" if not profile.exists(): (profile / "user").mkdir(parents=True) (profile / "user" / "registrymodifications.xcu").write_text(RECALC_PROFILE) subprocess.run( ["soffice", f"-env:UserInstallation=file://{profile}", "--headless", "--calc", "--convert-to", "xlsx:Calc MS Excel 2007 XML", "--outdir", str(dest), str(path)], stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL, timeout=180, check=False, ) out = dest / (Path(path).stem + ".xlsx") return out if out.exists() else Path(path)
def cell_value(v): if isinstance(v, (int, float)) and not isinstance(v, bool): return round(float(v), 2) if isinstance(v, dt.datetime): return round((v - dt.datetime(1899, 12, 30)).total_seconds() / 86400.0, 0) if isinstance(v, dt.time): return v.strftime("%H:%M") if isinstance(v, str): try: return round(float(v), 2) except ValueError: return v.strip() return v
def time_of(v): """A time or a day fraction in [0, 1) as HH:MM, rounded to the nearest second first. Calc and Excel store a time as that fraction; openpyxl returns a time only for time-formatted cells.""" if isinstance(v, dt.time): v = (v.hour * 3600 + v.minute * 60 + v.second + v.microsecond / 1e6) / 86400 if isinstance(v, (int, float)) and not isinstance(v, bool) and 0 <= v < 1: return (dt.datetime(1899, 12, 30) + dt.timedelta(seconds=round(v * 86400))).strftime("%H:%M") return None
def same_cell(a, b): if isinstance(a, dt.time) is not isinstance(b, dt.time): n = b if isinstance(a, dt.time) else a if time_of(n) is not None: # a time against a plain day fraction return time_of(a) == time_of(b) a, b = cell_value(a), cell_value(b) if a in (None, "") and b in (None, ""): return True return type(a) is type(b) and a == b
ERRORS = {"#NULL!", "#DIV/0!", "#VALUE!", "#REF!", "#NAME?", "#NUM!", "#N/A"}
def is_error(v): return isinstance(v, str) and (v in ERRORS or v.startswith("Err:"))
def cells(rng): if ":" not in rng: return [rng] from openpyxl.utils import range_boundaries, get_column_letter
c1, r1, c2, r2 = range_boundaries(rng) return [f"{get_column_letter(c)}{r}" for r in range(r1, r2 + 1) for c in range(c1, c2 + 1)]
def load(path, tmp): import openpyxl
return openpyxl.load_workbook(recalc(path, tmp), data_only=True)
def check_xlsx_range(check, tmp, cache): sub = OUT / check["file"] if not sub.is_file(): return False, f"missing output {check['file']}" if sub not in cache: cache[sub] = load(sub, tmp) tgt = TESTS / check["target"] if tgt not in cache: cache[tgt] = load(tgt, tmp) got, want = cache[sub], cache[tgt] cached = None # the target's stored (Excel-computed) values, read only when Calc errs for sheet, rng in check["ranges"]: sheet = sheet or want.sheetnames[0] if sheet not in got.sheetnames: return False, f"sheet {sheet!r} missing" for name in cells(rng): w = want[sheet][name].value if is_error(w): # LibreOffice could not evaluate the gold formula (e.g. XLOOKUP, FILTER in Calc 7.4). # The value Excel stored is the intended answer. if cached is None: import openpyxl
cached = openpyxl.load_workbook(tgt, data_only=True) c = cached[sheet][name].value if sheet in cached.sheetnames else None if c is not None and not is_error(c): w = c if not same_cell(w, got[sheet][name].value): return False, f"{sheet}!{name}: want {w!r} got {got[sheet][name].value!r}" return True, ""
def check_xlsx_cell(check, tmp, cache): sub = OUT / check["file"] if not sub.is_file(): return False, f"missing output {check['file']}" if sub not in cache: cache[sub] = load(sub, tmp) wb = cache[sub] if check["sheet"] not in wb.sheetnames: return False, f"sheet {check['sheet']!r} missing" got = wb[check["sheet"]][check["cell"]].value want = check["value"] if isinstance(want, (int, float)): # alt_values: other accepted golds where the source admits more than one reading. ok = got is not None and any(number_ok(got, w, check.get("rel_tol", 0.0), check.get("abs_tol", 0.01)) for w in [want, *check.get("alt_values", [])]) else: ok = norm_text(got) == norm_text(want) return ok, "" if ok else f"{check['sheet']}!{check['cell']}: want {want!r} got {got!r}"
def text_of(path): suffix = path.suffix.lower() if suffix == ".docx": import docx
d = docx.Document(path) parts = [p.text for p in d.paragraphs] for t in d.tables: parts += [c.text for row in t.rows for c in row.cells] return "\n".join(parts) if suffix == ".pdf": import pdfplumber
with pdfplumber.open(path) as pdf: return "\n".join(page.extract_text() or "" for page in pdf.pages) return path.read_text(errors="replace")
def check_file_contains(check, tmp, cache): sub = OUT / check["file"] if not sub.is_file(): return False, f"missing output {check['file']}" text = text_of(sub) hay = text if check.get("case_sensitive") else text.casefold() for needle in check["needles"]: n = needle if check.get("case_sensitive") else needle.casefold() if n not in hay: return False, f"{check['file']} lacks {needle!r}" return True, ""
def main(): LOGS.mkdir(parents=True, exist_ok=True) reward_path = LOGS / "reward.txt" reward_path.write_text("0\n") spec = json.loads((TESTS / "expected.json").read_text()) answers, details = {}, [] answer_file = OUT / "answer.json" if answer_file.is_file(): try: answers = json.loads(answer_file.read_text()) if not isinstance(answers, dict): answers = {} except json.JSONDecodeError: answers = {} tmp = tempfile.mkdtemp() cache = {} try: for check in spec["checks"]: try: if check["type"] == "answer": ok, why = check_answer(check, answers) elif check["type"] == "xlsx_range": ok, why = check_xlsx_range(check, tmp, cache) elif check["type"] == "xlsx_cell": ok, why = check_xlsx_cell(check, tmp, cache) elif check["type"] == "file_contains": ok, why = check_file_contains(check, tmp, cache) elif check["type"] == "custom": import importlib.util
spec_ = importlib.util.spec_from_file_location("custom_check", TESTS / f"{check['module']}.py") mod = importlib.util.module_from_spec(spec_) spec_.loader.exec_module(mod) ok, why = mod.check(check, OUT, TESTS) else: ok, why = False, f"unknown check type {check['type']}" except Exception as exc: # a malformed submission fails the check, not the grader ok, why = False, f"{type(exc).__name__}: {exc}" details.append({"id": check["id"], "passed": ok, "detail": why}) finally: shutil.rmtree(tmp, ignore_errors=True) passed = sum(d["passed"] for d in details) total = len(details) reward = 1 if total and passed == total else 0 (LOGS / "details.json").write_text(json.dumps({"passed": passed, "total": total, "checks": details}, indent=1)) reward_path.write_text(f"{reward}\n") print(f"{passed}/{total} checks passed; reward {reward}")
if __name__ == "__main__": sys.exit(main())1234#!/bin/shset -eumkdir -p /logs/verifier /workspace/outputsexec python3 -B -I /tests/grade.py123456789101112131415161718192021222324252627282930{ "profile": "harbor-semantic-v1", "reward_key": "reward", "reward": { "range": [ 0, 1 ], "oracle_tolerance": 0, "floor_margin": 0.1 }, "resources": { "cpu": 1, "memory_mb": 4096, "disk_mb": 10240, "episode_timeout_s": 1800 }, "types": { "tags": [ "knowledge-work", "xlsx-io", "docx-io", "csv-io", "financial-math", "spreadsheet-formulas", "data-reconciliation" ] }, "requires_credentials": false}123456789101112131415161718192021222324252627282930313233343536From: Deal team vice president <vp@bank.example>To: Consulting team <team@consultancy.example>Date: Mon, 23 Nov 2026 12:00:00 +0000Subject: INGM: a historical three-statement summaryContent-Type: text/plain; charset="utf-8"Content-Transfer-Encoding: 7bitMIME-Version: 1.0
Team,
For the INGRAM MICRO HOLDING CORP (INGM) workstream, please prepare ahistorical three-statement summary from the company's FY2025 10-K and latest10-Q XBRL facts (facts.csv) in the attached workbook, model.xlsx, plus ashort memo.
Rules:1. Fill the income statement and the cash flow for FY2024 and FY2025 (fiscal years ended 2024-12-31 and 2025-12-31) and for the last twelve months (LTM), and the balance sheet at the FY2025 year-end (2025-12-31) and at the latest 10-Q (2026-06-30). LTM means the twelve months ended 2026-06-30: FY2025 + the 6 months ended 2026-06-30 - the 6 months ended 2025-06-30. The year-to-date figures are the 10-Q facts with duration_quarters 2; the 10-Q balance sheet is its duration_quarters 0 facts at 2026-06-30.2. Column E of each sheet (column D of the balance sheet) names the XBRL tag behind each input row, or the row's formula. Where it lists several tags, use the first one with every figure the table needs.3. LTM revenue growth percent = (LTM revenue / FY2025 revenue - 1) x 100. LTM EBITDA margin percent = LTM EBITDA / LTM revenue x 100. Net working capital change = net working capital at the latest 10-Q - at the FY2025 year-end.
Units and signs: US$ thousands (the filed value divided by 1,000) exceptper-share amounts; values as filed with their signs.
Thanks123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520company,cik,form,taxonomy,tag,period_end,duration_quarters,uom,valueINGRAM MICRO HOLDING CORP,1897762,10-K,custom,ChangeInUnremittedCashCollectionsFromServicingFactoredReceivables,2023-12-31,4,USD,-18413000INGRAM MICRO HOLDING CORP,1897762,10-K,custom,ChangeInUnremittedCashCollectionsFromServicingFactoredReceivables,2024-12-31,4,USD,-11315000INGRAM MICRO HOLDING CORP,1897762,10-K,custom,ChangeInUnremittedCashCollectionsFromServicingFactoredReceivables,2025-12-31,4,USD,1592000INGRAM MICRO HOLDING CORP,1897762,10-K,custom,IncreaseDecreaseInBookOverdraftsOperatingActivities,2023-12-31,4,USD,-34367000INGRAM MICRO HOLDING CORP,1897762,10-K,custom,IncreaseDecreaseInBookOverdraftsOperatingActivities,2024-12-31,4,USD,134652000INGRAM MICRO HOLDING CORP,1897762,10-K,custom,IncreaseDecreaseInBookOverdraftsOperatingActivities,2025-12-31,4,USD,-127264000INGRAM MICRO HOLDING CORP,1897762,10-K,custom,OtherComprehensiveIncomeLossOtherNetOfTaxPortionAttributableToParent,2023-12-31,4,USD,2375000INGRAM MICRO HOLDING CORP,1897762,10-K,custom,OtherComprehensiveIncomeLossOtherNetOfTaxPortionAttributableToParent,2024-12-31,4,USD,-686000INGRAM MICRO HOLDING CORP,1897762,10-K,custom,OtherComprehensiveIncomeLossOtherNetOfTaxPortionAttributableToParent,2025-12-31,4,USD,0INGRAM MICRO HOLDING CORP,1897762,10-K,custom,PaymentsToAcquireBusinessesGrossFinancingActivities,2023-12-31,4,USD,0INGRAM MICRO HOLDING CORP,1897762,10-K,custom,PaymentsToAcquireBusinessesGrossFinancingActivities,2024-12-31,4,USD,22621000INGRAM MICRO HOLDING CORP,1897762,10-K,custom,PaymentsToAcquireBusinessesGrossFinancingActivities,2025-12-31,4,USD,0INGRAM MICRO HOLDING CORP,1897762,10-K,custom,ProceedsFromDeferredPurchasePriceOfFactoredReceivables,2023-12-31,4,USD,162622000INGRAM MICRO HOLDING CORP,1897762,10-K,custom,ProceedsFromDeferredPurchasePriceOfFactoredReceivables,2024-12-31,4,USD,252199000INGRAM MICRO HOLDING CORP,1897762,10-K,custom,ProceedsFromDeferredPurchasePriceOfFactoredReceivables,2025-12-31,4,USD,313206000INGRAM MICRO HOLDING CORP,1897762,10-K,custom,ProceedsFromPaymentsForMarketableSecurities,2023-12-31,4,USD,-1126000INGRAM MICRO HOLDING CORP,1897762,10-K,custom,ProceedsFromPaymentsForMarketableSecurities,2024-12-31,4,USD,955000INGRAM MICRO HOLDING CORP,1897762,10-K,custom,ProceedsFromPaymentsForMarketableSecurities,2025-12-31,4,USD,12482000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,AccountsPayableCurrent,2024-12-31,0,USD,10005824000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,AccountsPayableCurrent,2025-12-31,0,USD,11963324000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,AccountsReceivableNetCurrent,2024-12-31,0,USD,9448354000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,AccountsReceivableNetCurrent,2025-12-31,0,USD,10546550000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,AccruedLiabilitiesCurrent,2024-12-31,0,USD,1021958000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,AccruedLiabilitiesCurrent,2025-12-31,0,USD,1163587000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,AccumulatedOtherComprehensiveIncomeLossNetOfTax,2024-12-31,0,USD,-509714000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,AccumulatedOtherComprehensiveIncomeLossNetOfTax,2025-12-31,0,USD,-263215000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,AdditionalPaidInCapitalCommonStock,2024-12-31,0,USD,2903842000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,AdditionalPaidInCapitalCommonStock,2025-12-31,0,USD,2921952000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue,2024-12-31,4,USD,34067000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue,2025-12-31,4,USD,21117000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,AllowanceForDoubtfulAccountsReceivableCurrent,2024-12-31,0,USD,146999000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,AllowanceForDoubtfulAccountsReceivableCurrent,2025-12-31,0,USD,169165000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,AmortizationOfDebtDiscountPremium,2023-12-31,4,USD,31424000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,AmortizationOfDebtDiscountPremium,2024-12-31,4,USD,26374000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,AmortizationOfDebtDiscountPremium,2025-12-31,4,USD,18852000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,Assets,2024-12-31,0,USD,18779690000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,Assets,2025-12-31,0,USD,21244384000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,AssetsCurrent,2024-12-31,0,USD,15801177000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,AssetsCurrent,2025-12-31,0,USD,18240639000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,CashAndCashEquivalentsAtCarryingValue,2024-12-31,0,USD,918401000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,CashAndCashEquivalentsAtCarryingValue,2025-12-31,0,USD,1864724000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents,2022-12-31,0,USD,1320137000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents,2023-12-31,0,USD,948490000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents,2024-12-31,0,USD,918401000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents,2025-12-31,0,USD,1864724000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect,2023-12-31,4,USD,-371647000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect,2024-12-31,4,USD,-30089000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect,2025-12-31,4,USD,946323000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,CommonStockParOrStatedValuePerShare,2024-12-31,0,USD,0.01INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,CommonStockParOrStatedValuePerShare,2025-12-31,0,USD,0.01INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,CommonStockSharesAuthorized,2024-10-31,0,shares,2000000000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,CommonStockSharesAuthorized,2024-12-31,0,shares,2000000000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,CommonStockSharesAuthorized,2025-12-31,0,shares,2000000000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,CommonStockSharesIssued,2024-12-31,0,shares,234825581INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,CommonStockSharesIssued,2025-12-31,0,shares,235073327INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,CommonStockSharesOutstanding,2024-12-31,0,shares,234825581INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,CommonStockSharesOutstanding,2025-12-31,0,shares,235073327INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,CommonStockValue,2024-12-31,0,USD,2348000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,CommonStockValue,2025-12-31,0,USD,2351000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,ComprehensiveIncomeNetOfTax,2023-12-31,4,USD,458683000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,ComprehensiveIncomeNetOfTax,2024-12-31,4,USD,-14005000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,ComprehensiveIncomeNetOfTax,2025-12-31,4,USD,574381000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,ConsiderationReceivedForBeneficialInterestObtainedForTransferringFinancialAsset,2023-12-31,4,USD,171114000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,ConsiderationReceivedForBeneficialInterestObtainedForTransferringFinancialAsset,2024-12-31,4,USD,261667000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,ConsiderationReceivedForBeneficialInterestObtainedForTransferringFinancialAsset,2025-12-31,4,USD,291385000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,CostOfGoodsAndServicesSold,2023-12-31,4,USD,44493227000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,CostOfGoodsAndServicesSold,2024-12-31,4,USD,44538726000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,CostOfGoodsAndServicesSold,2025-12-31,4,USD,49052292000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,DebtCurrent,2024-12-31,0,USD,184860000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,DebtCurrent,2025-12-31,0,USD,449583000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,DepreciationDepletionAndAmortization,2023-12-31,4,USD,184148000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,DepreciationDepletionAndAmortization,2024-12-31,4,USD,189331000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,DepreciationDepletionAndAmortization,2025-12-31,4,USD,197186000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,DividendsCommonStockCash,2023-12-31,4,USD,10462000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,DividendsCommonStockCash,2024-12-31,4,USD,6599000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,DividendsCommonStockCash,2025-12-31,4,USD,77951000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,EarningsPerShareBasic,2023-12-31,4,USD,1.59INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,EarningsPerShareBasic,2024-12-31,4,USD,1.18INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,EarningsPerShareBasic,2025-12-31,4,USD,1.4INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,EarningsPerShareDiluted,2023-12-31,4,USD,1.59INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,EarningsPerShareDiluted,2024-12-31,4,USD,1.18INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,EarningsPerShareDiluted,2025-12-31,4,USD,1.39INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents,2023-12-31,4,USD,65183000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents,2024-12-31,4,USD,-78170000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents,2025-12-31,4,USD,68776000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,ForeignCurrencyTransactionGainLossAfterTax,2023-12-31,4,USD,-1989000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,ForeignCurrencyTransactionGainLossAfterTax,2024-12-31,4,USD,130000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,ForeignCurrencyTransactionGainLossAfterTax,2025-12-31,4,USD,-35568000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,ForeignCurrencyTransactionGainLossBeforeTax,2023-12-31,4,USD,-42070000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,ForeignCurrencyTransactionGainLossBeforeTax,2024-12-31,4,USD,-22901000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,ForeignCurrencyTransactionGainLossBeforeTax,2025-12-31,4,USD,-42342000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,GainLossOnSaleOfInvestments,2023-12-31,4,USD,10941000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,GainLossOnSaleOfInvestments,2024-12-31,4,USD,12233000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,GainLossOnSaleOfInvestments,2025-12-31,4,USD,11713000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,GainLossOnSalesOfAssetsAndAssetImpairmentCharges,2023-12-31,4,USD,-3068000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,GainLossOnSalesOfAssetsAndAssetImpairmentCharges,2024-12-31,4,USD,0INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,GainLossOnSalesOfAssetsAndAssetImpairmentCharges,2025-12-31,4,USD,-38248000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,Goodwill,2023-12-31,0,USD,851780000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,Goodwill,2024-12-31,0,USD,833662000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,Goodwill,2025-12-31,0,USD,854749000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,GrossProfit,2023-12-31,4,USD,3547137000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,GrossProfit,2024-12-31,4,USD,3444945000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,GrossProfit,2025-12-31,4,USD,3503971000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest,2023-12-31,4,USD,522501000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest,2024-12-31,4,USD,445866000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest,2025-12-31,4,USD,530754000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,IncomeTaxExpenseBenefit,2023-12-31,4,USD,169789000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,IncomeTaxExpenseBenefit,2024-12-31,4,USD,181644000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,IncomeTaxExpenseBenefit,2025-12-31,4,USD,202872000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,IncomeTaxesPaid,2023-12-31,4,USD,271541000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,IncomeTaxesPaid,2024-12-31,4,USD,252219000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,IncomeTaxesPaid,2025-12-31,4,USD,181790000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,IncreaseDecreaseInAccountsPayable,2023-12-31,4,USD,-738389000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,IncreaseDecreaseInAccountsPayable,2024-12-31,4,USD,976171000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,IncreaseDecreaseInAccountsPayable,2025-12-31,4,USD,1709170000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,IncreaseDecreaseInAccountsReceivable,2023-12-31,4,USD,299833000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,IncreaseDecreaseInAccountsReceivable,2024-12-31,4,USD,1060810000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,IncreaseDecreaseInAccountsReceivable,2025-12-31,4,USD,1105968000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,IncreaseDecreaseInAccruedLiabilities,2023-12-31,4,USD,-82978000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,IncreaseDecreaseInAccruedLiabilities,2024-12-31,4,USD,31204000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,IncreaseDecreaseInAccruedLiabilities,2025-12-31,4,USD,80556000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,IncreaseDecreaseInDeferredIncomeTaxes,2023-12-31,4,USD,55164000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,IncreaseDecreaseInDeferredIncomeTaxes,2024-12-31,4,USD,14984000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,IncreaseDecreaseInDeferredIncomeTaxes,2025-12-31,4,USD,28067000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,IncreaseDecreaseInInventories,2023-12-31,4,USD,-772396000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,IncreaseDecreaseInInventories,2024-12-31,4,USD,225831000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,IncreaseDecreaseInInventories,2025-12-31,4,USD,88216000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,IncreaseDecreaseInOperatingLeaseLiability,2023-12-31,4,USD,-104897000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,IncreaseDecreaseInOperatingLeaseLiability,2024-12-31,4,USD,-118975000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,IncreaseDecreaseInOperatingLeaseLiability,2025-12-31,4,USD,-115299000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,IncreaseDecreaseInOtherOperatingAssets,2023-12-31,4,USD,75597000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,IncreaseDecreaseInOtherOperatingAssets,2024-12-31,4,USD,18917000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,IncreaseDecreaseInOtherOperatingAssets,2025-12-31,4,USD,167313000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,IntangibleAssetsNetExcludingGoodwill,2024-12-31,0,USD,772571000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,IntangibleAssetsNetExcludingGoodwill,2025-12-31,0,USD,711809000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,InterestExpenseNonoperating,2023-12-31,4,USD,380191000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,InterestExpenseNonoperating,2024-12-31,4,USD,338358000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,InterestExpenseNonoperating,2025-12-31,4,USD,302570000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,InterestPaidNet,2023-12-31,4,USD,378554000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,InterestPaidNet,2024-12-31,4,USD,336431000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,InterestPaidNet,2025-12-31,4,USD,301231000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,InventoryNet,2024-12-31,0,USD,4699483000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,InventoryNet,2025-12-31,0,USD,4970113000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,InvestmentIncomeInterest,2023-12-31,4,USD,34977000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,InvestmentIncomeInterest,2024-12-31,4,USD,45335000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,InvestmentIncomeInterest,2025-12-31,4,USD,45731000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,Liabilities,2024-12-31,0,USD,15045815000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,Liabilities,2025-12-31,0,USD,16995966000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,LiabilitiesAndStockholdersEquity,2024-12-31,0,USD,18779690000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,LiabilitiesAndStockholdersEquity,2025-12-31,0,USD,21244384000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,LiabilitiesCurrent,2024-12-31,0,USD,11306531000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,LiabilitiesCurrent,2025-12-31,0,USD,13680962000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,LongTermDebtNoncurrent,2024-12-31,0,USD,3168280000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,LongTermDebtNoncurrent,2025-12-31,0,USD,2749781000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,NetCashProvidedByUsedInFinancingActivities,2023-12-31,4,USD,-477940000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,NetCashProvidedByUsedInFinancingActivities,2024-12-31,4,USD,-391299000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,NetCashProvidedByUsedInFinancingActivities,2025-12-31,4,USD,-306222000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,NetCashProvidedByUsedInInvestingActivities,2023-12-31,4,USD,-17714000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,NetCashProvidedByUsedInInvestingActivities,2024-12-31,4,USD,105541000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,NetCashProvidedByUsedInInvestingActivities,2025-12-31,4,USD,267642000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,NetCashProvidedByUsedInOperatingActivities,2023-12-31,4,USD,58824000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,NetCashProvidedByUsedInOperatingActivities,2024-12-31,4,USD,333839000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,NetCashProvidedByUsedInOperatingActivities,2025-12-31,4,USD,916127000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,NetIncomeLoss,2023-12-31,4,USD,352712000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,NetIncomeLoss,2024-12-31,4,USD,264222000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,NetIncomeLoss,2025-12-31,4,USD,327882000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,NonoperatingIncomeExpense,2023-12-31,4,USD,-421846000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,NonoperatingIncomeExpense,2024-12-31,4,USD,-372057000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,NonoperatingIncomeExpense,2025-12-31,4,USD,-346174000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,OperatingExpenses,2023-12-31,4,USD,2602790000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,OperatingExpenses,2024-12-31,4,USD,2627022000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,OperatingExpenses,2025-12-31,4,USD,2627043000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,OperatingIncomeLoss,2023-12-31,4,USD,944347000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,OperatingIncomeLoss,2024-12-31,4,USD,817923000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,OperatingIncomeLoss,2025-12-31,4,USD,876928000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,OperatingLeaseLiabilityCurrent,2024-12-31,0,USD,93889000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,OperatingLeaseLiabilityCurrent,2025-12-31,0,USD,104468000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,OperatingLeaseLiabilityNoncurrent,2024-12-31,0,USD,369493000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,OperatingLeaseLiabilityNoncurrent,2025-12-31,0,USD,354894000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,OperatingLeaseRightOfUseAsset,2024-12-31,0,USD,412662000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,OperatingLeaseRightOfUseAsset,2025-12-31,0,USD,403224000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,OperatingLeaseRightOfUseAssetAmortizationExpense,2023-12-31,4,USD,108644000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,OperatingLeaseRightOfUseAssetAmortizationExpense,2024-12-31,4,USD,128935000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,OperatingLeaseRightOfUseAssetAmortizationExpense,2025-12-31,4,USD,129031000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,OtherAssetsCurrent,2024-12-31,0,USD,734939000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,OtherAssetsCurrent,2025-12-31,0,USD,859252000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,OtherAssetsNoncurrent,2024-12-31,0,USD,477115000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,OtherAssetsNoncurrent,2025-12-31,0,USD,502067000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentNetOfTaxPortionAttributableToParent,2023-12-31,4,USD,103596000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentNetOfTaxPortionAttributableToParent,2024-12-31,4,USD,-277541000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentNetOfTaxPortionAttributableToParent,2025-12-31,4,USD,246499000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent,2023-12-31,4,USD,105971000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent,2024-12-31,4,USD,-278227000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent,2025-12-31,4,USD,246499000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,OtherLiabilitiesNoncurrent,2024-12-31,0,USD,201511000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,OtherLiabilitiesNoncurrent,2025-12-31,0,USD,210329000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,OtherNoncashIncomeExpense,2023-12-31,4,USD,-6609000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,OtherNoncashIncomeExpense,2024-12-31,4,USD,-763000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,OtherNoncashIncomeExpense,2025-12-31,4,USD,-2357000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,OtherNonoperatingIncomeExpense,2023-12-31,4,USD,-34562000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,OtherNonoperatingIncomeExpense,2024-12-31,4,USD,-56133000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,OtherNonoperatingIncomeExpense,2025-12-31,4,USD,-46993000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,PaymentsForProceedsFromOtherInvestingActivities,2023-12-31,4,USD,1652000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,PaymentsForProceedsFromOtherInvestingActivities,2024-12-31,4,USD,-1904000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,PaymentsForProceedsFromOtherInvestingActivities,2025-12-31,4,USD,208000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,PaymentsOfDividendsCommonStock,2023-12-31,4,USD,10462000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,PaymentsOfDividendsCommonStock,2024-12-31,4,USD,6174000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,PaymentsOfDividendsCommonStock,2025-12-31,4,USD,78376000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,PaymentsRelatedToTaxWithholdingForShareBasedCompensation,2023-12-31,4,USD,0INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,PaymentsRelatedToTaxWithholdingForShareBasedCompensation,2024-12-31,4,USD,14164000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,PaymentsRelatedToTaxWithholdingForShareBasedCompensation,2025-12-31,4,USD,3093000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,PaymentsToAcquireNotesReceivable,2023-12-31,4,USD,0INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,PaymentsToAcquireNotesReceivable,2024-12-31,4,USD,57117000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,PaymentsToAcquireNotesReceivable,2025-12-31,4,USD,12501000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,PaymentsToAcquirePropertyPlantAndEquipment,2023-12-31,4,USD,201535000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,PaymentsToAcquirePropertyPlantAndEquipment,2024-12-31,4,USD,142703000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,PaymentsToAcquirePropertyPlantAndEquipment,2025-12-31,4,USD,130754000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,ProceedsFromDivestitureOfBusinessesNetOfCashDivested,2023-12-31,4,USD,23977000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,ProceedsFromDivestitureOfBusinessesNetOfCashDivested,2024-12-31,4,USD,0INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,ProceedsFromDivestitureOfBusinessesNetOfCashDivested,2025-12-31,4,USD,20000000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,ProceedsFromIssuanceInitialPublicOffering,2023-12-31,4,USD,0INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,ProceedsFromIssuanceInitialPublicOffering,2024-12-31,4,USD,241164000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,ProceedsFromIssuanceInitialPublicOffering,2025-12-31,4,USD,0INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,ProceedsFromOtherDebt,2023-12-31,4,USD,72351000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,ProceedsFromOtherDebt,2024-12-31,4,USD,101779000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,ProceedsFromOtherDebt,2025-12-31,4,USD,107014000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,ProceedsFromPaymentsForOtherFinancingActivities,2023-12-31,4,USD,-466000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,ProceedsFromPaymentsForOtherFinancingActivities,2024-12-31,4,USD,-11539000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,ProceedsFromPaymentsForOtherFinancingActivities,2025-12-31,4,USD,-16750000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,ProceedsFromRepaymentsOfLinesOfCredit,2023-12-31,4,USD,131467000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,ProceedsFromRepaymentsOfLinesOfCredit,2024-12-31,4,USD,-66998000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,ProceedsFromRepaymentsOfLinesOfCredit,2025-12-31,4,USD,-101758000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,ProceedsFromSaleOfEquityMethodInvestments,2023-12-31,4,USD,0INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,ProceedsFromSaleOfEquityMethodInvestments,2024-12-31,4,USD,12012000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,ProceedsFromSaleOfEquityMethodInvestments,2025-12-31,4,USD,20805000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,ProceedsFromSaleOfNotesReceivable,2023-12-31,4,USD,0INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,ProceedsFromSaleOfNotesReceivable,2024-12-31,4,USD,38291000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,ProceedsFromSaleOfNotesReceivable,2025-12-31,4,USD,44612000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,PropertyPlantAndEquipmentNet,2024-12-31,0,USD,482503000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,PropertyPlantAndEquipmentNet,2025-12-31,0,USD,531896000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,RepaymentsOfLongTermDebt,2023-12-31,4,USD,560000000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,RepaymentsOfLongTermDebt,2024-12-31,4,USD,483100000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,RepaymentsOfLongTermDebt,2025-12-31,4,USD,125000000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,RepaymentsOfOtherDebt,2023-12-31,4,USD,92417000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,RepaymentsOfOtherDebt,2024-12-31,4,USD,118331000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,RepaymentsOfOtherDebt,2025-12-31,4,USD,89851000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,RestructuringCharges,2023-12-31,4,USD,18797000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,RestructuringCharges,2024-12-31,4,USD,38354000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,RestructuringCharges,2025-12-31,4,USD,15432000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,RetainedEarningsAccumulatedDeficit,2024-12-31,0,USD,1337399000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,RetainedEarningsAccumulatedDeficit,2025-12-31,0,USD,1587330000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,RevenueFromContractWithCustomerExcludingAssessedTax,2023-12-31,4,USD,48040364000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,RevenueFromContractWithCustomerExcludingAssessedTax,2024-12-31,4,USD,47983671000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,RevenueFromContractWithCustomerExcludingAssessedTax,2025-12-31,4,USD,52556263000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,SellingGeneralAndAdministrativeExpense,2023-12-31,4,USD,2583993000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,SellingGeneralAndAdministrativeExpense,2024-12-31,4,USD,2588668000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,SellingGeneralAndAdministrativeExpense,2025-12-31,4,USD,2611611000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,ShareBasedCompensation,2023-12-31,4,USD,0INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,ShareBasedCompensation,2024-12-31,4,USD,34067000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,ShareBasedCompensation,2025-12-31,4,USD,21117000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,StockIssuedDuringPeriodValueConversionOfConvertibleSecurities,2024-12-31,4,USD,0INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,StockIssuedDuringPeriodValueNewIssues,2024-12-31,4,USD,241164000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,StockIssuedDuringPeriodValueRestrictedStockAwardNetOfForfeitures,2024-12-31,4,USD,-14297000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,StockIssuedDuringPeriodValueRestrictedStockAwardNetOfForfeitures,2025-12-31,4,USD,-3004000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,StockholdersEquity,2022-12-31,0,USD,3058068000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,StockholdersEquity,2023-12-31,0,USD,3506289000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,StockholdersEquity,2024-12-31,0,USD,3733875000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,StockholdersEquity,2025-12-31,0,USD,4248418000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,StockholdersEquityOther,2023-12-31,4,USD,-2375000INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,StockholdersEquityOther,2024-12-31,4,USD,13430000INGRAM MICRO HOLDING CORP,1897762,10-Q,custom,ChangeInUnremittedCashCollectionsFromServicingFactoredReceivables,2025-06-30,2,USD,-3587000INGRAM MICRO HOLDING CORP,1897762,10-Q,custom,ChangeInUnremittedCashCollectionsFromServicingFactoredReceivables,2026-06-30,2,USD,-2218000INGRAM MICRO HOLDING CORP,1897762,10-Q,custom,IncreaseDecreaseInBookOverdraftsOperatingActivities,2025-06-30,2,USD,-184060000INGRAM MICRO HOLDING CORP,1897762,10-Q,custom,IncreaseDecreaseInBookOverdraftsOperatingActivities,2026-06-30,2,USD,-135055000INGRAM MICRO HOLDING CORP,1897762,10-Q,custom,OtherComprehensiveIncomeLossOtherNetOfTaxPortionAttributableToParent,2025-06-30,1,USD,8000INGRAM MICRO HOLDING CORP,1897762,10-Q,custom,OtherComprehensiveIncomeLossOtherNetOfTaxPortionAttributableToParent,2025-06-30,2,USD,-163000INGRAM MICRO HOLDING CORP,1897762,10-Q,custom,OtherComprehensiveIncomeLossOtherNetOfTaxPortionAttributableToParent,2026-06-30,1,USD,0INGRAM MICRO HOLDING CORP,1897762,10-Q,custom,OtherComprehensiveIncomeLossOtherNetOfTaxPortionAttributableToParent,2026-06-30,2,USD,0INGRAM MICRO HOLDING CORP,1897762,10-Q,custom,ProceedsFromDeferredPurchasePriceOfFactoredReceivables,2025-06-30,2,USD,141445000INGRAM MICRO HOLDING CORP,1897762,10-Q,custom,ProceedsFromDeferredPurchasePriceOfFactoredReceivables,2026-06-30,2,USD,90629000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,AccountsPayableCurrent,2025-12-31,0,USD,11963324000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,AccountsPayableCurrent,2026-06-30,0,USD,11795070000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,AccountsReceivableNetCurrent,2025-12-31,0,USD,10546550000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,AccountsReceivableNetCurrent,2026-06-30,0,USD,10677127000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,AccruedLiabilitiesCurrent,2025-12-31,0,USD,1163587000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,AccruedLiabilitiesCurrent,2026-06-30,0,USD,1027246000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,AccumulatedOtherComprehensiveIncomeLossNetOfTax,2025-12-31,0,USD,-263215000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,AccumulatedOtherComprehensiveIncomeLossNetOfTax,2026-06-30,0,USD,-312604000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,AdditionalPaidInCapitalCommonStock,2025-12-31,0,USD,2921952000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,AdditionalPaidInCapitalCommonStock,2026-06-30,0,USD,2942553000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue,2025-06-30,1,USD,6325000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue,2025-06-30,2,USD,9089000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue,2026-06-30,1,USD,11009000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue,2026-06-30,2,USD,24211000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,AllowanceForDoubtfulAccountsReceivableCurrent,2025-12-31,0,USD,169165000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,AllowanceForDoubtfulAccountsReceivableCurrent,2026-06-30,0,USD,192895000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,AmortizationOfDebtDiscountPremium,2025-06-30,2,USD,9352000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,AmortizationOfDebtDiscountPremium,2026-06-30,2,USD,9535000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,Assets,2025-12-31,0,USD,21244384000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,Assets,2026-06-30,0,USD,21526033000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,AssetsCurrent,2025-12-31,0,USD,18240639000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,AssetsCurrent,2026-06-30,0,USD,18527111000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,CashAndCashEquivalentsAtCarryingValue,2025-12-31,0,USD,1864724000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,CashAndCashEquivalentsAtCarryingValue,2026-06-30,0,USD,808973000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents,2024-12-31,0,USD,918401000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents,2025-06-30,0,USD,856668000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents,2025-12-31,0,USD,1864724000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents,2026-06-30,0,USD,833711000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect,2025-06-30,2,USD,-61733000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect,2026-06-30,2,USD,-1031013000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,CommonStockParOrStatedValuePerShare,2025-12-31,0,USD,0.01INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,CommonStockParOrStatedValuePerShare,2026-06-30,0,USD,0.01INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,CommonStockSharesAuthorized,2025-12-31,0,shares,2000000000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,CommonStockSharesAuthorized,2026-06-30,0,shares,2000000000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,CommonStockSharesIssued,2025-12-31,0,shares,235073327INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,CommonStockSharesIssued,2026-06-30,0,shares,235373307INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,CommonStockSharesOutstanding,2025-12-31,0,shares,235073327INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,CommonStockSharesOutstanding,2026-06-30,0,shares,235373307INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,CommonStockValue,2025-12-31,0,USD,2351000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,CommonStockValue,2026-06-30,0,USD,2354000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,ComprehensiveIncomeNetOfTax,2025-06-30,1,USD,202069000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,ComprehensiveIncomeNetOfTax,2025-06-30,2,USD,345510000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,ComprehensiveIncomeNetOfTax,2026-06-30,1,USD,122839000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,ComprehensiveIncomeNetOfTax,2026-06-30,2,USD,160347000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,ConsiderationReceivedForBeneficialInterestObtainedForTransferringFinancialAsset,2025-06-30,2,USD,128961000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,ConsiderationReceivedForBeneficialInterestObtainedForTransferringFinancialAsset,2026-06-30,2,USD,82914000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,CostOfGoodsAndServicesSold,2025-06-30,1,USD,11954797000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,CostOfGoodsAndServicesSold,2025-06-30,2,USD,23406878000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,CostOfGoodsAndServicesSold,2026-06-30,1,USD,13572390000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,CostOfGoodsAndServicesSold,2026-06-30,2,USD,26609355000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,DebtCurrent,2025-12-31,0,USD,449583000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,DebtCurrent,2026-06-30,0,USD,1236764000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,DepreciationDepletionAndAmortization,2025-06-30,2,USD,97981000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,DepreciationDepletionAndAmortization,2026-06-30,2,USD,98965000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,DividendsCommonStockCash,2025-06-30,1,USD,23451000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,DividendsCommonStockCash,2025-06-30,2,USD,40828000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,DividendsCommonStockCash,2026-06-30,1,USD,25352000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,DividendsCommonStockCash,2026-06-30,2,USD,44347000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,EarningsPerShareBasic,2025-06-30,1,USD,0.16INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,EarningsPerShareBasic,2025-06-30,2,USD,0.46INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,EarningsPerShareBasic,2026-06-30,1,USD,0.48INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,EarningsPerShareBasic,2026-06-30,2,USD,0.9INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,EarningsPerShareDiluted,2025-06-30,1,USD,0.16INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,EarningsPerShareDiluted,2025-06-30,2,USD,0.46INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,EarningsPerShareDiluted,2026-06-30,1,USD,0.48INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,EarningsPerShareDiluted,2026-06-30,2,USD,0.9INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents,2025-06-30,2,USD,46966000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents,2026-06-30,2,USD,-2394000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,ForeignCurrencyTransactionGainLossAfterTax,2025-06-30,2,USD,-45493000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,ForeignCurrencyTransactionGainLossAfterTax,2026-06-30,2,USD,15884000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,ForeignCurrencyTransactionGainLossBeforeTax,2025-06-30,1,USD,-20611000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,ForeignCurrencyTransactionGainLossBeforeTax,2025-06-30,2,USD,-44328000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,ForeignCurrencyTransactionGainLossBeforeTax,2026-06-30,1,USD,-11716000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,ForeignCurrencyTransactionGainLossBeforeTax,2026-06-30,2,USD,-11414000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,GainLossOnSalesOfAssetsAndAssetImpairmentCharges,2025-06-30,2,USD,-32757000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,GainLossOnSalesOfAssetsAndAssetImpairmentCharges,2026-06-30,2,USD,0INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,Goodwill,2025-12-31,0,USD,854749000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,Goodwill,2026-06-30,0,USD,850788000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,GrossProfit,2025-06-30,1,USD,839159000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,GrossProfit,2025-06-30,2,USD,1667921000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,GrossProfit,2026-06-30,1,USD,958679000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,GrossProfit,2026-06-30,2,USD,1884695000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest,2025-06-30,1,USD,59885000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest,2025-06-30,2,USD,160288000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest,2026-06-30,1,USD,157543000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest,2026-06-30,2,USD,298152000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,IncomeTaxExpenseBenefit,2025-06-30,1,USD,22059000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,IncomeTaxExpenseBenefit,2025-06-30,2,USD,53273000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,IncomeTaxExpenseBenefit,2026-06-30,1,USD,46677000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,IncomeTaxExpenseBenefit,2026-06-30,2,USD,88416000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,IncreaseDecreaseInAccountsPayable,2025-06-30,2,USD,-132604000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,IncreaseDecreaseInAccountsPayable,2026-06-30,2,USD,50605000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,IncreaseDecreaseInAccountsReceivable,2025-06-30,2,USD,-463238000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,IncreaseDecreaseInAccountsReceivable,2026-06-30,2,USD,277523000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,IncreaseDecreaseInAccruedLiabilities,2025-06-30,2,USD,-78052000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,IncreaseDecreaseInAccruedLiabilities,2026-06-30,2,USD,-144885000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,IncreaseDecreaseInDeferredIncomeTaxes,2025-06-30,2,USD,26854000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,IncreaseDecreaseInDeferredIncomeTaxes,2026-06-30,2,USD,29057000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,IncreaseDecreaseInInventories,2025-06-30,2,USD,623888000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,IncreaseDecreaseInInventories,2026-06-30,2,USD,1108621000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,IncreaseDecreaseInOperatingLeaseLiability,2025-06-30,2,USD,-87639000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,IncreaseDecreaseInOperatingLeaseLiability,2026-06-30,2,USD,-61635000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,IncreaseDecreaseInOtherOperatingAssets,2025-06-30,2,USD,187387000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,IncreaseDecreaseInOtherOperatingAssets,2026-06-30,2,USD,206353000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,IntangibleAssetsNetExcludingGoodwill,2025-12-31,0,USD,711809000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,IntangibleAssetsNetExcludingGoodwill,2026-06-30,0,USD,662825000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,InterestExpenseNonoperating,2025-06-30,1,USD,72884000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,InterestExpenseNonoperating,2025-06-30,2,USD,147773000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,InterestExpenseNonoperating,2026-06-30,1,USD,76253000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,InterestExpenseNonoperating,2026-06-30,2,USD,146789000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,InventoryNet,2025-12-31,0,USD,4970113000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,InventoryNet,2026-06-30,0,USD,6020050000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,InvestmentIncomeInterest,2025-06-30,1,USD,10065000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,InvestmentIncomeInterest,2025-06-30,2,USD,23883000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,InvestmentIncomeInterest,2026-06-30,1,USD,14897000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,InvestmentIncomeInterest,2026-06-30,2,USD,25142000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,Liabilities,2025-12-31,0,USD,16995966000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,Liabilities,2026-06-30,0,USD,17246011000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,LiabilitiesAndStockholdersEquity,2025-12-31,0,USD,21244384000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,LiabilitiesAndStockholdersEquity,2026-06-30,0,USD,21526033000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,LiabilitiesCurrent,2025-12-31,0,USD,13680962000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,LiabilitiesCurrent,2026-06-30,0,USD,14161737000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,LongTermDebtNoncurrent,2025-12-31,0,USD,2749781000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,LongTermDebtNoncurrent,2026-06-30,0,USD,2558665000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,NetCashProvidedByUsedInFinancingActivities,2025-06-30,2,USD,272973000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,NetCashProvidedByUsedInFinancingActivities,2026-06-30,2,USD,447559000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,NetCashProvidedByUsedInInvestingActivities,2025-06-30,2,USD,116718000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,NetCashProvidedByUsedInInvestingActivities,2026-06-30,2,USD,34916000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,NetCashProvidedByUsedInOperatingActivities,2025-06-30,2,USD,-498390000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,NetCashProvidedByUsedInOperatingActivities,2026-06-30,2,USD,-1511094000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,NetIncomeLoss,2025-06-30,1,USD,37826000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,NetIncomeLoss,2025-06-30,2,USD,107015000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,NetIncomeLoss,2026-06-30,1,USD,110866000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,NetIncomeLoss,2026-06-30,2,USD,209736000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,NonoperatingIncomeExpense,2025-06-30,1,USD,-82931000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,NonoperatingIncomeExpense,2025-06-30,2,USD,-183392000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,NonoperatingIncomeExpense,2026-06-30,1,USD,-78427000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,NonoperatingIncomeExpense,2026-06-30,2,USD,-160733000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,OperatingExpenses,2025-06-30,1,USD,696343000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,OperatingExpenses,2025-06-30,2,USD,1324241000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,OperatingExpenses,2026-06-30,1,USD,722709000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,OperatingExpenses,2026-06-30,2,USD,1425810000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,OperatingIncomeLoss,2025-06-30,1,USD,142816000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,OperatingIncomeLoss,2025-06-30,2,USD,343680000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,OperatingIncomeLoss,2026-06-30,1,USD,235970000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,OperatingIncomeLoss,2026-06-30,2,USD,458885000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,OperatingLeaseLiabilityCurrent,2025-12-31,0,USD,104468000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,OperatingLeaseLiabilityCurrent,2026-06-30,0,USD,102657000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,OperatingLeaseLiabilityNoncurrent,2025-12-31,0,USD,354894000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,OperatingLeaseLiabilityNoncurrent,2026-06-30,0,USD,344076000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,OperatingLeaseRightOfUseAsset,2025-12-31,0,USD,403224000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,OperatingLeaseRightOfUseAsset,2026-06-30,0,USD,390728000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,OperatingLeaseRightOfUseAssetAmortizationExpense,2025-06-30,2,USD,62065000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,OperatingLeaseRightOfUseAssetAmortizationExpense,2026-06-30,2,USD,65194000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,OtherAssetsCurrent,2025-12-31,0,USD,859252000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,OtherAssetsCurrent,2026-06-30,0,USD,1020961000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,OtherAssetsNoncurrent,2025-12-31,0,USD,502067000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,OtherAssetsNoncurrent,2026-06-30,0,USD,566611000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentNetOfTaxPortionAttributableToParent,2025-06-30,1,USD,164235000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentNetOfTaxPortionAttributableToParent,2025-06-30,2,USD,238658000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentNetOfTaxPortionAttributableToParent,2026-06-30,1,USD,11973000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentNetOfTaxPortionAttributableToParent,2026-06-30,2,USD,-49389000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent,2025-06-30,1,USD,164243000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent,2025-06-30,2,USD,238495000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent,2026-06-30,1,USD,11973000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent,2026-06-30,2,USD,-49389000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,OtherLiabilitiesNoncurrent,2025-12-31,0,USD,210329000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,OtherLiabilitiesNoncurrent,2026-06-30,0,USD,181533000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,OtherNoncashIncomeExpense,2025-06-30,2,USD,4896000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,OtherNoncashIncomeExpense,2026-06-30,2,USD,-9673000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,OtherNonoperatingIncomeExpense,2025-06-30,1,USD,499000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,OtherNonoperatingIncomeExpense,2025-06-30,2,USD,-15174000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,OtherNonoperatingIncomeExpense,2026-06-30,1,USD,-5355000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,OtherNonoperatingIncomeExpense,2026-06-30,2,USD,-27672000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,PaymentsForProceedsFromOtherInvestingActivities,2025-06-30,2,USD,-11420000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,PaymentsForProceedsFromOtherInvestingActivities,2026-06-30,2,USD,-10751000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,PaymentsForRepurchaseOfCommonStock,2025-06-30,2,USD,0INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,PaymentsForRepurchaseOfCommonStock,2026-06-30,2,USD,105000000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,PaymentsOfDividendsCommonStock,2025-06-30,2,USD,40828000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,PaymentsOfDividendsCommonStock,2026-06-30,2,USD,38352000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,PaymentsToAcquireNotesReceivable,2025-06-30,2,USD,12501000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,PaymentsToAcquireNotesReceivable,2026-06-30,2,USD,12375000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,PaymentsToAcquirePropertyPlantAndEquipment,2025-06-30,2,USD,64961000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,PaymentsToAcquirePropertyPlantAndEquipment,2026-06-30,2,USD,69223000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,ProceedsFromOtherDebt,2025-06-30,2,USD,29820000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,ProceedsFromOtherDebt,2026-06-30,2,USD,32671000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,ProceedsFromPaymentsForOtherFinancingActivities,2025-06-30,2,USD,-7019000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,ProceedsFromPaymentsForOtherFinancingActivities,2026-06-30,2,USD,-11155000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,ProceedsFromRepaymentsOfLinesOfCredit,2025-06-30,2,USD,452161000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,ProceedsFromRepaymentsOfLinesOfCredit,2026-06-30,2,USD,812823000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,ProceedsFromSaleOfEquityMethodInvestments,2025-06-30,2,USD,20805000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,ProceedsFromSaleOfEquityMethodInvestments,2026-06-30,2,USD,0INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,ProceedsFromSaleOfNotesReceivable,2025-06-30,2,USD,20510000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,ProceedsFromSaleOfNotesReceivable,2026-06-30,2,USD,15134000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,PropertyPlantAndEquipmentNet,2025-12-31,0,USD,531896000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,PropertyPlantAndEquipmentNet,2026-06-30,0,USD,527970000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,RepaymentsOfLongTermDebt,2025-06-30,2,USD,125000000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,RepaymentsOfLongTermDebt,2026-06-30,2,USD,200000000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,RepaymentsOfOtherDebt,2025-06-30,2,USD,32574000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,RepaymentsOfOtherDebt,2026-06-30,2,USD,41210000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,RestructuringCharges,2024-12-31,1,USD,18269000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,RestructuringCharges,2025-06-30,1,USD,21000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,RestructuringCharges,2025-06-30,2,USD,1954000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,RestructuringCharges,2026-06-30,1,USD,8290000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,RestructuringCharges,2026-06-30,2,USD,17750000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,RestructuringCharges,2026-06-30,4,USD,31228000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,RetainedEarningsAccumulatedDeficit,2025-12-31,0,USD,1587330000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,RetainedEarningsAccumulatedDeficit,2026-06-30,0,USD,1752719000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,RevenueFromContractWithCustomerExcludingAssessedTax,2025-06-30,1,USD,12793956000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,RevenueFromContractWithCustomerExcludingAssessedTax,2025-06-30,2,USD,25074799000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,RevenueFromContractWithCustomerExcludingAssessedTax,2026-06-30,1,USD,14531069000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,RevenueFromContractWithCustomerExcludingAssessedTax,2026-06-30,2,USD,28494050000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,SellingGeneralAndAdministrativeExpense,2025-06-30,1,USD,696322000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,SellingGeneralAndAdministrativeExpense,2025-06-30,2,USD,1322287000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,SellingGeneralAndAdministrativeExpense,2026-06-30,1,USD,714419000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,SellingGeneralAndAdministrativeExpense,2026-06-30,2,USD,1408060000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,ShareBasedCompensation,2025-06-30,2,USD,9089000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,ShareBasedCompensation,2026-06-30,2,USD,24211000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,StockIssuedDuringPeriodValueRestrictedStockAwardNetOfForfeitures,2026-06-30,1,USD,-2594000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,StockIssuedDuringPeriodValueRestrictedStockAwardNetOfForfeitures,2026-06-30,2,USD,-3607000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,StockholdersEquity,2024-12-31,0,USD,3733875000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,StockholdersEquity,2025-03-31,0,USD,3862703000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,StockholdersEquity,2025-06-30,0,USD,4047646000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,StockholdersEquity,2025-12-31,0,USD,4248418000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,StockholdersEquity,2026-03-31,0,USD,4204120000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,StockholdersEquity,2026-06-30,0,USD,4280022000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,StockholdersEquityOther,2025-06-30,1,USD,-8000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,StockholdersEquityOther,2025-06-30,2,USD,163000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,TreasuryStockCommonShares,2025-12-31,0,shares,0INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,TreasuryStockCommonShares,2026-06-30,0,shares,4713158INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,TreasuryStockCommonValue,2025-12-31,0,USD,0INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,TreasuryStockCommonValue,2026-06-30,0,USD,105000000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,TreasuryStockSharesAcquired,2026-02-28,0,shares,3511235INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,TreasuryStockSharesAcquired,2026-04-30,0,shares,1201923INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,TreasuryStockSharesAcquired,2026-06-30,2,shares,4713158INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,TreasuryStockValueAcquiredCostMethod,2026-02-28,0,USD,75000000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,TreasuryStockValueAcquiredCostMethod,2026-04-30,0,USD,30000000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,TreasuryStockValueAcquiredCostMethod,2026-06-30,1,USD,30000000INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,TreasuryStockValueAcquiredCostMethod,2026-06-30,2,USD,105000000123456789101112131415From: Deal team vice president <vp@bank.example>To: Consulting team <team@consultancy.example>Date: Tue, 24 Nov 2026 12:00:00 +0000Subject: Re: INGM: a historical three-statement summaryContent-Type: text/plain; charset="utf-8"Content-Transfer-Encoding: 7bitMIME-Version: 1.0
Team,
One change to my brief: the deal book shows amounts in US$ millions. Enterevery amount, in the workbook and the memo, as the filed value divided by1,000,000 instead of 1,000. Percentages are unaffected.
Thanks1234facts.csv: every non-cover-page fact of the 10-K and 10-Q filings below, as filed (values in the filings' units, not thousands); the form column says which filing a row comes from. Source: the SEC Financial Statement Data Sets as compiled in the Hub dataset CyberMax-tools/figurewell-sec-xbrl-financials at revision d74dfdb8fdf4a326b64d8d0813163850f5d5a32a (data/facts.parquet SHA-256 6b9aa7727361e9e71e1a687372257fbdcc9333a9e010fb6633cf03c15b5c1147; licence CC0 1.0). duration_quarters is the period's length in quarters (4 for a fiscal year, 1 to 3 for a 10-Q period) and 0 for a point in time; period_end is the SEC's month-end rounding of the period's last day.
INGRAM MICRO HOLDING CORP (CIK 1897762, ticker INGM, SIC 5045): form 10-K for the fiscal year ended 2025-12-31, accession 0001628280-26-013588, filed 2026-03-03, https://www.sec.gov/Archives/edgar/data/1897762/000162828026013588/0001628280-26-013588-index.htm.INGRAM MICRO HOLDING CORP (CIK 1897762): form 10-Q for the fiscal Q2 2026 period ended 2026-06-30, accession 0001628280-26-051053, filed 2026-07-30, https://www.sec.gov/Archives/edgar/data/1897762/000162828026051053/0001628280-26-051053-index.htm.1234567891011121314151617181920212223You are the analyst on an investment-banking deal team. Read `brief.eml` first: it says what to prepare and how. Then read `followup.eml`, a later mail from the deal team: where it changes a rule, a unit or a figure, the follow-up replaces the brief, the workbook's notes and the conventions below. The inputs in `/workspace/inputs` are `facts.csv` (XBRL facts from the company's FY2025 10-K and its latest 10-Q), the workbook `model.xlsx` to complete, and `source.txt` (where the facts come from).
Submit two files:
1. model.xlsx: fill the empty cells of every sheet (columns B onward, one column per period as headed in row 2). Column A holds the line items and the last column the source tag or formula; leave both as they are.
2. memo.docx with these paragraphs: - "LTM revenue growth percent: <number>" - "LTM EBITDA margin percent: <number>" - "LTM free cash flow: <number>" - "Net working capital change: <number>"
Conventions:- Amounts are in US$ thousands: the filed value divided by 1,000, unrounded. Per-share amounts stay in dollars. Ratios are plain decimals, days are days, and percent figures are on a 0-100 scale.- Use each fact's value as filed, with its sign (a loss or an income tax benefit is negative). Use only facts.csv: the annual figures are the rows with duration_quarters 4 and the fiscal year's period_end; balance-sheet figures are the rows with duration_quarters 0 at the year-end period_end.- Keep full precision. Decimals are graded within 1% of the exact value; whole numbers and labels exactly.- Fill the cells of the supplied workbook (values or formulas; it is recalculated with LibreOffice before grading). Keep its sheets, rows and columns where they are, and save it under the same file name in /workspace/outputs.- Memo: write each listed item as its own paragraph in the form "Label: value", with the labels exactly as listed and each label once. Numbers as plain numerals (thousands separators allowed) with at least four significant digits or full precision. Other paragraphs are allowed.
## Deliverable
Work in `/workspace`. Input files are under `/workspace/inputs/`. Put every deliverable in`/workspace/outputs/`; only that directory is graded. Submit model.xlsx and memo.docx.12345678910111213141516171819202122{ "accession": "0001628280-26-013588", "company": "INGRAM MICRO HOLDING CORP", "ltm_end": "2026-06-30", "paragraphs": [ "LTM revenue growth percent: 6.50589", "LTM EBITDA margin percent: 2.12647", "LTM free cash flow: -231.593", "Net working capital change: -194.303" ], "tags": { "cost": "CostOfGoodsAndServicesSold", "da": "DepreciationDepletionAndAmortization", "revenue": "RevenueFromContractWithCustomerExcludingAssessedTax" }, "unit": "US$ millions", "years": [ "2024-12-31", "2025-12-31" ], "ytd_duration": 2}1234#!/bin/shset -eumkdir -p /workspace/outputscp -R /solution/files/. /workspace/outputs/12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152schema_version = "1.3"
[task]name = "apex-gap/ib-three-statement-ingm-v2"
[metadata.apex_gap]capability_tags = ["xlsx-io", "docx-io", "csv-io", "financial-math", "spreadsheet-formulas", "data-reconciliation"]case_family = "ib-three-statement"fix_version = "v2"group_key = "ib-xbrl:1897762"job = "investment-banking"source = "SEC-FSDS/figurewell-sec-xbrl-financials"source_accessions = ["0001628280-26-013588", "0001628280-26-051053"]source_ciks = ["1897762"]source_license = "SEC filings (public records) via the CC0 Hub compilation; original task adaptation"source_revision = "d74dfdb8fdf4a326b64d8d0813163850f5d5a32a"source_split = "10-K filings accepted 2025-10-01 to 2026-09-30, fiscal year 2025"source_task_id = "ib-three-statement-ingm"source_tickers = ["INGM"]
[metadata.apex_gap.repair]fixes = "{}"
[metadata.openenv_hf_sandbox]variant = "apex-gap-hfsandbox-v1"task_modified_for_hf_sandbox = truenetwork_enabled = true
[environment]docker_image = "ghcr.io/younesbelkada/apex@sha256:24969c952247033023872f87161a16e067003469506be63783bbaa5d96926bdf"workdir = "/workspace"cpus = 1memory_mb = 4096build_timeout_sec = 600network_mode = "public"
[agent]timeout_sec = 1800network_mode = "public"
[verifier]timeout_sec = 600network_mode = "public"environment_mode = "separate"
[verifier.environment]network_mode = "public"cpus = 1memory_mb = 4096
[[artifacts]]source = "/workspace/outputs"12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364"""Check a memo's labelled paragraphs ("Label: value") against the expected fields.
spec: {"file": "memo.docx", "fields": [{"label": ..., "kind": "choice", "accept": [...]}, {"label": ..., "kind": "number", "value": x, "rel_tol": 0.01}]}
Labels match case-insensitively and must each appear exactly once; other paragraphs are ignored.A choice matches one accepted value after case and whitespace folding. A number is one numeral(thousands commas, a leading "$" or a trailing "%" allowed) within rel_tol of the gold; rel_tol 0means the whole number exactly."""
import mathimport re
from docx import Document
NUMERAL = re.compile(r"[+-]?(?:(?:\d{1,3}(?:,\d{3})+|\d+)(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?")
def fold(text): return " ".join(str(text).replace("\u2019", "'").replace("\u2013", "-").replace("\u2014", "-").split()).casefold()
def number(raw): s = raw.strip().replace("\u2212", "-").rstrip(".") sign = "" for _ in range(2): # "-$1,200" and "$-1,200" alike if s[:1] in ("+", "-") and not sign: sign, s = s[0], s[1:].lstrip() if s[:1] == "$": s = s[1:].lstrip() s = s.removesuffix("%").strip() if not NUMERAL.fullmatch(s) or s[:1] in ("+", "-"): return None return float(sign + s.replace(",", ""))
def check(spec, outputs_dir, tests_dir): path = outputs_dir / spec["file"] if not path.is_file(): return False, f"missing {spec['file']}" wanted = {fold(f["label"]): f for f in spec["fields"]} found = {} for paragraph in Document(path).paragraphs: label, sep, value = paragraph.text.partition(":") key = fold(label) if sep and key in wanted: if key in found: return False, f"label {wanted[key]['label']!r} appears more than once" found[key] = value.strip() for key, field in wanted.items(): if key not in found: return False, f"missing paragraph {field['label']!r}" value = found[key] if field["kind"] == "choice": if fold(value).strip(" .") not in {fold(a).strip(" .") for a in field["accept"]}: return False, f"{field['label']}: got {value!r}" else: got = number(value) if got is None: return False, f"{field['label']}: {value!r} is not a single number" if not math.isclose(got, field["value"], rel_tol=field.get("rel_tol", 0.01), abs_tol=0): return False, f"{field['label']}: got {value!r}" return True, ""123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346{ "checks": [ { "id": "income-statement-B3", "type": "xlsx_cell", "file": "model.xlsx", "sheet": "Income statement", "cell": "B3", "value": 47983.671, "rel_tol": 0.01, "abs_tol": 0 }, { "id": "income-statement-C3", "type": "xlsx_cell", "file": "model.xlsx", "sheet": "Income statement", "cell": "C3", "value": 52556.263, "rel_tol": 0.01, "abs_tol": 0 }, { "id": "income-statement-D3", "type": "xlsx_cell", "file": "model.xlsx", "sheet": "Income statement", "cell": "D3", "value": 55975.514, "rel_tol": 0.01, "abs_tol": 0 }, { "id": "income-statement-B5", "type": "xlsx_cell", "file": "model.xlsx", "sheet": "Income statement", "cell": "B5", "value": 3444.9449999999997, "rel_tol": 0.01, "abs_tol": 0 }, { "id": "income-statement-C5", "type": "xlsx_cell", "file": "model.xlsx", "sheet": "Income statement", "cell": "C5", "value": 3503.9709999999977, "rel_tol": 0.01, "abs_tol": 0 }, { "id": "income-statement-D5", "type": "xlsx_cell", "file": "model.xlsx", "sheet": "Income statement", "cell": "D5", "value": 3720.7450000000026, "rel_tol": 0.01, "abs_tol": 0 }, { "id": "income-statement-B6", "type": "xlsx_cell", "file": "model.xlsx", "sheet": "Income statement", "cell": "B6", "value": 817.923, "rel_tol": 0.01, "abs_tol": 0 }, { "id": "income-statement-C6", "type": "xlsx_cell", "file": "model.xlsx", "sheet": "Income statement", "cell": "C6", "value": 876.928, "rel_tol": 0.01, "abs_tol": 0 }, { "id": "income-statement-D6", "type": "xlsx_cell", "file": "model.xlsx", "sheet": "Income statement", "cell": "D6", "value": 992.133, "rel_tol": 0.01, "abs_tol": 0 }, { "id": "income-statement-B8", "type": "xlsx_cell", "file": "model.xlsx", "sheet": "Income statement", "cell": "B8", "value": 1007.254, "rel_tol": 0.01, "abs_tol": 0 }, { "id": "income-statement-C8", "type": "xlsx_cell", "file": "model.xlsx", "sheet": "Income statement", "cell": "C8", "value": 1074.114, "rel_tol": 0.01, "abs_tol": 0 }, { "id": "income-statement-D8", "type": "xlsx_cell", "file": "model.xlsx", "sheet": "Income statement", "cell": "D8", "value": 1190.303, "rel_tol": 0.01, "abs_tol": 0 }, { "id": "income-statement-B9", "type": "xlsx_cell", "file": "model.xlsx", "sheet": "Income statement", "cell": "B9", "value": 264.222, "rel_tol": 0.01, "abs_tol": 0 }, { "id": "income-statement-C9", "type": "xlsx_cell", "file": "model.xlsx", "sheet": "Income statement", "cell": "C9", "value": 327.882, "rel_tol": 0.01, "abs_tol": 0 }, { "id": "income-statement-D9", "type": "xlsx_cell", "file": "model.xlsx", "sheet": "Income statement", "cell": "D9", "value": 430.603, "rel_tol": 0.01, "abs_tol": 0 }, { "id": "balance-sheet-B5", "type": "xlsx_cell", "file": "model.xlsx", "sheet": "Balance sheet", "cell": "B5", "value": 21244.384, "rel_tol": 0.01, "abs_tol": 0 }, { "id": "balance-sheet-C5", "type": "xlsx_cell", "file": "model.xlsx", "sheet": "Balance sheet", "cell": "C5", "value": 21526.033, "rel_tol": 0.01, "abs_tol": 0 }, { "id": "balance-sheet-B7", "type": "xlsx_cell", "file": "model.xlsx", "sheet": "Balance sheet", "cell": "B7", "value": 16995.966, "rel_tol": 0.01, "abs_tol": 0 }, { "id": "balance-sheet-C7", "type": "xlsx_cell", "file": "model.xlsx", "sheet": "Balance sheet", "cell": "C7", "value": 17246.011, "rel_tol": 0.01, "abs_tol": 0 }, { "id": "balance-sheet-B8", "type": "xlsx_cell", "file": "model.xlsx", "sheet": "Balance sheet", "cell": "B8", "value": 4248.418, "rel_tol": 0.01, "abs_tol": 0 }, { "id": "balance-sheet-C8", "type": "xlsx_cell", "file": "model.xlsx", "sheet": "Balance sheet", "cell": "C8", "value": 4280.022, "rel_tol": 0.01, "abs_tol": 0 }, { "id": "balance-sheet-B9", "type": "xlsx_cell", "file": "model.xlsx", "sheet": "Balance sheet", "cell": "B9", "value": 4559.677, "rel_tol": 0.01, "abs_tol": 0 }, { "id": "balance-sheet-C9", "type": "xlsx_cell", "file": "model.xlsx", "sheet": "Balance sheet", "cell": "C9", "value": 4365.374000000002, "rel_tol": 0.01, "abs_tol": 0 }, { "id": "cash-flow-B3", "type": "xlsx_cell", "file": "model.xlsx", "sheet": "Cash flow", "cell": "B3", "value": 333.839, "rel_tol": 0.01, "abs_tol": 0 }, { "id": "cash-flow-C3", "type": "xlsx_cell", "file": "model.xlsx", "sheet": "Cash flow", "cell": "C3", "value": 916.127, "rel_tol": 0.01, "abs_tol": 0 }, { "id": "cash-flow-D3", "type": "xlsx_cell", "file": "model.xlsx", "sheet": "Cash flow", "cell": "D3", "value": -96.577, "rel_tol": 0.01, "abs_tol": 0 }, { "id": "cash-flow-B5", "type": "xlsx_cell", "file": "model.xlsx", "sheet": "Cash flow", "cell": "B5", "value": 191.136, "rel_tol": 0.01, "abs_tol": 0 }, { "id": "cash-flow-C5", "type": "xlsx_cell", "file": "model.xlsx", "sheet": "Cash flow", "cell": "C5", "value": 785.3729999999999, "rel_tol": 0.01, "abs_tol": 0 }, { "id": "cash-flow-D5", "type": "xlsx_cell", "file": "model.xlsx", "sheet": "Cash flow", "cell": "D5", "value": -231.593, "rel_tol": 0.01, "abs_tol": 0 }, { "id": "memo", "type": "custom", "module": "consulting_markets_memo", "file": "memo.docx", "fields": [ { "label": "LTM revenue growth percent", "kind": "number", "value": 6.505886843590836, "rel_tol": 0.01 }, { "label": "LTM EBITDA margin percent", "kind": "number", "value": 2.1264708708168363, "rel_tol": 0.01 }, { "label": "LTM free cash flow", "kind": "number", "value": -231.593, "rel_tol": 0.01 }, { "label": "Net working capital change", "kind": "number", "value": -194.30299999999806, "rel_tol": 0.01 } ] }, { "id": "balance-sheet-B3", "type": "xlsx_cell", "file": "model.xlsx", "sheet": "Balance sheet", "cell": "B3", "rel_tol": 0.01, "abs_tol": 0, "value": 1864.724 }, { "id": "balance-sheet-C3", "type": "xlsx_cell", "file": "model.xlsx", "sheet": "Balance sheet", "cell": "C3", "rel_tol": 0.01, "abs_tol": 0, "value": 808.973 } ]}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330"""Deterministic grader shared by converted knowledge-work tasks.
Runs inside the separate verifier sandbox. Reads /tests/expected.json, inspects thesubmitted /workspace/outputs tree and writes a binary reward plus per-check details.No model calls and no network.
expected.json: {"checks": [{"id": ..., "type": ..., ...}, ...]}Check types: answer field of outputs/answer.json; kind = number|text|choice|date|bool|list xlsx_range recalculated outputs/<file> vs tests/<target> over sheet!range (SpreadsheetBench rules) xlsx_cell recalculated outputs/<file> sheet!cell vs value with tolerance (optional alt_values) file_contains outputs/<file> text (docx/pdf/ics/eml/txt) must contain every needle custom tests/<module>.py defines check(spec, outputs_dir, tests_dir) -> (bool, str)"""
import datetime as dtimport jsonimport reimport shutilimport subprocessimport sysimport tempfileimport unicodedatafrom pathlib import Path
OUT = Path("/workspace/outputs")TESTS = Path("/tests")LOGS = Path("/logs/verifier")
def norm_text(v): v = unicodedata.normalize("NFKC", str(v)).casefold() v = re.sub(r"[‘’“”]", "'", v) v = re.sub(r"[^\w%.$/-]+", " ", v) return " ".join(v.split()).strip(" .")
def to_number(v): if isinstance(v, bool): raise ValueError("bool") if isinstance(v, (int, float)): return float(v) s = str(v).strip().replace(",", "").replace("$", "").replace("−", "-") neg = s.startswith("(") and s.endswith(")") s = s.strip("()").strip() pct = s.endswith("%") s = s.rstrip("%").strip() s = re.sub(r"\s*(usd|dollars|million|billion|thousand|m|bn|k)$", "", s, flags=re.I) x = float(s) x = -x if neg else x return x / 100 if pct else x
def number_ok(got, want, rel, abs_): try: g = to_number(got) except (TypeError, ValueError): return False w = float(want) tol = max(abs_, rel * abs(w)) # "12.5%" may mean the ratio 0.125 or the percent number 12.5; the gold fixes which. candidates = [g, g * 100] if isinstance(got, str) and got.strip().endswith("%") else [g] return any(abs(c - w) <= tol for c in candidates)
def parse_date(v): if isinstance(v, (dt.date, dt.datetime)): return v if isinstance(v, dt.date) else v.date() s = str(v).strip() for fmt in ("%Y-%m-%d", "%m/%d/%Y", "%m/%d/%y", "%d %B %Y", "%B %d, %Y", "%b %d, %Y", "%Y/%m/%d"): try: return dt.datetime.strptime(s, fmt).date() except ValueError: continue raise ValueError(s)
def check_answer(check, answers): key = check["field"] if key not in answers: return False, f"missing field {key!r}" got, want, kind = answers[key], check["value"], check.get("kind", "text") if kind == "number": ok = number_ok(got, want, check.get("rel_tol", 0.005), check.get("abs_tol", 0.01)) if not ok and check.get("percent_either"): ok = number_ok(got, want * 100, check.get("rel_tol", 0.005), check.get("abs_tol", 0.01) * 100) or ( number_ok(got, want / 100, check.get("rel_tol", 0.005), check.get("abs_tol", 0.01) / 100) ) elif kind == "date": try: ok = parse_date(got) == parse_date(want) except ValueError: ok = False elif kind == "bool": g = norm_text(got) ok = g in {"yes", "true"} if want else g in {"no", "false"} elif kind == "choice": ok = norm_text(got) == norm_text(want) elif kind == "list": if not isinstance(got, list): return False, f"{key}: expected a JSON list" # Filenames may be given with a directory prefix; compare base names. base = lambda x: norm_text(str(x).replace("\\", "/").rsplit("/", 1)[-1]) ok = sorted(base(x) for x in got) == sorted(base(x) for x in want) else: accepted = check.get("accept", [want]) ok = norm_text(got) in {norm_text(a) for a in accepted} return ok, "" if ok else f"{key}: got {got!r}"
# LibreOffice keeps cached formula values on load unless told otherwise; force a full recalculation.RECALC_PROFILE = """<?xml version="1.0" encoding="UTF-8"?><oor:items xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema"><item oor:path="/org.openoffice.Office.Calc/Formula/Load"><prop oor:name="OOXMLRecalcMode" oor:op="fuse"><value>0</value></prop></item><item oor:path="/org.openoffice.Office.Calc/Formula/Load"><prop oor:name="ODFRecalcMode" oor:op="fuse"><value>0</value></prop></item></oor:items>"""
def recalc(path, tmp): dest = Path(tmp) / f"recalc-{len(list(Path(tmp).glob('recalc-*')))}" dest.mkdir() profile = Path(tmp) / "lo-profile" if not profile.exists(): (profile / "user").mkdir(parents=True) (profile / "user" / "registrymodifications.xcu").write_text(RECALC_PROFILE) subprocess.run( ["soffice", f"-env:UserInstallation=file://{profile}", "--headless", "--calc", "--convert-to", "xlsx:Calc MS Excel 2007 XML", "--outdir", str(dest), str(path)], stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL, timeout=180, check=False, ) out = dest / (Path(path).stem + ".xlsx") return out if out.exists() else Path(path)
def cell_value(v): if isinstance(v, (int, float)) and not isinstance(v, bool): return round(float(v), 2) if isinstance(v, dt.datetime): return round((v - dt.datetime(1899, 12, 30)).total_seconds() / 86400.0, 0) if isinstance(v, dt.time): return v.strftime("%H:%M") if isinstance(v, str): try: return round(float(v), 2) except ValueError: return v.strip() return v
def time_of(v): """A time or a day fraction in [0, 1) as HH:MM, rounded to the nearest second first. Calc and Excel store a time as that fraction; openpyxl returns a time only for time-formatted cells.""" if isinstance(v, dt.time): v = (v.hour * 3600 + v.minute * 60 + v.second + v.microsecond / 1e6) / 86400 if isinstance(v, (int, float)) and not isinstance(v, bool) and 0 <= v < 1: return (dt.datetime(1899, 12, 30) + dt.timedelta(seconds=round(v * 86400))).strftime("%H:%M") return None
def same_cell(a, b): if isinstance(a, dt.time) is not isinstance(b, dt.time): n = b if isinstance(a, dt.time) else a if time_of(n) is not None: # a time against a plain day fraction return time_of(a) == time_of(b) a, b = cell_value(a), cell_value(b) if a in (None, "") and b in (None, ""): return True return type(a) is type(b) and a == b
ERRORS = {"#NULL!", "#DIV/0!", "#VALUE!", "#REF!", "#NAME?", "#NUM!", "#N/A"}
def is_error(v): return isinstance(v, str) and (v in ERRORS or v.startswith("Err:"))
def cells(rng): if ":" not in rng: return [rng] from openpyxl.utils import range_boundaries, get_column_letter
c1, r1, c2, r2 = range_boundaries(rng) return [f"{get_column_letter(c)}{r}" for r in range(r1, r2 + 1) for c in range(c1, c2 + 1)]
def load(path, tmp): import openpyxl
return openpyxl.load_workbook(recalc(path, tmp), data_only=True)
def check_xlsx_range(check, tmp, cache): sub = OUT / check["file"] if not sub.is_file(): return False, f"missing output {check['file']}" if sub not in cache: cache[sub] = load(sub, tmp) tgt = TESTS / check["target"] if tgt not in cache: cache[tgt] = load(tgt, tmp) got, want = cache[sub], cache[tgt] cached = None # the target's stored (Excel-computed) values, read only when Calc errs for sheet, rng in check["ranges"]: sheet = sheet or want.sheetnames[0] if sheet not in got.sheetnames: return False, f"sheet {sheet!r} missing" for name in cells(rng): w = want[sheet][name].value if is_error(w): # LibreOffice could not evaluate the gold formula (e.g. XLOOKUP, FILTER in Calc 7.4). # The value Excel stored is the intended answer. if cached is None: import openpyxl
cached = openpyxl.load_workbook(tgt, data_only=True) c = cached[sheet][name].value if sheet in cached.sheetnames else None if c is not None and not is_error(c): w = c if not same_cell(w, got[sheet][name].value): return False, f"{sheet}!{name}: want {w!r} got {got[sheet][name].value!r}" return True, ""
def check_xlsx_cell(check, tmp, cache): sub = OUT / check["file"] if not sub.is_file(): return False, f"missing output {check['file']}" if sub not in cache: cache[sub] = load(sub, tmp) wb = cache[sub] if check["sheet"] not in wb.sheetnames: return False, f"sheet {check['sheet']!r} missing" got = wb[check["sheet"]][check["cell"]].value want = check["value"] if isinstance(want, (int, float)): # alt_values: other accepted golds where the source admits more than one reading. ok = got is not None and any(number_ok(got, w, check.get("rel_tol", 0.0), check.get("abs_tol", 0.01)) for w in [want, *check.get("alt_values", [])]) else: ok = norm_text(got) == norm_text(want) return ok, "" if ok else f"{check['sheet']}!{check['cell']}: want {want!r} got {got!r}"
def text_of(path): suffix = path.suffix.lower() if suffix == ".docx": import docx
d = docx.Document(path) parts = [p.text for p in d.paragraphs] for t in d.tables: parts += [c.text for row in t.rows for c in row.cells] return "\n".join(parts) if suffix == ".pdf": import pdfplumber
with pdfplumber.open(path) as pdf: return "\n".join(page.extract_text() or "" for page in pdf.pages) return path.read_text(errors="replace")
def check_file_contains(check, tmp, cache): sub = OUT / check["file"] if not sub.is_file(): return False, f"missing output {check['file']}" text = text_of(sub) hay = text if check.get("case_sensitive") else text.casefold() for needle in check["needles"]: n = needle if check.get("case_sensitive") else needle.casefold() if n not in hay: return False, f"{check['file']} lacks {needle!r}" return True, ""
def main(): LOGS.mkdir(parents=True, exist_ok=True) reward_path = LOGS / "reward.txt" reward_path.write_text("0\n") spec = json.loads((TESTS / "expected.json").read_text()) answers, details = {}, [] answer_file = OUT / "answer.json" if answer_file.is_file(): try: answers = json.loads(answer_file.read_text()) if not isinstance(answers, dict): answers = {} except json.JSONDecodeError: answers = {} tmp = tempfile.mkdtemp() cache = {} try: for check in spec["checks"]: try: if check["type"] == "answer": ok, why = check_answer(check, answers) elif check["type"] == "xlsx_range": ok, why = check_xlsx_range(check, tmp, cache) elif check["type"] == "xlsx_cell": ok, why = check_xlsx_cell(check, tmp, cache) elif check["type"] == "file_contains": ok, why = check_file_contains(check, tmp, cache) elif check["type"] == "custom": import importlib.util
spec_ = importlib.util.spec_from_file_location("custom_check", TESTS / f"{check['module']}.py") mod = importlib.util.module_from_spec(spec_) spec_.loader.exec_module(mod) ok, why = mod.check(check, OUT, TESTS) else: ok, why = False, f"unknown check type {check['type']}" except Exception as exc: # a malformed submission fails the check, not the grader ok, why = False, f"{type(exc).__name__}: {exc}" details.append({"id": check["id"], "passed": ok, "detail": why}) finally: shutil.rmtree(tmp, ignore_errors=True) passed = sum(d["passed"] for d in details) total = len(details) reward = 1 if total and passed == total else 0 (LOGS / "details.json").write_text(json.dumps({"passed": passed, "total": total, "checks": details}, indent=1)) reward_path.write_text(f"{reward}\n") print(f"{passed}/{total} checks passed; reward {reward}")
if __name__ == "__main__": sys.exit(main())1234#!/bin/shset -eumkdir -p /logs/verifier /workspace/outputsexec python3 -B -I /tests/grade.py123456789101112131415161718192021222324252627282930{ "profile": "harbor-semantic-v1", "reward_key": "reward", "reward": { "range": [ 0, 1 ], "oracle_tolerance": 0, "floor_margin": 0.1 }, "resources": { "cpu": 1, "memory_mb": 4096, "disk_mb": 10240, "episode_timeout_s": 1800 }, "types": { "tags": [ "knowledge-work", "xlsx-io", "docx-io", "csv-io", "financial-math", "spreadsheet-formulas", "data-reconciliation" ] }, "requires_credentials": false}12345678910111213141516171819202122232425262728293031From: Deal team vice president <vp@bank.example>To: Consulting team <team@consultancy.example>Date: Mon, 23 Nov 2026 12:00:00 +0000Subject: PBYI: a historical three-statement summaryContent-Type: text/plain; charset="utf-8"Content-Transfer-Encoding: 7bitMIME-Version: 1.0
Team,
For the PUMA BIOTECHNOLOGY, INC. (PBYI) workstream, please prepare ahistorical three-statement summary from the company's FY2025 10-K XBRL facts(facts.csv) in the attached workbook, model.xlsx, plus a short memo.
Rules:1. Fill the income statement and the cash flow for FY2023 to FY2025 (fiscal years ended 2023-12-31, 2024-12-31 and 2025-12-31) and the balance sheet at FY2024 and FY2025 year-ends (2024-12-31 and 2025-12-31).2. Column E of each sheet names the XBRL tag behind each input row, or the row's formula. Where it lists several tags, use the first one that has a value for every year of the table.3. Revenue growth percent = (FY2025 revenue / FY2024 revenue - 1) x 100. EBITDA margin percent = FY2025 EBITDA / FY2025 revenue x 100. Free cash flow margin percent = FY2025 free cash flow / FY2025 revenue x 100. Net working capital change = net working capital at FY2025 year-end - at FY2024 year-end.
Units and signs: US$ thousands (the filed value divided by 1,000) exceptper-share amounts; values as filed with their signs.
Thanks123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230company,cik,taxonomy,tag,period_end,duration_quarters,uom,value"PUMA BIOTECHNOLOGY, INC.",1401667,custom,IncreaseDecreaseInOperatingLeaseAssetsAndLiabilitiesNet,2023-12-31,4,USD,1195000"PUMA BIOTECHNOLOGY, INC.",1401667,custom,IncreaseDecreaseInOperatingLeaseAssetsAndLiabilitiesNet,2024-12-31,4,USD,1587000"PUMA BIOTECHNOLOGY, INC.",1401667,custom,IncreaseDecreaseInOperatingLeaseAssetsAndLiabilitiesNet,2025-12-31,4,USD,1805000"PUMA BIOTECHNOLOGY, INC.",1401667,custom,IncreaseDecreaseInPostmarketingCommitmentLiability,2023-12-31,4,USD,-940000"PUMA BIOTECHNOLOGY, INC.",1401667,custom,IncreaseDecreaseInPostmarketingCommitmentLiability,2024-12-31,4,USD,-1267000"PUMA BIOTECHNOLOGY, INC.",1401667,custom,IncreaseDecreaseInPostmarketingCommitmentLiability,2025-12-31,4,USD,-2412000"PUMA BIOTECHNOLOGY, INC.",1401667,custom,PostMarketingCommitmentLiabilityCurrent,2024-12-31,0,USD,2835000"PUMA BIOTECHNOLOGY, INC.",1401667,custom,PostMarketingCommitmentLiabilityCurrent,2025-12-31,0,USD,2187000"PUMA BIOTECHNOLOGY, INC.",1401667,custom,PostmarketingCommitmentLiabilityNoncurrent,2024-12-31,0,USD,1763000"PUMA BIOTECHNOLOGY, INC.",1401667,custom,PostmarketingCommitmentLiabilityNoncurrent,2025-12-31,0,USD,0"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,AccountsPayableCurrent,2024-12-31,0,USD,5509000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,AccountsPayableCurrent,2025-12-31,0,USD,5056000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,AccountsReceivableNetCurrent,2024-12-31,0,USD,32011000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,AccountsReceivableNetCurrent,2025-12-31,0,USD,53654000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,AccruedLiabilitiesCurrent,2024-12-31,0,USD,36898000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,AccruedLiabilitiesCurrent,2025-12-31,0,USD,50031000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,AccumulatedOtherComprehensiveIncomeLossNetOfTax,2024-12-31,0,USD,6000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,AccumulatedOtherComprehensiveIncomeLossNetOfTax,2025-12-31,0,USD,36000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,AdditionalPaidInCapitalCommonStock,2024-12-31,0,USD,1407000000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,AdditionalPaidInCapitalCommonStock,2025-12-31,0,USD,1414074000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue,2023-12-31,4,USD,10247000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue,2024-12-31,4,USD,8245000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue,2025-12-31,4,USD,6944000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,AllowanceForDoubtfulAccountsReceivableCurrent,2024-12-31,0,USD,362000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,AllowanceForDoubtfulAccountsReceivableCurrent,2025-12-31,0,USD,0"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,AssetImpairmentCharges,2023-12-31,4,USD,625000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,AssetImpairmentCharges,2024-12-31,4,USD,0"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,AssetImpairmentCharges,2025-12-31,4,USD,0"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,Assets,2024-12-31,0,USD,213333000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,Assets,2025-12-31,0,USD,216302000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,AssetsCurrent,2024-12-31,0,USD,147658000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,AssetsCurrent,2025-12-31,0,USD,162686000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,CapitalExpendituresIncurredButNotYetPaid,2023-12-31,4,USD,26000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,CapitalExpendituresIncurredButNotYetPaid,2024-12-31,4,USD,0"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,CapitalExpendituresIncurredButNotYetPaid,2025-12-31,4,USD,5000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,CashAndCashEquivalentsAtCarryingValue,2024-12-31,0,USD,69219000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,CashAndCashEquivalentsAtCarryingValue,2025-12-31,0,USD,29635000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations,2022-12-31,0,USD,78792000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations,2023-12-31,0,USD,86676000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations,2024-12-31,0,USD,71310000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations,2025-12-31,0,USD,31726000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect,2023-12-31,4,USD,7884000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect,2024-12-31,4,USD,-15366000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect,2025-12-31,4,USD,-39584000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,CommonStockParOrStatedValuePerShare,2024-12-31,0,USD,0.0001"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,CommonStockParOrStatedValuePerShare,2025-12-31,0,USD,0.0001"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,CommonStockSharesAuthorized,2024-12-31,0,shares,100000000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,CommonStockSharesAuthorized,2025-12-31,0,shares,100000000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,CommonStockSharesIssued,2024-12-31,0,shares,49105834"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,CommonStockSharesIssued,2025-12-31,0,shares,50408023"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,CommonStockSharesOutstanding,2024-12-31,0,shares,49105834"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,CommonStockSharesOutstanding,2025-12-31,0,shares,50408023"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,CommonStockValue,2024-12-31,0,USD,5000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,CommonStockValue,2025-12-31,0,USD,5000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,ComprehensiveIncomeNetOfTax,2023-12-31,4,USD,21587000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,ComprehensiveIncomeNetOfTax,2024-12-31,4,USD,30288000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,ComprehensiveIncomeNetOfTax,2025-12-31,4,USD,31141000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,CostOfGoodsAndServicesSold,2023-12-31,4,USD,62682000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,CostOfGoodsAndServicesSold,2024-12-31,4,USD,64404000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,CostOfGoodsAndServicesSold,2025-12-31,4,USD,58157000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,CostsAndExpenses,2023-12-31,4,USD,202997000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,CostsAndExpenses,2024-12-31,4,USD,199502000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,CostsAndExpenses,2025-12-31,4,USD,191072000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,CurrentIncomeTaxExpenseBenefit,2023-12-31,4,USD,1083000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,CurrentIncomeTaxExpenseBenefit,2024-12-31,4,USD,897000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,CurrentIncomeTaxExpenseBenefit,2025-12-31,4,USD,1426000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,DeferredIncomeTaxAssetsNet,2024-12-31,0,USD,7075000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,DeferredIncomeTaxAssetsNet,2025-12-31,0,USD,3830000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,DeferredIncomeTaxExpenseBenefit,2023-12-31,4,USD,0"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,DeferredIncomeTaxExpenseBenefit,2024-12-31,4,USD,-7075000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,DeferredIncomeTaxExpenseBenefit,2025-12-31,4,USD,3245000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,DepreciationAndAmortization,2023-12-31,4,USD,11519000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,DepreciationAndAmortization,2024-12-31,4,USD,11524000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,DepreciationAndAmortization,2025-12-31,4,USD,10938000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,EarningsPerShareBasic,2023-12-31,4,USD,0.46"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,EarningsPerShareBasic,2024-12-31,4,USD,0.62"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,EarningsPerShareBasic,2025-12-31,4,USD,0.62"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,EarningsPerShareDiluted,2023-12-31,4,USD,0.45"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,EarningsPerShareDiluted,2024-12-31,4,USD,0.62"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,EarningsPerShareDiluted,2025-12-31,4,USD,0.61"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,GainLossOnSaleOfPropertyPlantEquipment,2023-12-31,4,USD,0"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,GainLossOnSaleOfPropertyPlantEquipment,2024-12-31,4,USD,0"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,GainLossOnSaleOfPropertyPlantEquipment,2025-12-31,4,USD,-4000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest,2023-12-31,4,USD,22674000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest,2024-12-31,4,USD,24100000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest,2025-12-31,4,USD,35782000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,IncomeTaxesPaid,2023-12-31,4,USD,737000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,IncomeTaxesPaid,2024-12-31,4,USD,1218000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,IncomeTaxesPaid,2025-12-31,4,USD,1524000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,IncreaseDecreaseInAccountsPayable,2023-12-31,4,USD,449000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,IncreaseDecreaseInAccountsPayable,2024-12-31,4,USD,-1380000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,IncreaseDecreaseInAccountsPayable,2025-12-31,4,USD,-453000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,IncreaseDecreaseInAccountsReceivable,2023-12-31,4,USD,8368000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,IncreaseDecreaseInAccountsReceivable,2024-12-31,4,USD,-16345000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,IncreaseDecreaseInAccountsReceivable,2025-12-31,4,USD,21281000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities,2023-12-31,4,USD,-7583000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities,2024-12-31,4,USD,-15823000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities,2025-12-31,4,USD,13154000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,IncreaseDecreaseInInventories,2023-12-31,4,USD,2554000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,IncreaseDecreaseInInventories,2024-12-31,4,USD,1644000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,IncreaseDecreaseInInventories,2025-12-31,4,USD,-3209000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,IncreaseDecreaseInOtherCurrentAssets,2023-12-31,4,USD,-1517000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,IncreaseDecreaseInOtherCurrentAssets,2024-12-31,4,USD,-821000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,IncreaseDecreaseInOtherCurrentAssets,2025-12-31,4,USD,165000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,IncreaseDecreaseInPrepaidExpensesOther,2023-12-31,4,USD,-820000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,IncreaseDecreaseInPrepaidExpensesOther,2024-12-31,4,USD,-1000000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,IncreaseDecreaseInPrepaidExpensesOther,2025-12-31,4,USD,325000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,IntangibleAssetsNetIncludingGoodwill,2024-12-31,0,USD,51131000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,IntangibleAssetsNetIncludingGoodwill,2025-12-31,0,USD,41392000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,InterestExpenseNonoperating,2023-12-31,4,USD,13330000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,InterestExpenseNonoperating,2024-12-31,4,USD,12452000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,InterestExpenseNonoperating,2025-12-31,4,USD,6622000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,InterestPaidNet,2023-12-31,4,USD,11628000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,InterestPaidNet,2024-12-31,4,USD,10769000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,InterestPaidNet,2025-12-31,4,USD,5818000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,InventoryNet,2024-12-31,0,USD,8724000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,InventoryNet,2025-12-31,0,USD,5515000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,InvestmentIncomeInterest,2023-12-31,4,USD,2605000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,InvestmentIncomeInterest,2024-12-31,4,USD,4724000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,InvestmentIncomeInterest,2025-12-31,4,USD,4078000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,Liabilities,2024-12-31,0,USD,121208000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,Liabilities,2025-12-31,0,USD,85962000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,LiabilitiesAndStockholdersEquity,2024-12-31,0,USD,213333000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,LiabilitiesAndStockholdersEquity,2025-12-31,0,USD,216302000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,LiabilitiesCurrent,2024-12-31,0,USD,96111000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,LiabilitiesCurrent,2025-12-31,0,USD,81253000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,LongTermDebtCurrent,2024-12-31,0,USD,45329000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,LongTermDebtCurrent,2025-12-31,0,USD,22523000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,LongTermDebtNoncurrent,2024-12-31,0,USD,21719000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,LongTermDebtNoncurrent,2025-12-31,0,USD,0"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,MarketableSecuritiesCurrent,2024-12-31,0,USD,31746000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,MarketableSecuritiesCurrent,2025-12-31,0,USD,67893000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,NetCashProvidedByUsedInFinancingActivities,2023-12-31,4,USD,0"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,NetCashProvidedByUsedInFinancingActivities,2024-12-31,4,USD,-33846000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,NetCashProvidedByUsedInFinancingActivities,2025-12-31,4,USD,-45198000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,NetCashProvidedByUsedInInvestingActivities,2023-12-31,4,USD,-19125000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,NetCashProvidedByUsedInInvestingActivities,2024-12-31,4,USD,-20438000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,NetCashProvidedByUsedInInvestingActivities,2025-12-31,4,USD,-36188000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,NetCashProvidedByUsedInOperatingActivities,2023-12-31,4,USD,27009000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,NetCashProvidedByUsedInOperatingActivities,2024-12-31,4,USD,38918000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,NetCashProvidedByUsedInOperatingActivities,2025-12-31,4,USD,41802000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,NetIncomeLoss,2023-12-31,4,USD,21591000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,NetIncomeLoss,2024-12-31,4,USD,30278000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,NetIncomeLoss,2025-12-31,4,USD,31111000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,NonoperatingIncomeExpense,2023-12-31,4,USD,-9966000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,NonoperatingIncomeExpense,2024-12-31,4,USD,-6866000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,NonoperatingIncomeExpense,2025-12-31,4,USD,-1517000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,OperatingIncomeLoss,2023-12-31,4,USD,32640000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,OperatingIncomeLoss,2024-12-31,4,USD,30966000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,OperatingIncomeLoss,2025-12-31,4,USD,37299000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,OperatingLeaseLiabilityCurrent,2024-12-31,0,USD,5540000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,OperatingLeaseLiabilityCurrent,2025-12-31,0,USD,1314000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,OperatingLeaseLiabilityNoncurrent,2024-12-31,0,USD,1494000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,OperatingLeaseLiabilityNoncurrent,2025-12-31,0,USD,4709000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,OperatingLeaseRightOfUseAsset,2024-12-31,0,USD,4579000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,OperatingLeaseRightOfUseAsset,2025-12-31,0,USD,5373000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,OtherAssetsCurrent,2024-12-31,0,USD,91000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,OtherAssetsCurrent,2025-12-31,0,USD,256000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax,2023-12-31,4,USD,-4000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax,2024-12-31,4,USD,10000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax,2025-12-31,4,USD,30000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,OtherLiabilitiesCurrent,2024-12-31,0,USD,0"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,OtherLiabilitiesCurrent,2025-12-31,0,USD,142000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,OtherLiabilitiesNoncurrent,2024-12-31,0,USD,121000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,OtherLiabilitiesNoncurrent,2025-12-31,0,USD,0"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,OtherNonoperatingIncomeExpense,2023-12-31,4,USD,759000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,OtherNonoperatingIncomeExpense,2024-12-31,4,USD,862000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,OtherNonoperatingIncomeExpense,2025-12-31,4,USD,1027000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,PaymentsOfDebtExtinguishmentCosts,2023-12-31,4,USD,0"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,PaymentsOfDebtExtinguishmentCosts,2024-12-31,4,USD,666000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,PaymentsOfDebtExtinguishmentCosts,2025-12-31,4,USD,888000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,PaymentsToAcquireAvailableForSaleSecuritiesDebt,2023-12-31,4,USD,23813000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,PaymentsToAcquireAvailableForSaleSecuritiesDebt,2024-12-31,4,USD,76230000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,PaymentsToAcquireAvailableForSaleSecuritiesDebt,2025-12-31,4,USD,108141000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,PaymentsToAcquireIntangibleAssets,2023-12-31,4,USD,12500000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,PaymentsToAcquireIntangibleAssets,2024-12-31,4,USD,0"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,PaymentsToAcquireIntangibleAssets,2025-12-31,4,USD,0"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,PaymentsToAcquirePropertyPlantAndEquipment,2023-12-31,4,USD,140000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,PaymentsToAcquirePropertyPlantAndEquipment,2024-12-31,4,USD,56000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,PaymentsToAcquirePropertyPlantAndEquipment,2025-12-31,4,USD,71000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,PrepaidExpenseAndOtherAssetsNoncurrent,2024-12-31,0,USD,284000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,PrepaidExpenseAndOtherAssetsNoncurrent,2025-12-31,0,USD,2834000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,PrepaidExpenseCurrent,2024-12-31,0,USD,5867000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,PrepaidExpenseCurrent,2025-12-31,0,USD,3642000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities,2023-12-31,4,USD,17328000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities,2024-12-31,4,USD,55848000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities,2025-12-31,4,USD,72024000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,ProceedsFromStockPlans,2023-12-31,4,USD,0"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,ProceedsFromStockPlans,2024-12-31,4,USD,150000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,ProceedsFromStockPlans,2025-12-31,4,USD,130000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,PropertyPlantAndEquipmentNet,2024-12-31,0,USD,515000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,PropertyPlantAndEquipmentNet,2025-12-31,0,USD,187000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,ProvisionForDoubtfulAccounts,2023-12-31,4,USD,881000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,ProvisionForDoubtfulAccounts,2024-12-31,4,USD,-519000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,ProvisionForDoubtfulAccounts,2025-12-31,4,USD,-362000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,RepaymentsOfDebt,2023-12-31,4,USD,0"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,RepaymentsOfDebt,2024-12-31,4,USD,33330000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,RepaymentsOfDebt,2025-12-31,4,USD,44440000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,ResearchAndDevelopmentExpenseExcludingAcquiredInProcessCost,2023-12-31,4,USD,50382000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,ResearchAndDevelopmentExpenseExcludingAcquiredInProcessCost,2024-12-31,4,USD,54935000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,ResearchAndDevelopmentExpenseExcludingAcquiredInProcessCost,2025-12-31,4,USD,62068000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,RestrictedCashCurrent,2024-12-31,0,USD,0"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,RestrictedCashCurrent,2025-12-31,0,USD,2091000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,RestrictedCashNoncurrent,2024-12-31,0,USD,2091000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,RestrictedCashNoncurrent,2025-12-31,0,USD,0"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,RetainedEarningsAccumulatedDeficit,2024-12-31,0,USD,-1314886000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,RetainedEarningsAccumulatedDeficit,2025-12-31,0,USD,-1283775000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,RevenueFromContractWithCustomerExcludingAssessedTax,2023-12-31,4,USD,235637000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,RevenueFromContractWithCustomerExcludingAssessedTax,2024-12-31,4,USD,230468000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,RevenueFromContractWithCustomerExcludingAssessedTax,2025-12-31,4,USD,228371000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,SellingGeneralAndAdministrativeExpense,2023-12-31,4,USD,89933000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,SellingGeneralAndAdministrativeExpense,2024-12-31,4,USD,80163000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,SellingGeneralAndAdministrativeExpense,2025-12-31,4,USD,70847000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,ShareBasedCompensation,2023-12-31,4,USD,10247000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,ShareBasedCompensation,2024-12-31,4,USD,8245000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,ShareBasedCompensation,2025-12-31,4,USD,6944000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,StockIssuedDuringPeriodValueEmployeeStockPurchasePlan,2023-12-31,4,USD,0"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,StockIssuedDuringPeriodValueEmployeeStockPurchasePlan,2024-12-31,4,USD,150000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,StockIssuedDuringPeriodValueEmployeeStockPurchasePlan,2025-12-31,4,USD,130000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,StockholdersEquity,2022-12-31,0,USD,21608000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,StockholdersEquity,2023-12-31,0,USD,53442000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,StockholdersEquity,2024-12-31,0,USD,92125000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,StockholdersEquity,2025-12-31,0,USD,130340000"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,WeightedAverageNumberOfDilutedSharesOutstanding,2023-12-31,4,shares,47550852"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,WeightedAverageNumberOfDilutedSharesOutstanding,2024-12-31,4,shares,49100433"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,WeightedAverageNumberOfDilutedSharesOutstanding,2025-12-31,4,shares,50653283"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,WeightedAverageNumberOfSharesOutstandingBasic,2023-12-31,4,shares,47134331"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,WeightedAverageNumberOfSharesOutstandingBasic,2024-12-31,4,shares,48648701"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,WeightedAverageNumberOfSharesOutstandingBasic,2025-12-31,4,shares,50011485123facts.csv: every non-cover-page fact of the 10-K filing(s) below, as filed (values in the filing's units, not thousands), from the SEC Financial Statement Data Sets as compiled in the Hub dataset CyberMax-tools/figurewell-sec-xbrl-financials at revision d74dfdb8fdf4a326b64d8d0813163850f5d5a32a (data/facts.parquet SHA-256 6b9aa7727361e9e71e1a687372257fbdcc9333a9e010fb6633cf03c15b5c1147; licence CC0 1.0). duration_quarters is 4 for a fiscal-year amount and 0 for a point in time; period_end is the SEC's month-end rounding of the period's last day.
PUMA BIOTECHNOLOGY, INC. (CIK 1401667, ticker PBYI, SIC 2834): form 10-K for the fiscal year ended 2025-12-31, accession 0001437749-26-005891, filed 2026-02-26, https://www.sec.gov/Archives/edgar/data/1401667/000143774926005891/0001437749-26-005891-index.htm.123456789101112131415161718192021222324You are the analyst on an investment-banking deal team. Read `brief.eml` first: it says what to prepare and how. The inputs in `/workspace/inputs` are `facts.csv` (XBRL facts from FY2025 10-K filings), the workbook `model.xlsx` to complete, and `source.txt` (where the facts come from).
Submit two files:
1. model.xlsx: fill the empty cells of every sheet (columns B onward, one column per fiscal year as headed in row 2). Column A holds the line items and the last column the source tag or formula; leave both as they are.
2. memo.docx with these paragraphs (amounts in $ thousands): - "Revenue growth percent: <number>" - "EBITDA margin percent: <number>" - "Free cash flow: <number>" (FY2025) - "Free cash flow margin percent: <number>" - "Net working capital change: <number>"
Conventions:- Amounts are in US$ thousands: the filed value divided by 1,000, unrounded. Per-share amounts stay in dollars. Ratios are plain decimals, days are days, and percent figures are on a 0-100 scale.- Use each fact's value as filed, with its sign (a loss or an income tax benefit is negative). Use only facts.csv: the annual figures are the rows with duration_quarters 4 and the fiscal year's period_end; balance-sheet figures are the rows with duration_quarters 0 at the year-end period_end.- Keep full precision. Decimals are graded within 1% of the exact value; whole numbers and labels exactly.- Fill the cells of the supplied workbook (values or formulas; it is recalculated with LibreOffice before grading). Keep its sheets, rows and columns where they are, and save it under the same file name in /workspace/outputs.- Memo: write each listed item as its own paragraph in the form "Label: value", with the labels exactly as listed and each label once. Numbers as plain numerals (thousands separators allowed) with at least four significant digits or full precision. Other paragraphs are allowed.
## Deliverable
Work in `/workspace`. Input files are under `/workspace/inputs/`. Put every deliverable in`/workspace/outputs/`; only that directory is graded. Submit model.xlsx and memo.docx.12345678910111213141516171819202122232425{ "accession": "0001437749-26-005891", "company": "PUMA BIOTECHNOLOGY, INC.", "instants": [ "2024-12-31", "2025-12-31" ], "paragraphs": [ "Revenue growth percent: -0.909888", "EBITDA margin percent: 21.1222", "Free cash flow: 41,731", "Free cash flow margin percent: 18.2733", "Net working capital change: 29,886" ], "tags": { "cost": "CostOfGoodsAndServicesSold", "da": "DepreciationAndAmortization", "revenue": "RevenueFromContractWithCustomerExcludingAssessedTax" }, "years": [ "2023-12-31", "2024-12-31", "2025-12-31" ]}1234#!/bin/shset -eumkdir -p /workspace/outputscp -R /solution/files/. /workspace/outputs/123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051schema_version = "1.3"
[task]name = "apex-gap/ib-three-statement-pbyi"
[metadata.apex_gap]capability_tags = ["xlsx-io", "docx-io", "csv-io", "financial-math", "spreadsheet-formulas", "data-reconciliation"]case_family = "ib-three-statement"group_key = "ib-xbrl:1401667"job = "investment-banking"source = "SEC-FSDS/figurewell-sec-xbrl-financials"source_accessions = ["0001437749-26-005891"]source_ciks = ["1401667"]source_license = "SEC filings (public records) via the CC0 Hub compilation; original task adaptation"source_revision = "d74dfdb8fdf4a326b64d8d0813163850f5d5a32a"source_split = "10-K filings accepted 2025-10-01 to 2026-09-30, fiscal year 2025"source_task_id = "ib-three-statement-pbyi"source_tickers = ["PBYI"]
[metadata.apex_gap.repair]fixes = "{\"balance-sheet-B5\": {\"action\": \"override\", \"reason\": \"whole-number gold graded with rel_tol 0.01 (\\u00b12133.33); the instruction grades whole numbers exactly (abs_tol 1e-6 only absorbs floating-point noise from workbook formulas)\", \"set\": {\"abs_tol\": 1e-06, \"rel_tol\": 0}}, \"balance-sheet-B7\": {\"action\": \"override\", \"reason\": \"whole-number gold graded with rel_tol 0.01 (\\u00b11212.08); the instruction grades whole numbers exactly (abs_tol 1e-6 only absorbs floating-point noise from workbook formulas)\", \"set\": {\"abs_tol\": 1e-06, \"rel_tol\": 0}}, \"balance-sheet-B8\": {\"action\": \"override\", \"reason\": \"whole-number gold graded with rel_tol 0.01 (\\u00b1921.25); the instruction grades whole numbers exactly (abs_tol 1e-6 only absorbs floating-point noise from workbook formulas)\", \"set\": {\"abs_tol\": 1e-06, \"rel_tol\": 0}}, \"balance-sheet-B9\": {\"action\": \"override\", \"reason\": \"whole-number gold graded with rel_tol 0.01 (\\u00b1515.47); the instruction grades whole numbers exactly (abs_tol 1e-6 only absorbs floating-point noise from workbook formulas)\", \"set\": {\"abs_tol\": 1e-06, \"rel_tol\": 0}}, \"balance-sheet-C5\": {\"action\": \"override\", \"reason\": \"whole-number gold graded with rel_tol 0.01 (\\u00b12163.02); the instruction grades whole numbers exactly (abs_tol 1e-6 only absorbs floating-point noise from workbook formulas)\", \"set\": {\"abs_tol\": 1e-06, \"rel_tol\": 0}}, \"balance-sheet-C7\": {\"action\": \"override\", \"reason\": \"whole-number gold graded with rel_tol 0.01 (\\u00b1859.62); the instruction grades whole numbers exactly (abs_tol 1e-6 only absorbs floating-point noise from workbook formulas)\", \"set\": {\"abs_tol\": 1e-06, \"rel_tol\": 0}}, \"balance-sheet-C8\": {\"action\": \"override\", \"reason\": \"whole-number gold graded with rel_tol 0.01 (\\u00b11303.4); the instruction grades whole numbers exactly (abs_tol 1e-6 only absorbs floating-point noise from workbook formulas)\", \"set\": {\"abs_tol\": 1e-06, \"rel_tol\": 0}}, \"balance-sheet-C9\": {\"action\": \"override\", \"reason\": \"whole-number gold graded with rel_tol 0.01 (\\u00b1814.33); the instruction grades whole numbers exactly (abs_tol 1e-6 only absorbs floating-point noise from workbook formulas)\", \"set\": {\"abs_tol\": 1e-06, \"rel_tol\": 0}}, \"cash-flow-B3\": {\"action\": \"override\", \"reason\": \"whole-number gold graded with rel_tol 0.01 (\\u00b1270.09); the instruction grades whole numbers exactly (abs_tol 1e-6 only absorbs floating-point noise from workbook formulas)\", \"set\": {\"abs_tol\": 1e-06, \"rel_tol\": 0}}, \"cash-flow-B5\": {\"action\": \"override\", \"reason\": \"whole-number gold graded with rel_tol 0.01 (\\u00b1268.69); the instruction grades whole numbers exactly (abs_tol 1e-6 only absorbs floating-point noise from workbook formulas)\", \"set\": {\"abs_tol\": 1e-06, \"rel_tol\": 0}}, \"cash-flow-C3\": {\"action\": \"override\", \"reason\": \"whole-number gold graded with rel_tol 0.01 (\\u00b1389.18); the instruction grades whole numbers exactly (abs_tol 1e-6 only absorbs floating-point noise from workbook formulas)\", \"set\": {\"abs_tol\": 1e-06, \"rel_tol\": 0}}, \"cash-flow-C5\": {\"action\": \"override\", \"reason\": \"whole-number gold graded with rel_tol 0.01 (\\u00b1388.62); the instruction grades whole numbers exactly (abs_tol 1e-6 only absorbs floating-point noise from workbook formulas)\", \"set\": {\"abs_tol\": 1e-06, \"rel_tol\": 0}}, \"cash-flow-D3\": {\"action\": \"override\", \"reason\": \"whole-number gold graded with rel_tol 0.01 (\\u00b1418.02); the instruction grades whole numbers exactly (abs_tol 1e-6 only absorbs floating-point noise from workbook formulas)\", \"set\": {\"abs_tol\": 1e-06, \"rel_tol\": 0}}, \"cash-flow-D5\": {\"action\": \"override\", \"reason\": \"whole-number gold graded with rel_tol 0.01 (\\u00b1417.31); the instruction grades whole numbers exactly (abs_tol 1e-6 only absorbs floating-point noise from workbook formulas)\", \"set\": {\"abs_tol\": 1e-06, \"rel_tol\": 0}}, \"income-statement-B3\": {\"action\": \"override\", \"reason\": \"whole-number gold graded with rel_tol 0.01 (\\u00b12356.37); the instruction grades whole numbers exactly (abs_tol 1e-6 only absorbs floating-point noise from workbook formulas)\", \"set\": {\"abs_tol\": 1e-06, \"rel_tol\": 0}}, \"income-statement-B5\": {\"action\": \"override\", \"reason\": \"whole-number gold graded with rel_tol 0.01 (\\u00b11729.55); the instruction grades whole numbers exactly (abs_tol 1e-6 only absorbs floating-point noise from workbook formulas)\", \"set\": {\"abs_tol\": 1e-06, \"rel_tol\": 0}}, \"income-statement-B6\": {\"action\": \"override\", \"reason\": \"whole-number gold graded with rel_tol 0.01 (\\u00b1326.4); the instruction grades whole numbers exactly (abs_tol 1e-6 only absorbs floating-point noise from workbook formulas)\", \"set\": {\"abs_tol\": 1e-06, \"rel_tol\": 0}}, \"income-statement-B8\": {\"action\": \"override\", \"reason\": \"whole-number gold graded with rel_tol 0.01 (\\u00b1441.59); the instruction grades whole numbers exactly (abs_tol 1e-6 only absorbs floating-point noise from workbook formulas)\", \"set\": {\"abs_tol\": 1e-06, \"rel_tol\": 0}}, \"income-statement-B9\": {\"action\": \"override\", \"reason\": \"whole-number gold graded with rel_tol 0.01 (\\u00b1215.91); the instruction grades whole numbers exactly (abs_tol 1e-6 only absorbs floating-point noise from workbook formulas)\", \"set\": {\"abs_tol\": 1e-06, \"rel_tol\": 0}}, \"income-statement-C3\": {\"action\": \"override\", \"reason\": \"whole-number gold graded with rel_tol 0.01 (\\u00b12304.68); the instruction grades whole numbers exactly (abs_tol 1e-6 only absorbs floating-point noise from workbook formulas)\", \"set\": {\"abs_tol\": 1e-06, \"rel_tol\": 0}}, \"income-statement-C5\": {\"action\": \"override\", \"reason\": \"whole-number gold graded with rel_tol 0.01 (\\u00b11660.64); the instruction grades whole numbers exactly (abs_tol 1e-6 only absorbs floating-point noise from workbook formulas)\", \"set\": {\"abs_tol\": 1e-06, \"rel_tol\": 0}}, \"income-statement-C6\": {\"action\": \"override\", \"reason\": \"whole-number gold graded with rel_tol 0.01 (\\u00b1309.66); the instruction grades whole numbers exactly (abs_tol 1e-6 only absorbs floating-point noise from workbook formulas)\", \"set\": {\"abs_tol\": 1e-06, \"rel_tol\": 0}}, \"income-statement-C8\": {\"action\": \"override\", \"reason\": \"whole-number gold graded with rel_tol 0.01 (\\u00b1424.9); the instruction grades whole numbers exactly (abs_tol 1e-6 only absorbs floating-point noise from workbook formulas)\", \"set\": {\"abs_tol\": 1e-06, \"rel_tol\": 0}}, \"income-statement-C9\": {\"action\": \"override\", \"reason\": \"whole-number gold graded with rel_tol 0.01 (\\u00b1302.78); the instruction grades whole numbers exactly (abs_tol 1e-6 only absorbs floating-point noise from workbook formulas)\", \"set\": {\"abs_tol\": 1e-06, \"rel_tol\": 0}}, \"income-statement-D3\": {\"action\": \"override\", \"reason\": \"whole-number gold graded with rel_tol 0.01 (\\u00b12283.71); the instruction grades whole numbers exactly (abs_tol 1e-6 only absorbs floating-point noise from workbook formulas)\", \"set\": {\"abs_tol\": 1e-06, \"rel_tol\": 0}}, \"income-statement-D5\": {\"action\": \"override\", \"reason\": \"whole-number gold graded with rel_tol 0.01 (\\u00b11702.14); the instruction grades whole numbers exactly (abs_tol 1e-6 only absorbs floating-point noise from workbook formulas)\", \"set\": {\"abs_tol\": 1e-06, \"rel_tol\": 0}}, \"income-statement-D6\": {\"action\": \"override\", \"reason\": \"whole-number gold graded with rel_tol 0.01 (\\u00b1372.99); the instruction grades whole numbers exactly (abs_tol 1e-6 only absorbs floating-point noise from workbook formulas)\", \"set\": {\"abs_tol\": 1e-06, \"rel_tol\": 0}}, \"income-statement-D8\": {\"action\": \"override\", \"reason\": \"whole-number gold graded with rel_tol 0.01 (\\u00b1482.37); the instruction grades whole numbers exactly (abs_tol 1e-6 only absorbs floating-point noise from workbook formulas)\", \"set\": {\"abs_tol\": 1e-06, \"rel_tol\": 0}}, \"income-statement-D9\": {\"action\": \"override\", \"reason\": \"whole-number gold graded with rel_tol 0.01 (\\u00b1311.11); the instruction grades whole numbers exactly (abs_tol 1e-6 only absorbs floating-point noise from workbook formulas)\", \"set\": {\"abs_tol\": 1e-06, \"rel_tol\": 0}}, \"memo\": {\"action\": \"override\", \"reason\": \"whole-number memo lines graded exactly, as the instruction states: Free cash flow, Net working capital change\", \"set\": {\"fields\": [{\"kind\": \"number\", \"label\": \"Revenue growth percent\", \"rel_tol\": 0.01, \"value\": -0.9098877067532207}, {\"kind\": \"number\", \"label\": \"EBITDA margin percent\", \"rel_tol\": 0.01, \"value\": 21.122209037049362}, {\"kind\": \"number\", \"label\": \"Free cash flow\", \"rel_tol\": 1e-09, \"value\": 41731.0}, {\"kind\": \"number\", \"label\": \"Free cash flow margin percent\", \"rel_tol\": 0.01, \"value\": 18.273335931444887}, {\"kind\": \"number\", \"label\": \"Net working capital change\", \"rel_tol\": 1e-09, \"value\": 29886.0}]}}}"
[metadata.openenv_hf_sandbox]variant = "apex-gap-hfsandbox-v1"task_modified_for_hf_sandbox = truenetwork_enabled = true
[environment]docker_image = "ghcr.io/younesbelkada/apex@sha256:24969c952247033023872f87161a16e067003469506be63783bbaa5d96926bdf"workdir = "/workspace"cpus = 1memory_mb = 4096build_timeout_sec = 600network_mode = "public"
[agent]timeout_sec = 1800network_mode = "public"
[verifier]timeout_sec = 600network_mode = "public"environment_mode = "separate"
[verifier.environment]network_mode = "public"cpus = 1memory_mb = 4096
[[artifacts]]source = "/workspace/outputs"12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364"""Check a memo's labelled paragraphs ("Label: value") against the expected fields.
spec: {"file": "memo.docx", "fields": [{"label": ..., "kind": "choice", "accept": [...]}, {"label": ..., "kind": "number", "value": x, "rel_tol": 0.01}]}
Labels match case-insensitively and must each appear exactly once; other paragraphs are ignored.A choice matches one accepted value after case and whitespace folding. A number is one numeral(thousands commas, a leading "$" or a trailing "%" allowed) within rel_tol of the gold; rel_tol 0means the whole number exactly."""
import mathimport re
from docx import Document
NUMERAL = re.compile(r"[+-]?(?:(?:\d{1,3}(?:,\d{3})+|\d+)(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?")
def fold(text): return " ".join(str(text).replace("\u2019", "'").replace("\u2013", "-").replace("\u2014", "-").split()).casefold()
def number(raw): s = raw.strip().replace("\u2212", "-").rstrip(".") sign = "" for _ in range(2): # "-$1,200" and "$-1,200" alike if s[:1] in ("+", "-") and not sign: sign, s = s[0], s[1:].lstrip() if s[:1] == "$": s = s[1:].lstrip() s = s.removesuffix("%").strip() if not NUMERAL.fullmatch(s) or s[:1] in ("+", "-"): return None return float(sign + s.replace(",", ""))
def check(spec, outputs_dir, tests_dir): path = outputs_dir / spec["file"] if not path.is_file(): return False, f"missing {spec['file']}" wanted = {fold(f["label"]): f for f in spec["fields"]} found = {} for paragraph in Document(path).paragraphs: label, sep, value = paragraph.text.partition(":") key = fold(label) if sep and key in wanted: if key in found: return False, f"label {wanted[key]['label']!r} appears more than once" found[key] = value.strip() for key, field in wanted.items(): if key not in found: return False, f"missing paragraph {field['label']!r}" value = found[key] if field["kind"] == "choice": if fold(value).strip(" .") not in {fold(a).strip(" .") for a in field["accept"]}: return False, f"{field['label']}: got {value!r}" else: got = number(value) if got is None: return False, f"{field['label']}: {value!r} is not a single number" if not math.isclose(got, field["value"], rel_tol=field.get("rel_tol", 0.01), abs_tol=0): return False, f"{field['label']}: got {value!r}" return True, ""123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382{ "checks": [ { "id": "income-statement-B3", "type": "xlsx_cell", "file": "model.xlsx", "sheet": "Income statement", "cell": "B3", "value": 235637.0, "rel_tol": 0, "abs_tol": 1e-06 }, { "id": "income-statement-C3", "type": "xlsx_cell", "file": "model.xlsx", "sheet": "Income statement", "cell": "C3", "value": 230468.0, "rel_tol": 0, "abs_tol": 1e-06 }, { "id": "income-statement-D3", "type": "xlsx_cell", "file": "model.xlsx", "sheet": "Income statement", "cell": "D3", "value": 228371.0, "rel_tol": 0, "abs_tol": 1e-06 }, { "id": "income-statement-B5", "type": "xlsx_cell", "file": "model.xlsx", "sheet": "Income statement", "cell": "B5", "value": 172955.0, "rel_tol": 0, "abs_tol": 1e-06 }, { "id": "income-statement-C5", "type": "xlsx_cell", "file": "model.xlsx", "sheet": "Income statement", "cell": "C5", "value": 166064.0, "rel_tol": 0, "abs_tol": 1e-06 }, { "id": "income-statement-D5", "type": "xlsx_cell", "file": "model.xlsx", "sheet": "Income statement", "cell": "D5", "value": 170214.0, "rel_tol": 0, "abs_tol": 1e-06 }, { "id": "income-statement-B6", "type": "xlsx_cell", "file": "model.xlsx", "sheet": "Income statement", "cell": "B6", "value": 32640.0, "rel_tol": 0, "abs_tol": 1e-06 }, { "id": "income-statement-C6", "type": "xlsx_cell", "file": "model.xlsx", "sheet": "Income statement", "cell": "C6", "value": 30966.0, "rel_tol": 0, "abs_tol": 1e-06 }, { "id": "income-statement-D6", "type": "xlsx_cell", "file": "model.xlsx", "sheet": "Income statement", "cell": "D6", "value": 37299.0, "rel_tol": 0, "abs_tol": 1e-06 }, { "id": "income-statement-B8", "type": "xlsx_cell", "file": "model.xlsx", "sheet": "Income statement", "cell": "B8", "value": 44159.0, "rel_tol": 0, "abs_tol": 1e-06 }, { "id": "income-statement-C8", "type": "xlsx_cell", "file": "model.xlsx", "sheet": "Income statement", "cell": "C8", "value": 42490.0, "rel_tol": 0, "abs_tol": 1e-06 }, { "id": "income-statement-D8", "type": "xlsx_cell", "file": "model.xlsx", "sheet": "Income statement", "cell": "D8", "value": 48237.0, "rel_tol": 0, "abs_tol": 1e-06 }, { "id": "income-statement-B9", "type": "xlsx_cell", "file": "model.xlsx", "sheet": "Income statement", "cell": "B9", "value": 21591.0, "rel_tol": 0, "abs_tol": 1e-06 }, { "id": "income-statement-C9", "type": "xlsx_cell", "file": "model.xlsx", "sheet": "Income statement", "cell": "C9", "value": 30278.0, "rel_tol": 0, "abs_tol": 1e-06 }, { "id": "income-statement-D9", "type": "xlsx_cell", "file": "model.xlsx", "sheet": "Income statement", "cell": "D9", "value": 31111.0, "rel_tol": 0, "abs_tol": 1e-06 }, { "id": "income-statement-B10", "type": "xlsx_cell", "file": "model.xlsx", "sheet": "Income statement", "cell": "B10", "value": 0.45, "rel_tol": 0.01, "abs_tol": 0 }, { "id": "income-statement-C10", "type": "xlsx_cell", "file": "model.xlsx", "sheet": "Income statement", "cell": "C10", "value": 0.62, "rel_tol": 0.01, "abs_tol": 0 }, { "id": "income-statement-D10", "type": "xlsx_cell", "file": "model.xlsx", "sheet": "Income statement", "cell": "D10", "value": 0.61, "rel_tol": 0.01, "abs_tol": 0 }, { "id": "balance-sheet-B5", "type": "xlsx_cell", "file": "model.xlsx", "sheet": "Balance sheet", "cell": "B5", "value": 213333.0, "rel_tol": 0, "abs_tol": 1e-06 }, { "id": "balance-sheet-C5", "type": "xlsx_cell", "file": "model.xlsx", "sheet": "Balance sheet", "cell": "C5", "value": 216302.0, "rel_tol": 0, "abs_tol": 1e-06 }, { "id": "balance-sheet-B7", "type": "xlsx_cell", "file": "model.xlsx", "sheet": "Balance sheet", "cell": "B7", "value": 121208.0, "rel_tol": 0, "abs_tol": 1e-06 }, { "id": "balance-sheet-C7", "type": "xlsx_cell", "file": "model.xlsx", "sheet": "Balance sheet", "cell": "C7", "value": 85962.0, "rel_tol": 0, "abs_tol": 1e-06 }, { "id": "balance-sheet-B8", "type": "xlsx_cell", "file": "model.xlsx", "sheet": "Balance sheet", "cell": "B8", "value": 92125.0, "rel_tol": 0, "abs_tol": 1e-06 }, { "id": "balance-sheet-C8", "type": "xlsx_cell", "file": "model.xlsx", "sheet": "Balance sheet", "cell": "C8", "value": 130340.0, "rel_tol": 0, "abs_tol": 1e-06 }, { "id": "balance-sheet-B9", "type": "xlsx_cell", "file": "model.xlsx", "sheet": "Balance sheet", "cell": "B9", "value": 51547.0, "rel_tol": 0, "abs_tol": 1e-06 }, { "id": "balance-sheet-C9", "type": "xlsx_cell", "file": "model.xlsx", "sheet": "Balance sheet", "cell": "C9", "value": 81433.0, "rel_tol": 0, "abs_tol": 1e-06 }, { "id": "cash-flow-B3", "type": "xlsx_cell", "file": "model.xlsx", "sheet": "Cash flow", "cell": "B3", "value": 27009.0, "rel_tol": 0, "abs_tol": 1e-06 }, { "id": "cash-flow-C3", "type": "xlsx_cell", "file": "model.xlsx", "sheet": "Cash flow", "cell": "C3", "value": 38918.0, "rel_tol": 0, "abs_tol": 1e-06 }, { "id": "cash-flow-D3", "type": "xlsx_cell", "file": "model.xlsx", "sheet": "Cash flow", "cell": "D3", "value": 41802.0, "rel_tol": 0, "abs_tol": 1e-06 }, { "id": "cash-flow-B5", "type": "xlsx_cell", "file": "model.xlsx", "sheet": "Cash flow", "cell": "B5", "value": 26869.0, "rel_tol": 0, "abs_tol": 1e-06 }, { "id": "cash-flow-C5", "type": "xlsx_cell", "file": "model.xlsx", "sheet": "Cash flow", "cell": "C5", "value": 38862.0, "rel_tol": 0, "abs_tol": 1e-06 }, { "id": "cash-flow-D5", "type": "xlsx_cell", "file": "model.xlsx", "sheet": "Cash flow", "cell": "D5", "value": 41731.0, "rel_tol": 0, "abs_tol": 1e-06 }, { "id": "memo", "type": "custom", "module": "consulting_markets_memo", "file": "memo.docx", "fields": [ { "kind": "number", "label": "Revenue growth percent", "rel_tol": 0.01, "value": -0.9098877067532207 }, { "kind": "number", "label": "EBITDA margin percent", "rel_tol": 0.01, "value": 21.122209037049362 }, { "kind": "number", "label": "Free cash flow", "rel_tol": 1e-09, "value": 41731.0 }, { "kind": "number", "label": "Free cash flow margin percent", "rel_tol": 0.01, "value": 18.273335931444887 }, { "kind": "number", "label": "Net working capital change", "rel_tol": 1e-09, "value": 29886.0 } ] }, { "id": "balance-sheet-B3", "type": "xlsx_cell", "file": "model.xlsx", "sheet": "Balance sheet", "cell": "B3", "rel_tol": 0, "abs_tol": 1e-06, "value": 69219.0 }, { "id": "balance-sheet-C3", "type": "xlsx_cell", "file": "model.xlsx", "sheet": "Balance sheet", "cell": "C3", "rel_tol": 0, "abs_tol": 1e-06, "value": 29635.0 } ]}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330"""Deterministic grader shared by converted knowledge-work tasks.
Runs inside the separate verifier sandbox. Reads /tests/expected.json, inspects thesubmitted /workspace/outputs tree and writes a binary reward plus per-check details.No model calls and no network.
expected.json: {"checks": [{"id": ..., "type": ..., ...}, ...]}Check types: answer field of outputs/answer.json; kind = number|text|choice|date|bool|list xlsx_range recalculated outputs/<file> vs tests/<target> over sheet!range (SpreadsheetBench rules) xlsx_cell recalculated outputs/<file> sheet!cell vs value with tolerance (optional alt_values) file_contains outputs/<file> text (docx/pdf/ics/eml/txt) must contain every needle custom tests/<module>.py defines check(spec, outputs_dir, tests_dir) -> (bool, str)"""
import datetime as dtimport jsonimport reimport shutilimport subprocessimport sysimport tempfileimport unicodedatafrom pathlib import Path
OUT = Path("/workspace/outputs")TESTS = Path("/tests")LOGS = Path("/logs/verifier")
def norm_text(v): v = unicodedata.normalize("NFKC", str(v)).casefold() v = re.sub(r"[‘’“”]", "'", v) v = re.sub(r"[^\w%.$/-]+", " ", v) return " ".join(v.split()).strip(" .")
def to_number(v): if isinstance(v, bool): raise ValueError("bool") if isinstance(v, (int, float)): return float(v) s = str(v).strip().replace(",", "").replace("$", "").replace("−", "-") neg = s.startswith("(") and s.endswith(")") s = s.strip("()").strip() pct = s.endswith("%") s = s.rstrip("%").strip() s = re.sub(r"\s*(usd|dollars|million|billion|thousand|m|bn|k)$", "", s, flags=re.I) x = float(s) x = -x if neg else x return x / 100 if pct else x
def number_ok(got, want, rel, abs_): try: g = to_number(got) except (TypeError, ValueError): return False w = float(want) tol = max(abs_, rel * abs(w)) # "12.5%" may mean the ratio 0.125 or the percent number 12.5; the gold fixes which. candidates = [g, g * 100] if isinstance(got, str) and got.strip().endswith("%") else [g] return any(abs(c - w) <= tol for c in candidates)
def parse_date(v): if isinstance(v, (dt.date, dt.datetime)): return v if isinstance(v, dt.date) else v.date() s = str(v).strip() for fmt in ("%Y-%m-%d", "%m/%d/%Y", "%m/%d/%y", "%d %B %Y", "%B %d, %Y", "%b %d, %Y", "%Y/%m/%d"): try: return dt.datetime.strptime(s, fmt).date() except ValueError: continue raise ValueError(s)
def check_answer(check, answers): key = check["field"] if key not in answers: return False, f"missing field {key!r}" got, want, kind = answers[key], check["value"], check.get("kind", "text") if kind == "number": ok = number_ok(got, want, check.get("rel_tol", 0.005), check.get("abs_tol", 0.01)) if not ok and check.get("percent_either"): ok = number_ok(got, want * 100, check.get("rel_tol", 0.005), check.get("abs_tol", 0.01) * 100) or ( number_ok(got, want / 100, check.get("rel_tol", 0.005), check.get("abs_tol", 0.01) / 100) ) elif kind == "date": try: ok = parse_date(got) == parse_date(want) except ValueError: ok = False elif kind == "bool": g = norm_text(got) ok = g in {"yes", "true"} if want else g in {"no", "false"} elif kind == "choice": ok = norm_text(got) == norm_text(want) elif kind == "list": if not isinstance(got, list): return False, f"{key}: expected a JSON list" # Filenames may be given with a directory prefix; compare base names. base = lambda x: norm_text(str(x).replace("\\", "/").rsplit("/", 1)[-1]) ok = sorted(base(x) for x in got) == sorted(base(x) for x in want) else: accepted = check.get("accept", [want]) ok = norm_text(got) in {norm_text(a) for a in accepted} return ok, "" if ok else f"{key}: got {got!r}"
# LibreOffice keeps cached formula values on load unless told otherwise; force a full recalculation.RECALC_PROFILE = """<?xml version="1.0" encoding="UTF-8"?><oor:items xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema"><item oor:path="/org.openoffice.Office.Calc/Formula/Load"><prop oor:name="OOXMLRecalcMode" oor:op="fuse"><value>0</value></prop></item><item oor:path="/org.openoffice.Office.Calc/Formula/Load"><prop oor:name="ODFRecalcMode" oor:op="fuse"><value>0</value></prop></item></oor:items>"""
def recalc(path, tmp): dest = Path(tmp) / f"recalc-{len(list(Path(tmp).glob('recalc-*')))}" dest.mkdir() profile = Path(tmp) / "lo-profile" if not profile.exists(): (profile / "user").mkdir(parents=True) (profile / "user" / "registrymodifications.xcu").write_text(RECALC_PROFILE) subprocess.run( ["soffice", f"-env:UserInstallation=file://{profile}", "--headless", "--calc", "--convert-to", "xlsx:Calc MS Excel 2007 XML", "--outdir", str(dest), str(path)], stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL, timeout=180, check=False, ) out = dest / (Path(path).stem + ".xlsx") return out if out.exists() else Path(path)
def cell_value(v): if isinstance(v, (int, float)) and not isinstance(v, bool): return round(float(v), 2) if isinstance(v, dt.datetime): return round((v - dt.datetime(1899, 12, 30)).total_seconds() / 86400.0, 0) if isinstance(v, dt.time): return v.strftime("%H:%M") if isinstance(v, str): try: return round(float(v), 2) except ValueError: return v.strip() return v
def time_of(v): """A time or a day fraction in [0, 1) as HH:MM, rounded to the nearest second first. Calc and Excel store a time as that fraction; openpyxl returns a time only for time-formatted cells.""" if isinstance(v, dt.time): v = (v.hour * 3600 + v.minute * 60 + v.second + v.microsecond / 1e6) / 86400 if isinstance(v, (int, float)) and not isinstance(v, bool) and 0 <= v < 1: return (dt.datetime(1899, 12, 30) + dt.timedelta(seconds=round(v * 86400))).strftime("%H:%M") return None
def same_cell(a, b): if isinstance(a, dt.time) is not isinstance(b, dt.time): n = b if isinstance(a, dt.time) else a if time_of(n) is not None: # a time against a plain day fraction return time_of(a) == time_of(b) a, b = cell_value(a), cell_value(b) if a in (None, "") and b in (None, ""): return True return type(a) is type(b) and a == b
ERRORS = {"#NULL!", "#DIV/0!", "#VALUE!", "#REF!", "#NAME?", "#NUM!", "#N/A"}
def is_error(v): return isinstance(v, str) and (v in ERRORS or v.startswith("Err:"))
def cells(rng): if ":" not in rng: return [rng] from openpyxl.utils import range_boundaries, get_column_letter
c1, r1, c2, r2 = range_boundaries(rng) return [f"{get_column_letter(c)}{r}" for r in range(r1, r2 + 1) for c in range(c1, c2 + 1)]
def load(path, tmp): import openpyxl
return openpyxl.load_workbook(recalc(path, tmp), data_only=True)
def check_xlsx_range(check, tmp, cache): sub = OUT / check["file"] if not sub.is_file(): return False, f"missing output {check['file']}" if sub not in cache: cache[sub] = load(sub, tmp) tgt = TESTS / check["target"] if tgt not in cache: cache[tgt] = load(tgt, tmp) got, want = cache[sub], cache[tgt] cached = None # the target's stored (Excel-computed) values, read only when Calc errs for sheet, rng in check["ranges"]: sheet = sheet or want.sheetnames[0] if sheet not in got.sheetnames: return False, f"sheet {sheet!r} missing" for name in cells(rng): w = want[sheet][name].value if is_error(w): # LibreOffice could not evaluate the gold formula (e.g. XLOOKUP, FILTER in Calc 7.4). # The value Excel stored is the intended answer. if cached is None: import openpyxl
cached = openpyxl.load_workbook(tgt, data_only=True) c = cached[sheet][name].value if sheet in cached.sheetnames else None if c is not None and not is_error(c): w = c if not same_cell(w, got[sheet][name].value): return False, f"{sheet}!{name}: want {w!r} got {got[sheet][name].value!r}" return True, ""
def check_xlsx_cell(check, tmp, cache): sub = OUT / check["file"] if not sub.is_file(): return False, f"missing output {check['file']}" if sub not in cache: cache[sub] = load(sub, tmp) wb = cache[sub] if check["sheet"] not in wb.sheetnames: return False, f"sheet {check['sheet']!r} missing" got = wb[check["sheet"]][check["cell"]].value want = check["value"] if isinstance(want, (int, float)): # alt_values: other accepted golds where the source admits more than one reading. ok = got is not None and any(number_ok(got, w, check.get("rel_tol", 0.0), check.get("abs_tol", 0.01)) for w in [want, *check.get("alt_values", [])]) else: ok = norm_text(got) == norm_text(want) return ok, "" if ok else f"{check['sheet']}!{check['cell']}: want {want!r} got {got!r}"
def text_of(path): suffix = path.suffix.lower() if suffix == ".docx": import docx
d = docx.Document(path) parts = [p.text for p in d.paragraphs] for t in d.tables: parts += [c.text for row in t.rows for c in row.cells] return "\n".join(parts) if suffix == ".pdf": import pdfplumber
with pdfplumber.open(path) as pdf: return "\n".join(page.extract_text() or "" for page in pdf.pages) return path.read_text(errors="replace")
def check_file_contains(check, tmp, cache): sub = OUT / check["file"] if not sub.is_file(): return False, f"missing output {check['file']}" text = text_of(sub) hay = text if check.get("case_sensitive") else text.casefold() for needle in check["needles"]: n = needle if check.get("case_sensitive") else needle.casefold() if n not in hay: return False, f"{check['file']} lacks {needle!r}" return True, ""
def main(): LOGS.mkdir(parents=True, exist_ok=True) reward_path = LOGS / "reward.txt" reward_path.write_text("0\n") spec = json.loads((TESTS / "expected.json").read_text()) answers, details = {}, [] answer_file = OUT / "answer.json" if answer_file.is_file(): try: answers = json.loads(answer_file.read_text()) if not isinstance(answers, dict): answers = {} except json.JSONDecodeError: answers = {} tmp = tempfile.mkdtemp() cache = {} try: for check in spec["checks"]: try: if check["type"] == "answer": ok, why = check_answer(check, answers) elif check["type"] == "xlsx_range": ok, why = check_xlsx_range(check, tmp, cache) elif check["type"] == "xlsx_cell": ok, why = check_xlsx_cell(check, tmp, cache) elif check["type"] == "file_contains": ok, why = check_file_contains(check, tmp, cache) elif check["type"] == "custom": import importlib.util
spec_ = importlib.util.spec_from_file_location("custom_check", TESTS / f"{check['module']}.py") mod = importlib.util.module_from_spec(spec_) spec_.loader.exec_module(mod) ok, why = mod.check(check, OUT, TESTS) else: ok, why = False, f"unknown check type {check['type']}" except Exception as exc: # a malformed submission fails the check, not the grader ok, why = False, f"{type(exc).__name__}: {exc}" details.append({"id": check["id"], "passed": ok, "detail": why}) finally: shutil.rmtree(tmp, ignore_errors=True) passed = sum(d["passed"] for d in details) total = len(details) reward = 1 if total and passed == total else 0 (LOGS / "details.json").write_text(json.dumps({"passed": passed, "total": total, "checks": details}, indent=1)) reward_path.write_text(f"{reward}\n") print(f"{passed}/{total} checks passed; reward {reward}")
if __name__ == "__main__": sys.exit(main())1234#!/bin/shset -eumkdir -p /logs/verifier /workspace/outputsexec python3 -B -I /tests/grade.py123456789101112131415161718192021222324252627282930{ "profile": "harbor-semantic-v1", "reward_key": "reward", "reward": { "range": [ 0, 1 ], "oracle_tolerance": 0, "floor_margin": 0.1 }, "resources": { "cpu": 1, "memory_mb": 4096, "disk_mb": 10240, "episode_timeout_s": 1800 }, "types": { "tags": [ "knowledge-work", "xlsx-io", "docx-io", "csv-io", "financial-math", "spreadsheet-formulas", "data-reconciliation" ] }, "requires_credentials": false}12345678910111213141516171819202122232425262728293031323334353637383940414243444546From: Coverage banker <coverage@bank.example>To: Consulting team <team@consultancy.example>Date: Mon, 23 Nov 2026 12:00:00 +0000Subject: AMCX trading compsContent-Type: text/plain; charset="utf-8"Content-Transfer-Encoding: quoted-printableMIME-Version: 1.0
Team,
We need a quick trading comps page for AMC NETWORKS INC. (CIK 1514991, AMCX)against five peers with the same SIC code (4841), from their FY2025 10-KXBRL facts (facts.csv):- CHARTER COMMUNICATIONS, INC. /MO/ (CIK 1091667, CHTR)- WARNER BROS. DISCOVERY, INC. (CIK 1437107, WBD)- ARENA GROUP HOLDINGS, INC. (CIK 894871, PAAI)- OPTIMUM COMMUNICATIONS, INC. (CIK 1702780, OPTU)- COMCAST CORP (CIK 1166691, CMCSA)
Rules:1. Each company's FY2025 is the fiscal year of its 10-K in facts.csv and FY2024 the year before it. Revenue is the first of RevenueFromContractWithCustomerExcludingAssessedTax, Revenues with values for both years; depreciation and amortization (D&A) is the first of DepreciationDepletionAndAmortization, DepreciationAndAmortization, DepreciationAmortizationAndAccretionNet with an FY2025 value. The workbook's last column names each company's tags.2. Revenue growth percent =3D (FY2025 revenue / FY2024 revenue - 1) x 100. EBITDA =3D OperatingIncomeLoss + D&A (FY2025). EBITDA margin percent =3D EBITDA / revenue x 100. Free cash flow margin percent =3D (NetCashProvidedByUsedInOperatingActivities - PaymentsToAcquirePropertyPla=ntAndEquipment) / revenue x 100, FY2025.3. Peer median: the median of the five peers, excluding AMC NETWORKS INC., for revenue growth, EBITDA margin and free cash flow margin.4. Valuation: our sector view is 8.0x, 9.5x and 11.0x FY2025 EBITDA (low, mid, high). Implied EV =3D multiple x the target's FY2025 EBITDA. Implied EV at peer median margin =3D 9.5x (the target's FY2025 revenue x the peer median EBITDA margin / 100).5. Target EBITDA margin rank: 1 for the highest EBITDA margin among the six companies, 6 for the lowest. The fastest-growing company has the highest revenue growth of the six.
Units: US$ thousands (the filed value divided by 1,000).
Thanks12345678facts.csv: every non-cover-page fact of the 10-K filing(s) below, as filed (values in the filing's units, not thousands), from the SEC Financial Statement Data Sets as compiled in the Hub dataset CyberMax-tools/figurewell-sec-xbrl-financials at revision d74dfdb8fdf4a326b64d8d0813163850f5d5a32a (data/facts.parquet SHA-256 6b9aa7727361e9e71e1a687372257fbdcc9333a9e010fb6633cf03c15b5c1147; licence CC0 1.0). duration_quarters is 4 for a fiscal-year amount and 0 for a point in time; period_end is the SEC's month-end rounding of the period's last day.
AMC NETWORKS INC. (CIK 1514991, ticker AMCX, SIC 4841): form 10-K for the fiscal year ended 2025-12-31, accession 0001514991-26-000011, filed 2026-02-11, https://www.sec.gov/Archives/edgar/data/1514991/000151499126000011/0001514991-26-000011-index.htm.CHARTER COMMUNICATIONS, INC. /MO/ (CIK 1091667, ticker CHTR, SIC 4841): form 10-K for the fiscal year ended 2025-12-31, accession 0001091667-26-000017, filed 2026-01-30, https://www.sec.gov/Archives/edgar/data/1091667/000109166726000017/0001091667-26-000017-index.htm.WARNER BROS. DISCOVERY, INC. (CIK 1437107, ticker WBD, SIC 4841): form 10-K for the fiscal year ended 2025-12-31, accession 0001437107-26-000020, filed 2026-02-27, https://www.sec.gov/Archives/edgar/data/1437107/000143710726000020/0001437107-26-000020-index.htm.ARENA GROUP HOLDINGS, INC. (CIK 894871, ticker PAAI, SIC 4841): form 10-K for the fiscal year ended 2025-12-31, accession 0001628280-26-018153, filed 2026-03-16, https://www.sec.gov/Archives/edgar/data/894871/000162828026018153/0001628280-26-018153-index.htm.OPTIMUM COMMUNICATIONS, INC. (CIK 1702780, ticker OPTU, SIC 4841): form 10-K for the fiscal year ended 2025-12-31, accession 0001702780-26-000013, filed 2026-02-13, https://www.sec.gov/Archives/edgar/data/1702780/000170278026000013/0001702780-26-000013-index.htm.COMCAST CORP (CIK 1166691, ticker CMCSA, SIC 4841): form 10-K for the fiscal year ended 2025-12-31, accession 0001628280-26-004994, filed 2026-02-03, https://www.sec.gov/Archives/edgar/data/1166691/000162828026004994/0001628280-26-004994-index.htm.123456789101112131415161718192021222324You are the analyst on an investment-banking deal team. Read `brief.eml` first: it says what to prepare and how. The inputs in `/workspace/inputs` are `facts.csv` (XBRL facts from FY2025 10-K filings), the workbook `comps.xlsx` to complete, and `source.txt` (where the facts come from).
Submit two files:
1. comps.xlsx: on sheet "Comps", fill columns B to F for the six companies in rows 3 to 8 (target first, as listed), the peer median in row 9 (columns C, E and F), and the four implied values in column D of rows 10 to 13. Leave column A and column G as they are; leave the other cells of rows 9 to 13 empty.
2. memo.docx with these paragraphs (amounts in $ thousands): - "Target EBITDA margin rank: <number>" - "Peer median EBITDA margin percent: <number>" - "Implied EV mid: <number>" - "Implied EV at peer median margin: <number>" - "Fastest-growing company: <company name as in facts.csv>"
Conventions:- Amounts are in US$ thousands: the filed value divided by 1,000, unrounded. Per-share amounts stay in dollars. Ratios are plain decimals, days are days, and percent figures are on a 0-100 scale.- Use each fact's value as filed, with its sign (a loss or an income tax benefit is negative). Use only facts.csv: the annual figures are the rows with duration_quarters 4 and the fiscal year's period_end; balance-sheet figures are the rows with duration_quarters 0 at the year-end period_end.- Keep full precision. Decimals are graded within 1% of the exact value; whole numbers and labels exactly.- Fill the cells of the supplied workbook (values or formulas; it is recalculated with LibreOffice before grading). Keep its sheets, rows and columns where they are, and save it under the same file name in /workspace/outputs.- Memo: write each listed item as its own paragraph in the form "Label: value", with the labels exactly as listed and each label once. Numbers as plain numerals (thousands separators allowed) with at least four significant digits or full precision. Other paragraphs are allowed.
## Deliverable
Work in `/workspace`. Input files are under `/workspace/inputs/`. Put every deliverable in`/workspace/outputs/`; only that directory is graded. Submit comps.xlsx and memo.docx.123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119{ "accession": "0001514991-26-000011", "company": "AMC NETWORKS INC.", "ev": [ 1821976.0, 2163596.5, 2505217.0 ], "ev_at_peer_margin": 6547782.442214264, "metrics": { "1091667": { "ebitda": 21619000.0, "fcf_margin": 8.065870668565378, "growth": -0.5645820096214949, "margin": 39.46945631138862, "revenue": 54774000.0, "tags": { "da": "DepreciationAmortizationAndAccretionNet", "revenue": "Revenues" }, "years": [ "2024-12-31", "2025-12-31" ] }, "1166691": { "ebitda": 36882000.0, "fcf_margin": 17.697462552644556, "growth": -0.019396917506531164, "margin": 29.813995974358765, "revenue": 123707000.0, "tags": { "da": "DepreciationDepletionAndAmortization", "revenue": "RevenueFromContractWithCustomerExcludingAssessedTax" }, "years": [ "2024-12-31", "2025-12-31" ] }, "1437107": { "ebitda": 6422000.0, "fcf_margin": 8.279708279708279, "growth": -5.149919890135046, "margin": 17.21900471900472, "revenue": 37296000.0, "tags": { "da": "DepreciationDepletionAndAmortization", "revenue": "RevenueFromContractWithCustomerExcludingAssessedTax" }, "years": [ "2024-12-31", "2025-12-31" ] }, "1514991": { "ebitda": 227747.0, "fcf_margin": 11.78159365793163, "growth": -4.5228747696498655, "margin": 9.851496733499122, "revenue": 2311801.0, "tags": { "da": "DepreciationDepletionAndAmortization", "revenue": "RevenueFromContractWithCustomerExcludingAssessedTax" }, "years": [ "2024-12-31", "2025-12-31" ] }, "1702780": { "ebitda": 1584416.0, "fcf_margin": -1.3833590187820988, "growth": -4.064474549264341, "margin": 18.44388669440206, "revenue": 8590467.0, "tags": { "da": "DepreciationDepletionAndAmortization", "revenue": "Revenues" }, "years": [ "2024-12-31", "2025-12-31" ] }, "894871": { "ebitda": 44260.0, "fcf_margin": 29.108197110392496, "growth": 7.0853884216127705, "margin": 32.82700922657015, "revenue": 134828.0, "tags": { "da": "DepreciationAndAmortization", "revenue": "RevenueFromContractWithCustomerExcludingAssessedTax" }, "years": [ "2024-12-31", "2025-12-31" ] } }, "multiples": [ 8.0, 9.5, 11.0 ], "paragraphs": [ "Target EBITDA margin rank: 6", "Peer median EBITDA margin percent: 29.814", "Implied EV mid: 2.1636e+06", "Implied EV at peer median margin: 6.54778e+06", "Fastest-growing company: ARENA GROUP HOLDINGS, INC." ], "peer_median": [ -0.5645820096214949, 29.813995974358765, 8.279708279708279 ]}1234#!/bin/shset -eumkdir -p /workspace/outputscp -R /solution/files/. /workspace/outputs/123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051schema_version = "1.3"
[task]name = "apex-gap/ib-trading-comps-amcx"
[metadata.apex_gap]capability_tags = ["xlsx-io", "docx-io", "csv-io", "financial-math", "spreadsheet-formulas", "data-reconciliation"]case_family = "ib-trading-comps"group_key = "ib-xbrl:1514991"job = "investment-banking"source = "SEC-FSDS/figurewell-sec-xbrl-financials"source_accessions = ["0001514991-26-000011", "0001091667-26-000017", "0001437107-26-000020", "0001628280-26-018153", "0001702780-26-000013", "0001628280-26-004994"]source_ciks = ["1514991", "1091667", "1437107", "894871", "1702780", "1166691"]source_license = "SEC filings (public records) via the CC0 Hub compilation; original task adaptation"source_revision = "d74dfdb8fdf4a326b64d8d0813163850f5d5a32a"source_split = "10-K filings accepted 2025-10-01 to 2026-09-30, fiscal year 2025"source_task_id = "ib-trading-comps-amcx"source_tickers = ["AMCX", "CHTR", "WBD", "PAAI", "OPTU", "CMCSA"]
[metadata.apex_gap.repair]fixes = "{\"comps-D10\": {\"action\": \"override\", \"reason\": \"whole-number gold graded with rel_tol 0.01 (\\u00b118219.8); the instruction grades whole numbers exactly (abs_tol 1e-6 only absorbs floating-point noise from workbook formulas)\", \"set\": {\"abs_tol\": 1e-06, \"rel_tol\": 0}}, \"comps-D12\": {\"action\": \"override\", \"reason\": \"whole-number gold graded with rel_tol 0.01 (\\u00b125052.2); the instruction grades whole numbers exactly (abs_tol 1e-6 only absorbs floating-point noise from workbook formulas)\", \"set\": {\"abs_tol\": 1e-06, \"rel_tol\": 0}}, \"comps-D3\": {\"action\": \"override\", \"reason\": \"whole-number gold graded with rel_tol 0.01 (\\u00b12277.47); the instruction grades whole numbers exactly (abs_tol 1e-6 only absorbs floating-point noise from workbook formulas)\", \"set\": {\"abs_tol\": 1e-06, \"rel_tol\": 0}}, \"comps-D4\": {\"action\": \"override\", \"reason\": \"whole-number gold graded with rel_tol 0.01 (\\u00b1216190); the instruction grades whole numbers exactly (abs_tol 1e-6 only absorbs floating-point noise from workbook formulas)\", \"set\": {\"abs_tol\": 1e-06, \"rel_tol\": 0}}, \"comps-D5\": {\"action\": \"override\", \"reason\": \"whole-number gold graded with rel_tol 0.01 (\\u00b164220); the instruction grades whole numbers exactly (abs_tol 1e-6 only absorbs floating-point noise from workbook formulas)\", \"set\": {\"abs_tol\": 1e-06, \"rel_tol\": 0}}, \"comps-D6\": {\"action\": \"override\", \"reason\": \"whole-number gold graded with rel_tol 0.01 (\\u00b1442.6); the instruction grades whole numbers exactly (abs_tol 1e-6 only absorbs floating-point noise from workbook formulas)\", \"set\": {\"abs_tol\": 1e-06, \"rel_tol\": 0}}, \"comps-D7\": {\"action\": \"override\", \"reason\": \"whole-number gold graded with rel_tol 0.01 (\\u00b115844.2); the instruction grades whole numbers exactly (abs_tol 1e-6 only absorbs floating-point noise from workbook formulas)\", \"set\": {\"abs_tol\": 1e-06, \"rel_tol\": 0}}, \"comps-D8\": {\"action\": \"override\", \"reason\": \"whole-number gold graded with rel_tol 0.01 (\\u00b1368820); the instruction grades whole numbers exactly (abs_tol 1e-6 only absorbs floating-point noise from workbook formulas)\", \"set\": {\"abs_tol\": 1e-06, \"rel_tol\": 0}}}"
[metadata.openenv_hf_sandbox]variant = "apex-gap-hfsandbox-v1"task_modified_for_hf_sandbox = truenetwork_enabled = true
[environment]docker_image = "ghcr.io/younesbelkada/apex@sha256:24969c952247033023872f87161a16e067003469506be63783bbaa5d96926bdf"workdir = "/workspace"cpus = 1memory_mb = 4096build_timeout_sec = 600network_mode = "public"
[agent]timeout_sec = 1800network_mode = "public"
[verifier]timeout_sec = 600network_mode = "public"environment_mode = "separate"
[verifier.environment]network_mode = "public"cpus = 1memory_mb = 4096
[[artifacts]]source = "/workspace/outputs".gitattributes+49
tasks/ib-ratios-lcut/solution/files/ratios.xlsxAdded
tasks/ib-ratios-lcut/solution/solve.shAdded+4
tasks/ib-ratios-lcut/task.tomlAdded+48
tasks/ib-ratios-lcut/tests/consulting_markets_memo.pyAdded+64
tasks/ib-ratios-lcut/tests/expected.jsonAdded+263
tasks/ib-ratios-lcut/tests/grade.pyAdded+330
tasks/ib-ratios-lcut/tests/test.shAdded+4
tasks/ib-ratios-lcut/validation/openenv.jsonAdded+30
tasks/ib-three-statement-ingm-v2/environment/inputs/brief.emlAdded+36
tasks/ib-three-statement-ingm-v2/environment/inputs/facts.csvAdded+520
tasks/ib-three-statement-ingm-v2/environment/inputs/followup.emlAdded+15
tasks/ib-three-statement-ingm-v2/environment/inputs/model.xlsxAdded
tasks/ib-three-statement-ingm-v2/environment/inputs/source.txtAdded+4
tasks/ib-three-statement-ingm-v2/instruction.mdAdded+23
tasks/ib-three-statement-ingm-v2/solution/computation.jsonAdded+22
tasks/ib-three-statement-ingm-v2/solution/files/memo.docxAdded
tasks/ib-three-statement-ingm-v2/solution/files/model.xlsxAdded
tasks/ib-three-statement-ingm-v2/solution/solve.shAdded+4
tasks/ib-three-statement-ingm-v2/task.tomlAdded+52
tasks/ib-three-statement-ingm-v2/tests/consulting_markets_memo.pyAdded+64
tasks/ib-three-statement-ingm-v2/tests/expected.jsonAdded+346
tasks/ib-three-statement-ingm-v2/tests/grade.pyAdded+330
tasks/ib-three-statement-ingm-v2/tests/test.shAdded+4
tasks/ib-three-statement-ingm-v2/validation/openenv.jsonAdded+30
tasks/ib-three-statement-pbyi/environment/inputs/brief.emlAdded+31
tasks/ib-three-statement-pbyi/environment/inputs/facts.csvAdded+230
tasks/ib-three-statement-pbyi/environment/inputs/model.xlsxAdded
tasks/ib-three-statement-pbyi/environment/inputs/source.txtAdded+3
tasks/ib-three-statement-pbyi/instruction.mdAdded+24
tasks/ib-three-statement-pbyi/solution/computation.jsonAdded+25
tasks/ib-three-statement-pbyi/solution/files/memo.docxAdded
tasks/ib-three-statement-pbyi/solution/files/model.xlsxAdded
tasks/ib-three-statement-pbyi/solution/solve.shAdded+4
tasks/ib-three-statement-pbyi/task.tomlAdded+51
tasks/ib-three-statement-pbyi/tests/consulting_markets_memo.pyAdded+64
tasks/ib-three-statement-pbyi/tests/expected.jsonAdded+382
tasks/ib-three-statement-pbyi/tests/grade.pyAdded+330
tasks/ib-three-statement-pbyi/tests/test.shAdded+4
tasks/ib-three-statement-pbyi/validation/openenv.jsonAdded+30
tasks/ib-trading-comps-amcx/environment/inputs/brief.emlAdded+46
tasks/ib-trading-comps-amcx/environment/inputs/comps.xlsxAdded
tasks/ib-trading-comps-amcx/environment/inputs/facts.csvAdded
tasks/ib-trading-comps-amcx/environment/inputs/source.txtAdded+8
tasks/ib-trading-comps-amcx/instruction.mdAdded+24
tasks/ib-trading-comps-amcx/solution/computation.jsonAdded+119
tasks/ib-trading-comps-amcx/solution/files/comps.xlsxAdded
tasks/ib-trading-comps-amcx/solution/files/memo.docxAdded
tasks/ib-trading-comps-amcx/solution/solve.shAdded+4
tasks/ib-trading-comps-amcx/task.tomlAdded+51