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
- .gitattributes +49 -0
- tasks/ib-ratios-lcut/solution/files/ratios.xlsx +0 -0
- tasks/ib-ratios-lcut/solution/solve.sh +4 -0
- tasks/ib-ratios-lcut/task.toml +48 -0
- tasks/ib-ratios-lcut/tests/consulting_markets_memo.py +64 -0
- tasks/ib-ratios-lcut/tests/expected.json +263 -0
- tasks/ib-ratios-lcut/tests/grade.py +330 -0
- tasks/ib-ratios-lcut/tests/test.sh +4 -0
- tasks/ib-ratios-lcut/validation/openenv.json +30 -0
- tasks/ib-three-statement-ingm-v2/environment/inputs/brief.eml +36 -0
- tasks/ib-three-statement-ingm-v2/environment/inputs/facts.csv +520 -0
- tasks/ib-three-statement-ingm-v2/environment/inputs/followup.eml +15 -0
- tasks/ib-three-statement-ingm-v2/environment/inputs/model.xlsx +0 -0
- tasks/ib-three-statement-ingm-v2/environment/inputs/source.txt +4 -0
- tasks/ib-three-statement-ingm-v2/instruction.md +23 -0
- tasks/ib-three-statement-ingm-v2/solution/computation.json +22 -0
- tasks/ib-three-statement-ingm-v2/solution/files/memo.docx +0 -0
- tasks/ib-three-statement-ingm-v2/solution/files/model.xlsx +0 -0
- tasks/ib-three-statement-ingm-v2/solution/solve.sh +4 -0
- tasks/ib-three-statement-ingm-v2/task.toml +52 -0
- tasks/ib-three-statement-ingm-v2/tests/consulting_markets_memo.py +64 -0
- tasks/ib-three-statement-ingm-v2/tests/expected.json +346 -0
- tasks/ib-three-statement-ingm-v2/tests/grade.py +330 -0
- tasks/ib-three-statement-ingm-v2/tests/test.sh +4 -0
- tasks/ib-three-statement-ingm-v2/validation/openenv.json +30 -0
- tasks/ib-three-statement-pbyi/environment/inputs/brief.eml +31 -0
- tasks/ib-three-statement-pbyi/environment/inputs/facts.csv +230 -0
- tasks/ib-three-statement-pbyi/environment/inputs/model.xlsx +0 -0
- tasks/ib-three-statement-pbyi/environment/inputs/source.txt +3 -0
- tasks/ib-three-statement-pbyi/instruction.md +24 -0
- tasks/ib-three-statement-pbyi/solution/computation.json +25 -0
- tasks/ib-three-statement-pbyi/solution/files/memo.docx +0 -0
- tasks/ib-three-statement-pbyi/solution/files/model.xlsx +0 -0
- tasks/ib-three-statement-pbyi/solution/solve.sh +4 -0
- tasks/ib-three-statement-pbyi/task.toml +51 -0
- tasks/ib-three-statement-pbyi/tests/consulting_markets_memo.py +64 -0
- tasks/ib-three-statement-pbyi/tests/expected.json +382 -0
- tasks/ib-three-statement-pbyi/tests/grade.py +330 -0
- tasks/ib-three-statement-pbyi/tests/test.sh +4 -0
- tasks/ib-three-statement-pbyi/validation/openenv.json +30 -0
- tasks/ib-trading-comps-amcx/environment/inputs/brief.eml +46 -0
- tasks/ib-trading-comps-amcx/environment/inputs/comps.xlsx +0 -0
- tasks/ib-trading-comps-amcx/environment/inputs/facts.csv +0 -0
- tasks/ib-trading-comps-amcx/environment/inputs/source.txt +8 -0
- tasks/ib-trading-comps-amcx/instruction.md +24 -0
- tasks/ib-trading-comps-amcx/solution/computation.json +119 -0
- tasks/ib-trading-comps-amcx/solution/files/comps.xlsx +0 -0
- tasks/ib-trading-comps-amcx/solution/files/memo.docx +0 -0
- tasks/ib-trading-comps-amcx/solution/solve.sh +4 -0
- tasks/ib-trading-comps-amcx/task.toml +51 -0
.gitattributes
CHANGED
|
@@ -239,3 +239,52 @@ tasks/cuad-room-d661b897721b/environment/inputs/contracts/VAXCYTE_INC_05_22_2020
|
|
| 239 |
tasks/cuad-room-f1105c186b36-v2/environment/inputs/contracts/ENERGOUSCORP_03_16_2017-EX-10.24-STRATEGIC_ALLIANCE_AGREEMENT.pdf filter=lfs diff=lfs merge=lfs -text
|
| 240 |
tasks/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 -text
|
| 241 |
tasks/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 -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 239 |
tasks/cuad-room-f1105c186b36-v2/environment/inputs/contracts/ENERGOUSCORP_03_16_2017-EX-10.24-STRATEGIC_ALLIANCE_AGREEMENT.pdf filter=lfs diff=lfs merge=lfs -text
|
| 240 |
tasks/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 -text
|
| 241 |
tasks/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 -text
|
| 242 |
+
tasks/market-entry-nc-building-supply/environment/inputs/census/CBSA-EST2025-ALLDATA.pdf filter=lfs diff=lfs merge=lfs -text
|
| 243 |
+
tasks/market-entry-nc-building-supply/environment/inputs/census/cntyasc.pdf filter=lfs diff=lfs merge=lfs -text
|
| 244 |
+
tasks/market-entry-va-therapy/environment/inputs/bea/FIPSModifications.pdf filter=lfs diff=lfs merge=lfs -text
|
| 245 |
+
tasks/market-entry-va-therapy/environment/inputs/census/CC-EST2025-AGESEX.pdf filter=lfs diff=lfs merge=lfs -text
|
| 246 |
+
tasks/maud-contract0-43ba3310-v3/environment/inputs/merger_agreement.docx filter=lfs diff=lfs merge=lfs -text
|
| 247 |
+
tasks/maud-contract1-58d1e38e-v2/environment/inputs/merger_agreement.docx filter=lfs diff=lfs merge=lfs -text
|
| 248 |
+
tasks/maud-contract10-6c657615-v4/environment/inputs/merger_agreement.docx filter=lfs diff=lfs merge=lfs -text
|
| 249 |
+
tasks/maud-contract101-cc900e96-v4-v2/environment/inputs/merger_agreement.docx filter=lfs diff=lfs merge=lfs -text
|
| 250 |
+
tasks/maud-contract104-9c315350-v3/environment/inputs/merger_agreement.docx filter=lfs diff=lfs merge=lfs -text
|
| 251 |
+
tasks/maud-contract107-b2d59d05-v4-v2/environment/inputs/merger_agreement.docx filter=lfs diff=lfs merge=lfs -text
|
| 252 |
+
tasks/maud-contract11-034c401b-v2/environment/inputs/merger_agreement.docx filter=lfs diff=lfs merge=lfs -text
|
| 253 |
+
tasks/maud-contract11-78c4f8ec-v4/environment/inputs/merger_agreement.docx filter=lfs diff=lfs merge=lfs -text
|
| 254 |
+
tasks/maud-contract11-959df5c0-v3/environment/inputs/merger_agreement.docx filter=lfs diff=lfs merge=lfs -text
|
| 255 |
+
tasks/maud-contract11-bec0ec7c-v4/environment/inputs/merger_agreement.docx filter=lfs diff=lfs merge=lfs -text
|
| 256 |
+
tasks/maud-contract111-1c3236c8-v4/environment/inputs/merger_agreement.docx filter=lfs diff=lfs merge=lfs -text
|
| 257 |
+
tasks/maud-contract111-b99f554f-v4/environment/inputs/merger_agreement.docx filter=lfs diff=lfs merge=lfs -text
|
| 258 |
+
tasks/maud-contract113-94e17166-v3/environment/inputs/merger_agreement.docx filter=lfs diff=lfs merge=lfs -text
|
| 259 |
+
tasks/maud-contract114-af7928df-v4/environment/inputs/merger_agreement.docx filter=lfs diff=lfs merge=lfs -text
|
| 260 |
+
tasks/maud-contract114-d3bad00c-v4/environment/inputs/merger_agreement.docx filter=lfs diff=lfs merge=lfs -text
|
| 261 |
+
tasks/maud-contract117-e47deca7-v3/environment/inputs/merger_agreement.docx filter=lfs diff=lfs merge=lfs -text
|
| 262 |
+
tasks/maud-contract117-e7b8600e-v4-v2/environment/inputs/merger_agreement.docx filter=lfs diff=lfs merge=lfs -text
|
| 263 |
+
tasks/maud-contract118-ac658d89-v4-v2/environment/inputs/merger_agreement.docx filter=lfs diff=lfs merge=lfs -text
|
| 264 |
+
tasks/maud-contract120-0149bbc8-v4/environment/inputs/merger_agreement.docx filter=lfs diff=lfs merge=lfs -text
|
| 265 |
+
tasks/maud-contract120-10a23d59-v2/environment/inputs/merger_agreement.docx filter=lfs diff=lfs merge=lfs -text
|
| 266 |
+
tasks/maud-contract120-41f6e05a-v2/environment/inputs/merger_agreement.docx filter=lfs diff=lfs merge=lfs -text
|
| 267 |
+
tasks/maud-contract120-66ee1b86-v4/environment/inputs/merger_agreement.docx filter=lfs diff=lfs merge=lfs -text
|
| 268 |
+
tasks/maud-contract121-814493f2-v4/environment/inputs/merger_agreement.docx filter=lfs diff=lfs merge=lfs -text
|
| 269 |
+
tasks/maud-contract122-beaff7c7-v4/environment/inputs/merger_agreement.docx filter=lfs diff=lfs merge=lfs -text
|
| 270 |
+
tasks/maud-contract122-ec5e204a-v4/environment/inputs/merger_agreement.docx filter=lfs diff=lfs merge=lfs -text
|
| 271 |
+
tasks/maud-contract124-4168d70d-v2/environment/inputs/merger_agreement.docx filter=lfs diff=lfs merge=lfs -text
|
| 272 |
+
tasks/maud-contract124-4eba3413-v3/environment/inputs/merger_agreement.docx filter=lfs diff=lfs merge=lfs -text
|
| 273 |
+
tasks/maud-contract124-a13c7ec4-v4-v2/environment/inputs/merger_agreement.docx filter=lfs diff=lfs merge=lfs -text
|
| 274 |
+
tasks/maud-contract124-c28f8404-v4/environment/inputs/merger_agreement.docx filter=lfs diff=lfs merge=lfs -text
|
| 275 |
+
tasks/maud-contract125-58c67260-v2/environment/inputs/merger_agreement.docx filter=lfs diff=lfs merge=lfs -text
|
| 276 |
+
tasks/maud-contract125-6157d9ea-v4-v2/environment/inputs/merger_agreement.docx filter=lfs diff=lfs merge=lfs -text
|
| 277 |
+
tasks/maud-contract127-165b69d9-v4-v2/environment/inputs/merger_agreement.docx filter=lfs diff=lfs merge=lfs -text
|
| 278 |
+
tasks/maud-contract127-aa06aabd-v4/environment/inputs/merger_agreement.docx filter=lfs diff=lfs merge=lfs -text
|
| 279 |
+
tasks/maud-contract130-90b63db8-v4/environment/inputs/merger_agreement.docx filter=lfs diff=lfs merge=lfs -text
|
| 280 |
+
tasks/maud-contract130-a3085f18-v2/environment/inputs/merger_agreement.docx filter=lfs diff=lfs merge=lfs -text
|
| 281 |
+
tasks/maud-contract130-e1018afb-v2/environment/inputs/merger_agreement.docx filter=lfs diff=lfs merge=lfs -text
|
| 282 |
+
tasks/maud-contract133-8b60a1c8-v4-v2/environment/inputs/merger_agreement.docx filter=lfs diff=lfs merge=lfs -text
|
| 283 |
+
tasks/maud-contract133-cc49a678-v3/environment/inputs/merger_agreement.docx filter=lfs diff=lfs merge=lfs -text
|
| 284 |
+
tasks/maud-contract134-29bc9247-v2/environment/inputs/merger_agreement.docx filter=lfs diff=lfs merge=lfs -text
|
| 285 |
+
tasks/maud-contract134-7c778e89-v2/environment/inputs/merger_agreement.docx filter=lfs diff=lfs merge=lfs -text
|
| 286 |
+
tasks/maud-contract134-b6c3901b-v4-v2/environment/inputs/merger_agreement.docx filter=lfs diff=lfs merge=lfs -text
|
| 287 |
+
tasks/maud-contract14-4b5deddf-v2/environment/inputs/merger_agreement.docx filter=lfs diff=lfs merge=lfs -text
|
| 288 |
+
tasks/maud-contract141-4b4a4674-v4/environment/inputs/merger_agreement.docx filter=lfs diff=lfs merge=lfs -text
|
| 289 |
+
tasks/maud-contract141-5e048673-v4/environment/inputs/merger_agreement.docx filter=lfs diff=lfs merge=lfs -text
|
| 290 |
+
tasks/maud-contract143-5264b09c-v4-v2/environment/inputs/merger_agreement.docx filter=lfs diff=lfs merge=lfs -text
|
tasks/ib-ratios-lcut/solution/files/ratios.xlsx
ADDED
|
Binary file (5.78 kB). View file
|
|
|
tasks/ib-ratios-lcut/solution/solve.sh
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/bin/sh
|
| 2 |
+
set -eu
|
| 3 |
+
mkdir -p /workspace/outputs
|
| 4 |
+
cp -R /solution/files/. /workspace/outputs/
|
tasks/ib-ratios-lcut/task.toml
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
schema_version = "1.3"
|
| 2 |
+
|
| 3 |
+
[task]
|
| 4 |
+
name = "apex-gap/ib-ratios-lcut"
|
| 5 |
+
|
| 6 |
+
[metadata.apex_gap]
|
| 7 |
+
capability_tags = ["xlsx-io", "docx-io", "csv-io", "financial-math", "spreadsheet-formulas", "data-reconciliation"]
|
| 8 |
+
case_family = "ib-ratios"
|
| 9 |
+
group_key = "ib-xbrl:874396"
|
| 10 |
+
job = "investment-banking"
|
| 11 |
+
source = "SEC-FSDS/figurewell-sec-xbrl-financials"
|
| 12 |
+
source_accessions = ["0000874396-26-000008"]
|
| 13 |
+
source_ciks = ["874396"]
|
| 14 |
+
source_license = "SEC filings (public records) via the CC0 Hub compilation; original task adaptation"
|
| 15 |
+
source_revision = "d74dfdb8fdf4a326b64d8d0813163850f5d5a32a"
|
| 16 |
+
source_split = "10-K filings accepted 2025-10-01 to 2026-09-30, fiscal year 2025"
|
| 17 |
+
source_task_id = "ib-ratios-lcut"
|
| 18 |
+
source_tickers = ["LCUT"]
|
| 19 |
+
|
| 20 |
+
[metadata.openenv_hf_sandbox]
|
| 21 |
+
variant = "apex-gap-hfsandbox-v1"
|
| 22 |
+
task_modified_for_hf_sandbox = true
|
| 23 |
+
network_enabled = true
|
| 24 |
+
|
| 25 |
+
[environment]
|
| 26 |
+
docker_image = "ghcr.io/younesbelkada/apex@sha256:24969c952247033023872f87161a16e067003469506be63783bbaa5d96926bdf"
|
| 27 |
+
workdir = "/workspace"
|
| 28 |
+
cpus = 1
|
| 29 |
+
memory_mb = 4096
|
| 30 |
+
build_timeout_sec = 600
|
| 31 |
+
network_mode = "public"
|
| 32 |
+
|
| 33 |
+
[agent]
|
| 34 |
+
timeout_sec = 1800
|
| 35 |
+
network_mode = "public"
|
| 36 |
+
|
| 37 |
+
[verifier]
|
| 38 |
+
timeout_sec = 600
|
| 39 |
+
network_mode = "public"
|
| 40 |
+
environment_mode = "separate"
|
| 41 |
+
|
| 42 |
+
[verifier.environment]
|
| 43 |
+
network_mode = "public"
|
| 44 |
+
cpus = 1
|
| 45 |
+
memory_mb = 4096
|
| 46 |
+
|
| 47 |
+
[[artifacts]]
|
| 48 |
+
source = "/workspace/outputs"
|
tasks/ib-ratios-lcut/tests/consulting_markets_memo.py
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Check a memo's labelled paragraphs ("Label: value") against the expected fields.
|
| 2 |
+
|
| 3 |
+
spec: {"file": "memo.docx", "fields": [{"label": ..., "kind": "choice", "accept": [...]},
|
| 4 |
+
{"label": ..., "kind": "number", "value": x, "rel_tol": 0.01}]}
|
| 5 |
+
|
| 6 |
+
Labels match case-insensitively and must each appear exactly once; other paragraphs are ignored.
|
| 7 |
+
A choice matches one accepted value after case and whitespace folding. A number is one numeral
|
| 8 |
+
(thousands commas, a leading "$" or a trailing "%" allowed) within rel_tol of the gold; rel_tol 0
|
| 9 |
+
means the whole number exactly.
|
| 10 |
+
"""
|
| 11 |
+
|
| 12 |
+
import math
|
| 13 |
+
import re
|
| 14 |
+
|
| 15 |
+
from docx import Document
|
| 16 |
+
|
| 17 |
+
NUMERAL = re.compile(r"[+-]?(?:(?:\d{1,3}(?:,\d{3})+|\d+)(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?")
|
| 18 |
+
|
| 19 |
+
|
| 20 |
+
def fold(text):
|
| 21 |
+
return " ".join(str(text).replace("\u2019", "'").replace("\u2013", "-").replace("\u2014", "-").split()).casefold()
|
| 22 |
+
|
| 23 |
+
|
| 24 |
+
def number(raw):
|
| 25 |
+
s = raw.strip().replace("\u2212", "-").rstrip(".")
|
| 26 |
+
sign = ""
|
| 27 |
+
for _ in range(2): # "-$1,200" and "$-1,200" alike
|
| 28 |
+
if s[:1] in ("+", "-") and not sign:
|
| 29 |
+
sign, s = s[0], s[1:].lstrip()
|
| 30 |
+
if s[:1] == "$":
|
| 31 |
+
s = s[1:].lstrip()
|
| 32 |
+
s = s.removesuffix("%").strip()
|
| 33 |
+
if not NUMERAL.fullmatch(s) or s[:1] in ("+", "-"):
|
| 34 |
+
return None
|
| 35 |
+
return float(sign + s.replace(",", ""))
|
| 36 |
+
|
| 37 |
+
|
| 38 |
+
def check(spec, outputs_dir, tests_dir):
|
| 39 |
+
path = outputs_dir / spec["file"]
|
| 40 |
+
if not path.is_file():
|
| 41 |
+
return False, f"missing {spec['file']}"
|
| 42 |
+
wanted = {fold(f["label"]): f for f in spec["fields"]}
|
| 43 |
+
found = {}
|
| 44 |
+
for paragraph in Document(path).paragraphs:
|
| 45 |
+
label, sep, value = paragraph.text.partition(":")
|
| 46 |
+
key = fold(label)
|
| 47 |
+
if sep and key in wanted:
|
| 48 |
+
if key in found:
|
| 49 |
+
return False, f"label {wanted[key]['label']!r} appears more than once"
|
| 50 |
+
found[key] = value.strip()
|
| 51 |
+
for key, field in wanted.items():
|
| 52 |
+
if key not in found:
|
| 53 |
+
return False, f"missing paragraph {field['label']!r}"
|
| 54 |
+
value = found[key]
|
| 55 |
+
if field["kind"] == "choice":
|
| 56 |
+
if fold(value).strip(" .") not in {fold(a).strip(" .") for a in field["accept"]}:
|
| 57 |
+
return False, f"{field['label']}: got {value!r}"
|
| 58 |
+
else:
|
| 59 |
+
got = number(value)
|
| 60 |
+
if got is None:
|
| 61 |
+
return False, f"{field['label']}: {value!r} is not a single number"
|
| 62 |
+
if not math.isclose(got, field["value"], rel_tol=field.get("rel_tol", 0.01), abs_tol=0):
|
| 63 |
+
return False, f"{field['label']}: got {value!r}"
|
| 64 |
+
return True, ""
|
tasks/ib-ratios-lcut/tests/expected.json
ADDED
|
@@ -0,0 +1,263 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"checks": [
|
| 3 |
+
{
|
| 4 |
+
"id": "ratios-B3",
|
| 5 |
+
"type": "xlsx_cell",
|
| 6 |
+
"file": "ratios.xlsx",
|
| 7 |
+
"sheet": "Ratios",
|
| 8 |
+
"cell": "B3",
|
| 9 |
+
"value": 38.172960910869286,
|
| 10 |
+
"rel_tol": 0.01,
|
| 11 |
+
"abs_tol": 0
|
| 12 |
+
},
|
| 13 |
+
{
|
| 14 |
+
"id": "ratios-C3",
|
| 15 |
+
"type": "xlsx_cell",
|
| 16 |
+
"file": "ratios.xlsx",
|
| 17 |
+
"sheet": "Ratios",
|
| 18 |
+
"cell": "C3",
|
| 19 |
+
"value": 37.1481310567605,
|
| 20 |
+
"rel_tol": 0.01,
|
| 21 |
+
"abs_tol": 0
|
| 22 |
+
},
|
| 23 |
+
{
|
| 24 |
+
"id": "ratios-B4",
|
| 25 |
+
"type": "xlsx_cell",
|
| 26 |
+
"file": "ratios.xlsx",
|
| 27 |
+
"sheet": "Ratios",
|
| 28 |
+
"cell": "B4",
|
| 29 |
+
"value": 7.2330119832726165,
|
| 30 |
+
"rel_tol": 0.01,
|
| 31 |
+
"abs_tol": 0
|
| 32 |
+
},
|
| 33 |
+
{
|
| 34 |
+
"id": "ratios-C4",
|
| 35 |
+
"type": "xlsx_cell",
|
| 36 |
+
"file": "ratios.xlsx",
|
| 37 |
+
"sheet": "Ratios",
|
| 38 |
+
"cell": "C4",
|
| 39 |
+
"value": 1.915630165464639,
|
| 40 |
+
"rel_tol": 0.01,
|
| 41 |
+
"abs_tol": 0
|
| 42 |
+
},
|
| 43 |
+
{
|
| 44 |
+
"id": "ratios-B5",
|
| 45 |
+
"type": "xlsx_cell",
|
| 46 |
+
"file": "ratios.xlsx",
|
| 47 |
+
"sheet": "Ratios",
|
| 48 |
+
"cell": "B5",
|
| 49 |
+
"value": -2.2205074441542014,
|
| 50 |
+
"rel_tol": 0.01,
|
| 51 |
+
"abs_tol": 0
|
| 52 |
+
},
|
| 53 |
+
{
|
| 54 |
+
"id": "ratios-C5",
|
| 55 |
+
"type": "xlsx_cell",
|
| 56 |
+
"file": "ratios.xlsx",
|
| 57 |
+
"sheet": "Ratios",
|
| 58 |
+
"cell": "C5",
|
| 59 |
+
"value": -4.15737429641645,
|
| 60 |
+
"rel_tol": 0.01,
|
| 61 |
+
"abs_tol": 0
|
| 62 |
+
},
|
| 63 |
+
{
|
| 64 |
+
"id": "ratios-B6",
|
| 65 |
+
"type": "xlsx_cell",
|
| 66 |
+
"file": "ratios.xlsx",
|
| 67 |
+
"sheet": "Ratios",
|
| 68 |
+
"cell": "B6",
|
| 69 |
+
"value": -6.595686381962657,
|
| 70 |
+
"rel_tol": 0.01,
|
| 71 |
+
"abs_tol": 0
|
| 72 |
+
},
|
| 73 |
+
{
|
| 74 |
+
"id": "ratios-C6",
|
| 75 |
+
"type": "xlsx_cell",
|
| 76 |
+
"file": "ratios.xlsx",
|
| 77 |
+
"sheet": "Ratios",
|
| 78 |
+
"cell": "C6",
|
| 79 |
+
"value": -13.316887238786418,
|
| 80 |
+
"rel_tol": 0.01,
|
| 81 |
+
"abs_tol": 0
|
| 82 |
+
},
|
| 83 |
+
{
|
| 84 |
+
"id": "ratios-B7",
|
| 85 |
+
"type": "xlsx_cell",
|
| 86 |
+
"file": "ratios.xlsx",
|
| 87 |
+
"sheet": "Ratios",
|
| 88 |
+
"cell": "B7",
|
| 89 |
+
"value": 2.4618466749701797,
|
| 90 |
+
"rel_tol": 0.01,
|
| 91 |
+
"abs_tol": 0
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"id": "ratios-C7",
|
| 95 |
+
"type": "xlsx_cell",
|
| 96 |
+
"file": "ratios.xlsx",
|
| 97 |
+
"sheet": "Ratios",
|
| 98 |
+
"cell": "C7",
|
| 99 |
+
"value": 2.847558700105862,
|
| 100 |
+
"rel_tol": 0.01,
|
| 101 |
+
"abs_tol": 0
|
| 102 |
+
},
|
| 103 |
+
{
|
| 104 |
+
"id": "ratios-B8",
|
| 105 |
+
"type": "xlsx_cell",
|
| 106 |
+
"file": "ratios.xlsx",
|
| 107 |
+
"sheet": "Ratios",
|
| 108 |
+
"cell": "B8",
|
| 109 |
+
"value": 1.1279597740917209,
|
| 110 |
+
"rel_tol": 0.01,
|
| 111 |
+
"abs_tol": 0
|
| 112 |
+
},
|
| 113 |
+
{
|
| 114 |
+
"id": "ratios-C8",
|
| 115 |
+
"type": "xlsx_cell",
|
| 116 |
+
"file": "ratios.xlsx",
|
| 117 |
+
"sheet": "Ratios",
|
| 118 |
+
"cell": "C8",
|
| 119 |
+
"value": 1.3697097552988127,
|
| 120 |
+
"rel_tol": 0.01,
|
| 121 |
+
"abs_tol": 0
|
| 122 |
+
},
|
| 123 |
+
{
|
| 124 |
+
"id": "ratios-B9",
|
| 125 |
+
"type": "xlsx_cell",
|
| 126 |
+
"file": "ratios.xlsx",
|
| 127 |
+
"sheet": "Ratios",
|
| 128 |
+
"cell": "B9",
|
| 129 |
+
"value": 83.77044799634527,
|
| 130 |
+
"rel_tol": 0.01,
|
| 131 |
+
"abs_tol": 0
|
| 132 |
+
},
|
| 133 |
+
{
|
| 134 |
+
"id": "ratios-C9",
|
| 135 |
+
"type": "xlsx_cell",
|
| 136 |
+
"file": "ratios.xlsx",
|
| 137 |
+
"sheet": "Ratios",
|
| 138 |
+
"cell": "C9",
|
| 139 |
+
"value": 91.1811329257809,
|
| 140 |
+
"rel_tol": 0.01,
|
| 141 |
+
"abs_tol": 0
|
| 142 |
+
},
|
| 143 |
+
{
|
| 144 |
+
"id": "ratios-B10",
|
| 145 |
+
"type": "xlsx_cell",
|
| 146 |
+
"file": "ratios.xlsx",
|
| 147 |
+
"sheet": "Ratios",
|
| 148 |
+
"cell": "B10",
|
| 149 |
+
"value": 174.96529299062874,
|
| 150 |
+
"rel_tol": 0.01,
|
| 151 |
+
"abs_tol": 0
|
| 152 |
+
},
|
| 153 |
+
{
|
| 154 |
+
"id": "ratios-C10",
|
| 155 |
+
"type": "xlsx_cell",
|
| 156 |
+
"file": "ratios.xlsx",
|
| 157 |
+
"sheet": "Ratios",
|
| 158 |
+
"cell": "C10",
|
| 159 |
+
"value": 173.91989450886214,
|
| 160 |
+
"rel_tol": 0.01,
|
| 161 |
+
"abs_tol": 0
|
| 162 |
+
},
|
| 163 |
+
{
|
| 164 |
+
"id": "ratios-B11",
|
| 165 |
+
"type": "xlsx_cell",
|
| 166 |
+
"file": "ratios.xlsx",
|
| 167 |
+
"sheet": "Ratios",
|
| 168 |
+
"cell": "B11",
|
| 169 |
+
"value": 51.89019985837741,
|
| 170 |
+
"rel_tol": 0.01,
|
| 171 |
+
"abs_tol": 0
|
| 172 |
+
},
|
| 173 |
+
{
|
| 174 |
+
"id": "ratios-C11",
|
| 175 |
+
"type": "xlsx_cell",
|
| 176 |
+
"file": "ratios.xlsx",
|
| 177 |
+
"sheet": "Ratios",
|
| 178 |
+
"cell": "C11",
|
| 179 |
+
"value": 41.089141975945275,
|
| 180 |
+
"rel_tol": 0.01,
|
| 181 |
+
"abs_tol": 0
|
| 182 |
+
},
|
| 183 |
+
{
|
| 184 |
+
"id": "ratios-B12",
|
| 185 |
+
"type": "xlsx_cell",
|
| 186 |
+
"file": "ratios.xlsx",
|
| 187 |
+
"sheet": "Ratios",
|
| 188 |
+
"cell": "B12",
|
| 189 |
+
"value": 206.8455411285966,
|
| 190 |
+
"rel_tol": 0.01,
|
| 191 |
+
"abs_tol": 0
|
| 192 |
+
},
|
| 193 |
+
{
|
| 194 |
+
"id": "ratios-C12",
|
| 195 |
+
"type": "xlsx_cell",
|
| 196 |
+
"file": "ratios.xlsx",
|
| 197 |
+
"sheet": "Ratios",
|
| 198 |
+
"cell": "C12",
|
| 199 |
+
"value": 224.01188545869775,
|
| 200 |
+
"rel_tol": 0.01,
|
| 201 |
+
"abs_tol": 0
|
| 202 |
+
},
|
| 203 |
+
{
|
| 204 |
+
"id": "ratios-B13",
|
| 205 |
+
"type": "xlsx_cell",
|
| 206 |
+
"file": "ratios.xlsx",
|
| 207 |
+
"sheet": "Ratios",
|
| 208 |
+
"cell": "B13",
|
| 209 |
+
"value": 1.2195605187319885,
|
| 210 |
+
"rel_tol": 0.01,
|
| 211 |
+
"abs_tol": 0
|
| 212 |
+
},
|
| 213 |
+
{
|
| 214 |
+
"id": "ratios-C13",
|
| 215 |
+
"type": "xlsx_cell",
|
| 216 |
+
"file": "ratios.xlsx",
|
| 217 |
+
"sheet": "Ratios",
|
| 218 |
+
"cell": "C13",
|
| 219 |
+
"value": -0.4710933599600599,
|
| 220 |
+
"rel_tol": 0.01,
|
| 221 |
+
"abs_tol": 0
|
| 222 |
+
},
|
| 223 |
+
{
|
| 224 |
+
"id": "memo",
|
| 225 |
+
"type": "custom",
|
| 226 |
+
"module": "consulting_markets_memo",
|
| 227 |
+
"file": "memo.docx",
|
| 228 |
+
"fields": [
|
| 229 |
+
{
|
| 230 |
+
"label": "Return on equity FY2025 percent",
|
| 231 |
+
"kind": "number",
|
| 232 |
+
"value": -13.316887238786418,
|
| 233 |
+
"rel_tol": 0.01
|
| 234 |
+
},
|
| 235 |
+
{
|
| 236 |
+
"label": "Cash conversion cycle FY2025",
|
| 237 |
+
"kind": "number",
|
| 238 |
+
"value": 224.01188545869775,
|
| 239 |
+
"rel_tol": 0.01
|
| 240 |
+
},
|
| 241 |
+
{
|
| 242 |
+
"label": "Cash conversion cycle change",
|
| 243 |
+
"kind": "number",
|
| 244 |
+
"value": 17.16634433010114,
|
| 245 |
+
"rel_tol": 0.01
|
| 246 |
+
},
|
| 247 |
+
{
|
| 248 |
+
"label": "Gross margin change in percentage points",
|
| 249 |
+
"kind": "number",
|
| 250 |
+
"value": -1.0248298541087877,
|
| 251 |
+
"rel_tol": 0.01
|
| 252 |
+
},
|
| 253 |
+
{
|
| 254 |
+
"label": "Working capital trend",
|
| 255 |
+
"kind": "choice",
|
| 256 |
+
"accept": [
|
| 257 |
+
"worsened"
|
| 258 |
+
]
|
| 259 |
+
}
|
| 260 |
+
]
|
| 261 |
+
}
|
| 262 |
+
]
|
| 263 |
+
}
|
tasks/ib-ratios-lcut/tests/grade.py
ADDED
|
@@ -0,0 +1,330 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Deterministic grader shared by converted knowledge-work tasks.
|
| 2 |
+
|
| 3 |
+
Runs inside the separate verifier sandbox. Reads /tests/expected.json, inspects the
|
| 4 |
+
submitted /workspace/outputs tree and writes a binary reward plus per-check details.
|
| 5 |
+
No model calls and no network.
|
| 6 |
+
|
| 7 |
+
expected.json: {"checks": [{"id": ..., "type": ..., ...}, ...]}
|
| 8 |
+
Check types:
|
| 9 |
+
answer field of outputs/answer.json; kind = number|text|choice|date|bool|list
|
| 10 |
+
xlsx_range recalculated outputs/<file> vs tests/<target> over sheet!range (SpreadsheetBench rules)
|
| 11 |
+
xlsx_cell recalculated outputs/<file> sheet!cell vs value with tolerance (optional alt_values)
|
| 12 |
+
file_contains outputs/<file> text (docx/pdf/ics/eml/txt) must contain every needle
|
| 13 |
+
custom tests/<module>.py defines check(spec, outputs_dir, tests_dir) -> (bool, str)
|
| 14 |
+
"""
|
| 15 |
+
|
| 16 |
+
import datetime as dt
|
| 17 |
+
import json
|
| 18 |
+
import re
|
| 19 |
+
import shutil
|
| 20 |
+
import subprocess
|
| 21 |
+
import sys
|
| 22 |
+
import tempfile
|
| 23 |
+
import unicodedata
|
| 24 |
+
from pathlib import Path
|
| 25 |
+
|
| 26 |
+
OUT = Path("/workspace/outputs")
|
| 27 |
+
TESTS = Path("/tests")
|
| 28 |
+
LOGS = Path("/logs/verifier")
|
| 29 |
+
|
| 30 |
+
|
| 31 |
+
def norm_text(v):
|
| 32 |
+
v = unicodedata.normalize("NFKC", str(v)).casefold()
|
| 33 |
+
v = re.sub(r"[‘’“”]", "'", v)
|
| 34 |
+
v = re.sub(r"[^\w%.$/-]+", " ", v)
|
| 35 |
+
return " ".join(v.split()).strip(" .")
|
| 36 |
+
|
| 37 |
+
|
| 38 |
+
def to_number(v):
|
| 39 |
+
if isinstance(v, bool):
|
| 40 |
+
raise ValueError("bool")
|
| 41 |
+
if isinstance(v, (int, float)):
|
| 42 |
+
return float(v)
|
| 43 |
+
s = str(v).strip().replace(",", "").replace("$", "").replace("−", "-")
|
| 44 |
+
neg = s.startswith("(") and s.endswith(")")
|
| 45 |
+
s = s.strip("()").strip()
|
| 46 |
+
pct = s.endswith("%")
|
| 47 |
+
s = s.rstrip("%").strip()
|
| 48 |
+
s = re.sub(r"\s*(usd|dollars|million|billion|thousand|m|bn|k)$", "", s, flags=re.I)
|
| 49 |
+
x = float(s)
|
| 50 |
+
x = -x if neg else x
|
| 51 |
+
return x / 100 if pct else x
|
| 52 |
+
|
| 53 |
+
|
| 54 |
+
def number_ok(got, want, rel, abs_):
|
| 55 |
+
try:
|
| 56 |
+
g = to_number(got)
|
| 57 |
+
except (TypeError, ValueError):
|
| 58 |
+
return False
|
| 59 |
+
w = float(want)
|
| 60 |
+
tol = max(abs_, rel * abs(w))
|
| 61 |
+
# "12.5%" may mean the ratio 0.125 or the percent number 12.5; the gold fixes which.
|
| 62 |
+
candidates = [g, g * 100] if isinstance(got, str) and got.strip().endswith("%") else [g]
|
| 63 |
+
return any(abs(c - w) <= tol for c in candidates)
|
| 64 |
+
|
| 65 |
+
|
| 66 |
+
def parse_date(v):
|
| 67 |
+
if isinstance(v, (dt.date, dt.datetime)):
|
| 68 |
+
return v if isinstance(v, dt.date) else v.date()
|
| 69 |
+
s = str(v).strip()
|
| 70 |
+
for fmt in ("%Y-%m-%d", "%m/%d/%Y", "%m/%d/%y", "%d %B %Y", "%B %d, %Y", "%b %d, %Y", "%Y/%m/%d"):
|
| 71 |
+
try:
|
| 72 |
+
return dt.datetime.strptime(s, fmt).date()
|
| 73 |
+
except ValueError:
|
| 74 |
+
continue
|
| 75 |
+
raise ValueError(s)
|
| 76 |
+
|
| 77 |
+
|
| 78 |
+
def check_answer(check, answers):
|
| 79 |
+
key = check["field"]
|
| 80 |
+
if key not in answers:
|
| 81 |
+
return False, f"missing field {key!r}"
|
| 82 |
+
got, want, kind = answers[key], check["value"], check.get("kind", "text")
|
| 83 |
+
if kind == "number":
|
| 84 |
+
ok = number_ok(got, want, check.get("rel_tol", 0.005), check.get("abs_tol", 0.01))
|
| 85 |
+
if not ok and check.get("percent_either"):
|
| 86 |
+
ok = number_ok(got, want * 100, check.get("rel_tol", 0.005), check.get("abs_tol", 0.01) * 100) or (
|
| 87 |
+
number_ok(got, want / 100, check.get("rel_tol", 0.005), check.get("abs_tol", 0.01) / 100)
|
| 88 |
+
)
|
| 89 |
+
elif kind == "date":
|
| 90 |
+
try:
|
| 91 |
+
ok = parse_date(got) == parse_date(want)
|
| 92 |
+
except ValueError:
|
| 93 |
+
ok = False
|
| 94 |
+
elif kind == "bool":
|
| 95 |
+
g = norm_text(got)
|
| 96 |
+
ok = g in {"yes", "true"} if want else g in {"no", "false"}
|
| 97 |
+
elif kind == "choice":
|
| 98 |
+
ok = norm_text(got) == norm_text(want)
|
| 99 |
+
elif kind == "list":
|
| 100 |
+
if not isinstance(got, list):
|
| 101 |
+
return False, f"{key}: expected a JSON list"
|
| 102 |
+
# Filenames may be given with a directory prefix; compare base names.
|
| 103 |
+
base = lambda x: norm_text(str(x).replace("\\", "/").rsplit("/", 1)[-1])
|
| 104 |
+
ok = sorted(base(x) for x in got) == sorted(base(x) for x in want)
|
| 105 |
+
else:
|
| 106 |
+
accepted = check.get("accept", [want])
|
| 107 |
+
ok = norm_text(got) in {norm_text(a) for a in accepted}
|
| 108 |
+
return ok, "" if ok else f"{key}: got {got!r}"
|
| 109 |
+
|
| 110 |
+
|
| 111 |
+
# LibreOffice keeps cached formula values on load unless told otherwise; force a full recalculation.
|
| 112 |
+
RECALC_PROFILE = """<?xml version="1.0" encoding="UTF-8"?>
|
| 113 |
+
<oor:items xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
| 114 |
+
<item oor:path="/org.openoffice.Office.Calc/Formula/Load"><prop oor:name="OOXMLRecalcMode" oor:op="fuse"><value>0</value></prop></item>
|
| 115 |
+
<item oor:path="/org.openoffice.Office.Calc/Formula/Load"><prop oor:name="ODFRecalcMode" oor:op="fuse"><value>0</value></prop></item>
|
| 116 |
+
</oor:items>
|
| 117 |
+
"""
|
| 118 |
+
|
| 119 |
+
|
| 120 |
+
def recalc(path, tmp):
|
| 121 |
+
dest = Path(tmp) / f"recalc-{len(list(Path(tmp).glob('recalc-*')))}"
|
| 122 |
+
dest.mkdir()
|
| 123 |
+
profile = Path(tmp) / "lo-profile"
|
| 124 |
+
if not profile.exists():
|
| 125 |
+
(profile / "user").mkdir(parents=True)
|
| 126 |
+
(profile / "user" / "registrymodifications.xcu").write_text(RECALC_PROFILE)
|
| 127 |
+
subprocess.run(
|
| 128 |
+
["soffice", f"-env:UserInstallation=file://{profile}", "--headless", "--calc", "--convert-to",
|
| 129 |
+
"xlsx:Calc MS Excel 2007 XML", "--outdir", str(dest), str(path)],
|
| 130 |
+
stdout=subprocess.DEVNULL,
|
| 131 |
+
stderr=subprocess.DEVNULL,
|
| 132 |
+
timeout=180,
|
| 133 |
+
check=False,
|
| 134 |
+
)
|
| 135 |
+
out = dest / (Path(path).stem + ".xlsx")
|
| 136 |
+
return out if out.exists() else Path(path)
|
| 137 |
+
|
| 138 |
+
|
| 139 |
+
def cell_value(v):
|
| 140 |
+
if isinstance(v, (int, float)) and not isinstance(v, bool):
|
| 141 |
+
return round(float(v), 2)
|
| 142 |
+
if isinstance(v, dt.datetime):
|
| 143 |
+
return round((v - dt.datetime(1899, 12, 30)).total_seconds() / 86400.0, 0)
|
| 144 |
+
if isinstance(v, dt.time):
|
| 145 |
+
return v.strftime("%H:%M")
|
| 146 |
+
if isinstance(v, str):
|
| 147 |
+
try:
|
| 148 |
+
return round(float(v), 2)
|
| 149 |
+
except ValueError:
|
| 150 |
+
return v.strip()
|
| 151 |
+
return v
|
| 152 |
+
|
| 153 |
+
|
| 154 |
+
def time_of(v):
|
| 155 |
+
"""A time or a day fraction in [0, 1) as HH:MM, rounded to the nearest second first. Calc and
|
| 156 |
+
Excel store a time as that fraction; openpyxl returns a time only for time-formatted cells."""
|
| 157 |
+
if isinstance(v, dt.time):
|
| 158 |
+
v = (v.hour * 3600 + v.minute * 60 + v.second + v.microsecond / 1e6) / 86400
|
| 159 |
+
if isinstance(v, (int, float)) and not isinstance(v, bool) and 0 <= v < 1:
|
| 160 |
+
return (dt.datetime(1899, 12, 30) + dt.timedelta(seconds=round(v * 86400))).strftime("%H:%M")
|
| 161 |
+
return None
|
| 162 |
+
|
| 163 |
+
|
| 164 |
+
def same_cell(a, b):
|
| 165 |
+
if isinstance(a, dt.time) is not isinstance(b, dt.time):
|
| 166 |
+
n = b if isinstance(a, dt.time) else a
|
| 167 |
+
if time_of(n) is not None: # a time against a plain day fraction
|
| 168 |
+
return time_of(a) == time_of(b)
|
| 169 |
+
a, b = cell_value(a), cell_value(b)
|
| 170 |
+
if a in (None, "") and b in (None, ""):
|
| 171 |
+
return True
|
| 172 |
+
return type(a) is type(b) and a == b
|
| 173 |
+
|
| 174 |
+
|
| 175 |
+
ERRORS = {"#NULL!", "#DIV/0!", "#VALUE!", "#REF!", "#NAME?", "#NUM!", "#N/A"}
|
| 176 |
+
|
| 177 |
+
|
| 178 |
+
def is_error(v):
|
| 179 |
+
return isinstance(v, str) and (v in ERRORS or v.startswith("Err:"))
|
| 180 |
+
|
| 181 |
+
|
| 182 |
+
def cells(rng):
|
| 183 |
+
if ":" not in rng:
|
| 184 |
+
return [rng]
|
| 185 |
+
from openpyxl.utils import range_boundaries, get_column_letter
|
| 186 |
+
|
| 187 |
+
c1, r1, c2, r2 = range_boundaries(rng)
|
| 188 |
+
return [f"{get_column_letter(c)}{r}" for r in range(r1, r2 + 1) for c in range(c1, c2 + 1)]
|
| 189 |
+
|
| 190 |
+
|
| 191 |
+
def load(path, tmp):
|
| 192 |
+
import openpyxl
|
| 193 |
+
|
| 194 |
+
return openpyxl.load_workbook(recalc(path, tmp), data_only=True)
|
| 195 |
+
|
| 196 |
+
|
| 197 |
+
def check_xlsx_range(check, tmp, cache):
|
| 198 |
+
sub = OUT / check["file"]
|
| 199 |
+
if not sub.is_file():
|
| 200 |
+
return False, f"missing output {check['file']}"
|
| 201 |
+
if sub not in cache:
|
| 202 |
+
cache[sub] = load(sub, tmp)
|
| 203 |
+
tgt = TESTS / check["target"]
|
| 204 |
+
if tgt not in cache:
|
| 205 |
+
cache[tgt] = load(tgt, tmp)
|
| 206 |
+
got, want = cache[sub], cache[tgt]
|
| 207 |
+
cached = None # the target's stored (Excel-computed) values, read only when Calc errs
|
| 208 |
+
for sheet, rng in check["ranges"]:
|
| 209 |
+
sheet = sheet or want.sheetnames[0]
|
| 210 |
+
if sheet not in got.sheetnames:
|
| 211 |
+
return False, f"sheet {sheet!r} missing"
|
| 212 |
+
for name in cells(rng):
|
| 213 |
+
w = want[sheet][name].value
|
| 214 |
+
if is_error(w):
|
| 215 |
+
# LibreOffice could not evaluate the gold formula (e.g. XLOOKUP, FILTER in Calc 7.4).
|
| 216 |
+
# The value Excel stored is the intended answer.
|
| 217 |
+
if cached is None:
|
| 218 |
+
import openpyxl
|
| 219 |
+
|
| 220 |
+
cached = openpyxl.load_workbook(tgt, data_only=True)
|
| 221 |
+
c = cached[sheet][name].value if sheet in cached.sheetnames else None
|
| 222 |
+
if c is not None and not is_error(c):
|
| 223 |
+
w = c
|
| 224 |
+
if not same_cell(w, got[sheet][name].value):
|
| 225 |
+
return False, f"{sheet}!{name}: want {w!r} got {got[sheet][name].value!r}"
|
| 226 |
+
return True, ""
|
| 227 |
+
|
| 228 |
+
|
| 229 |
+
def check_xlsx_cell(check, tmp, cache):
|
| 230 |
+
sub = OUT / check["file"]
|
| 231 |
+
if not sub.is_file():
|
| 232 |
+
return False, f"missing output {check['file']}"
|
| 233 |
+
if sub not in cache:
|
| 234 |
+
cache[sub] = load(sub, tmp)
|
| 235 |
+
wb = cache[sub]
|
| 236 |
+
if check["sheet"] not in wb.sheetnames:
|
| 237 |
+
return False, f"sheet {check['sheet']!r} missing"
|
| 238 |
+
got = wb[check["sheet"]][check["cell"]].value
|
| 239 |
+
want = check["value"]
|
| 240 |
+
if isinstance(want, (int, float)):
|
| 241 |
+
# alt_values: other accepted golds where the source admits more than one reading.
|
| 242 |
+
ok = got is not None and any(number_ok(got, w, check.get("rel_tol", 0.0), check.get("abs_tol", 0.01))
|
| 243 |
+
for w in [want, *check.get("alt_values", [])])
|
| 244 |
+
else:
|
| 245 |
+
ok = norm_text(got) == norm_text(want)
|
| 246 |
+
return ok, "" if ok else f"{check['sheet']}!{check['cell']}: want {want!r} got {got!r}"
|
| 247 |
+
|
| 248 |
+
|
| 249 |
+
def text_of(path):
|
| 250 |
+
suffix = path.suffix.lower()
|
| 251 |
+
if suffix == ".docx":
|
| 252 |
+
import docx
|
| 253 |
+
|
| 254 |
+
d = docx.Document(path)
|
| 255 |
+
parts = [p.text for p in d.paragraphs]
|
| 256 |
+
for t in d.tables:
|
| 257 |
+
parts += [c.text for row in t.rows for c in row.cells]
|
| 258 |
+
return "\n".join(parts)
|
| 259 |
+
if suffix == ".pdf":
|
| 260 |
+
import pdfplumber
|
| 261 |
+
|
| 262 |
+
with pdfplumber.open(path) as pdf:
|
| 263 |
+
return "\n".join(page.extract_text() or "" for page in pdf.pages)
|
| 264 |
+
return path.read_text(errors="replace")
|
| 265 |
+
|
| 266 |
+
|
| 267 |
+
def check_file_contains(check, tmp, cache):
|
| 268 |
+
sub = OUT / check["file"]
|
| 269 |
+
if not sub.is_file():
|
| 270 |
+
return False, f"missing output {check['file']}"
|
| 271 |
+
text = text_of(sub)
|
| 272 |
+
hay = text if check.get("case_sensitive") else text.casefold()
|
| 273 |
+
for needle in check["needles"]:
|
| 274 |
+
n = needle if check.get("case_sensitive") else needle.casefold()
|
| 275 |
+
if n not in hay:
|
| 276 |
+
return False, f"{check['file']} lacks {needle!r}"
|
| 277 |
+
return True, ""
|
| 278 |
+
|
| 279 |
+
|
| 280 |
+
def main():
|
| 281 |
+
LOGS.mkdir(parents=True, exist_ok=True)
|
| 282 |
+
reward_path = LOGS / "reward.txt"
|
| 283 |
+
reward_path.write_text("0\n")
|
| 284 |
+
spec = json.loads((TESTS / "expected.json").read_text())
|
| 285 |
+
answers, details = {}, []
|
| 286 |
+
answer_file = OUT / "answer.json"
|
| 287 |
+
if answer_file.is_file():
|
| 288 |
+
try:
|
| 289 |
+
answers = json.loads(answer_file.read_text())
|
| 290 |
+
if not isinstance(answers, dict):
|
| 291 |
+
answers = {}
|
| 292 |
+
except json.JSONDecodeError:
|
| 293 |
+
answers = {}
|
| 294 |
+
tmp = tempfile.mkdtemp()
|
| 295 |
+
cache = {}
|
| 296 |
+
try:
|
| 297 |
+
for check in spec["checks"]:
|
| 298 |
+
try:
|
| 299 |
+
if check["type"] == "answer":
|
| 300 |
+
ok, why = check_answer(check, answers)
|
| 301 |
+
elif check["type"] == "xlsx_range":
|
| 302 |
+
ok, why = check_xlsx_range(check, tmp, cache)
|
| 303 |
+
elif check["type"] == "xlsx_cell":
|
| 304 |
+
ok, why = check_xlsx_cell(check, tmp, cache)
|
| 305 |
+
elif check["type"] == "file_contains":
|
| 306 |
+
ok, why = check_file_contains(check, tmp, cache)
|
| 307 |
+
elif check["type"] == "custom":
|
| 308 |
+
import importlib.util
|
| 309 |
+
|
| 310 |
+
spec_ = importlib.util.spec_from_file_location("custom_check", TESTS / f"{check['module']}.py")
|
| 311 |
+
mod = importlib.util.module_from_spec(spec_)
|
| 312 |
+
spec_.loader.exec_module(mod)
|
| 313 |
+
ok, why = mod.check(check, OUT, TESTS)
|
| 314 |
+
else:
|
| 315 |
+
ok, why = False, f"unknown check type {check['type']}"
|
| 316 |
+
except Exception as exc: # a malformed submission fails the check, not the grader
|
| 317 |
+
ok, why = False, f"{type(exc).__name__}: {exc}"
|
| 318 |
+
details.append({"id": check["id"], "passed": ok, "detail": why})
|
| 319 |
+
finally:
|
| 320 |
+
shutil.rmtree(tmp, ignore_errors=True)
|
| 321 |
+
passed = sum(d["passed"] for d in details)
|
| 322 |
+
total = len(details)
|
| 323 |
+
reward = 1 if total and passed == total else 0
|
| 324 |
+
(LOGS / "details.json").write_text(json.dumps({"passed": passed, "total": total, "checks": details}, indent=1))
|
| 325 |
+
reward_path.write_text(f"{reward}\n")
|
| 326 |
+
print(f"{passed}/{total} checks passed; reward {reward}")
|
| 327 |
+
|
| 328 |
+
|
| 329 |
+
if __name__ == "__main__":
|
| 330 |
+
sys.exit(main())
|
tasks/ib-ratios-lcut/tests/test.sh
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/bin/sh
|
| 2 |
+
set -eu
|
| 3 |
+
mkdir -p /logs/verifier /workspace/outputs
|
| 4 |
+
exec python3 -B -I /tests/grade.py
|
tasks/ib-ratios-lcut/validation/openenv.json
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"profile": "harbor-semantic-v1",
|
| 3 |
+
"reward_key": "reward",
|
| 4 |
+
"reward": {
|
| 5 |
+
"range": [
|
| 6 |
+
0,
|
| 7 |
+
1
|
| 8 |
+
],
|
| 9 |
+
"oracle_tolerance": 0,
|
| 10 |
+
"floor_margin": 0.1
|
| 11 |
+
},
|
| 12 |
+
"resources": {
|
| 13 |
+
"cpu": 1,
|
| 14 |
+
"memory_mb": 4096,
|
| 15 |
+
"disk_mb": 10240,
|
| 16 |
+
"episode_timeout_s": 1800
|
| 17 |
+
},
|
| 18 |
+
"types": {
|
| 19 |
+
"tags": [
|
| 20 |
+
"knowledge-work",
|
| 21 |
+
"xlsx-io",
|
| 22 |
+
"docx-io",
|
| 23 |
+
"csv-io",
|
| 24 |
+
"financial-math",
|
| 25 |
+
"spreadsheet-formulas",
|
| 26 |
+
"data-reconciliation"
|
| 27 |
+
]
|
| 28 |
+
},
|
| 29 |
+
"requires_credentials": false
|
| 30 |
+
}
|
tasks/ib-three-statement-ingm-v2/environment/inputs/brief.eml
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
From: Deal team vice president <vp@bank.example>
|
| 2 |
+
To: Consulting team <team@consultancy.example>
|
| 3 |
+
Date: Mon, 23 Nov 2026 12:00:00 +0000
|
| 4 |
+
Subject: INGM: a historical three-statement summary
|
| 5 |
+
Content-Type: text/plain; charset="utf-8"
|
| 6 |
+
Content-Transfer-Encoding: 7bit
|
| 7 |
+
MIME-Version: 1.0
|
| 8 |
+
|
| 9 |
+
Team,
|
| 10 |
+
|
| 11 |
+
For the INGRAM MICRO HOLDING CORP (INGM) workstream, please prepare a
|
| 12 |
+
historical three-statement summary from the company's FY2025 10-K and latest
|
| 13 |
+
10-Q XBRL facts (facts.csv) in the attached workbook, model.xlsx, plus a
|
| 14 |
+
short memo.
|
| 15 |
+
|
| 16 |
+
Rules:
|
| 17 |
+
1. Fill the income statement and the cash flow for FY2024 and FY2025 (fiscal
|
| 18 |
+
years ended 2024-12-31 and 2025-12-31) and for the last twelve months
|
| 19 |
+
(LTM), and the balance sheet at the FY2025 year-end (2025-12-31) and at
|
| 20 |
+
the latest 10-Q (2026-06-30). LTM means the twelve months ended
|
| 21 |
+
2026-06-30: FY2025 + the 6 months ended 2026-06-30 - the 6 months ended
|
| 22 |
+
2025-06-30. The year-to-date figures are the 10-Q facts with
|
| 23 |
+
duration_quarters 2; the 10-Q balance sheet is its duration_quarters 0
|
| 24 |
+
facts at 2026-06-30.
|
| 25 |
+
2. Column E of each sheet (column D of the balance sheet) names the XBRL tag
|
| 26 |
+
behind each input row, or the row's formula. Where it lists several tags,
|
| 27 |
+
use the first one with every figure the table needs.
|
| 28 |
+
3. LTM revenue growth percent = (LTM revenue / FY2025 revenue - 1) x 100.
|
| 29 |
+
LTM EBITDA margin percent = LTM EBITDA / LTM revenue x 100. Net working
|
| 30 |
+
capital change = net working capital at the latest 10-Q - at the FY2025
|
| 31 |
+
year-end.
|
| 32 |
+
|
| 33 |
+
Units and signs: US$ thousands (the filed value divided by 1,000) except
|
| 34 |
+
per-share amounts; values as filed with their signs.
|
| 35 |
+
|
| 36 |
+
Thanks
|
tasks/ib-three-statement-ingm-v2/environment/inputs/facts.csv
ADDED
|
@@ -0,0 +1,520 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
company,cik,form,taxonomy,tag,period_end,duration_quarters,uom,value
|
| 2 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,custom,ChangeInUnremittedCashCollectionsFromServicingFactoredReceivables,2023-12-31,4,USD,-18413000
|
| 3 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,custom,ChangeInUnremittedCashCollectionsFromServicingFactoredReceivables,2024-12-31,4,USD,-11315000
|
| 4 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,custom,ChangeInUnremittedCashCollectionsFromServicingFactoredReceivables,2025-12-31,4,USD,1592000
|
| 5 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,custom,IncreaseDecreaseInBookOverdraftsOperatingActivities,2023-12-31,4,USD,-34367000
|
| 6 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,custom,IncreaseDecreaseInBookOverdraftsOperatingActivities,2024-12-31,4,USD,134652000
|
| 7 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,custom,IncreaseDecreaseInBookOverdraftsOperatingActivities,2025-12-31,4,USD,-127264000
|
| 8 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,custom,OtherComprehensiveIncomeLossOtherNetOfTaxPortionAttributableToParent,2023-12-31,4,USD,2375000
|
| 9 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,custom,OtherComprehensiveIncomeLossOtherNetOfTaxPortionAttributableToParent,2024-12-31,4,USD,-686000
|
| 10 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,custom,OtherComprehensiveIncomeLossOtherNetOfTaxPortionAttributableToParent,2025-12-31,4,USD,0
|
| 11 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,custom,PaymentsToAcquireBusinessesGrossFinancingActivities,2023-12-31,4,USD,0
|
| 12 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,custom,PaymentsToAcquireBusinessesGrossFinancingActivities,2024-12-31,4,USD,22621000
|
| 13 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,custom,PaymentsToAcquireBusinessesGrossFinancingActivities,2025-12-31,4,USD,0
|
| 14 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,custom,ProceedsFromDeferredPurchasePriceOfFactoredReceivables,2023-12-31,4,USD,162622000
|
| 15 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,custom,ProceedsFromDeferredPurchasePriceOfFactoredReceivables,2024-12-31,4,USD,252199000
|
| 16 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,custom,ProceedsFromDeferredPurchasePriceOfFactoredReceivables,2025-12-31,4,USD,313206000
|
| 17 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,custom,ProceedsFromPaymentsForMarketableSecurities,2023-12-31,4,USD,-1126000
|
| 18 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,custom,ProceedsFromPaymentsForMarketableSecurities,2024-12-31,4,USD,955000
|
| 19 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,custom,ProceedsFromPaymentsForMarketableSecurities,2025-12-31,4,USD,12482000
|
| 20 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,AccountsPayableCurrent,2024-12-31,0,USD,10005824000
|
| 21 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,AccountsPayableCurrent,2025-12-31,0,USD,11963324000
|
| 22 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,AccountsReceivableNetCurrent,2024-12-31,0,USD,9448354000
|
| 23 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,AccountsReceivableNetCurrent,2025-12-31,0,USD,10546550000
|
| 24 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,AccruedLiabilitiesCurrent,2024-12-31,0,USD,1021958000
|
| 25 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,AccruedLiabilitiesCurrent,2025-12-31,0,USD,1163587000
|
| 26 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,AccumulatedOtherComprehensiveIncomeLossNetOfTax,2024-12-31,0,USD,-509714000
|
| 27 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,AccumulatedOtherComprehensiveIncomeLossNetOfTax,2025-12-31,0,USD,-263215000
|
| 28 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,AdditionalPaidInCapitalCommonStock,2024-12-31,0,USD,2903842000
|
| 29 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,AdditionalPaidInCapitalCommonStock,2025-12-31,0,USD,2921952000
|
| 30 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue,2024-12-31,4,USD,34067000
|
| 31 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue,2025-12-31,4,USD,21117000
|
| 32 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,AllowanceForDoubtfulAccountsReceivableCurrent,2024-12-31,0,USD,146999000
|
| 33 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,AllowanceForDoubtfulAccountsReceivableCurrent,2025-12-31,0,USD,169165000
|
| 34 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,AmortizationOfDebtDiscountPremium,2023-12-31,4,USD,31424000
|
| 35 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,AmortizationOfDebtDiscountPremium,2024-12-31,4,USD,26374000
|
| 36 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,AmortizationOfDebtDiscountPremium,2025-12-31,4,USD,18852000
|
| 37 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,Assets,2024-12-31,0,USD,18779690000
|
| 38 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,Assets,2025-12-31,0,USD,21244384000
|
| 39 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,AssetsCurrent,2024-12-31,0,USD,15801177000
|
| 40 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,AssetsCurrent,2025-12-31,0,USD,18240639000
|
| 41 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,CashAndCashEquivalentsAtCarryingValue,2024-12-31,0,USD,918401000
|
| 42 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,CashAndCashEquivalentsAtCarryingValue,2025-12-31,0,USD,1864724000
|
| 43 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents,2022-12-31,0,USD,1320137000
|
| 44 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents,2023-12-31,0,USD,948490000
|
| 45 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents,2024-12-31,0,USD,918401000
|
| 46 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents,2025-12-31,0,USD,1864724000
|
| 47 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect,2023-12-31,4,USD,-371647000
|
| 48 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect,2024-12-31,4,USD,-30089000
|
| 49 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect,2025-12-31,4,USD,946323000
|
| 50 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,CommonStockParOrStatedValuePerShare,2024-12-31,0,USD,0.01
|
| 51 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,CommonStockParOrStatedValuePerShare,2025-12-31,0,USD,0.01
|
| 52 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,CommonStockSharesAuthorized,2024-10-31,0,shares,2000000000
|
| 53 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,CommonStockSharesAuthorized,2024-12-31,0,shares,2000000000
|
| 54 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,CommonStockSharesAuthorized,2025-12-31,0,shares,2000000000
|
| 55 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,CommonStockSharesIssued,2024-12-31,0,shares,234825581
|
| 56 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,CommonStockSharesIssued,2025-12-31,0,shares,235073327
|
| 57 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,CommonStockSharesOutstanding,2024-12-31,0,shares,234825581
|
| 58 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,CommonStockSharesOutstanding,2025-12-31,0,shares,235073327
|
| 59 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,CommonStockValue,2024-12-31,0,USD,2348000
|
| 60 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,CommonStockValue,2025-12-31,0,USD,2351000
|
| 61 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,ComprehensiveIncomeNetOfTax,2023-12-31,4,USD,458683000
|
| 62 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,ComprehensiveIncomeNetOfTax,2024-12-31,4,USD,-14005000
|
| 63 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,ComprehensiveIncomeNetOfTax,2025-12-31,4,USD,574381000
|
| 64 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,ConsiderationReceivedForBeneficialInterestObtainedForTransferringFinancialAsset,2023-12-31,4,USD,171114000
|
| 65 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,ConsiderationReceivedForBeneficialInterestObtainedForTransferringFinancialAsset,2024-12-31,4,USD,261667000
|
| 66 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,ConsiderationReceivedForBeneficialInterestObtainedForTransferringFinancialAsset,2025-12-31,4,USD,291385000
|
| 67 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,CostOfGoodsAndServicesSold,2023-12-31,4,USD,44493227000
|
| 68 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,CostOfGoodsAndServicesSold,2024-12-31,4,USD,44538726000
|
| 69 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,CostOfGoodsAndServicesSold,2025-12-31,4,USD,49052292000
|
| 70 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,DebtCurrent,2024-12-31,0,USD,184860000
|
| 71 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,DebtCurrent,2025-12-31,0,USD,449583000
|
| 72 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,DepreciationDepletionAndAmortization,2023-12-31,4,USD,184148000
|
| 73 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,DepreciationDepletionAndAmortization,2024-12-31,4,USD,189331000
|
| 74 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,DepreciationDepletionAndAmortization,2025-12-31,4,USD,197186000
|
| 75 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,DividendsCommonStockCash,2023-12-31,4,USD,10462000
|
| 76 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,DividendsCommonStockCash,2024-12-31,4,USD,6599000
|
| 77 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,DividendsCommonStockCash,2025-12-31,4,USD,77951000
|
| 78 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,EarningsPerShareBasic,2023-12-31,4,USD,1.59
|
| 79 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,EarningsPerShareBasic,2024-12-31,4,USD,1.18
|
| 80 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,EarningsPerShareBasic,2025-12-31,4,USD,1.4
|
| 81 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,EarningsPerShareDiluted,2023-12-31,4,USD,1.59
|
| 82 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,EarningsPerShareDiluted,2024-12-31,4,USD,1.18
|
| 83 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,EarningsPerShareDiluted,2025-12-31,4,USD,1.39
|
| 84 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents,2023-12-31,4,USD,65183000
|
| 85 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents,2024-12-31,4,USD,-78170000
|
| 86 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents,2025-12-31,4,USD,68776000
|
| 87 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,ForeignCurrencyTransactionGainLossAfterTax,2023-12-31,4,USD,-1989000
|
| 88 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,ForeignCurrencyTransactionGainLossAfterTax,2024-12-31,4,USD,130000
|
| 89 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,ForeignCurrencyTransactionGainLossAfterTax,2025-12-31,4,USD,-35568000
|
| 90 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,ForeignCurrencyTransactionGainLossBeforeTax,2023-12-31,4,USD,-42070000
|
| 91 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,ForeignCurrencyTransactionGainLossBeforeTax,2024-12-31,4,USD,-22901000
|
| 92 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,ForeignCurrencyTransactionGainLossBeforeTax,2025-12-31,4,USD,-42342000
|
| 93 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,GainLossOnSaleOfInvestments,2023-12-31,4,USD,10941000
|
| 94 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,GainLossOnSaleOfInvestments,2024-12-31,4,USD,12233000
|
| 95 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,GainLossOnSaleOfInvestments,2025-12-31,4,USD,11713000
|
| 96 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,GainLossOnSalesOfAssetsAndAssetImpairmentCharges,2023-12-31,4,USD,-3068000
|
| 97 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,GainLossOnSalesOfAssetsAndAssetImpairmentCharges,2024-12-31,4,USD,0
|
| 98 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,GainLossOnSalesOfAssetsAndAssetImpairmentCharges,2025-12-31,4,USD,-38248000
|
| 99 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,Goodwill,2023-12-31,0,USD,851780000
|
| 100 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,Goodwill,2024-12-31,0,USD,833662000
|
| 101 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,Goodwill,2025-12-31,0,USD,854749000
|
| 102 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,GrossProfit,2023-12-31,4,USD,3547137000
|
| 103 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,GrossProfit,2024-12-31,4,USD,3444945000
|
| 104 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,GrossProfit,2025-12-31,4,USD,3503971000
|
| 105 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest,2023-12-31,4,USD,522501000
|
| 106 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest,2024-12-31,4,USD,445866000
|
| 107 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest,2025-12-31,4,USD,530754000
|
| 108 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,IncomeTaxExpenseBenefit,2023-12-31,4,USD,169789000
|
| 109 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,IncomeTaxExpenseBenefit,2024-12-31,4,USD,181644000
|
| 110 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,IncomeTaxExpenseBenefit,2025-12-31,4,USD,202872000
|
| 111 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,IncomeTaxesPaid,2023-12-31,4,USD,271541000
|
| 112 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,IncomeTaxesPaid,2024-12-31,4,USD,252219000
|
| 113 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,IncomeTaxesPaid,2025-12-31,4,USD,181790000
|
| 114 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,IncreaseDecreaseInAccountsPayable,2023-12-31,4,USD,-738389000
|
| 115 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,IncreaseDecreaseInAccountsPayable,2024-12-31,4,USD,976171000
|
| 116 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,IncreaseDecreaseInAccountsPayable,2025-12-31,4,USD,1709170000
|
| 117 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,IncreaseDecreaseInAccountsReceivable,2023-12-31,4,USD,299833000
|
| 118 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,IncreaseDecreaseInAccountsReceivable,2024-12-31,4,USD,1060810000
|
| 119 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,IncreaseDecreaseInAccountsReceivable,2025-12-31,4,USD,1105968000
|
| 120 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,IncreaseDecreaseInAccruedLiabilities,2023-12-31,4,USD,-82978000
|
| 121 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,IncreaseDecreaseInAccruedLiabilities,2024-12-31,4,USD,31204000
|
| 122 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,IncreaseDecreaseInAccruedLiabilities,2025-12-31,4,USD,80556000
|
| 123 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,IncreaseDecreaseInDeferredIncomeTaxes,2023-12-31,4,USD,55164000
|
| 124 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,IncreaseDecreaseInDeferredIncomeTaxes,2024-12-31,4,USD,14984000
|
| 125 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,IncreaseDecreaseInDeferredIncomeTaxes,2025-12-31,4,USD,28067000
|
| 126 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,IncreaseDecreaseInInventories,2023-12-31,4,USD,-772396000
|
| 127 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,IncreaseDecreaseInInventories,2024-12-31,4,USD,225831000
|
| 128 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,IncreaseDecreaseInInventories,2025-12-31,4,USD,88216000
|
| 129 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,IncreaseDecreaseInOperatingLeaseLiability,2023-12-31,4,USD,-104897000
|
| 130 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,IncreaseDecreaseInOperatingLeaseLiability,2024-12-31,4,USD,-118975000
|
| 131 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,IncreaseDecreaseInOperatingLeaseLiability,2025-12-31,4,USD,-115299000
|
| 132 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,IncreaseDecreaseInOtherOperatingAssets,2023-12-31,4,USD,75597000
|
| 133 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,IncreaseDecreaseInOtherOperatingAssets,2024-12-31,4,USD,18917000
|
| 134 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,IncreaseDecreaseInOtherOperatingAssets,2025-12-31,4,USD,167313000
|
| 135 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,IntangibleAssetsNetExcludingGoodwill,2024-12-31,0,USD,772571000
|
| 136 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,IntangibleAssetsNetExcludingGoodwill,2025-12-31,0,USD,711809000
|
| 137 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,InterestExpenseNonoperating,2023-12-31,4,USD,380191000
|
| 138 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,InterestExpenseNonoperating,2024-12-31,4,USD,338358000
|
| 139 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,InterestExpenseNonoperating,2025-12-31,4,USD,302570000
|
| 140 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,InterestPaidNet,2023-12-31,4,USD,378554000
|
| 141 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,InterestPaidNet,2024-12-31,4,USD,336431000
|
| 142 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,InterestPaidNet,2025-12-31,4,USD,301231000
|
| 143 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,InventoryNet,2024-12-31,0,USD,4699483000
|
| 144 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,InventoryNet,2025-12-31,0,USD,4970113000
|
| 145 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,InvestmentIncomeInterest,2023-12-31,4,USD,34977000
|
| 146 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,InvestmentIncomeInterest,2024-12-31,4,USD,45335000
|
| 147 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,InvestmentIncomeInterest,2025-12-31,4,USD,45731000
|
| 148 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,Liabilities,2024-12-31,0,USD,15045815000
|
| 149 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,Liabilities,2025-12-31,0,USD,16995966000
|
| 150 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,LiabilitiesAndStockholdersEquity,2024-12-31,0,USD,18779690000
|
| 151 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,LiabilitiesAndStockholdersEquity,2025-12-31,0,USD,21244384000
|
| 152 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,LiabilitiesCurrent,2024-12-31,0,USD,11306531000
|
| 153 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,LiabilitiesCurrent,2025-12-31,0,USD,13680962000
|
| 154 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,LongTermDebtNoncurrent,2024-12-31,0,USD,3168280000
|
| 155 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,LongTermDebtNoncurrent,2025-12-31,0,USD,2749781000
|
| 156 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,NetCashProvidedByUsedInFinancingActivities,2023-12-31,4,USD,-477940000
|
| 157 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,NetCashProvidedByUsedInFinancingActivities,2024-12-31,4,USD,-391299000
|
| 158 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,NetCashProvidedByUsedInFinancingActivities,2025-12-31,4,USD,-306222000
|
| 159 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,NetCashProvidedByUsedInInvestingActivities,2023-12-31,4,USD,-17714000
|
| 160 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,NetCashProvidedByUsedInInvestingActivities,2024-12-31,4,USD,105541000
|
| 161 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,NetCashProvidedByUsedInInvestingActivities,2025-12-31,4,USD,267642000
|
| 162 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,NetCashProvidedByUsedInOperatingActivities,2023-12-31,4,USD,58824000
|
| 163 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,NetCashProvidedByUsedInOperatingActivities,2024-12-31,4,USD,333839000
|
| 164 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,NetCashProvidedByUsedInOperatingActivities,2025-12-31,4,USD,916127000
|
| 165 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,NetIncomeLoss,2023-12-31,4,USD,352712000
|
| 166 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,NetIncomeLoss,2024-12-31,4,USD,264222000
|
| 167 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,NetIncomeLoss,2025-12-31,4,USD,327882000
|
| 168 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,NonoperatingIncomeExpense,2023-12-31,4,USD,-421846000
|
| 169 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,NonoperatingIncomeExpense,2024-12-31,4,USD,-372057000
|
| 170 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,NonoperatingIncomeExpense,2025-12-31,4,USD,-346174000
|
| 171 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,OperatingExpenses,2023-12-31,4,USD,2602790000
|
| 172 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,OperatingExpenses,2024-12-31,4,USD,2627022000
|
| 173 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,OperatingExpenses,2025-12-31,4,USD,2627043000
|
| 174 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,OperatingIncomeLoss,2023-12-31,4,USD,944347000
|
| 175 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,OperatingIncomeLoss,2024-12-31,4,USD,817923000
|
| 176 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,OperatingIncomeLoss,2025-12-31,4,USD,876928000
|
| 177 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,OperatingLeaseLiabilityCurrent,2024-12-31,0,USD,93889000
|
| 178 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,OperatingLeaseLiabilityCurrent,2025-12-31,0,USD,104468000
|
| 179 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,OperatingLeaseLiabilityNoncurrent,2024-12-31,0,USD,369493000
|
| 180 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,OperatingLeaseLiabilityNoncurrent,2025-12-31,0,USD,354894000
|
| 181 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,OperatingLeaseRightOfUseAsset,2024-12-31,0,USD,412662000
|
| 182 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,OperatingLeaseRightOfUseAsset,2025-12-31,0,USD,403224000
|
| 183 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,OperatingLeaseRightOfUseAssetAmortizationExpense,2023-12-31,4,USD,108644000
|
| 184 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,OperatingLeaseRightOfUseAssetAmortizationExpense,2024-12-31,4,USD,128935000
|
| 185 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,OperatingLeaseRightOfUseAssetAmortizationExpense,2025-12-31,4,USD,129031000
|
| 186 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,OtherAssetsCurrent,2024-12-31,0,USD,734939000
|
| 187 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,OtherAssetsCurrent,2025-12-31,0,USD,859252000
|
| 188 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,OtherAssetsNoncurrent,2024-12-31,0,USD,477115000
|
| 189 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,OtherAssetsNoncurrent,2025-12-31,0,USD,502067000
|
| 190 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentNetOfTaxPortionAttributableToParent,2023-12-31,4,USD,103596000
|
| 191 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentNetOfTaxPortionAttributableToParent,2024-12-31,4,USD,-277541000
|
| 192 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentNetOfTaxPortionAttributableToParent,2025-12-31,4,USD,246499000
|
| 193 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent,2023-12-31,4,USD,105971000
|
| 194 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent,2024-12-31,4,USD,-278227000
|
| 195 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent,2025-12-31,4,USD,246499000
|
| 196 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,OtherLiabilitiesNoncurrent,2024-12-31,0,USD,201511000
|
| 197 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,OtherLiabilitiesNoncurrent,2025-12-31,0,USD,210329000
|
| 198 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,OtherNoncashIncomeExpense,2023-12-31,4,USD,-6609000
|
| 199 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,OtherNoncashIncomeExpense,2024-12-31,4,USD,-763000
|
| 200 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,OtherNoncashIncomeExpense,2025-12-31,4,USD,-2357000
|
| 201 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,OtherNonoperatingIncomeExpense,2023-12-31,4,USD,-34562000
|
| 202 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,OtherNonoperatingIncomeExpense,2024-12-31,4,USD,-56133000
|
| 203 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,OtherNonoperatingIncomeExpense,2025-12-31,4,USD,-46993000
|
| 204 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,PaymentsForProceedsFromOtherInvestingActivities,2023-12-31,4,USD,1652000
|
| 205 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,PaymentsForProceedsFromOtherInvestingActivities,2024-12-31,4,USD,-1904000
|
| 206 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,PaymentsForProceedsFromOtherInvestingActivities,2025-12-31,4,USD,208000
|
| 207 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,PaymentsOfDividendsCommonStock,2023-12-31,4,USD,10462000
|
| 208 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,PaymentsOfDividendsCommonStock,2024-12-31,4,USD,6174000
|
| 209 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,PaymentsOfDividendsCommonStock,2025-12-31,4,USD,78376000
|
| 210 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,PaymentsRelatedToTaxWithholdingForShareBasedCompensation,2023-12-31,4,USD,0
|
| 211 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,PaymentsRelatedToTaxWithholdingForShareBasedCompensation,2024-12-31,4,USD,14164000
|
| 212 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,PaymentsRelatedToTaxWithholdingForShareBasedCompensation,2025-12-31,4,USD,3093000
|
| 213 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,PaymentsToAcquireNotesReceivable,2023-12-31,4,USD,0
|
| 214 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,PaymentsToAcquireNotesReceivable,2024-12-31,4,USD,57117000
|
| 215 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,PaymentsToAcquireNotesReceivable,2025-12-31,4,USD,12501000
|
| 216 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,PaymentsToAcquirePropertyPlantAndEquipment,2023-12-31,4,USD,201535000
|
| 217 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,PaymentsToAcquirePropertyPlantAndEquipment,2024-12-31,4,USD,142703000
|
| 218 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,PaymentsToAcquirePropertyPlantAndEquipment,2025-12-31,4,USD,130754000
|
| 219 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,ProceedsFromDivestitureOfBusinessesNetOfCashDivested,2023-12-31,4,USD,23977000
|
| 220 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,ProceedsFromDivestitureOfBusinessesNetOfCashDivested,2024-12-31,4,USD,0
|
| 221 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,ProceedsFromDivestitureOfBusinessesNetOfCashDivested,2025-12-31,4,USD,20000000
|
| 222 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,ProceedsFromIssuanceInitialPublicOffering,2023-12-31,4,USD,0
|
| 223 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,ProceedsFromIssuanceInitialPublicOffering,2024-12-31,4,USD,241164000
|
| 224 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,ProceedsFromIssuanceInitialPublicOffering,2025-12-31,4,USD,0
|
| 225 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,ProceedsFromOtherDebt,2023-12-31,4,USD,72351000
|
| 226 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,ProceedsFromOtherDebt,2024-12-31,4,USD,101779000
|
| 227 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,ProceedsFromOtherDebt,2025-12-31,4,USD,107014000
|
| 228 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,ProceedsFromPaymentsForOtherFinancingActivities,2023-12-31,4,USD,-466000
|
| 229 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,ProceedsFromPaymentsForOtherFinancingActivities,2024-12-31,4,USD,-11539000
|
| 230 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,ProceedsFromPaymentsForOtherFinancingActivities,2025-12-31,4,USD,-16750000
|
| 231 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,ProceedsFromRepaymentsOfLinesOfCredit,2023-12-31,4,USD,131467000
|
| 232 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,ProceedsFromRepaymentsOfLinesOfCredit,2024-12-31,4,USD,-66998000
|
| 233 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,ProceedsFromRepaymentsOfLinesOfCredit,2025-12-31,4,USD,-101758000
|
| 234 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,ProceedsFromSaleOfEquityMethodInvestments,2023-12-31,4,USD,0
|
| 235 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,ProceedsFromSaleOfEquityMethodInvestments,2024-12-31,4,USD,12012000
|
| 236 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,ProceedsFromSaleOfEquityMethodInvestments,2025-12-31,4,USD,20805000
|
| 237 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,ProceedsFromSaleOfNotesReceivable,2023-12-31,4,USD,0
|
| 238 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,ProceedsFromSaleOfNotesReceivable,2024-12-31,4,USD,38291000
|
| 239 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,ProceedsFromSaleOfNotesReceivable,2025-12-31,4,USD,44612000
|
| 240 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,PropertyPlantAndEquipmentNet,2024-12-31,0,USD,482503000
|
| 241 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,PropertyPlantAndEquipmentNet,2025-12-31,0,USD,531896000
|
| 242 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,RepaymentsOfLongTermDebt,2023-12-31,4,USD,560000000
|
| 243 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,RepaymentsOfLongTermDebt,2024-12-31,4,USD,483100000
|
| 244 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,RepaymentsOfLongTermDebt,2025-12-31,4,USD,125000000
|
| 245 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,RepaymentsOfOtherDebt,2023-12-31,4,USD,92417000
|
| 246 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,RepaymentsOfOtherDebt,2024-12-31,4,USD,118331000
|
| 247 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,RepaymentsOfOtherDebt,2025-12-31,4,USD,89851000
|
| 248 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,RestructuringCharges,2023-12-31,4,USD,18797000
|
| 249 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,RestructuringCharges,2024-12-31,4,USD,38354000
|
| 250 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,RestructuringCharges,2025-12-31,4,USD,15432000
|
| 251 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,RetainedEarningsAccumulatedDeficit,2024-12-31,0,USD,1337399000
|
| 252 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,RetainedEarningsAccumulatedDeficit,2025-12-31,0,USD,1587330000
|
| 253 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,RevenueFromContractWithCustomerExcludingAssessedTax,2023-12-31,4,USD,48040364000
|
| 254 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,RevenueFromContractWithCustomerExcludingAssessedTax,2024-12-31,4,USD,47983671000
|
| 255 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,RevenueFromContractWithCustomerExcludingAssessedTax,2025-12-31,4,USD,52556263000
|
| 256 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,SellingGeneralAndAdministrativeExpense,2023-12-31,4,USD,2583993000
|
| 257 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,SellingGeneralAndAdministrativeExpense,2024-12-31,4,USD,2588668000
|
| 258 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,SellingGeneralAndAdministrativeExpense,2025-12-31,4,USD,2611611000
|
| 259 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,ShareBasedCompensation,2023-12-31,4,USD,0
|
| 260 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,ShareBasedCompensation,2024-12-31,4,USD,34067000
|
| 261 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,ShareBasedCompensation,2025-12-31,4,USD,21117000
|
| 262 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,StockIssuedDuringPeriodValueConversionOfConvertibleSecurities,2024-12-31,4,USD,0
|
| 263 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,StockIssuedDuringPeriodValueNewIssues,2024-12-31,4,USD,241164000
|
| 264 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,StockIssuedDuringPeriodValueRestrictedStockAwardNetOfForfeitures,2024-12-31,4,USD,-14297000
|
| 265 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,StockIssuedDuringPeriodValueRestrictedStockAwardNetOfForfeitures,2025-12-31,4,USD,-3004000
|
| 266 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,StockholdersEquity,2022-12-31,0,USD,3058068000
|
| 267 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,StockholdersEquity,2023-12-31,0,USD,3506289000
|
| 268 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,StockholdersEquity,2024-12-31,0,USD,3733875000
|
| 269 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,StockholdersEquity,2025-12-31,0,USD,4248418000
|
| 270 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,StockholdersEquityOther,2023-12-31,4,USD,-2375000
|
| 271 |
+
INGRAM MICRO HOLDING CORP,1897762,10-K,us-gaap,StockholdersEquityOther,2024-12-31,4,USD,13430000
|
| 272 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,custom,ChangeInUnremittedCashCollectionsFromServicingFactoredReceivables,2025-06-30,2,USD,-3587000
|
| 273 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,custom,ChangeInUnremittedCashCollectionsFromServicingFactoredReceivables,2026-06-30,2,USD,-2218000
|
| 274 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,custom,IncreaseDecreaseInBookOverdraftsOperatingActivities,2025-06-30,2,USD,-184060000
|
| 275 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,custom,IncreaseDecreaseInBookOverdraftsOperatingActivities,2026-06-30,2,USD,-135055000
|
| 276 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,custom,OtherComprehensiveIncomeLossOtherNetOfTaxPortionAttributableToParent,2025-06-30,1,USD,8000
|
| 277 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,custom,OtherComprehensiveIncomeLossOtherNetOfTaxPortionAttributableToParent,2025-06-30,2,USD,-163000
|
| 278 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,custom,OtherComprehensiveIncomeLossOtherNetOfTaxPortionAttributableToParent,2026-06-30,1,USD,0
|
| 279 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,custom,OtherComprehensiveIncomeLossOtherNetOfTaxPortionAttributableToParent,2026-06-30,2,USD,0
|
| 280 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,custom,ProceedsFromDeferredPurchasePriceOfFactoredReceivables,2025-06-30,2,USD,141445000
|
| 281 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,custom,ProceedsFromDeferredPurchasePriceOfFactoredReceivables,2026-06-30,2,USD,90629000
|
| 282 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,AccountsPayableCurrent,2025-12-31,0,USD,11963324000
|
| 283 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,AccountsPayableCurrent,2026-06-30,0,USD,11795070000
|
| 284 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,AccountsReceivableNetCurrent,2025-12-31,0,USD,10546550000
|
| 285 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,AccountsReceivableNetCurrent,2026-06-30,0,USD,10677127000
|
| 286 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,AccruedLiabilitiesCurrent,2025-12-31,0,USD,1163587000
|
| 287 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,AccruedLiabilitiesCurrent,2026-06-30,0,USD,1027246000
|
| 288 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,AccumulatedOtherComprehensiveIncomeLossNetOfTax,2025-12-31,0,USD,-263215000
|
| 289 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,AccumulatedOtherComprehensiveIncomeLossNetOfTax,2026-06-30,0,USD,-312604000
|
| 290 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,AdditionalPaidInCapitalCommonStock,2025-12-31,0,USD,2921952000
|
| 291 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,AdditionalPaidInCapitalCommonStock,2026-06-30,0,USD,2942553000
|
| 292 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue,2025-06-30,1,USD,6325000
|
| 293 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue,2025-06-30,2,USD,9089000
|
| 294 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue,2026-06-30,1,USD,11009000
|
| 295 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue,2026-06-30,2,USD,24211000
|
| 296 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,AllowanceForDoubtfulAccountsReceivableCurrent,2025-12-31,0,USD,169165000
|
| 297 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,AllowanceForDoubtfulAccountsReceivableCurrent,2026-06-30,0,USD,192895000
|
| 298 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,AmortizationOfDebtDiscountPremium,2025-06-30,2,USD,9352000
|
| 299 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,AmortizationOfDebtDiscountPremium,2026-06-30,2,USD,9535000
|
| 300 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,Assets,2025-12-31,0,USD,21244384000
|
| 301 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,Assets,2026-06-30,0,USD,21526033000
|
| 302 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,AssetsCurrent,2025-12-31,0,USD,18240639000
|
| 303 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,AssetsCurrent,2026-06-30,0,USD,18527111000
|
| 304 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,CashAndCashEquivalentsAtCarryingValue,2025-12-31,0,USD,1864724000
|
| 305 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,CashAndCashEquivalentsAtCarryingValue,2026-06-30,0,USD,808973000
|
| 306 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents,2024-12-31,0,USD,918401000
|
| 307 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents,2025-06-30,0,USD,856668000
|
| 308 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents,2025-12-31,0,USD,1864724000
|
| 309 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents,2026-06-30,0,USD,833711000
|
| 310 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect,2025-06-30,2,USD,-61733000
|
| 311 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect,2026-06-30,2,USD,-1031013000
|
| 312 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,CommonStockParOrStatedValuePerShare,2025-12-31,0,USD,0.01
|
| 313 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,CommonStockParOrStatedValuePerShare,2026-06-30,0,USD,0.01
|
| 314 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,CommonStockSharesAuthorized,2025-12-31,0,shares,2000000000
|
| 315 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,CommonStockSharesAuthorized,2026-06-30,0,shares,2000000000
|
| 316 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,CommonStockSharesIssued,2025-12-31,0,shares,235073327
|
| 317 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,CommonStockSharesIssued,2026-06-30,0,shares,235373307
|
| 318 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,CommonStockSharesOutstanding,2025-12-31,0,shares,235073327
|
| 319 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,CommonStockSharesOutstanding,2026-06-30,0,shares,235373307
|
| 320 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,CommonStockValue,2025-12-31,0,USD,2351000
|
| 321 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,CommonStockValue,2026-06-30,0,USD,2354000
|
| 322 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,ComprehensiveIncomeNetOfTax,2025-06-30,1,USD,202069000
|
| 323 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,ComprehensiveIncomeNetOfTax,2025-06-30,2,USD,345510000
|
| 324 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,ComprehensiveIncomeNetOfTax,2026-06-30,1,USD,122839000
|
| 325 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,ComprehensiveIncomeNetOfTax,2026-06-30,2,USD,160347000
|
| 326 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,ConsiderationReceivedForBeneficialInterestObtainedForTransferringFinancialAsset,2025-06-30,2,USD,128961000
|
| 327 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,ConsiderationReceivedForBeneficialInterestObtainedForTransferringFinancialAsset,2026-06-30,2,USD,82914000
|
| 328 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,CostOfGoodsAndServicesSold,2025-06-30,1,USD,11954797000
|
| 329 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,CostOfGoodsAndServicesSold,2025-06-30,2,USD,23406878000
|
| 330 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,CostOfGoodsAndServicesSold,2026-06-30,1,USD,13572390000
|
| 331 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,CostOfGoodsAndServicesSold,2026-06-30,2,USD,26609355000
|
| 332 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,DebtCurrent,2025-12-31,0,USD,449583000
|
| 333 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,DebtCurrent,2026-06-30,0,USD,1236764000
|
| 334 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,DepreciationDepletionAndAmortization,2025-06-30,2,USD,97981000
|
| 335 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,DepreciationDepletionAndAmortization,2026-06-30,2,USD,98965000
|
| 336 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,DividendsCommonStockCash,2025-06-30,1,USD,23451000
|
| 337 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,DividendsCommonStockCash,2025-06-30,2,USD,40828000
|
| 338 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,DividendsCommonStockCash,2026-06-30,1,USD,25352000
|
| 339 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,DividendsCommonStockCash,2026-06-30,2,USD,44347000
|
| 340 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,EarningsPerShareBasic,2025-06-30,1,USD,0.16
|
| 341 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,EarningsPerShareBasic,2025-06-30,2,USD,0.46
|
| 342 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,EarningsPerShareBasic,2026-06-30,1,USD,0.48
|
| 343 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,EarningsPerShareBasic,2026-06-30,2,USD,0.9
|
| 344 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,EarningsPerShareDiluted,2025-06-30,1,USD,0.16
|
| 345 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,EarningsPerShareDiluted,2025-06-30,2,USD,0.46
|
| 346 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,EarningsPerShareDiluted,2026-06-30,1,USD,0.48
|
| 347 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,EarningsPerShareDiluted,2026-06-30,2,USD,0.9
|
| 348 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents,2025-06-30,2,USD,46966000
|
| 349 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents,2026-06-30,2,USD,-2394000
|
| 350 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,ForeignCurrencyTransactionGainLossAfterTax,2025-06-30,2,USD,-45493000
|
| 351 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,ForeignCurrencyTransactionGainLossAfterTax,2026-06-30,2,USD,15884000
|
| 352 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,ForeignCurrencyTransactionGainLossBeforeTax,2025-06-30,1,USD,-20611000
|
| 353 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,ForeignCurrencyTransactionGainLossBeforeTax,2025-06-30,2,USD,-44328000
|
| 354 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,ForeignCurrencyTransactionGainLossBeforeTax,2026-06-30,1,USD,-11716000
|
| 355 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,ForeignCurrencyTransactionGainLossBeforeTax,2026-06-30,2,USD,-11414000
|
| 356 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,GainLossOnSalesOfAssetsAndAssetImpairmentCharges,2025-06-30,2,USD,-32757000
|
| 357 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,GainLossOnSalesOfAssetsAndAssetImpairmentCharges,2026-06-30,2,USD,0
|
| 358 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,Goodwill,2025-12-31,0,USD,854749000
|
| 359 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,Goodwill,2026-06-30,0,USD,850788000
|
| 360 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,GrossProfit,2025-06-30,1,USD,839159000
|
| 361 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,GrossProfit,2025-06-30,2,USD,1667921000
|
| 362 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,GrossProfit,2026-06-30,1,USD,958679000
|
| 363 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,GrossProfit,2026-06-30,2,USD,1884695000
|
| 364 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest,2025-06-30,1,USD,59885000
|
| 365 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest,2025-06-30,2,USD,160288000
|
| 366 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest,2026-06-30,1,USD,157543000
|
| 367 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest,2026-06-30,2,USD,298152000
|
| 368 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,IncomeTaxExpenseBenefit,2025-06-30,1,USD,22059000
|
| 369 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,IncomeTaxExpenseBenefit,2025-06-30,2,USD,53273000
|
| 370 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,IncomeTaxExpenseBenefit,2026-06-30,1,USD,46677000
|
| 371 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,IncomeTaxExpenseBenefit,2026-06-30,2,USD,88416000
|
| 372 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,IncreaseDecreaseInAccountsPayable,2025-06-30,2,USD,-132604000
|
| 373 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,IncreaseDecreaseInAccountsPayable,2026-06-30,2,USD,50605000
|
| 374 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,IncreaseDecreaseInAccountsReceivable,2025-06-30,2,USD,-463238000
|
| 375 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,IncreaseDecreaseInAccountsReceivable,2026-06-30,2,USD,277523000
|
| 376 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,IncreaseDecreaseInAccruedLiabilities,2025-06-30,2,USD,-78052000
|
| 377 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,IncreaseDecreaseInAccruedLiabilities,2026-06-30,2,USD,-144885000
|
| 378 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,IncreaseDecreaseInDeferredIncomeTaxes,2025-06-30,2,USD,26854000
|
| 379 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,IncreaseDecreaseInDeferredIncomeTaxes,2026-06-30,2,USD,29057000
|
| 380 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,IncreaseDecreaseInInventories,2025-06-30,2,USD,623888000
|
| 381 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,IncreaseDecreaseInInventories,2026-06-30,2,USD,1108621000
|
| 382 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,IncreaseDecreaseInOperatingLeaseLiability,2025-06-30,2,USD,-87639000
|
| 383 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,IncreaseDecreaseInOperatingLeaseLiability,2026-06-30,2,USD,-61635000
|
| 384 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,IncreaseDecreaseInOtherOperatingAssets,2025-06-30,2,USD,187387000
|
| 385 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,IncreaseDecreaseInOtherOperatingAssets,2026-06-30,2,USD,206353000
|
| 386 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,IntangibleAssetsNetExcludingGoodwill,2025-12-31,0,USD,711809000
|
| 387 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,IntangibleAssetsNetExcludingGoodwill,2026-06-30,0,USD,662825000
|
| 388 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,InterestExpenseNonoperating,2025-06-30,1,USD,72884000
|
| 389 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,InterestExpenseNonoperating,2025-06-30,2,USD,147773000
|
| 390 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,InterestExpenseNonoperating,2026-06-30,1,USD,76253000
|
| 391 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,InterestExpenseNonoperating,2026-06-30,2,USD,146789000
|
| 392 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,InventoryNet,2025-12-31,0,USD,4970113000
|
| 393 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,InventoryNet,2026-06-30,0,USD,6020050000
|
| 394 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,InvestmentIncomeInterest,2025-06-30,1,USD,10065000
|
| 395 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,InvestmentIncomeInterest,2025-06-30,2,USD,23883000
|
| 396 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,InvestmentIncomeInterest,2026-06-30,1,USD,14897000
|
| 397 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,InvestmentIncomeInterest,2026-06-30,2,USD,25142000
|
| 398 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,Liabilities,2025-12-31,0,USD,16995966000
|
| 399 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,Liabilities,2026-06-30,0,USD,17246011000
|
| 400 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,LiabilitiesAndStockholdersEquity,2025-12-31,0,USD,21244384000
|
| 401 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,LiabilitiesAndStockholdersEquity,2026-06-30,0,USD,21526033000
|
| 402 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,LiabilitiesCurrent,2025-12-31,0,USD,13680962000
|
| 403 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,LiabilitiesCurrent,2026-06-30,0,USD,14161737000
|
| 404 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,LongTermDebtNoncurrent,2025-12-31,0,USD,2749781000
|
| 405 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,LongTermDebtNoncurrent,2026-06-30,0,USD,2558665000
|
| 406 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,NetCashProvidedByUsedInFinancingActivities,2025-06-30,2,USD,272973000
|
| 407 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,NetCashProvidedByUsedInFinancingActivities,2026-06-30,2,USD,447559000
|
| 408 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,NetCashProvidedByUsedInInvestingActivities,2025-06-30,2,USD,116718000
|
| 409 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,NetCashProvidedByUsedInInvestingActivities,2026-06-30,2,USD,34916000
|
| 410 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,NetCashProvidedByUsedInOperatingActivities,2025-06-30,2,USD,-498390000
|
| 411 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,NetCashProvidedByUsedInOperatingActivities,2026-06-30,2,USD,-1511094000
|
| 412 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,NetIncomeLoss,2025-06-30,1,USD,37826000
|
| 413 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,NetIncomeLoss,2025-06-30,2,USD,107015000
|
| 414 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,NetIncomeLoss,2026-06-30,1,USD,110866000
|
| 415 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,NetIncomeLoss,2026-06-30,2,USD,209736000
|
| 416 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,NonoperatingIncomeExpense,2025-06-30,1,USD,-82931000
|
| 417 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,NonoperatingIncomeExpense,2025-06-30,2,USD,-183392000
|
| 418 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,NonoperatingIncomeExpense,2026-06-30,1,USD,-78427000
|
| 419 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,NonoperatingIncomeExpense,2026-06-30,2,USD,-160733000
|
| 420 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,OperatingExpenses,2025-06-30,1,USD,696343000
|
| 421 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,OperatingExpenses,2025-06-30,2,USD,1324241000
|
| 422 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,OperatingExpenses,2026-06-30,1,USD,722709000
|
| 423 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,OperatingExpenses,2026-06-30,2,USD,1425810000
|
| 424 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,OperatingIncomeLoss,2025-06-30,1,USD,142816000
|
| 425 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,OperatingIncomeLoss,2025-06-30,2,USD,343680000
|
| 426 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,OperatingIncomeLoss,2026-06-30,1,USD,235970000
|
| 427 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,OperatingIncomeLoss,2026-06-30,2,USD,458885000
|
| 428 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,OperatingLeaseLiabilityCurrent,2025-12-31,0,USD,104468000
|
| 429 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,OperatingLeaseLiabilityCurrent,2026-06-30,0,USD,102657000
|
| 430 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,OperatingLeaseLiabilityNoncurrent,2025-12-31,0,USD,354894000
|
| 431 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,OperatingLeaseLiabilityNoncurrent,2026-06-30,0,USD,344076000
|
| 432 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,OperatingLeaseRightOfUseAsset,2025-12-31,0,USD,403224000
|
| 433 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,OperatingLeaseRightOfUseAsset,2026-06-30,0,USD,390728000
|
| 434 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,OperatingLeaseRightOfUseAssetAmortizationExpense,2025-06-30,2,USD,62065000
|
| 435 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,OperatingLeaseRightOfUseAssetAmortizationExpense,2026-06-30,2,USD,65194000
|
| 436 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,OtherAssetsCurrent,2025-12-31,0,USD,859252000
|
| 437 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,OtherAssetsCurrent,2026-06-30,0,USD,1020961000
|
| 438 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,OtherAssetsNoncurrent,2025-12-31,0,USD,502067000
|
| 439 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,OtherAssetsNoncurrent,2026-06-30,0,USD,566611000
|
| 440 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentNetOfTaxPortionAttributableToParent,2025-06-30,1,USD,164235000
|
| 441 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentNetOfTaxPortionAttributableToParent,2025-06-30,2,USD,238658000
|
| 442 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentNetOfTaxPortionAttributableToParent,2026-06-30,1,USD,11973000
|
| 443 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentNetOfTaxPortionAttributableToParent,2026-06-30,2,USD,-49389000
|
| 444 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent,2025-06-30,1,USD,164243000
|
| 445 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent,2025-06-30,2,USD,238495000
|
| 446 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent,2026-06-30,1,USD,11973000
|
| 447 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent,2026-06-30,2,USD,-49389000
|
| 448 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,OtherLiabilitiesNoncurrent,2025-12-31,0,USD,210329000
|
| 449 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,OtherLiabilitiesNoncurrent,2026-06-30,0,USD,181533000
|
| 450 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,OtherNoncashIncomeExpense,2025-06-30,2,USD,4896000
|
| 451 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,OtherNoncashIncomeExpense,2026-06-30,2,USD,-9673000
|
| 452 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,OtherNonoperatingIncomeExpense,2025-06-30,1,USD,499000
|
| 453 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,OtherNonoperatingIncomeExpense,2025-06-30,2,USD,-15174000
|
| 454 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,OtherNonoperatingIncomeExpense,2026-06-30,1,USD,-5355000
|
| 455 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,OtherNonoperatingIncomeExpense,2026-06-30,2,USD,-27672000
|
| 456 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,PaymentsForProceedsFromOtherInvestingActivities,2025-06-30,2,USD,-11420000
|
| 457 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,PaymentsForProceedsFromOtherInvestingActivities,2026-06-30,2,USD,-10751000
|
| 458 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,PaymentsForRepurchaseOfCommonStock,2025-06-30,2,USD,0
|
| 459 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,PaymentsForRepurchaseOfCommonStock,2026-06-30,2,USD,105000000
|
| 460 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,PaymentsOfDividendsCommonStock,2025-06-30,2,USD,40828000
|
| 461 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,PaymentsOfDividendsCommonStock,2026-06-30,2,USD,38352000
|
| 462 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,PaymentsToAcquireNotesReceivable,2025-06-30,2,USD,12501000
|
| 463 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,PaymentsToAcquireNotesReceivable,2026-06-30,2,USD,12375000
|
| 464 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,PaymentsToAcquirePropertyPlantAndEquipment,2025-06-30,2,USD,64961000
|
| 465 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,PaymentsToAcquirePropertyPlantAndEquipment,2026-06-30,2,USD,69223000
|
| 466 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,ProceedsFromOtherDebt,2025-06-30,2,USD,29820000
|
| 467 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,ProceedsFromOtherDebt,2026-06-30,2,USD,32671000
|
| 468 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,ProceedsFromPaymentsForOtherFinancingActivities,2025-06-30,2,USD,-7019000
|
| 469 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,ProceedsFromPaymentsForOtherFinancingActivities,2026-06-30,2,USD,-11155000
|
| 470 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,ProceedsFromRepaymentsOfLinesOfCredit,2025-06-30,2,USD,452161000
|
| 471 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,ProceedsFromRepaymentsOfLinesOfCredit,2026-06-30,2,USD,812823000
|
| 472 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,ProceedsFromSaleOfEquityMethodInvestments,2025-06-30,2,USD,20805000
|
| 473 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,ProceedsFromSaleOfEquityMethodInvestments,2026-06-30,2,USD,0
|
| 474 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,ProceedsFromSaleOfNotesReceivable,2025-06-30,2,USD,20510000
|
| 475 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,ProceedsFromSaleOfNotesReceivable,2026-06-30,2,USD,15134000
|
| 476 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,PropertyPlantAndEquipmentNet,2025-12-31,0,USD,531896000
|
| 477 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,PropertyPlantAndEquipmentNet,2026-06-30,0,USD,527970000
|
| 478 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,RepaymentsOfLongTermDebt,2025-06-30,2,USD,125000000
|
| 479 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,RepaymentsOfLongTermDebt,2026-06-30,2,USD,200000000
|
| 480 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,RepaymentsOfOtherDebt,2025-06-30,2,USD,32574000
|
| 481 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,RepaymentsOfOtherDebt,2026-06-30,2,USD,41210000
|
| 482 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,RestructuringCharges,2024-12-31,1,USD,18269000
|
| 483 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,RestructuringCharges,2025-06-30,1,USD,21000
|
| 484 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,RestructuringCharges,2025-06-30,2,USD,1954000
|
| 485 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,RestructuringCharges,2026-06-30,1,USD,8290000
|
| 486 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,RestructuringCharges,2026-06-30,2,USD,17750000
|
| 487 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,RestructuringCharges,2026-06-30,4,USD,31228000
|
| 488 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,RetainedEarningsAccumulatedDeficit,2025-12-31,0,USD,1587330000
|
| 489 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,RetainedEarningsAccumulatedDeficit,2026-06-30,0,USD,1752719000
|
| 490 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,RevenueFromContractWithCustomerExcludingAssessedTax,2025-06-30,1,USD,12793956000
|
| 491 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,RevenueFromContractWithCustomerExcludingAssessedTax,2025-06-30,2,USD,25074799000
|
| 492 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,RevenueFromContractWithCustomerExcludingAssessedTax,2026-06-30,1,USD,14531069000
|
| 493 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,RevenueFromContractWithCustomerExcludingAssessedTax,2026-06-30,2,USD,28494050000
|
| 494 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,SellingGeneralAndAdministrativeExpense,2025-06-30,1,USD,696322000
|
| 495 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,SellingGeneralAndAdministrativeExpense,2025-06-30,2,USD,1322287000
|
| 496 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,SellingGeneralAndAdministrativeExpense,2026-06-30,1,USD,714419000
|
| 497 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,SellingGeneralAndAdministrativeExpense,2026-06-30,2,USD,1408060000
|
| 498 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,ShareBasedCompensation,2025-06-30,2,USD,9089000
|
| 499 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,ShareBasedCompensation,2026-06-30,2,USD,24211000
|
| 500 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,StockIssuedDuringPeriodValueRestrictedStockAwardNetOfForfeitures,2026-06-30,1,USD,-2594000
|
| 501 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,StockIssuedDuringPeriodValueRestrictedStockAwardNetOfForfeitures,2026-06-30,2,USD,-3607000
|
| 502 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,StockholdersEquity,2024-12-31,0,USD,3733875000
|
| 503 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,StockholdersEquity,2025-03-31,0,USD,3862703000
|
| 504 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,StockholdersEquity,2025-06-30,0,USD,4047646000
|
| 505 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,StockholdersEquity,2025-12-31,0,USD,4248418000
|
| 506 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,StockholdersEquity,2026-03-31,0,USD,4204120000
|
| 507 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,StockholdersEquity,2026-06-30,0,USD,4280022000
|
| 508 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,StockholdersEquityOther,2025-06-30,1,USD,-8000
|
| 509 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,StockholdersEquityOther,2025-06-30,2,USD,163000
|
| 510 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,TreasuryStockCommonShares,2025-12-31,0,shares,0
|
| 511 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,TreasuryStockCommonShares,2026-06-30,0,shares,4713158
|
| 512 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,TreasuryStockCommonValue,2025-12-31,0,USD,0
|
| 513 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,TreasuryStockCommonValue,2026-06-30,0,USD,105000000
|
| 514 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,TreasuryStockSharesAcquired,2026-02-28,0,shares,3511235
|
| 515 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,TreasuryStockSharesAcquired,2026-04-30,0,shares,1201923
|
| 516 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,TreasuryStockSharesAcquired,2026-06-30,2,shares,4713158
|
| 517 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,TreasuryStockValueAcquiredCostMethod,2026-02-28,0,USD,75000000
|
| 518 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,TreasuryStockValueAcquiredCostMethod,2026-04-30,0,USD,30000000
|
| 519 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,TreasuryStockValueAcquiredCostMethod,2026-06-30,1,USD,30000000
|
| 520 |
+
INGRAM MICRO HOLDING CORP,1897762,10-Q,us-gaap,TreasuryStockValueAcquiredCostMethod,2026-06-30,2,USD,105000000
|
tasks/ib-three-statement-ingm-v2/environment/inputs/followup.eml
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
From: Deal team vice president <vp@bank.example>
|
| 2 |
+
To: Consulting team <team@consultancy.example>
|
| 3 |
+
Date: Tue, 24 Nov 2026 12:00:00 +0000
|
| 4 |
+
Subject: Re: INGM: a historical three-statement summary
|
| 5 |
+
Content-Type: text/plain; charset="utf-8"
|
| 6 |
+
Content-Transfer-Encoding: 7bit
|
| 7 |
+
MIME-Version: 1.0
|
| 8 |
+
|
| 9 |
+
Team,
|
| 10 |
+
|
| 11 |
+
One change to my brief: the deal book shows amounts in US$ millions. Enter
|
| 12 |
+
every amount, in the workbook and the memo, as the filed value divided by
|
| 13 |
+
1,000,000 instead of 1,000. Percentages are unaffected.
|
| 14 |
+
|
| 15 |
+
Thanks
|
tasks/ib-three-statement-ingm-v2/environment/inputs/model.xlsx
ADDED
|
Binary file (6.78 kB). View file
|
|
|
tasks/ib-three-statement-ingm-v2/environment/inputs/source.txt
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
facts.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.
|
| 2 |
+
|
| 3 |
+
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.
|
| 4 |
+
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.
|
tasks/ib-three-statement-ingm-v2/instruction.md
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
You 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).
|
| 2 |
+
|
| 3 |
+
Submit two files:
|
| 4 |
+
|
| 5 |
+
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.
|
| 6 |
+
|
| 7 |
+
2. memo.docx with these paragraphs:
|
| 8 |
+
- "LTM revenue growth percent: <number>"
|
| 9 |
+
- "LTM EBITDA margin percent: <number>"
|
| 10 |
+
- "LTM free cash flow: <number>"
|
| 11 |
+
- "Net working capital change: <number>"
|
| 12 |
+
|
| 13 |
+
Conventions:
|
| 14 |
+
- 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.
|
| 15 |
+
- 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.
|
| 16 |
+
- Keep full precision. Decimals are graded within 1% of the exact value; whole numbers and labels exactly.
|
| 17 |
+
- 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.
|
| 18 |
+
- 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.
|
| 19 |
+
|
| 20 |
+
## Deliverable
|
| 21 |
+
|
| 22 |
+
Work in `/workspace`. Input files are under `/workspace/inputs/`. Put every deliverable in
|
| 23 |
+
`/workspace/outputs/`; only that directory is graded. Submit model.xlsx and memo.docx.
|
tasks/ib-three-statement-ingm-v2/solution/computation.json
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"accession": "0001628280-26-013588",
|
| 3 |
+
"company": "INGRAM MICRO HOLDING CORP",
|
| 4 |
+
"ltm_end": "2026-06-30",
|
| 5 |
+
"paragraphs": [
|
| 6 |
+
"LTM revenue growth percent: 6.50589",
|
| 7 |
+
"LTM EBITDA margin percent: 2.12647",
|
| 8 |
+
"LTM free cash flow: -231.593",
|
| 9 |
+
"Net working capital change: -194.303"
|
| 10 |
+
],
|
| 11 |
+
"tags": {
|
| 12 |
+
"cost": "CostOfGoodsAndServicesSold",
|
| 13 |
+
"da": "DepreciationDepletionAndAmortization",
|
| 14 |
+
"revenue": "RevenueFromContractWithCustomerExcludingAssessedTax"
|
| 15 |
+
},
|
| 16 |
+
"unit": "US$ millions",
|
| 17 |
+
"years": [
|
| 18 |
+
"2024-12-31",
|
| 19 |
+
"2025-12-31"
|
| 20 |
+
],
|
| 21 |
+
"ytd_duration": 2
|
| 22 |
+
}
|
tasks/ib-three-statement-ingm-v2/solution/files/memo.docx
ADDED
|
Binary file (36.8 kB). View file
|
|
|
tasks/ib-three-statement-ingm-v2/solution/files/model.xlsx
ADDED
|
Binary file (7.28 kB). View file
|
|
|
tasks/ib-three-statement-ingm-v2/solution/solve.sh
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/bin/sh
|
| 2 |
+
set -eu
|
| 3 |
+
mkdir -p /workspace/outputs
|
| 4 |
+
cp -R /solution/files/. /workspace/outputs/
|
tasks/ib-three-statement-ingm-v2/task.toml
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
schema_version = "1.3"
|
| 2 |
+
|
| 3 |
+
[task]
|
| 4 |
+
name = "apex-gap/ib-three-statement-ingm-v2"
|
| 5 |
+
|
| 6 |
+
[metadata.apex_gap]
|
| 7 |
+
capability_tags = ["xlsx-io", "docx-io", "csv-io", "financial-math", "spreadsheet-formulas", "data-reconciliation"]
|
| 8 |
+
case_family = "ib-three-statement"
|
| 9 |
+
fix_version = "v2"
|
| 10 |
+
group_key = "ib-xbrl:1897762"
|
| 11 |
+
job = "investment-banking"
|
| 12 |
+
source = "SEC-FSDS/figurewell-sec-xbrl-financials"
|
| 13 |
+
source_accessions = ["0001628280-26-013588", "0001628280-26-051053"]
|
| 14 |
+
source_ciks = ["1897762"]
|
| 15 |
+
source_license = "SEC filings (public records) via the CC0 Hub compilation; original task adaptation"
|
| 16 |
+
source_revision = "d74dfdb8fdf4a326b64d8d0813163850f5d5a32a"
|
| 17 |
+
source_split = "10-K filings accepted 2025-10-01 to 2026-09-30, fiscal year 2025"
|
| 18 |
+
source_task_id = "ib-three-statement-ingm"
|
| 19 |
+
source_tickers = ["INGM"]
|
| 20 |
+
|
| 21 |
+
[metadata.apex_gap.repair]
|
| 22 |
+
fixes = "{}"
|
| 23 |
+
|
| 24 |
+
[metadata.openenv_hf_sandbox]
|
| 25 |
+
variant = "apex-gap-hfsandbox-v1"
|
| 26 |
+
task_modified_for_hf_sandbox = true
|
| 27 |
+
network_enabled = true
|
| 28 |
+
|
| 29 |
+
[environment]
|
| 30 |
+
docker_image = "ghcr.io/younesbelkada/apex@sha256:24969c952247033023872f87161a16e067003469506be63783bbaa5d96926bdf"
|
| 31 |
+
workdir = "/workspace"
|
| 32 |
+
cpus = 1
|
| 33 |
+
memory_mb = 4096
|
| 34 |
+
build_timeout_sec = 600
|
| 35 |
+
network_mode = "public"
|
| 36 |
+
|
| 37 |
+
[agent]
|
| 38 |
+
timeout_sec = 1800
|
| 39 |
+
network_mode = "public"
|
| 40 |
+
|
| 41 |
+
[verifier]
|
| 42 |
+
timeout_sec = 600
|
| 43 |
+
network_mode = "public"
|
| 44 |
+
environment_mode = "separate"
|
| 45 |
+
|
| 46 |
+
[verifier.environment]
|
| 47 |
+
network_mode = "public"
|
| 48 |
+
cpus = 1
|
| 49 |
+
memory_mb = 4096
|
| 50 |
+
|
| 51 |
+
[[artifacts]]
|
| 52 |
+
source = "/workspace/outputs"
|
tasks/ib-three-statement-ingm-v2/tests/consulting_markets_memo.py
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Check a memo's labelled paragraphs ("Label: value") against the expected fields.
|
| 2 |
+
|
| 3 |
+
spec: {"file": "memo.docx", "fields": [{"label": ..., "kind": "choice", "accept": [...]},
|
| 4 |
+
{"label": ..., "kind": "number", "value": x, "rel_tol": 0.01}]}
|
| 5 |
+
|
| 6 |
+
Labels match case-insensitively and must each appear exactly once; other paragraphs are ignored.
|
| 7 |
+
A choice matches one accepted value after case and whitespace folding. A number is one numeral
|
| 8 |
+
(thousands commas, a leading "$" or a trailing "%" allowed) within rel_tol of the gold; rel_tol 0
|
| 9 |
+
means the whole number exactly.
|
| 10 |
+
"""
|
| 11 |
+
|
| 12 |
+
import math
|
| 13 |
+
import re
|
| 14 |
+
|
| 15 |
+
from docx import Document
|
| 16 |
+
|
| 17 |
+
NUMERAL = re.compile(r"[+-]?(?:(?:\d{1,3}(?:,\d{3})+|\d+)(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?")
|
| 18 |
+
|
| 19 |
+
|
| 20 |
+
def fold(text):
|
| 21 |
+
return " ".join(str(text).replace("\u2019", "'").replace("\u2013", "-").replace("\u2014", "-").split()).casefold()
|
| 22 |
+
|
| 23 |
+
|
| 24 |
+
def number(raw):
|
| 25 |
+
s = raw.strip().replace("\u2212", "-").rstrip(".")
|
| 26 |
+
sign = ""
|
| 27 |
+
for _ in range(2): # "-$1,200" and "$-1,200" alike
|
| 28 |
+
if s[:1] in ("+", "-") and not sign:
|
| 29 |
+
sign, s = s[0], s[1:].lstrip()
|
| 30 |
+
if s[:1] == "$":
|
| 31 |
+
s = s[1:].lstrip()
|
| 32 |
+
s = s.removesuffix("%").strip()
|
| 33 |
+
if not NUMERAL.fullmatch(s) or s[:1] in ("+", "-"):
|
| 34 |
+
return None
|
| 35 |
+
return float(sign + s.replace(",", ""))
|
| 36 |
+
|
| 37 |
+
|
| 38 |
+
def check(spec, outputs_dir, tests_dir):
|
| 39 |
+
path = outputs_dir / spec["file"]
|
| 40 |
+
if not path.is_file():
|
| 41 |
+
return False, f"missing {spec['file']}"
|
| 42 |
+
wanted = {fold(f["label"]): f for f in spec["fields"]}
|
| 43 |
+
found = {}
|
| 44 |
+
for paragraph in Document(path).paragraphs:
|
| 45 |
+
label, sep, value = paragraph.text.partition(":")
|
| 46 |
+
key = fold(label)
|
| 47 |
+
if sep and key in wanted:
|
| 48 |
+
if key in found:
|
| 49 |
+
return False, f"label {wanted[key]['label']!r} appears more than once"
|
| 50 |
+
found[key] = value.strip()
|
| 51 |
+
for key, field in wanted.items():
|
| 52 |
+
if key not in found:
|
| 53 |
+
return False, f"missing paragraph {field['label']!r}"
|
| 54 |
+
value = found[key]
|
| 55 |
+
if field["kind"] == "choice":
|
| 56 |
+
if fold(value).strip(" .") not in {fold(a).strip(" .") for a in field["accept"]}:
|
| 57 |
+
return False, f"{field['label']}: got {value!r}"
|
| 58 |
+
else:
|
| 59 |
+
got = number(value)
|
| 60 |
+
if got is None:
|
| 61 |
+
return False, f"{field['label']}: {value!r} is not a single number"
|
| 62 |
+
if not math.isclose(got, field["value"], rel_tol=field.get("rel_tol", 0.01), abs_tol=0):
|
| 63 |
+
return False, f"{field['label']}: got {value!r}"
|
| 64 |
+
return True, ""
|
tasks/ib-three-statement-ingm-v2/tests/expected.json
ADDED
|
@@ -0,0 +1,346 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"checks": [
|
| 3 |
+
{
|
| 4 |
+
"id": "income-statement-B3",
|
| 5 |
+
"type": "xlsx_cell",
|
| 6 |
+
"file": "model.xlsx",
|
| 7 |
+
"sheet": "Income statement",
|
| 8 |
+
"cell": "B3",
|
| 9 |
+
"value": 47983.671,
|
| 10 |
+
"rel_tol": 0.01,
|
| 11 |
+
"abs_tol": 0
|
| 12 |
+
},
|
| 13 |
+
{
|
| 14 |
+
"id": "income-statement-C3",
|
| 15 |
+
"type": "xlsx_cell",
|
| 16 |
+
"file": "model.xlsx",
|
| 17 |
+
"sheet": "Income statement",
|
| 18 |
+
"cell": "C3",
|
| 19 |
+
"value": 52556.263,
|
| 20 |
+
"rel_tol": 0.01,
|
| 21 |
+
"abs_tol": 0
|
| 22 |
+
},
|
| 23 |
+
{
|
| 24 |
+
"id": "income-statement-D3",
|
| 25 |
+
"type": "xlsx_cell",
|
| 26 |
+
"file": "model.xlsx",
|
| 27 |
+
"sheet": "Income statement",
|
| 28 |
+
"cell": "D3",
|
| 29 |
+
"value": 55975.514,
|
| 30 |
+
"rel_tol": 0.01,
|
| 31 |
+
"abs_tol": 0
|
| 32 |
+
},
|
| 33 |
+
{
|
| 34 |
+
"id": "income-statement-B5",
|
| 35 |
+
"type": "xlsx_cell",
|
| 36 |
+
"file": "model.xlsx",
|
| 37 |
+
"sheet": "Income statement",
|
| 38 |
+
"cell": "B5",
|
| 39 |
+
"value": 3444.9449999999997,
|
| 40 |
+
"rel_tol": 0.01,
|
| 41 |
+
"abs_tol": 0
|
| 42 |
+
},
|
| 43 |
+
{
|
| 44 |
+
"id": "income-statement-C5",
|
| 45 |
+
"type": "xlsx_cell",
|
| 46 |
+
"file": "model.xlsx",
|
| 47 |
+
"sheet": "Income statement",
|
| 48 |
+
"cell": "C5",
|
| 49 |
+
"value": 3503.9709999999977,
|
| 50 |
+
"rel_tol": 0.01,
|
| 51 |
+
"abs_tol": 0
|
| 52 |
+
},
|
| 53 |
+
{
|
| 54 |
+
"id": "income-statement-D5",
|
| 55 |
+
"type": "xlsx_cell",
|
| 56 |
+
"file": "model.xlsx",
|
| 57 |
+
"sheet": "Income statement",
|
| 58 |
+
"cell": "D5",
|
| 59 |
+
"value": 3720.7450000000026,
|
| 60 |
+
"rel_tol": 0.01,
|
| 61 |
+
"abs_tol": 0
|
| 62 |
+
},
|
| 63 |
+
{
|
| 64 |
+
"id": "income-statement-B6",
|
| 65 |
+
"type": "xlsx_cell",
|
| 66 |
+
"file": "model.xlsx",
|
| 67 |
+
"sheet": "Income statement",
|
| 68 |
+
"cell": "B6",
|
| 69 |
+
"value": 817.923,
|
| 70 |
+
"rel_tol": 0.01,
|
| 71 |
+
"abs_tol": 0
|
| 72 |
+
},
|
| 73 |
+
{
|
| 74 |
+
"id": "income-statement-C6",
|
| 75 |
+
"type": "xlsx_cell",
|
| 76 |
+
"file": "model.xlsx",
|
| 77 |
+
"sheet": "Income statement",
|
| 78 |
+
"cell": "C6",
|
| 79 |
+
"value": 876.928,
|
| 80 |
+
"rel_tol": 0.01,
|
| 81 |
+
"abs_tol": 0
|
| 82 |
+
},
|
| 83 |
+
{
|
| 84 |
+
"id": "income-statement-D6",
|
| 85 |
+
"type": "xlsx_cell",
|
| 86 |
+
"file": "model.xlsx",
|
| 87 |
+
"sheet": "Income statement",
|
| 88 |
+
"cell": "D6",
|
| 89 |
+
"value": 992.133,
|
| 90 |
+
"rel_tol": 0.01,
|
| 91 |
+
"abs_tol": 0
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"id": "income-statement-B8",
|
| 95 |
+
"type": "xlsx_cell",
|
| 96 |
+
"file": "model.xlsx",
|
| 97 |
+
"sheet": "Income statement",
|
| 98 |
+
"cell": "B8",
|
| 99 |
+
"value": 1007.254,
|
| 100 |
+
"rel_tol": 0.01,
|
| 101 |
+
"abs_tol": 0
|
| 102 |
+
},
|
| 103 |
+
{
|
| 104 |
+
"id": "income-statement-C8",
|
| 105 |
+
"type": "xlsx_cell",
|
| 106 |
+
"file": "model.xlsx",
|
| 107 |
+
"sheet": "Income statement",
|
| 108 |
+
"cell": "C8",
|
| 109 |
+
"value": 1074.114,
|
| 110 |
+
"rel_tol": 0.01,
|
| 111 |
+
"abs_tol": 0
|
| 112 |
+
},
|
| 113 |
+
{
|
| 114 |
+
"id": "income-statement-D8",
|
| 115 |
+
"type": "xlsx_cell",
|
| 116 |
+
"file": "model.xlsx",
|
| 117 |
+
"sheet": "Income statement",
|
| 118 |
+
"cell": "D8",
|
| 119 |
+
"value": 1190.303,
|
| 120 |
+
"rel_tol": 0.01,
|
| 121 |
+
"abs_tol": 0
|
| 122 |
+
},
|
| 123 |
+
{
|
| 124 |
+
"id": "income-statement-B9",
|
| 125 |
+
"type": "xlsx_cell",
|
| 126 |
+
"file": "model.xlsx",
|
| 127 |
+
"sheet": "Income statement",
|
| 128 |
+
"cell": "B9",
|
| 129 |
+
"value": 264.222,
|
| 130 |
+
"rel_tol": 0.01,
|
| 131 |
+
"abs_tol": 0
|
| 132 |
+
},
|
| 133 |
+
{
|
| 134 |
+
"id": "income-statement-C9",
|
| 135 |
+
"type": "xlsx_cell",
|
| 136 |
+
"file": "model.xlsx",
|
| 137 |
+
"sheet": "Income statement",
|
| 138 |
+
"cell": "C9",
|
| 139 |
+
"value": 327.882,
|
| 140 |
+
"rel_tol": 0.01,
|
| 141 |
+
"abs_tol": 0
|
| 142 |
+
},
|
| 143 |
+
{
|
| 144 |
+
"id": "income-statement-D9",
|
| 145 |
+
"type": "xlsx_cell",
|
| 146 |
+
"file": "model.xlsx",
|
| 147 |
+
"sheet": "Income statement",
|
| 148 |
+
"cell": "D9",
|
| 149 |
+
"value": 430.603,
|
| 150 |
+
"rel_tol": 0.01,
|
| 151 |
+
"abs_tol": 0
|
| 152 |
+
},
|
| 153 |
+
{
|
| 154 |
+
"id": "balance-sheet-B5",
|
| 155 |
+
"type": "xlsx_cell",
|
| 156 |
+
"file": "model.xlsx",
|
| 157 |
+
"sheet": "Balance sheet",
|
| 158 |
+
"cell": "B5",
|
| 159 |
+
"value": 21244.384,
|
| 160 |
+
"rel_tol": 0.01,
|
| 161 |
+
"abs_tol": 0
|
| 162 |
+
},
|
| 163 |
+
{
|
| 164 |
+
"id": "balance-sheet-C5",
|
| 165 |
+
"type": "xlsx_cell",
|
| 166 |
+
"file": "model.xlsx",
|
| 167 |
+
"sheet": "Balance sheet",
|
| 168 |
+
"cell": "C5",
|
| 169 |
+
"value": 21526.033,
|
| 170 |
+
"rel_tol": 0.01,
|
| 171 |
+
"abs_tol": 0
|
| 172 |
+
},
|
| 173 |
+
{
|
| 174 |
+
"id": "balance-sheet-B7",
|
| 175 |
+
"type": "xlsx_cell",
|
| 176 |
+
"file": "model.xlsx",
|
| 177 |
+
"sheet": "Balance sheet",
|
| 178 |
+
"cell": "B7",
|
| 179 |
+
"value": 16995.966,
|
| 180 |
+
"rel_tol": 0.01,
|
| 181 |
+
"abs_tol": 0
|
| 182 |
+
},
|
| 183 |
+
{
|
| 184 |
+
"id": "balance-sheet-C7",
|
| 185 |
+
"type": "xlsx_cell",
|
| 186 |
+
"file": "model.xlsx",
|
| 187 |
+
"sheet": "Balance sheet",
|
| 188 |
+
"cell": "C7",
|
| 189 |
+
"value": 17246.011,
|
| 190 |
+
"rel_tol": 0.01,
|
| 191 |
+
"abs_tol": 0
|
| 192 |
+
},
|
| 193 |
+
{
|
| 194 |
+
"id": "balance-sheet-B8",
|
| 195 |
+
"type": "xlsx_cell",
|
| 196 |
+
"file": "model.xlsx",
|
| 197 |
+
"sheet": "Balance sheet",
|
| 198 |
+
"cell": "B8",
|
| 199 |
+
"value": 4248.418,
|
| 200 |
+
"rel_tol": 0.01,
|
| 201 |
+
"abs_tol": 0
|
| 202 |
+
},
|
| 203 |
+
{
|
| 204 |
+
"id": "balance-sheet-C8",
|
| 205 |
+
"type": "xlsx_cell",
|
| 206 |
+
"file": "model.xlsx",
|
| 207 |
+
"sheet": "Balance sheet",
|
| 208 |
+
"cell": "C8",
|
| 209 |
+
"value": 4280.022,
|
| 210 |
+
"rel_tol": 0.01,
|
| 211 |
+
"abs_tol": 0
|
| 212 |
+
},
|
| 213 |
+
{
|
| 214 |
+
"id": "balance-sheet-B9",
|
| 215 |
+
"type": "xlsx_cell",
|
| 216 |
+
"file": "model.xlsx",
|
| 217 |
+
"sheet": "Balance sheet",
|
| 218 |
+
"cell": "B9",
|
| 219 |
+
"value": 4559.677,
|
| 220 |
+
"rel_tol": 0.01,
|
| 221 |
+
"abs_tol": 0
|
| 222 |
+
},
|
| 223 |
+
{
|
| 224 |
+
"id": "balance-sheet-C9",
|
| 225 |
+
"type": "xlsx_cell",
|
| 226 |
+
"file": "model.xlsx",
|
| 227 |
+
"sheet": "Balance sheet",
|
| 228 |
+
"cell": "C9",
|
| 229 |
+
"value": 4365.374000000002,
|
| 230 |
+
"rel_tol": 0.01,
|
| 231 |
+
"abs_tol": 0
|
| 232 |
+
},
|
| 233 |
+
{
|
| 234 |
+
"id": "cash-flow-B3",
|
| 235 |
+
"type": "xlsx_cell",
|
| 236 |
+
"file": "model.xlsx",
|
| 237 |
+
"sheet": "Cash flow",
|
| 238 |
+
"cell": "B3",
|
| 239 |
+
"value": 333.839,
|
| 240 |
+
"rel_tol": 0.01,
|
| 241 |
+
"abs_tol": 0
|
| 242 |
+
},
|
| 243 |
+
{
|
| 244 |
+
"id": "cash-flow-C3",
|
| 245 |
+
"type": "xlsx_cell",
|
| 246 |
+
"file": "model.xlsx",
|
| 247 |
+
"sheet": "Cash flow",
|
| 248 |
+
"cell": "C3",
|
| 249 |
+
"value": 916.127,
|
| 250 |
+
"rel_tol": 0.01,
|
| 251 |
+
"abs_tol": 0
|
| 252 |
+
},
|
| 253 |
+
{
|
| 254 |
+
"id": "cash-flow-D3",
|
| 255 |
+
"type": "xlsx_cell",
|
| 256 |
+
"file": "model.xlsx",
|
| 257 |
+
"sheet": "Cash flow",
|
| 258 |
+
"cell": "D3",
|
| 259 |
+
"value": -96.577,
|
| 260 |
+
"rel_tol": 0.01,
|
| 261 |
+
"abs_tol": 0
|
| 262 |
+
},
|
| 263 |
+
{
|
| 264 |
+
"id": "cash-flow-B5",
|
| 265 |
+
"type": "xlsx_cell",
|
| 266 |
+
"file": "model.xlsx",
|
| 267 |
+
"sheet": "Cash flow",
|
| 268 |
+
"cell": "B5",
|
| 269 |
+
"value": 191.136,
|
| 270 |
+
"rel_tol": 0.01,
|
| 271 |
+
"abs_tol": 0
|
| 272 |
+
},
|
| 273 |
+
{
|
| 274 |
+
"id": "cash-flow-C5",
|
| 275 |
+
"type": "xlsx_cell",
|
| 276 |
+
"file": "model.xlsx",
|
| 277 |
+
"sheet": "Cash flow",
|
| 278 |
+
"cell": "C5",
|
| 279 |
+
"value": 785.3729999999999,
|
| 280 |
+
"rel_tol": 0.01,
|
| 281 |
+
"abs_tol": 0
|
| 282 |
+
},
|
| 283 |
+
{
|
| 284 |
+
"id": "cash-flow-D5",
|
| 285 |
+
"type": "xlsx_cell",
|
| 286 |
+
"file": "model.xlsx",
|
| 287 |
+
"sheet": "Cash flow",
|
| 288 |
+
"cell": "D5",
|
| 289 |
+
"value": -231.593,
|
| 290 |
+
"rel_tol": 0.01,
|
| 291 |
+
"abs_tol": 0
|
| 292 |
+
},
|
| 293 |
+
{
|
| 294 |
+
"id": "memo",
|
| 295 |
+
"type": "custom",
|
| 296 |
+
"module": "consulting_markets_memo",
|
| 297 |
+
"file": "memo.docx",
|
| 298 |
+
"fields": [
|
| 299 |
+
{
|
| 300 |
+
"label": "LTM revenue growth percent",
|
| 301 |
+
"kind": "number",
|
| 302 |
+
"value": 6.505886843590836,
|
| 303 |
+
"rel_tol": 0.01
|
| 304 |
+
},
|
| 305 |
+
{
|
| 306 |
+
"label": "LTM EBITDA margin percent",
|
| 307 |
+
"kind": "number",
|
| 308 |
+
"value": 2.1264708708168363,
|
| 309 |
+
"rel_tol": 0.01
|
| 310 |
+
},
|
| 311 |
+
{
|
| 312 |
+
"label": "LTM free cash flow",
|
| 313 |
+
"kind": "number",
|
| 314 |
+
"value": -231.593,
|
| 315 |
+
"rel_tol": 0.01
|
| 316 |
+
},
|
| 317 |
+
{
|
| 318 |
+
"label": "Net working capital change",
|
| 319 |
+
"kind": "number",
|
| 320 |
+
"value": -194.30299999999806,
|
| 321 |
+
"rel_tol": 0.01
|
| 322 |
+
}
|
| 323 |
+
]
|
| 324 |
+
},
|
| 325 |
+
{
|
| 326 |
+
"id": "balance-sheet-B3",
|
| 327 |
+
"type": "xlsx_cell",
|
| 328 |
+
"file": "model.xlsx",
|
| 329 |
+
"sheet": "Balance sheet",
|
| 330 |
+
"cell": "B3",
|
| 331 |
+
"rel_tol": 0.01,
|
| 332 |
+
"abs_tol": 0,
|
| 333 |
+
"value": 1864.724
|
| 334 |
+
},
|
| 335 |
+
{
|
| 336 |
+
"id": "balance-sheet-C3",
|
| 337 |
+
"type": "xlsx_cell",
|
| 338 |
+
"file": "model.xlsx",
|
| 339 |
+
"sheet": "Balance sheet",
|
| 340 |
+
"cell": "C3",
|
| 341 |
+
"rel_tol": 0.01,
|
| 342 |
+
"abs_tol": 0,
|
| 343 |
+
"value": 808.973
|
| 344 |
+
}
|
| 345 |
+
]
|
| 346 |
+
}
|
tasks/ib-three-statement-ingm-v2/tests/grade.py
ADDED
|
@@ -0,0 +1,330 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Deterministic grader shared by converted knowledge-work tasks.
|
| 2 |
+
|
| 3 |
+
Runs inside the separate verifier sandbox. Reads /tests/expected.json, inspects the
|
| 4 |
+
submitted /workspace/outputs tree and writes a binary reward plus per-check details.
|
| 5 |
+
No model calls and no network.
|
| 6 |
+
|
| 7 |
+
expected.json: {"checks": [{"id": ..., "type": ..., ...}, ...]}
|
| 8 |
+
Check types:
|
| 9 |
+
answer field of outputs/answer.json; kind = number|text|choice|date|bool|list
|
| 10 |
+
xlsx_range recalculated outputs/<file> vs tests/<target> over sheet!range (SpreadsheetBench rules)
|
| 11 |
+
xlsx_cell recalculated outputs/<file> sheet!cell vs value with tolerance (optional alt_values)
|
| 12 |
+
file_contains outputs/<file> text (docx/pdf/ics/eml/txt) must contain every needle
|
| 13 |
+
custom tests/<module>.py defines check(spec, outputs_dir, tests_dir) -> (bool, str)
|
| 14 |
+
"""
|
| 15 |
+
|
| 16 |
+
import datetime as dt
|
| 17 |
+
import json
|
| 18 |
+
import re
|
| 19 |
+
import shutil
|
| 20 |
+
import subprocess
|
| 21 |
+
import sys
|
| 22 |
+
import tempfile
|
| 23 |
+
import unicodedata
|
| 24 |
+
from pathlib import Path
|
| 25 |
+
|
| 26 |
+
OUT = Path("/workspace/outputs")
|
| 27 |
+
TESTS = Path("/tests")
|
| 28 |
+
LOGS = Path("/logs/verifier")
|
| 29 |
+
|
| 30 |
+
|
| 31 |
+
def norm_text(v):
|
| 32 |
+
v = unicodedata.normalize("NFKC", str(v)).casefold()
|
| 33 |
+
v = re.sub(r"[‘’“”]", "'", v)
|
| 34 |
+
v = re.sub(r"[^\w%.$/-]+", " ", v)
|
| 35 |
+
return " ".join(v.split()).strip(" .")
|
| 36 |
+
|
| 37 |
+
|
| 38 |
+
def to_number(v):
|
| 39 |
+
if isinstance(v, bool):
|
| 40 |
+
raise ValueError("bool")
|
| 41 |
+
if isinstance(v, (int, float)):
|
| 42 |
+
return float(v)
|
| 43 |
+
s = str(v).strip().replace(",", "").replace("$", "").replace("−", "-")
|
| 44 |
+
neg = s.startswith("(") and s.endswith(")")
|
| 45 |
+
s = s.strip("()").strip()
|
| 46 |
+
pct = s.endswith("%")
|
| 47 |
+
s = s.rstrip("%").strip()
|
| 48 |
+
s = re.sub(r"\s*(usd|dollars|million|billion|thousand|m|bn|k)$", "", s, flags=re.I)
|
| 49 |
+
x = float(s)
|
| 50 |
+
x = -x if neg else x
|
| 51 |
+
return x / 100 if pct else x
|
| 52 |
+
|
| 53 |
+
|
| 54 |
+
def number_ok(got, want, rel, abs_):
|
| 55 |
+
try:
|
| 56 |
+
g = to_number(got)
|
| 57 |
+
except (TypeError, ValueError):
|
| 58 |
+
return False
|
| 59 |
+
w = float(want)
|
| 60 |
+
tol = max(abs_, rel * abs(w))
|
| 61 |
+
# "12.5%" may mean the ratio 0.125 or the percent number 12.5; the gold fixes which.
|
| 62 |
+
candidates = [g, g * 100] if isinstance(got, str) and got.strip().endswith("%") else [g]
|
| 63 |
+
return any(abs(c - w) <= tol for c in candidates)
|
| 64 |
+
|
| 65 |
+
|
| 66 |
+
def parse_date(v):
|
| 67 |
+
if isinstance(v, (dt.date, dt.datetime)):
|
| 68 |
+
return v if isinstance(v, dt.date) else v.date()
|
| 69 |
+
s = str(v).strip()
|
| 70 |
+
for fmt in ("%Y-%m-%d", "%m/%d/%Y", "%m/%d/%y", "%d %B %Y", "%B %d, %Y", "%b %d, %Y", "%Y/%m/%d"):
|
| 71 |
+
try:
|
| 72 |
+
return dt.datetime.strptime(s, fmt).date()
|
| 73 |
+
except ValueError:
|
| 74 |
+
continue
|
| 75 |
+
raise ValueError(s)
|
| 76 |
+
|
| 77 |
+
|
| 78 |
+
def check_answer(check, answers):
|
| 79 |
+
key = check["field"]
|
| 80 |
+
if key not in answers:
|
| 81 |
+
return False, f"missing field {key!r}"
|
| 82 |
+
got, want, kind = answers[key], check["value"], check.get("kind", "text")
|
| 83 |
+
if kind == "number":
|
| 84 |
+
ok = number_ok(got, want, check.get("rel_tol", 0.005), check.get("abs_tol", 0.01))
|
| 85 |
+
if not ok and check.get("percent_either"):
|
| 86 |
+
ok = number_ok(got, want * 100, check.get("rel_tol", 0.005), check.get("abs_tol", 0.01) * 100) or (
|
| 87 |
+
number_ok(got, want / 100, check.get("rel_tol", 0.005), check.get("abs_tol", 0.01) / 100)
|
| 88 |
+
)
|
| 89 |
+
elif kind == "date":
|
| 90 |
+
try:
|
| 91 |
+
ok = parse_date(got) == parse_date(want)
|
| 92 |
+
except ValueError:
|
| 93 |
+
ok = False
|
| 94 |
+
elif kind == "bool":
|
| 95 |
+
g = norm_text(got)
|
| 96 |
+
ok = g in {"yes", "true"} if want else g in {"no", "false"}
|
| 97 |
+
elif kind == "choice":
|
| 98 |
+
ok = norm_text(got) == norm_text(want)
|
| 99 |
+
elif kind == "list":
|
| 100 |
+
if not isinstance(got, list):
|
| 101 |
+
return False, f"{key}: expected a JSON list"
|
| 102 |
+
# Filenames may be given with a directory prefix; compare base names.
|
| 103 |
+
base = lambda x: norm_text(str(x).replace("\\", "/").rsplit("/", 1)[-1])
|
| 104 |
+
ok = sorted(base(x) for x in got) == sorted(base(x) for x in want)
|
| 105 |
+
else:
|
| 106 |
+
accepted = check.get("accept", [want])
|
| 107 |
+
ok = norm_text(got) in {norm_text(a) for a in accepted}
|
| 108 |
+
return ok, "" if ok else f"{key}: got {got!r}"
|
| 109 |
+
|
| 110 |
+
|
| 111 |
+
# LibreOffice keeps cached formula values on load unless told otherwise; force a full recalculation.
|
| 112 |
+
RECALC_PROFILE = """<?xml version="1.0" encoding="UTF-8"?>
|
| 113 |
+
<oor:items xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
| 114 |
+
<item oor:path="/org.openoffice.Office.Calc/Formula/Load"><prop oor:name="OOXMLRecalcMode" oor:op="fuse"><value>0</value></prop></item>
|
| 115 |
+
<item oor:path="/org.openoffice.Office.Calc/Formula/Load"><prop oor:name="ODFRecalcMode" oor:op="fuse"><value>0</value></prop></item>
|
| 116 |
+
</oor:items>
|
| 117 |
+
"""
|
| 118 |
+
|
| 119 |
+
|
| 120 |
+
def recalc(path, tmp):
|
| 121 |
+
dest = Path(tmp) / f"recalc-{len(list(Path(tmp).glob('recalc-*')))}"
|
| 122 |
+
dest.mkdir()
|
| 123 |
+
profile = Path(tmp) / "lo-profile"
|
| 124 |
+
if not profile.exists():
|
| 125 |
+
(profile / "user").mkdir(parents=True)
|
| 126 |
+
(profile / "user" / "registrymodifications.xcu").write_text(RECALC_PROFILE)
|
| 127 |
+
subprocess.run(
|
| 128 |
+
["soffice", f"-env:UserInstallation=file://{profile}", "--headless", "--calc", "--convert-to",
|
| 129 |
+
"xlsx:Calc MS Excel 2007 XML", "--outdir", str(dest), str(path)],
|
| 130 |
+
stdout=subprocess.DEVNULL,
|
| 131 |
+
stderr=subprocess.DEVNULL,
|
| 132 |
+
timeout=180,
|
| 133 |
+
check=False,
|
| 134 |
+
)
|
| 135 |
+
out = dest / (Path(path).stem + ".xlsx")
|
| 136 |
+
return out if out.exists() else Path(path)
|
| 137 |
+
|
| 138 |
+
|
| 139 |
+
def cell_value(v):
|
| 140 |
+
if isinstance(v, (int, float)) and not isinstance(v, bool):
|
| 141 |
+
return round(float(v), 2)
|
| 142 |
+
if isinstance(v, dt.datetime):
|
| 143 |
+
return round((v - dt.datetime(1899, 12, 30)).total_seconds() / 86400.0, 0)
|
| 144 |
+
if isinstance(v, dt.time):
|
| 145 |
+
return v.strftime("%H:%M")
|
| 146 |
+
if isinstance(v, str):
|
| 147 |
+
try:
|
| 148 |
+
return round(float(v), 2)
|
| 149 |
+
except ValueError:
|
| 150 |
+
return v.strip()
|
| 151 |
+
return v
|
| 152 |
+
|
| 153 |
+
|
| 154 |
+
def time_of(v):
|
| 155 |
+
"""A time or a day fraction in [0, 1) as HH:MM, rounded to the nearest second first. Calc and
|
| 156 |
+
Excel store a time as that fraction; openpyxl returns a time only for time-formatted cells."""
|
| 157 |
+
if isinstance(v, dt.time):
|
| 158 |
+
v = (v.hour * 3600 + v.minute * 60 + v.second + v.microsecond / 1e6) / 86400
|
| 159 |
+
if isinstance(v, (int, float)) and not isinstance(v, bool) and 0 <= v < 1:
|
| 160 |
+
return (dt.datetime(1899, 12, 30) + dt.timedelta(seconds=round(v * 86400))).strftime("%H:%M")
|
| 161 |
+
return None
|
| 162 |
+
|
| 163 |
+
|
| 164 |
+
def same_cell(a, b):
|
| 165 |
+
if isinstance(a, dt.time) is not isinstance(b, dt.time):
|
| 166 |
+
n = b if isinstance(a, dt.time) else a
|
| 167 |
+
if time_of(n) is not None: # a time against a plain day fraction
|
| 168 |
+
return time_of(a) == time_of(b)
|
| 169 |
+
a, b = cell_value(a), cell_value(b)
|
| 170 |
+
if a in (None, "") and b in (None, ""):
|
| 171 |
+
return True
|
| 172 |
+
return type(a) is type(b) and a == b
|
| 173 |
+
|
| 174 |
+
|
| 175 |
+
ERRORS = {"#NULL!", "#DIV/0!", "#VALUE!", "#REF!", "#NAME?", "#NUM!", "#N/A"}
|
| 176 |
+
|
| 177 |
+
|
| 178 |
+
def is_error(v):
|
| 179 |
+
return isinstance(v, str) and (v in ERRORS or v.startswith("Err:"))
|
| 180 |
+
|
| 181 |
+
|
| 182 |
+
def cells(rng):
|
| 183 |
+
if ":" not in rng:
|
| 184 |
+
return [rng]
|
| 185 |
+
from openpyxl.utils import range_boundaries, get_column_letter
|
| 186 |
+
|
| 187 |
+
c1, r1, c2, r2 = range_boundaries(rng)
|
| 188 |
+
return [f"{get_column_letter(c)}{r}" for r in range(r1, r2 + 1) for c in range(c1, c2 + 1)]
|
| 189 |
+
|
| 190 |
+
|
| 191 |
+
def load(path, tmp):
|
| 192 |
+
import openpyxl
|
| 193 |
+
|
| 194 |
+
return openpyxl.load_workbook(recalc(path, tmp), data_only=True)
|
| 195 |
+
|
| 196 |
+
|
| 197 |
+
def check_xlsx_range(check, tmp, cache):
|
| 198 |
+
sub = OUT / check["file"]
|
| 199 |
+
if not sub.is_file():
|
| 200 |
+
return False, f"missing output {check['file']}"
|
| 201 |
+
if sub not in cache:
|
| 202 |
+
cache[sub] = load(sub, tmp)
|
| 203 |
+
tgt = TESTS / check["target"]
|
| 204 |
+
if tgt not in cache:
|
| 205 |
+
cache[tgt] = load(tgt, tmp)
|
| 206 |
+
got, want = cache[sub], cache[tgt]
|
| 207 |
+
cached = None # the target's stored (Excel-computed) values, read only when Calc errs
|
| 208 |
+
for sheet, rng in check["ranges"]:
|
| 209 |
+
sheet = sheet or want.sheetnames[0]
|
| 210 |
+
if sheet not in got.sheetnames:
|
| 211 |
+
return False, f"sheet {sheet!r} missing"
|
| 212 |
+
for name in cells(rng):
|
| 213 |
+
w = want[sheet][name].value
|
| 214 |
+
if is_error(w):
|
| 215 |
+
# LibreOffice could not evaluate the gold formula (e.g. XLOOKUP, FILTER in Calc 7.4).
|
| 216 |
+
# The value Excel stored is the intended answer.
|
| 217 |
+
if cached is None:
|
| 218 |
+
import openpyxl
|
| 219 |
+
|
| 220 |
+
cached = openpyxl.load_workbook(tgt, data_only=True)
|
| 221 |
+
c = cached[sheet][name].value if sheet in cached.sheetnames else None
|
| 222 |
+
if c is not None and not is_error(c):
|
| 223 |
+
w = c
|
| 224 |
+
if not same_cell(w, got[sheet][name].value):
|
| 225 |
+
return False, f"{sheet}!{name}: want {w!r} got {got[sheet][name].value!r}"
|
| 226 |
+
return True, ""
|
| 227 |
+
|
| 228 |
+
|
| 229 |
+
def check_xlsx_cell(check, tmp, cache):
|
| 230 |
+
sub = OUT / check["file"]
|
| 231 |
+
if not sub.is_file():
|
| 232 |
+
return False, f"missing output {check['file']}"
|
| 233 |
+
if sub not in cache:
|
| 234 |
+
cache[sub] = load(sub, tmp)
|
| 235 |
+
wb = cache[sub]
|
| 236 |
+
if check["sheet"] not in wb.sheetnames:
|
| 237 |
+
return False, f"sheet {check['sheet']!r} missing"
|
| 238 |
+
got = wb[check["sheet"]][check["cell"]].value
|
| 239 |
+
want = check["value"]
|
| 240 |
+
if isinstance(want, (int, float)):
|
| 241 |
+
# alt_values: other accepted golds where the source admits more than one reading.
|
| 242 |
+
ok = got is not None and any(number_ok(got, w, check.get("rel_tol", 0.0), check.get("abs_tol", 0.01))
|
| 243 |
+
for w in [want, *check.get("alt_values", [])])
|
| 244 |
+
else:
|
| 245 |
+
ok = norm_text(got) == norm_text(want)
|
| 246 |
+
return ok, "" if ok else f"{check['sheet']}!{check['cell']}: want {want!r} got {got!r}"
|
| 247 |
+
|
| 248 |
+
|
| 249 |
+
def text_of(path):
|
| 250 |
+
suffix = path.suffix.lower()
|
| 251 |
+
if suffix == ".docx":
|
| 252 |
+
import docx
|
| 253 |
+
|
| 254 |
+
d = docx.Document(path)
|
| 255 |
+
parts = [p.text for p in d.paragraphs]
|
| 256 |
+
for t in d.tables:
|
| 257 |
+
parts += [c.text for row in t.rows for c in row.cells]
|
| 258 |
+
return "\n".join(parts)
|
| 259 |
+
if suffix == ".pdf":
|
| 260 |
+
import pdfplumber
|
| 261 |
+
|
| 262 |
+
with pdfplumber.open(path) as pdf:
|
| 263 |
+
return "\n".join(page.extract_text() or "" for page in pdf.pages)
|
| 264 |
+
return path.read_text(errors="replace")
|
| 265 |
+
|
| 266 |
+
|
| 267 |
+
def check_file_contains(check, tmp, cache):
|
| 268 |
+
sub = OUT / check["file"]
|
| 269 |
+
if not sub.is_file():
|
| 270 |
+
return False, f"missing output {check['file']}"
|
| 271 |
+
text = text_of(sub)
|
| 272 |
+
hay = text if check.get("case_sensitive") else text.casefold()
|
| 273 |
+
for needle in check["needles"]:
|
| 274 |
+
n = needle if check.get("case_sensitive") else needle.casefold()
|
| 275 |
+
if n not in hay:
|
| 276 |
+
return False, f"{check['file']} lacks {needle!r}"
|
| 277 |
+
return True, ""
|
| 278 |
+
|
| 279 |
+
|
| 280 |
+
def main():
|
| 281 |
+
LOGS.mkdir(parents=True, exist_ok=True)
|
| 282 |
+
reward_path = LOGS / "reward.txt"
|
| 283 |
+
reward_path.write_text("0\n")
|
| 284 |
+
spec = json.loads((TESTS / "expected.json").read_text())
|
| 285 |
+
answers, details = {}, []
|
| 286 |
+
answer_file = OUT / "answer.json"
|
| 287 |
+
if answer_file.is_file():
|
| 288 |
+
try:
|
| 289 |
+
answers = json.loads(answer_file.read_text())
|
| 290 |
+
if not isinstance(answers, dict):
|
| 291 |
+
answers = {}
|
| 292 |
+
except json.JSONDecodeError:
|
| 293 |
+
answers = {}
|
| 294 |
+
tmp = tempfile.mkdtemp()
|
| 295 |
+
cache = {}
|
| 296 |
+
try:
|
| 297 |
+
for check in spec["checks"]:
|
| 298 |
+
try:
|
| 299 |
+
if check["type"] == "answer":
|
| 300 |
+
ok, why = check_answer(check, answers)
|
| 301 |
+
elif check["type"] == "xlsx_range":
|
| 302 |
+
ok, why = check_xlsx_range(check, tmp, cache)
|
| 303 |
+
elif check["type"] == "xlsx_cell":
|
| 304 |
+
ok, why = check_xlsx_cell(check, tmp, cache)
|
| 305 |
+
elif check["type"] == "file_contains":
|
| 306 |
+
ok, why = check_file_contains(check, tmp, cache)
|
| 307 |
+
elif check["type"] == "custom":
|
| 308 |
+
import importlib.util
|
| 309 |
+
|
| 310 |
+
spec_ = importlib.util.spec_from_file_location("custom_check", TESTS / f"{check['module']}.py")
|
| 311 |
+
mod = importlib.util.module_from_spec(spec_)
|
| 312 |
+
spec_.loader.exec_module(mod)
|
| 313 |
+
ok, why = mod.check(check, OUT, TESTS)
|
| 314 |
+
else:
|
| 315 |
+
ok, why = False, f"unknown check type {check['type']}"
|
| 316 |
+
except Exception as exc: # a malformed submission fails the check, not the grader
|
| 317 |
+
ok, why = False, f"{type(exc).__name__}: {exc}"
|
| 318 |
+
details.append({"id": check["id"], "passed": ok, "detail": why})
|
| 319 |
+
finally:
|
| 320 |
+
shutil.rmtree(tmp, ignore_errors=True)
|
| 321 |
+
passed = sum(d["passed"] for d in details)
|
| 322 |
+
total = len(details)
|
| 323 |
+
reward = 1 if total and passed == total else 0
|
| 324 |
+
(LOGS / "details.json").write_text(json.dumps({"passed": passed, "total": total, "checks": details}, indent=1))
|
| 325 |
+
reward_path.write_text(f"{reward}\n")
|
| 326 |
+
print(f"{passed}/{total} checks passed; reward {reward}")
|
| 327 |
+
|
| 328 |
+
|
| 329 |
+
if __name__ == "__main__":
|
| 330 |
+
sys.exit(main())
|
tasks/ib-three-statement-ingm-v2/tests/test.sh
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/bin/sh
|
| 2 |
+
set -eu
|
| 3 |
+
mkdir -p /logs/verifier /workspace/outputs
|
| 4 |
+
exec python3 -B -I /tests/grade.py
|
tasks/ib-three-statement-ingm-v2/validation/openenv.json
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"profile": "harbor-semantic-v1",
|
| 3 |
+
"reward_key": "reward",
|
| 4 |
+
"reward": {
|
| 5 |
+
"range": [
|
| 6 |
+
0,
|
| 7 |
+
1
|
| 8 |
+
],
|
| 9 |
+
"oracle_tolerance": 0,
|
| 10 |
+
"floor_margin": 0.1
|
| 11 |
+
},
|
| 12 |
+
"resources": {
|
| 13 |
+
"cpu": 1,
|
| 14 |
+
"memory_mb": 4096,
|
| 15 |
+
"disk_mb": 10240,
|
| 16 |
+
"episode_timeout_s": 1800
|
| 17 |
+
},
|
| 18 |
+
"types": {
|
| 19 |
+
"tags": [
|
| 20 |
+
"knowledge-work",
|
| 21 |
+
"xlsx-io",
|
| 22 |
+
"docx-io",
|
| 23 |
+
"csv-io",
|
| 24 |
+
"financial-math",
|
| 25 |
+
"spreadsheet-formulas",
|
| 26 |
+
"data-reconciliation"
|
| 27 |
+
]
|
| 28 |
+
},
|
| 29 |
+
"requires_credentials": false
|
| 30 |
+
}
|
tasks/ib-three-statement-pbyi/environment/inputs/brief.eml
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
From: Deal team vice president <vp@bank.example>
|
| 2 |
+
To: Consulting team <team@consultancy.example>
|
| 3 |
+
Date: Mon, 23 Nov 2026 12:00:00 +0000
|
| 4 |
+
Subject: PBYI: a historical three-statement summary
|
| 5 |
+
Content-Type: text/plain; charset="utf-8"
|
| 6 |
+
Content-Transfer-Encoding: 7bit
|
| 7 |
+
MIME-Version: 1.0
|
| 8 |
+
|
| 9 |
+
Team,
|
| 10 |
+
|
| 11 |
+
For the PUMA BIOTECHNOLOGY, INC. (PBYI) workstream, please prepare a
|
| 12 |
+
historical three-statement summary from the company's FY2025 10-K XBRL facts
|
| 13 |
+
(facts.csv) in the attached workbook, model.xlsx, plus a short memo.
|
| 14 |
+
|
| 15 |
+
Rules:
|
| 16 |
+
1. Fill the income statement and the cash flow for FY2023 to FY2025 (fiscal
|
| 17 |
+
years ended 2023-12-31, 2024-12-31 and 2025-12-31) and the balance sheet
|
| 18 |
+
at FY2024 and FY2025 year-ends (2024-12-31 and 2025-12-31).
|
| 19 |
+
2. Column E of each sheet names the XBRL tag behind each input row, or the
|
| 20 |
+
row's formula. Where it lists several tags, use the first one that has a
|
| 21 |
+
value for every year of the table.
|
| 22 |
+
3. Revenue growth percent = (FY2025 revenue / FY2024 revenue - 1) x 100.
|
| 23 |
+
EBITDA margin percent = FY2025 EBITDA / FY2025 revenue x 100. Free cash
|
| 24 |
+
flow margin percent = FY2025 free cash flow / FY2025 revenue x 100. Net
|
| 25 |
+
working capital change = net working capital at FY2025 year-end - at
|
| 26 |
+
FY2024 year-end.
|
| 27 |
+
|
| 28 |
+
Units and signs: US$ thousands (the filed value divided by 1,000) except
|
| 29 |
+
per-share amounts; values as filed with their signs.
|
| 30 |
+
|
| 31 |
+
Thanks
|
tasks/ib-three-statement-pbyi/environment/inputs/facts.csv
ADDED
|
@@ -0,0 +1,230 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
company,cik,taxonomy,tag,period_end,duration_quarters,uom,value
|
| 2 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,custom,IncreaseDecreaseInOperatingLeaseAssetsAndLiabilitiesNet,2023-12-31,4,USD,1195000
|
| 3 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,custom,IncreaseDecreaseInOperatingLeaseAssetsAndLiabilitiesNet,2024-12-31,4,USD,1587000
|
| 4 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,custom,IncreaseDecreaseInOperatingLeaseAssetsAndLiabilitiesNet,2025-12-31,4,USD,1805000
|
| 5 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,custom,IncreaseDecreaseInPostmarketingCommitmentLiability,2023-12-31,4,USD,-940000
|
| 6 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,custom,IncreaseDecreaseInPostmarketingCommitmentLiability,2024-12-31,4,USD,-1267000
|
| 7 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,custom,IncreaseDecreaseInPostmarketingCommitmentLiability,2025-12-31,4,USD,-2412000
|
| 8 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,custom,PostMarketingCommitmentLiabilityCurrent,2024-12-31,0,USD,2835000
|
| 9 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,custom,PostMarketingCommitmentLiabilityCurrent,2025-12-31,0,USD,2187000
|
| 10 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,custom,PostmarketingCommitmentLiabilityNoncurrent,2024-12-31,0,USD,1763000
|
| 11 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,custom,PostmarketingCommitmentLiabilityNoncurrent,2025-12-31,0,USD,0
|
| 12 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,AccountsPayableCurrent,2024-12-31,0,USD,5509000
|
| 13 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,AccountsPayableCurrent,2025-12-31,0,USD,5056000
|
| 14 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,AccountsReceivableNetCurrent,2024-12-31,0,USD,32011000
|
| 15 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,AccountsReceivableNetCurrent,2025-12-31,0,USD,53654000
|
| 16 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,AccruedLiabilitiesCurrent,2024-12-31,0,USD,36898000
|
| 17 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,AccruedLiabilitiesCurrent,2025-12-31,0,USD,50031000
|
| 18 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,AccumulatedOtherComprehensiveIncomeLossNetOfTax,2024-12-31,0,USD,6000
|
| 19 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,AccumulatedOtherComprehensiveIncomeLossNetOfTax,2025-12-31,0,USD,36000
|
| 20 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,AdditionalPaidInCapitalCommonStock,2024-12-31,0,USD,1407000000
|
| 21 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,AdditionalPaidInCapitalCommonStock,2025-12-31,0,USD,1414074000
|
| 22 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue,2023-12-31,4,USD,10247000
|
| 23 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue,2024-12-31,4,USD,8245000
|
| 24 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue,2025-12-31,4,USD,6944000
|
| 25 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,AllowanceForDoubtfulAccountsReceivableCurrent,2024-12-31,0,USD,362000
|
| 26 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,AllowanceForDoubtfulAccountsReceivableCurrent,2025-12-31,0,USD,0
|
| 27 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,AssetImpairmentCharges,2023-12-31,4,USD,625000
|
| 28 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,AssetImpairmentCharges,2024-12-31,4,USD,0
|
| 29 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,AssetImpairmentCharges,2025-12-31,4,USD,0
|
| 30 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,Assets,2024-12-31,0,USD,213333000
|
| 31 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,Assets,2025-12-31,0,USD,216302000
|
| 32 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,AssetsCurrent,2024-12-31,0,USD,147658000
|
| 33 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,AssetsCurrent,2025-12-31,0,USD,162686000
|
| 34 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,CapitalExpendituresIncurredButNotYetPaid,2023-12-31,4,USD,26000
|
| 35 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,CapitalExpendituresIncurredButNotYetPaid,2024-12-31,4,USD,0
|
| 36 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,CapitalExpendituresIncurredButNotYetPaid,2025-12-31,4,USD,5000
|
| 37 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,CashAndCashEquivalentsAtCarryingValue,2024-12-31,0,USD,69219000
|
| 38 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,CashAndCashEquivalentsAtCarryingValue,2025-12-31,0,USD,29635000
|
| 39 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations,2022-12-31,0,USD,78792000
|
| 40 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations,2023-12-31,0,USD,86676000
|
| 41 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations,2024-12-31,0,USD,71310000
|
| 42 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations,2025-12-31,0,USD,31726000
|
| 43 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect,2023-12-31,4,USD,7884000
|
| 44 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect,2024-12-31,4,USD,-15366000
|
| 45 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect,2025-12-31,4,USD,-39584000
|
| 46 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,CommonStockParOrStatedValuePerShare,2024-12-31,0,USD,0.0001
|
| 47 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,CommonStockParOrStatedValuePerShare,2025-12-31,0,USD,0.0001
|
| 48 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,CommonStockSharesAuthorized,2024-12-31,0,shares,100000000
|
| 49 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,CommonStockSharesAuthorized,2025-12-31,0,shares,100000000
|
| 50 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,CommonStockSharesIssued,2024-12-31,0,shares,49105834
|
| 51 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,CommonStockSharesIssued,2025-12-31,0,shares,50408023
|
| 52 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,CommonStockSharesOutstanding,2024-12-31,0,shares,49105834
|
| 53 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,CommonStockSharesOutstanding,2025-12-31,0,shares,50408023
|
| 54 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,CommonStockValue,2024-12-31,0,USD,5000
|
| 55 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,CommonStockValue,2025-12-31,0,USD,5000
|
| 56 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,ComprehensiveIncomeNetOfTax,2023-12-31,4,USD,21587000
|
| 57 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,ComprehensiveIncomeNetOfTax,2024-12-31,4,USD,30288000
|
| 58 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,ComprehensiveIncomeNetOfTax,2025-12-31,4,USD,31141000
|
| 59 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,CostOfGoodsAndServicesSold,2023-12-31,4,USD,62682000
|
| 60 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,CostOfGoodsAndServicesSold,2024-12-31,4,USD,64404000
|
| 61 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,CostOfGoodsAndServicesSold,2025-12-31,4,USD,58157000
|
| 62 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,CostsAndExpenses,2023-12-31,4,USD,202997000
|
| 63 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,CostsAndExpenses,2024-12-31,4,USD,199502000
|
| 64 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,CostsAndExpenses,2025-12-31,4,USD,191072000
|
| 65 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,CurrentIncomeTaxExpenseBenefit,2023-12-31,4,USD,1083000
|
| 66 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,CurrentIncomeTaxExpenseBenefit,2024-12-31,4,USD,897000
|
| 67 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,CurrentIncomeTaxExpenseBenefit,2025-12-31,4,USD,1426000
|
| 68 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,DeferredIncomeTaxAssetsNet,2024-12-31,0,USD,7075000
|
| 69 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,DeferredIncomeTaxAssetsNet,2025-12-31,0,USD,3830000
|
| 70 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,DeferredIncomeTaxExpenseBenefit,2023-12-31,4,USD,0
|
| 71 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,DeferredIncomeTaxExpenseBenefit,2024-12-31,4,USD,-7075000
|
| 72 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,DeferredIncomeTaxExpenseBenefit,2025-12-31,4,USD,3245000
|
| 73 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,DepreciationAndAmortization,2023-12-31,4,USD,11519000
|
| 74 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,DepreciationAndAmortization,2024-12-31,4,USD,11524000
|
| 75 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,DepreciationAndAmortization,2025-12-31,4,USD,10938000
|
| 76 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,EarningsPerShareBasic,2023-12-31,4,USD,0.46
|
| 77 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,EarningsPerShareBasic,2024-12-31,4,USD,0.62
|
| 78 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,EarningsPerShareBasic,2025-12-31,4,USD,0.62
|
| 79 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,EarningsPerShareDiluted,2023-12-31,4,USD,0.45
|
| 80 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,EarningsPerShareDiluted,2024-12-31,4,USD,0.62
|
| 81 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,EarningsPerShareDiluted,2025-12-31,4,USD,0.61
|
| 82 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,GainLossOnSaleOfPropertyPlantEquipment,2023-12-31,4,USD,0
|
| 83 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,GainLossOnSaleOfPropertyPlantEquipment,2024-12-31,4,USD,0
|
| 84 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,GainLossOnSaleOfPropertyPlantEquipment,2025-12-31,4,USD,-4000
|
| 85 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest,2023-12-31,4,USD,22674000
|
| 86 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest,2024-12-31,4,USD,24100000
|
| 87 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest,2025-12-31,4,USD,35782000
|
| 88 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,IncomeTaxesPaid,2023-12-31,4,USD,737000
|
| 89 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,IncomeTaxesPaid,2024-12-31,4,USD,1218000
|
| 90 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,IncomeTaxesPaid,2025-12-31,4,USD,1524000
|
| 91 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,IncreaseDecreaseInAccountsPayable,2023-12-31,4,USD,449000
|
| 92 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,IncreaseDecreaseInAccountsPayable,2024-12-31,4,USD,-1380000
|
| 93 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,IncreaseDecreaseInAccountsPayable,2025-12-31,4,USD,-453000
|
| 94 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,IncreaseDecreaseInAccountsReceivable,2023-12-31,4,USD,8368000
|
| 95 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,IncreaseDecreaseInAccountsReceivable,2024-12-31,4,USD,-16345000
|
| 96 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,IncreaseDecreaseInAccountsReceivable,2025-12-31,4,USD,21281000
|
| 97 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities,2023-12-31,4,USD,-7583000
|
| 98 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities,2024-12-31,4,USD,-15823000
|
| 99 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities,2025-12-31,4,USD,13154000
|
| 100 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,IncreaseDecreaseInInventories,2023-12-31,4,USD,2554000
|
| 101 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,IncreaseDecreaseInInventories,2024-12-31,4,USD,1644000
|
| 102 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,IncreaseDecreaseInInventories,2025-12-31,4,USD,-3209000
|
| 103 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,IncreaseDecreaseInOtherCurrentAssets,2023-12-31,4,USD,-1517000
|
| 104 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,IncreaseDecreaseInOtherCurrentAssets,2024-12-31,4,USD,-821000
|
| 105 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,IncreaseDecreaseInOtherCurrentAssets,2025-12-31,4,USD,165000
|
| 106 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,IncreaseDecreaseInPrepaidExpensesOther,2023-12-31,4,USD,-820000
|
| 107 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,IncreaseDecreaseInPrepaidExpensesOther,2024-12-31,4,USD,-1000000
|
| 108 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,IncreaseDecreaseInPrepaidExpensesOther,2025-12-31,4,USD,325000
|
| 109 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,IntangibleAssetsNetIncludingGoodwill,2024-12-31,0,USD,51131000
|
| 110 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,IntangibleAssetsNetIncludingGoodwill,2025-12-31,0,USD,41392000
|
| 111 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,InterestExpenseNonoperating,2023-12-31,4,USD,13330000
|
| 112 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,InterestExpenseNonoperating,2024-12-31,4,USD,12452000
|
| 113 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,InterestExpenseNonoperating,2025-12-31,4,USD,6622000
|
| 114 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,InterestPaidNet,2023-12-31,4,USD,11628000
|
| 115 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,InterestPaidNet,2024-12-31,4,USD,10769000
|
| 116 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,InterestPaidNet,2025-12-31,4,USD,5818000
|
| 117 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,InventoryNet,2024-12-31,0,USD,8724000
|
| 118 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,InventoryNet,2025-12-31,0,USD,5515000
|
| 119 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,InvestmentIncomeInterest,2023-12-31,4,USD,2605000
|
| 120 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,InvestmentIncomeInterest,2024-12-31,4,USD,4724000
|
| 121 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,InvestmentIncomeInterest,2025-12-31,4,USD,4078000
|
| 122 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,Liabilities,2024-12-31,0,USD,121208000
|
| 123 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,Liabilities,2025-12-31,0,USD,85962000
|
| 124 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,LiabilitiesAndStockholdersEquity,2024-12-31,0,USD,213333000
|
| 125 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,LiabilitiesAndStockholdersEquity,2025-12-31,0,USD,216302000
|
| 126 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,LiabilitiesCurrent,2024-12-31,0,USD,96111000
|
| 127 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,LiabilitiesCurrent,2025-12-31,0,USD,81253000
|
| 128 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,LongTermDebtCurrent,2024-12-31,0,USD,45329000
|
| 129 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,LongTermDebtCurrent,2025-12-31,0,USD,22523000
|
| 130 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,LongTermDebtNoncurrent,2024-12-31,0,USD,21719000
|
| 131 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,LongTermDebtNoncurrent,2025-12-31,0,USD,0
|
| 132 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,MarketableSecuritiesCurrent,2024-12-31,0,USD,31746000
|
| 133 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,MarketableSecuritiesCurrent,2025-12-31,0,USD,67893000
|
| 134 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,NetCashProvidedByUsedInFinancingActivities,2023-12-31,4,USD,0
|
| 135 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,NetCashProvidedByUsedInFinancingActivities,2024-12-31,4,USD,-33846000
|
| 136 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,NetCashProvidedByUsedInFinancingActivities,2025-12-31,4,USD,-45198000
|
| 137 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,NetCashProvidedByUsedInInvestingActivities,2023-12-31,4,USD,-19125000
|
| 138 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,NetCashProvidedByUsedInInvestingActivities,2024-12-31,4,USD,-20438000
|
| 139 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,NetCashProvidedByUsedInInvestingActivities,2025-12-31,4,USD,-36188000
|
| 140 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,NetCashProvidedByUsedInOperatingActivities,2023-12-31,4,USD,27009000
|
| 141 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,NetCashProvidedByUsedInOperatingActivities,2024-12-31,4,USD,38918000
|
| 142 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,NetCashProvidedByUsedInOperatingActivities,2025-12-31,4,USD,41802000
|
| 143 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,NetIncomeLoss,2023-12-31,4,USD,21591000
|
| 144 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,NetIncomeLoss,2024-12-31,4,USD,30278000
|
| 145 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,NetIncomeLoss,2025-12-31,4,USD,31111000
|
| 146 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,NonoperatingIncomeExpense,2023-12-31,4,USD,-9966000
|
| 147 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,NonoperatingIncomeExpense,2024-12-31,4,USD,-6866000
|
| 148 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,NonoperatingIncomeExpense,2025-12-31,4,USD,-1517000
|
| 149 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,OperatingIncomeLoss,2023-12-31,4,USD,32640000
|
| 150 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,OperatingIncomeLoss,2024-12-31,4,USD,30966000
|
| 151 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,OperatingIncomeLoss,2025-12-31,4,USD,37299000
|
| 152 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,OperatingLeaseLiabilityCurrent,2024-12-31,0,USD,5540000
|
| 153 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,OperatingLeaseLiabilityCurrent,2025-12-31,0,USD,1314000
|
| 154 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,OperatingLeaseLiabilityNoncurrent,2024-12-31,0,USD,1494000
|
| 155 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,OperatingLeaseLiabilityNoncurrent,2025-12-31,0,USD,4709000
|
| 156 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,OperatingLeaseRightOfUseAsset,2024-12-31,0,USD,4579000
|
| 157 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,OperatingLeaseRightOfUseAsset,2025-12-31,0,USD,5373000
|
| 158 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,OtherAssetsCurrent,2024-12-31,0,USD,91000
|
| 159 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,OtherAssetsCurrent,2025-12-31,0,USD,256000
|
| 160 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax,2023-12-31,4,USD,-4000
|
| 161 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax,2024-12-31,4,USD,10000
|
| 162 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax,2025-12-31,4,USD,30000
|
| 163 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,OtherLiabilitiesCurrent,2024-12-31,0,USD,0
|
| 164 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,OtherLiabilitiesCurrent,2025-12-31,0,USD,142000
|
| 165 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,OtherLiabilitiesNoncurrent,2024-12-31,0,USD,121000
|
| 166 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,OtherLiabilitiesNoncurrent,2025-12-31,0,USD,0
|
| 167 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,OtherNonoperatingIncomeExpense,2023-12-31,4,USD,759000
|
| 168 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,OtherNonoperatingIncomeExpense,2024-12-31,4,USD,862000
|
| 169 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,OtherNonoperatingIncomeExpense,2025-12-31,4,USD,1027000
|
| 170 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,PaymentsOfDebtExtinguishmentCosts,2023-12-31,4,USD,0
|
| 171 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,PaymentsOfDebtExtinguishmentCosts,2024-12-31,4,USD,666000
|
| 172 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,PaymentsOfDebtExtinguishmentCosts,2025-12-31,4,USD,888000
|
| 173 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,PaymentsToAcquireAvailableForSaleSecuritiesDebt,2023-12-31,4,USD,23813000
|
| 174 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,PaymentsToAcquireAvailableForSaleSecuritiesDebt,2024-12-31,4,USD,76230000
|
| 175 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,PaymentsToAcquireAvailableForSaleSecuritiesDebt,2025-12-31,4,USD,108141000
|
| 176 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,PaymentsToAcquireIntangibleAssets,2023-12-31,4,USD,12500000
|
| 177 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,PaymentsToAcquireIntangibleAssets,2024-12-31,4,USD,0
|
| 178 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,PaymentsToAcquireIntangibleAssets,2025-12-31,4,USD,0
|
| 179 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,PaymentsToAcquirePropertyPlantAndEquipment,2023-12-31,4,USD,140000
|
| 180 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,PaymentsToAcquirePropertyPlantAndEquipment,2024-12-31,4,USD,56000
|
| 181 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,PaymentsToAcquirePropertyPlantAndEquipment,2025-12-31,4,USD,71000
|
| 182 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,PrepaidExpenseAndOtherAssetsNoncurrent,2024-12-31,0,USD,284000
|
| 183 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,PrepaidExpenseAndOtherAssetsNoncurrent,2025-12-31,0,USD,2834000
|
| 184 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,PrepaidExpenseCurrent,2024-12-31,0,USD,5867000
|
| 185 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,PrepaidExpenseCurrent,2025-12-31,0,USD,3642000
|
| 186 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities,2023-12-31,4,USD,17328000
|
| 187 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities,2024-12-31,4,USD,55848000
|
| 188 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities,2025-12-31,4,USD,72024000
|
| 189 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,ProceedsFromStockPlans,2023-12-31,4,USD,0
|
| 190 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,ProceedsFromStockPlans,2024-12-31,4,USD,150000
|
| 191 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,ProceedsFromStockPlans,2025-12-31,4,USD,130000
|
| 192 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,PropertyPlantAndEquipmentNet,2024-12-31,0,USD,515000
|
| 193 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,PropertyPlantAndEquipmentNet,2025-12-31,0,USD,187000
|
| 194 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,ProvisionForDoubtfulAccounts,2023-12-31,4,USD,881000
|
| 195 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,ProvisionForDoubtfulAccounts,2024-12-31,4,USD,-519000
|
| 196 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,ProvisionForDoubtfulAccounts,2025-12-31,4,USD,-362000
|
| 197 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,RepaymentsOfDebt,2023-12-31,4,USD,0
|
| 198 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,RepaymentsOfDebt,2024-12-31,4,USD,33330000
|
| 199 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,RepaymentsOfDebt,2025-12-31,4,USD,44440000
|
| 200 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,ResearchAndDevelopmentExpenseExcludingAcquiredInProcessCost,2023-12-31,4,USD,50382000
|
| 201 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,ResearchAndDevelopmentExpenseExcludingAcquiredInProcessCost,2024-12-31,4,USD,54935000
|
| 202 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,ResearchAndDevelopmentExpenseExcludingAcquiredInProcessCost,2025-12-31,4,USD,62068000
|
| 203 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,RestrictedCashCurrent,2024-12-31,0,USD,0
|
| 204 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,RestrictedCashCurrent,2025-12-31,0,USD,2091000
|
| 205 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,RestrictedCashNoncurrent,2024-12-31,0,USD,2091000
|
| 206 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,RestrictedCashNoncurrent,2025-12-31,0,USD,0
|
| 207 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,RetainedEarningsAccumulatedDeficit,2024-12-31,0,USD,-1314886000
|
| 208 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,RetainedEarningsAccumulatedDeficit,2025-12-31,0,USD,-1283775000
|
| 209 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,RevenueFromContractWithCustomerExcludingAssessedTax,2023-12-31,4,USD,235637000
|
| 210 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,RevenueFromContractWithCustomerExcludingAssessedTax,2024-12-31,4,USD,230468000
|
| 211 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,RevenueFromContractWithCustomerExcludingAssessedTax,2025-12-31,4,USD,228371000
|
| 212 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,SellingGeneralAndAdministrativeExpense,2023-12-31,4,USD,89933000
|
| 213 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,SellingGeneralAndAdministrativeExpense,2024-12-31,4,USD,80163000
|
| 214 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,SellingGeneralAndAdministrativeExpense,2025-12-31,4,USD,70847000
|
| 215 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,ShareBasedCompensation,2023-12-31,4,USD,10247000
|
| 216 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,ShareBasedCompensation,2024-12-31,4,USD,8245000
|
| 217 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,ShareBasedCompensation,2025-12-31,4,USD,6944000
|
| 218 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,StockIssuedDuringPeriodValueEmployeeStockPurchasePlan,2023-12-31,4,USD,0
|
| 219 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,StockIssuedDuringPeriodValueEmployeeStockPurchasePlan,2024-12-31,4,USD,150000
|
| 220 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,StockIssuedDuringPeriodValueEmployeeStockPurchasePlan,2025-12-31,4,USD,130000
|
| 221 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,StockholdersEquity,2022-12-31,0,USD,21608000
|
| 222 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,StockholdersEquity,2023-12-31,0,USD,53442000
|
| 223 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,StockholdersEquity,2024-12-31,0,USD,92125000
|
| 224 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,StockholdersEquity,2025-12-31,0,USD,130340000
|
| 225 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,WeightedAverageNumberOfDilutedSharesOutstanding,2023-12-31,4,shares,47550852
|
| 226 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,WeightedAverageNumberOfDilutedSharesOutstanding,2024-12-31,4,shares,49100433
|
| 227 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,WeightedAverageNumberOfDilutedSharesOutstanding,2025-12-31,4,shares,50653283
|
| 228 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,WeightedAverageNumberOfSharesOutstandingBasic,2023-12-31,4,shares,47134331
|
| 229 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,WeightedAverageNumberOfSharesOutstandingBasic,2024-12-31,4,shares,48648701
|
| 230 |
+
"PUMA BIOTECHNOLOGY, INC.",1401667,us-gaap,WeightedAverageNumberOfSharesOutstandingBasic,2025-12-31,4,shares,50011485
|
tasks/ib-three-statement-pbyi/environment/inputs/model.xlsx
ADDED
|
Binary file (6.82 kB). View file
|
|
|
tasks/ib-three-statement-pbyi/environment/inputs/source.txt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
facts.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.
|
| 2 |
+
|
| 3 |
+
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.
|
tasks/ib-three-statement-pbyi/instruction.md
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
You 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).
|
| 2 |
+
|
| 3 |
+
Submit two files:
|
| 4 |
+
|
| 5 |
+
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.
|
| 6 |
+
|
| 7 |
+
2. memo.docx with these paragraphs (amounts in $ thousands):
|
| 8 |
+
- "Revenue growth percent: <number>"
|
| 9 |
+
- "EBITDA margin percent: <number>"
|
| 10 |
+
- "Free cash flow: <number>" (FY2025)
|
| 11 |
+
- "Free cash flow margin percent: <number>"
|
| 12 |
+
- "Net working capital change: <number>"
|
| 13 |
+
|
| 14 |
+
Conventions:
|
| 15 |
+
- 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.
|
| 16 |
+
- 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.
|
| 17 |
+
- Keep full precision. Decimals are graded within 1% of the exact value; whole numbers and labels exactly.
|
| 18 |
+
- 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.
|
| 19 |
+
- 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.
|
| 20 |
+
|
| 21 |
+
## Deliverable
|
| 22 |
+
|
| 23 |
+
Work in `/workspace`. Input files are under `/workspace/inputs/`. Put every deliverable in
|
| 24 |
+
`/workspace/outputs/`; only that directory is graded. Submit model.xlsx and memo.docx.
|
tasks/ib-three-statement-pbyi/solution/computation.json
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"accession": "0001437749-26-005891",
|
| 3 |
+
"company": "PUMA BIOTECHNOLOGY, INC.",
|
| 4 |
+
"instants": [
|
| 5 |
+
"2024-12-31",
|
| 6 |
+
"2025-12-31"
|
| 7 |
+
],
|
| 8 |
+
"paragraphs": [
|
| 9 |
+
"Revenue growth percent: -0.909888",
|
| 10 |
+
"EBITDA margin percent: 21.1222",
|
| 11 |
+
"Free cash flow: 41,731",
|
| 12 |
+
"Free cash flow margin percent: 18.2733",
|
| 13 |
+
"Net working capital change: 29,886"
|
| 14 |
+
],
|
| 15 |
+
"tags": {
|
| 16 |
+
"cost": "CostOfGoodsAndServicesSold",
|
| 17 |
+
"da": "DepreciationAndAmortization",
|
| 18 |
+
"revenue": "RevenueFromContractWithCustomerExcludingAssessedTax"
|
| 19 |
+
},
|
| 20 |
+
"years": [
|
| 21 |
+
"2023-12-31",
|
| 22 |
+
"2024-12-31",
|
| 23 |
+
"2025-12-31"
|
| 24 |
+
]
|
| 25 |
+
}
|
tasks/ib-three-statement-pbyi/solution/files/memo.docx
ADDED
|
Binary file (36.8 kB). View file
|
|
|
tasks/ib-three-statement-pbyi/solution/files/model.xlsx
ADDED
|
Binary file (7.23 kB). View file
|
|
|
tasks/ib-three-statement-pbyi/solution/solve.sh
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/bin/sh
|
| 2 |
+
set -eu
|
| 3 |
+
mkdir -p /workspace/outputs
|
| 4 |
+
cp -R /solution/files/. /workspace/outputs/
|
tasks/ib-three-statement-pbyi/task.toml
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
schema_version = "1.3"
|
| 2 |
+
|
| 3 |
+
[task]
|
| 4 |
+
name = "apex-gap/ib-three-statement-pbyi"
|
| 5 |
+
|
| 6 |
+
[metadata.apex_gap]
|
| 7 |
+
capability_tags = ["xlsx-io", "docx-io", "csv-io", "financial-math", "spreadsheet-formulas", "data-reconciliation"]
|
| 8 |
+
case_family = "ib-three-statement"
|
| 9 |
+
group_key = "ib-xbrl:1401667"
|
| 10 |
+
job = "investment-banking"
|
| 11 |
+
source = "SEC-FSDS/figurewell-sec-xbrl-financials"
|
| 12 |
+
source_accessions = ["0001437749-26-005891"]
|
| 13 |
+
source_ciks = ["1401667"]
|
| 14 |
+
source_license = "SEC filings (public records) via the CC0 Hub compilation; original task adaptation"
|
| 15 |
+
source_revision = "d74dfdb8fdf4a326b64d8d0813163850f5d5a32a"
|
| 16 |
+
source_split = "10-K filings accepted 2025-10-01 to 2026-09-30, fiscal year 2025"
|
| 17 |
+
source_task_id = "ib-three-statement-pbyi"
|
| 18 |
+
source_tickers = ["PBYI"]
|
| 19 |
+
|
| 20 |
+
[metadata.apex_gap.repair]
|
| 21 |
+
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}]}}}"
|
| 22 |
+
|
| 23 |
+
[metadata.openenv_hf_sandbox]
|
| 24 |
+
variant = "apex-gap-hfsandbox-v1"
|
| 25 |
+
task_modified_for_hf_sandbox = true
|
| 26 |
+
network_enabled = true
|
| 27 |
+
|
| 28 |
+
[environment]
|
| 29 |
+
docker_image = "ghcr.io/younesbelkada/apex@sha256:24969c952247033023872f87161a16e067003469506be63783bbaa5d96926bdf"
|
| 30 |
+
workdir = "/workspace"
|
| 31 |
+
cpus = 1
|
| 32 |
+
memory_mb = 4096
|
| 33 |
+
build_timeout_sec = 600
|
| 34 |
+
network_mode = "public"
|
| 35 |
+
|
| 36 |
+
[agent]
|
| 37 |
+
timeout_sec = 1800
|
| 38 |
+
network_mode = "public"
|
| 39 |
+
|
| 40 |
+
[verifier]
|
| 41 |
+
timeout_sec = 600
|
| 42 |
+
network_mode = "public"
|
| 43 |
+
environment_mode = "separate"
|
| 44 |
+
|
| 45 |
+
[verifier.environment]
|
| 46 |
+
network_mode = "public"
|
| 47 |
+
cpus = 1
|
| 48 |
+
memory_mb = 4096
|
| 49 |
+
|
| 50 |
+
[[artifacts]]
|
| 51 |
+
source = "/workspace/outputs"
|
tasks/ib-three-statement-pbyi/tests/consulting_markets_memo.py
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Check a memo's labelled paragraphs ("Label: value") against the expected fields.
|
| 2 |
+
|
| 3 |
+
spec: {"file": "memo.docx", "fields": [{"label": ..., "kind": "choice", "accept": [...]},
|
| 4 |
+
{"label": ..., "kind": "number", "value": x, "rel_tol": 0.01}]}
|
| 5 |
+
|
| 6 |
+
Labels match case-insensitively and must each appear exactly once; other paragraphs are ignored.
|
| 7 |
+
A choice matches one accepted value after case and whitespace folding. A number is one numeral
|
| 8 |
+
(thousands commas, a leading "$" or a trailing "%" allowed) within rel_tol of the gold; rel_tol 0
|
| 9 |
+
means the whole number exactly.
|
| 10 |
+
"""
|
| 11 |
+
|
| 12 |
+
import math
|
| 13 |
+
import re
|
| 14 |
+
|
| 15 |
+
from docx import Document
|
| 16 |
+
|
| 17 |
+
NUMERAL = re.compile(r"[+-]?(?:(?:\d{1,3}(?:,\d{3})+|\d+)(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?")
|
| 18 |
+
|
| 19 |
+
|
| 20 |
+
def fold(text):
|
| 21 |
+
return " ".join(str(text).replace("\u2019", "'").replace("\u2013", "-").replace("\u2014", "-").split()).casefold()
|
| 22 |
+
|
| 23 |
+
|
| 24 |
+
def number(raw):
|
| 25 |
+
s = raw.strip().replace("\u2212", "-").rstrip(".")
|
| 26 |
+
sign = ""
|
| 27 |
+
for _ in range(2): # "-$1,200" and "$-1,200" alike
|
| 28 |
+
if s[:1] in ("+", "-") and not sign:
|
| 29 |
+
sign, s = s[0], s[1:].lstrip()
|
| 30 |
+
if s[:1] == "$":
|
| 31 |
+
s = s[1:].lstrip()
|
| 32 |
+
s = s.removesuffix("%").strip()
|
| 33 |
+
if not NUMERAL.fullmatch(s) or s[:1] in ("+", "-"):
|
| 34 |
+
return None
|
| 35 |
+
return float(sign + s.replace(",", ""))
|
| 36 |
+
|
| 37 |
+
|
| 38 |
+
def check(spec, outputs_dir, tests_dir):
|
| 39 |
+
path = outputs_dir / spec["file"]
|
| 40 |
+
if not path.is_file():
|
| 41 |
+
return False, f"missing {spec['file']}"
|
| 42 |
+
wanted = {fold(f["label"]): f for f in spec["fields"]}
|
| 43 |
+
found = {}
|
| 44 |
+
for paragraph in Document(path).paragraphs:
|
| 45 |
+
label, sep, value = paragraph.text.partition(":")
|
| 46 |
+
key = fold(label)
|
| 47 |
+
if sep and key in wanted:
|
| 48 |
+
if key in found:
|
| 49 |
+
return False, f"label {wanted[key]['label']!r} appears more than once"
|
| 50 |
+
found[key] = value.strip()
|
| 51 |
+
for key, field in wanted.items():
|
| 52 |
+
if key not in found:
|
| 53 |
+
return False, f"missing paragraph {field['label']!r}"
|
| 54 |
+
value = found[key]
|
| 55 |
+
if field["kind"] == "choice":
|
| 56 |
+
if fold(value).strip(" .") not in {fold(a).strip(" .") for a in field["accept"]}:
|
| 57 |
+
return False, f"{field['label']}: got {value!r}"
|
| 58 |
+
else:
|
| 59 |
+
got = number(value)
|
| 60 |
+
if got is None:
|
| 61 |
+
return False, f"{field['label']}: {value!r} is not a single number"
|
| 62 |
+
if not math.isclose(got, field["value"], rel_tol=field.get("rel_tol", 0.01), abs_tol=0):
|
| 63 |
+
return False, f"{field['label']}: got {value!r}"
|
| 64 |
+
return True, ""
|
tasks/ib-three-statement-pbyi/tests/expected.json
ADDED
|
@@ -0,0 +1,382 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"checks": [
|
| 3 |
+
{
|
| 4 |
+
"id": "income-statement-B3",
|
| 5 |
+
"type": "xlsx_cell",
|
| 6 |
+
"file": "model.xlsx",
|
| 7 |
+
"sheet": "Income statement",
|
| 8 |
+
"cell": "B3",
|
| 9 |
+
"value": 235637.0,
|
| 10 |
+
"rel_tol": 0,
|
| 11 |
+
"abs_tol": 1e-06
|
| 12 |
+
},
|
| 13 |
+
{
|
| 14 |
+
"id": "income-statement-C3",
|
| 15 |
+
"type": "xlsx_cell",
|
| 16 |
+
"file": "model.xlsx",
|
| 17 |
+
"sheet": "Income statement",
|
| 18 |
+
"cell": "C3",
|
| 19 |
+
"value": 230468.0,
|
| 20 |
+
"rel_tol": 0,
|
| 21 |
+
"abs_tol": 1e-06
|
| 22 |
+
},
|
| 23 |
+
{
|
| 24 |
+
"id": "income-statement-D3",
|
| 25 |
+
"type": "xlsx_cell",
|
| 26 |
+
"file": "model.xlsx",
|
| 27 |
+
"sheet": "Income statement",
|
| 28 |
+
"cell": "D3",
|
| 29 |
+
"value": 228371.0,
|
| 30 |
+
"rel_tol": 0,
|
| 31 |
+
"abs_tol": 1e-06
|
| 32 |
+
},
|
| 33 |
+
{
|
| 34 |
+
"id": "income-statement-B5",
|
| 35 |
+
"type": "xlsx_cell",
|
| 36 |
+
"file": "model.xlsx",
|
| 37 |
+
"sheet": "Income statement",
|
| 38 |
+
"cell": "B5",
|
| 39 |
+
"value": 172955.0,
|
| 40 |
+
"rel_tol": 0,
|
| 41 |
+
"abs_tol": 1e-06
|
| 42 |
+
},
|
| 43 |
+
{
|
| 44 |
+
"id": "income-statement-C5",
|
| 45 |
+
"type": "xlsx_cell",
|
| 46 |
+
"file": "model.xlsx",
|
| 47 |
+
"sheet": "Income statement",
|
| 48 |
+
"cell": "C5",
|
| 49 |
+
"value": 166064.0,
|
| 50 |
+
"rel_tol": 0,
|
| 51 |
+
"abs_tol": 1e-06
|
| 52 |
+
},
|
| 53 |
+
{
|
| 54 |
+
"id": "income-statement-D5",
|
| 55 |
+
"type": "xlsx_cell",
|
| 56 |
+
"file": "model.xlsx",
|
| 57 |
+
"sheet": "Income statement",
|
| 58 |
+
"cell": "D5",
|
| 59 |
+
"value": 170214.0,
|
| 60 |
+
"rel_tol": 0,
|
| 61 |
+
"abs_tol": 1e-06
|
| 62 |
+
},
|
| 63 |
+
{
|
| 64 |
+
"id": "income-statement-B6",
|
| 65 |
+
"type": "xlsx_cell",
|
| 66 |
+
"file": "model.xlsx",
|
| 67 |
+
"sheet": "Income statement",
|
| 68 |
+
"cell": "B6",
|
| 69 |
+
"value": 32640.0,
|
| 70 |
+
"rel_tol": 0,
|
| 71 |
+
"abs_tol": 1e-06
|
| 72 |
+
},
|
| 73 |
+
{
|
| 74 |
+
"id": "income-statement-C6",
|
| 75 |
+
"type": "xlsx_cell",
|
| 76 |
+
"file": "model.xlsx",
|
| 77 |
+
"sheet": "Income statement",
|
| 78 |
+
"cell": "C6",
|
| 79 |
+
"value": 30966.0,
|
| 80 |
+
"rel_tol": 0,
|
| 81 |
+
"abs_tol": 1e-06
|
| 82 |
+
},
|
| 83 |
+
{
|
| 84 |
+
"id": "income-statement-D6",
|
| 85 |
+
"type": "xlsx_cell",
|
| 86 |
+
"file": "model.xlsx",
|
| 87 |
+
"sheet": "Income statement",
|
| 88 |
+
"cell": "D6",
|
| 89 |
+
"value": 37299.0,
|
| 90 |
+
"rel_tol": 0,
|
| 91 |
+
"abs_tol": 1e-06
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"id": "income-statement-B8",
|
| 95 |
+
"type": "xlsx_cell",
|
| 96 |
+
"file": "model.xlsx",
|
| 97 |
+
"sheet": "Income statement",
|
| 98 |
+
"cell": "B8",
|
| 99 |
+
"value": 44159.0,
|
| 100 |
+
"rel_tol": 0,
|
| 101 |
+
"abs_tol": 1e-06
|
| 102 |
+
},
|
| 103 |
+
{
|
| 104 |
+
"id": "income-statement-C8",
|
| 105 |
+
"type": "xlsx_cell",
|
| 106 |
+
"file": "model.xlsx",
|
| 107 |
+
"sheet": "Income statement",
|
| 108 |
+
"cell": "C8",
|
| 109 |
+
"value": 42490.0,
|
| 110 |
+
"rel_tol": 0,
|
| 111 |
+
"abs_tol": 1e-06
|
| 112 |
+
},
|
| 113 |
+
{
|
| 114 |
+
"id": "income-statement-D8",
|
| 115 |
+
"type": "xlsx_cell",
|
| 116 |
+
"file": "model.xlsx",
|
| 117 |
+
"sheet": "Income statement",
|
| 118 |
+
"cell": "D8",
|
| 119 |
+
"value": 48237.0,
|
| 120 |
+
"rel_tol": 0,
|
| 121 |
+
"abs_tol": 1e-06
|
| 122 |
+
},
|
| 123 |
+
{
|
| 124 |
+
"id": "income-statement-B9",
|
| 125 |
+
"type": "xlsx_cell",
|
| 126 |
+
"file": "model.xlsx",
|
| 127 |
+
"sheet": "Income statement",
|
| 128 |
+
"cell": "B9",
|
| 129 |
+
"value": 21591.0,
|
| 130 |
+
"rel_tol": 0,
|
| 131 |
+
"abs_tol": 1e-06
|
| 132 |
+
},
|
| 133 |
+
{
|
| 134 |
+
"id": "income-statement-C9",
|
| 135 |
+
"type": "xlsx_cell",
|
| 136 |
+
"file": "model.xlsx",
|
| 137 |
+
"sheet": "Income statement",
|
| 138 |
+
"cell": "C9",
|
| 139 |
+
"value": 30278.0,
|
| 140 |
+
"rel_tol": 0,
|
| 141 |
+
"abs_tol": 1e-06
|
| 142 |
+
},
|
| 143 |
+
{
|
| 144 |
+
"id": "income-statement-D9",
|
| 145 |
+
"type": "xlsx_cell",
|
| 146 |
+
"file": "model.xlsx",
|
| 147 |
+
"sheet": "Income statement",
|
| 148 |
+
"cell": "D9",
|
| 149 |
+
"value": 31111.0,
|
| 150 |
+
"rel_tol": 0,
|
| 151 |
+
"abs_tol": 1e-06
|
| 152 |
+
},
|
| 153 |
+
{
|
| 154 |
+
"id": "income-statement-B10",
|
| 155 |
+
"type": "xlsx_cell",
|
| 156 |
+
"file": "model.xlsx",
|
| 157 |
+
"sheet": "Income statement",
|
| 158 |
+
"cell": "B10",
|
| 159 |
+
"value": 0.45,
|
| 160 |
+
"rel_tol": 0.01,
|
| 161 |
+
"abs_tol": 0
|
| 162 |
+
},
|
| 163 |
+
{
|
| 164 |
+
"id": "income-statement-C10",
|
| 165 |
+
"type": "xlsx_cell",
|
| 166 |
+
"file": "model.xlsx",
|
| 167 |
+
"sheet": "Income statement",
|
| 168 |
+
"cell": "C10",
|
| 169 |
+
"value": 0.62,
|
| 170 |
+
"rel_tol": 0.01,
|
| 171 |
+
"abs_tol": 0
|
| 172 |
+
},
|
| 173 |
+
{
|
| 174 |
+
"id": "income-statement-D10",
|
| 175 |
+
"type": "xlsx_cell",
|
| 176 |
+
"file": "model.xlsx",
|
| 177 |
+
"sheet": "Income statement",
|
| 178 |
+
"cell": "D10",
|
| 179 |
+
"value": 0.61,
|
| 180 |
+
"rel_tol": 0.01,
|
| 181 |
+
"abs_tol": 0
|
| 182 |
+
},
|
| 183 |
+
{
|
| 184 |
+
"id": "balance-sheet-B5",
|
| 185 |
+
"type": "xlsx_cell",
|
| 186 |
+
"file": "model.xlsx",
|
| 187 |
+
"sheet": "Balance sheet",
|
| 188 |
+
"cell": "B5",
|
| 189 |
+
"value": 213333.0,
|
| 190 |
+
"rel_tol": 0,
|
| 191 |
+
"abs_tol": 1e-06
|
| 192 |
+
},
|
| 193 |
+
{
|
| 194 |
+
"id": "balance-sheet-C5",
|
| 195 |
+
"type": "xlsx_cell",
|
| 196 |
+
"file": "model.xlsx",
|
| 197 |
+
"sheet": "Balance sheet",
|
| 198 |
+
"cell": "C5",
|
| 199 |
+
"value": 216302.0,
|
| 200 |
+
"rel_tol": 0,
|
| 201 |
+
"abs_tol": 1e-06
|
| 202 |
+
},
|
| 203 |
+
{
|
| 204 |
+
"id": "balance-sheet-B7",
|
| 205 |
+
"type": "xlsx_cell",
|
| 206 |
+
"file": "model.xlsx",
|
| 207 |
+
"sheet": "Balance sheet",
|
| 208 |
+
"cell": "B7",
|
| 209 |
+
"value": 121208.0,
|
| 210 |
+
"rel_tol": 0,
|
| 211 |
+
"abs_tol": 1e-06
|
| 212 |
+
},
|
| 213 |
+
{
|
| 214 |
+
"id": "balance-sheet-C7",
|
| 215 |
+
"type": "xlsx_cell",
|
| 216 |
+
"file": "model.xlsx",
|
| 217 |
+
"sheet": "Balance sheet",
|
| 218 |
+
"cell": "C7",
|
| 219 |
+
"value": 85962.0,
|
| 220 |
+
"rel_tol": 0,
|
| 221 |
+
"abs_tol": 1e-06
|
| 222 |
+
},
|
| 223 |
+
{
|
| 224 |
+
"id": "balance-sheet-B8",
|
| 225 |
+
"type": "xlsx_cell",
|
| 226 |
+
"file": "model.xlsx",
|
| 227 |
+
"sheet": "Balance sheet",
|
| 228 |
+
"cell": "B8",
|
| 229 |
+
"value": 92125.0,
|
| 230 |
+
"rel_tol": 0,
|
| 231 |
+
"abs_tol": 1e-06
|
| 232 |
+
},
|
| 233 |
+
{
|
| 234 |
+
"id": "balance-sheet-C8",
|
| 235 |
+
"type": "xlsx_cell",
|
| 236 |
+
"file": "model.xlsx",
|
| 237 |
+
"sheet": "Balance sheet",
|
| 238 |
+
"cell": "C8",
|
| 239 |
+
"value": 130340.0,
|
| 240 |
+
"rel_tol": 0,
|
| 241 |
+
"abs_tol": 1e-06
|
| 242 |
+
},
|
| 243 |
+
{
|
| 244 |
+
"id": "balance-sheet-B9",
|
| 245 |
+
"type": "xlsx_cell",
|
| 246 |
+
"file": "model.xlsx",
|
| 247 |
+
"sheet": "Balance sheet",
|
| 248 |
+
"cell": "B9",
|
| 249 |
+
"value": 51547.0,
|
| 250 |
+
"rel_tol": 0,
|
| 251 |
+
"abs_tol": 1e-06
|
| 252 |
+
},
|
| 253 |
+
{
|
| 254 |
+
"id": "balance-sheet-C9",
|
| 255 |
+
"type": "xlsx_cell",
|
| 256 |
+
"file": "model.xlsx",
|
| 257 |
+
"sheet": "Balance sheet",
|
| 258 |
+
"cell": "C9",
|
| 259 |
+
"value": 81433.0,
|
| 260 |
+
"rel_tol": 0,
|
| 261 |
+
"abs_tol": 1e-06
|
| 262 |
+
},
|
| 263 |
+
{
|
| 264 |
+
"id": "cash-flow-B3",
|
| 265 |
+
"type": "xlsx_cell",
|
| 266 |
+
"file": "model.xlsx",
|
| 267 |
+
"sheet": "Cash flow",
|
| 268 |
+
"cell": "B3",
|
| 269 |
+
"value": 27009.0,
|
| 270 |
+
"rel_tol": 0,
|
| 271 |
+
"abs_tol": 1e-06
|
| 272 |
+
},
|
| 273 |
+
{
|
| 274 |
+
"id": "cash-flow-C3",
|
| 275 |
+
"type": "xlsx_cell",
|
| 276 |
+
"file": "model.xlsx",
|
| 277 |
+
"sheet": "Cash flow",
|
| 278 |
+
"cell": "C3",
|
| 279 |
+
"value": 38918.0,
|
| 280 |
+
"rel_tol": 0,
|
| 281 |
+
"abs_tol": 1e-06
|
| 282 |
+
},
|
| 283 |
+
{
|
| 284 |
+
"id": "cash-flow-D3",
|
| 285 |
+
"type": "xlsx_cell",
|
| 286 |
+
"file": "model.xlsx",
|
| 287 |
+
"sheet": "Cash flow",
|
| 288 |
+
"cell": "D3",
|
| 289 |
+
"value": 41802.0,
|
| 290 |
+
"rel_tol": 0,
|
| 291 |
+
"abs_tol": 1e-06
|
| 292 |
+
},
|
| 293 |
+
{
|
| 294 |
+
"id": "cash-flow-B5",
|
| 295 |
+
"type": "xlsx_cell",
|
| 296 |
+
"file": "model.xlsx",
|
| 297 |
+
"sheet": "Cash flow",
|
| 298 |
+
"cell": "B5",
|
| 299 |
+
"value": 26869.0,
|
| 300 |
+
"rel_tol": 0,
|
| 301 |
+
"abs_tol": 1e-06
|
| 302 |
+
},
|
| 303 |
+
{
|
| 304 |
+
"id": "cash-flow-C5",
|
| 305 |
+
"type": "xlsx_cell",
|
| 306 |
+
"file": "model.xlsx",
|
| 307 |
+
"sheet": "Cash flow",
|
| 308 |
+
"cell": "C5",
|
| 309 |
+
"value": 38862.0,
|
| 310 |
+
"rel_tol": 0,
|
| 311 |
+
"abs_tol": 1e-06
|
| 312 |
+
},
|
| 313 |
+
{
|
| 314 |
+
"id": "cash-flow-D5",
|
| 315 |
+
"type": "xlsx_cell",
|
| 316 |
+
"file": "model.xlsx",
|
| 317 |
+
"sheet": "Cash flow",
|
| 318 |
+
"cell": "D5",
|
| 319 |
+
"value": 41731.0,
|
| 320 |
+
"rel_tol": 0,
|
| 321 |
+
"abs_tol": 1e-06
|
| 322 |
+
},
|
| 323 |
+
{
|
| 324 |
+
"id": "memo",
|
| 325 |
+
"type": "custom",
|
| 326 |
+
"module": "consulting_markets_memo",
|
| 327 |
+
"file": "memo.docx",
|
| 328 |
+
"fields": [
|
| 329 |
+
{
|
| 330 |
+
"kind": "number",
|
| 331 |
+
"label": "Revenue growth percent",
|
| 332 |
+
"rel_tol": 0.01,
|
| 333 |
+
"value": -0.9098877067532207
|
| 334 |
+
},
|
| 335 |
+
{
|
| 336 |
+
"kind": "number",
|
| 337 |
+
"label": "EBITDA margin percent",
|
| 338 |
+
"rel_tol": 0.01,
|
| 339 |
+
"value": 21.122209037049362
|
| 340 |
+
},
|
| 341 |
+
{
|
| 342 |
+
"kind": "number",
|
| 343 |
+
"label": "Free cash flow",
|
| 344 |
+
"rel_tol": 1e-09,
|
| 345 |
+
"value": 41731.0
|
| 346 |
+
},
|
| 347 |
+
{
|
| 348 |
+
"kind": "number",
|
| 349 |
+
"label": "Free cash flow margin percent",
|
| 350 |
+
"rel_tol": 0.01,
|
| 351 |
+
"value": 18.273335931444887
|
| 352 |
+
},
|
| 353 |
+
{
|
| 354 |
+
"kind": "number",
|
| 355 |
+
"label": "Net working capital change",
|
| 356 |
+
"rel_tol": 1e-09,
|
| 357 |
+
"value": 29886.0
|
| 358 |
+
}
|
| 359 |
+
]
|
| 360 |
+
},
|
| 361 |
+
{
|
| 362 |
+
"id": "balance-sheet-B3",
|
| 363 |
+
"type": "xlsx_cell",
|
| 364 |
+
"file": "model.xlsx",
|
| 365 |
+
"sheet": "Balance sheet",
|
| 366 |
+
"cell": "B3",
|
| 367 |
+
"rel_tol": 0,
|
| 368 |
+
"abs_tol": 1e-06,
|
| 369 |
+
"value": 69219.0
|
| 370 |
+
},
|
| 371 |
+
{
|
| 372 |
+
"id": "balance-sheet-C3",
|
| 373 |
+
"type": "xlsx_cell",
|
| 374 |
+
"file": "model.xlsx",
|
| 375 |
+
"sheet": "Balance sheet",
|
| 376 |
+
"cell": "C3",
|
| 377 |
+
"rel_tol": 0,
|
| 378 |
+
"abs_tol": 1e-06,
|
| 379 |
+
"value": 29635.0
|
| 380 |
+
}
|
| 381 |
+
]
|
| 382 |
+
}
|
tasks/ib-three-statement-pbyi/tests/grade.py
ADDED
|
@@ -0,0 +1,330 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Deterministic grader shared by converted knowledge-work tasks.
|
| 2 |
+
|
| 3 |
+
Runs inside the separate verifier sandbox. Reads /tests/expected.json, inspects the
|
| 4 |
+
submitted /workspace/outputs tree and writes a binary reward plus per-check details.
|
| 5 |
+
No model calls and no network.
|
| 6 |
+
|
| 7 |
+
expected.json: {"checks": [{"id": ..., "type": ..., ...}, ...]}
|
| 8 |
+
Check types:
|
| 9 |
+
answer field of outputs/answer.json; kind = number|text|choice|date|bool|list
|
| 10 |
+
xlsx_range recalculated outputs/<file> vs tests/<target> over sheet!range (SpreadsheetBench rules)
|
| 11 |
+
xlsx_cell recalculated outputs/<file> sheet!cell vs value with tolerance (optional alt_values)
|
| 12 |
+
file_contains outputs/<file> text (docx/pdf/ics/eml/txt) must contain every needle
|
| 13 |
+
custom tests/<module>.py defines check(spec, outputs_dir, tests_dir) -> (bool, str)
|
| 14 |
+
"""
|
| 15 |
+
|
| 16 |
+
import datetime as dt
|
| 17 |
+
import json
|
| 18 |
+
import re
|
| 19 |
+
import shutil
|
| 20 |
+
import subprocess
|
| 21 |
+
import sys
|
| 22 |
+
import tempfile
|
| 23 |
+
import unicodedata
|
| 24 |
+
from pathlib import Path
|
| 25 |
+
|
| 26 |
+
OUT = Path("/workspace/outputs")
|
| 27 |
+
TESTS = Path("/tests")
|
| 28 |
+
LOGS = Path("/logs/verifier")
|
| 29 |
+
|
| 30 |
+
|
| 31 |
+
def norm_text(v):
|
| 32 |
+
v = unicodedata.normalize("NFKC", str(v)).casefold()
|
| 33 |
+
v = re.sub(r"[‘’“”]", "'", v)
|
| 34 |
+
v = re.sub(r"[^\w%.$/-]+", " ", v)
|
| 35 |
+
return " ".join(v.split()).strip(" .")
|
| 36 |
+
|
| 37 |
+
|
| 38 |
+
def to_number(v):
|
| 39 |
+
if isinstance(v, bool):
|
| 40 |
+
raise ValueError("bool")
|
| 41 |
+
if isinstance(v, (int, float)):
|
| 42 |
+
return float(v)
|
| 43 |
+
s = str(v).strip().replace(",", "").replace("$", "").replace("−", "-")
|
| 44 |
+
neg = s.startswith("(") and s.endswith(")")
|
| 45 |
+
s = s.strip("()").strip()
|
| 46 |
+
pct = s.endswith("%")
|
| 47 |
+
s = s.rstrip("%").strip()
|
| 48 |
+
s = re.sub(r"\s*(usd|dollars|million|billion|thousand|m|bn|k)$", "", s, flags=re.I)
|
| 49 |
+
x = float(s)
|
| 50 |
+
x = -x if neg else x
|
| 51 |
+
return x / 100 if pct else x
|
| 52 |
+
|
| 53 |
+
|
| 54 |
+
def number_ok(got, want, rel, abs_):
|
| 55 |
+
try:
|
| 56 |
+
g = to_number(got)
|
| 57 |
+
except (TypeError, ValueError):
|
| 58 |
+
return False
|
| 59 |
+
w = float(want)
|
| 60 |
+
tol = max(abs_, rel * abs(w))
|
| 61 |
+
# "12.5%" may mean the ratio 0.125 or the percent number 12.5; the gold fixes which.
|
| 62 |
+
candidates = [g, g * 100] if isinstance(got, str) and got.strip().endswith("%") else [g]
|
| 63 |
+
return any(abs(c - w) <= tol for c in candidates)
|
| 64 |
+
|
| 65 |
+
|
| 66 |
+
def parse_date(v):
|
| 67 |
+
if isinstance(v, (dt.date, dt.datetime)):
|
| 68 |
+
return v if isinstance(v, dt.date) else v.date()
|
| 69 |
+
s = str(v).strip()
|
| 70 |
+
for fmt in ("%Y-%m-%d", "%m/%d/%Y", "%m/%d/%y", "%d %B %Y", "%B %d, %Y", "%b %d, %Y", "%Y/%m/%d"):
|
| 71 |
+
try:
|
| 72 |
+
return dt.datetime.strptime(s, fmt).date()
|
| 73 |
+
except ValueError:
|
| 74 |
+
continue
|
| 75 |
+
raise ValueError(s)
|
| 76 |
+
|
| 77 |
+
|
| 78 |
+
def check_answer(check, answers):
|
| 79 |
+
key = check["field"]
|
| 80 |
+
if key not in answers:
|
| 81 |
+
return False, f"missing field {key!r}"
|
| 82 |
+
got, want, kind = answers[key], check["value"], check.get("kind", "text")
|
| 83 |
+
if kind == "number":
|
| 84 |
+
ok = number_ok(got, want, check.get("rel_tol", 0.005), check.get("abs_tol", 0.01))
|
| 85 |
+
if not ok and check.get("percent_either"):
|
| 86 |
+
ok = number_ok(got, want * 100, check.get("rel_tol", 0.005), check.get("abs_tol", 0.01) * 100) or (
|
| 87 |
+
number_ok(got, want / 100, check.get("rel_tol", 0.005), check.get("abs_tol", 0.01) / 100)
|
| 88 |
+
)
|
| 89 |
+
elif kind == "date":
|
| 90 |
+
try:
|
| 91 |
+
ok = parse_date(got) == parse_date(want)
|
| 92 |
+
except ValueError:
|
| 93 |
+
ok = False
|
| 94 |
+
elif kind == "bool":
|
| 95 |
+
g = norm_text(got)
|
| 96 |
+
ok = g in {"yes", "true"} if want else g in {"no", "false"}
|
| 97 |
+
elif kind == "choice":
|
| 98 |
+
ok = norm_text(got) == norm_text(want)
|
| 99 |
+
elif kind == "list":
|
| 100 |
+
if not isinstance(got, list):
|
| 101 |
+
return False, f"{key}: expected a JSON list"
|
| 102 |
+
# Filenames may be given with a directory prefix; compare base names.
|
| 103 |
+
base = lambda x: norm_text(str(x).replace("\\", "/").rsplit("/", 1)[-1])
|
| 104 |
+
ok = sorted(base(x) for x in got) == sorted(base(x) for x in want)
|
| 105 |
+
else:
|
| 106 |
+
accepted = check.get("accept", [want])
|
| 107 |
+
ok = norm_text(got) in {norm_text(a) for a in accepted}
|
| 108 |
+
return ok, "" if ok else f"{key}: got {got!r}"
|
| 109 |
+
|
| 110 |
+
|
| 111 |
+
# LibreOffice keeps cached formula values on load unless told otherwise; force a full recalculation.
|
| 112 |
+
RECALC_PROFILE = """<?xml version="1.0" encoding="UTF-8"?>
|
| 113 |
+
<oor:items xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
| 114 |
+
<item oor:path="/org.openoffice.Office.Calc/Formula/Load"><prop oor:name="OOXMLRecalcMode" oor:op="fuse"><value>0</value></prop></item>
|
| 115 |
+
<item oor:path="/org.openoffice.Office.Calc/Formula/Load"><prop oor:name="ODFRecalcMode" oor:op="fuse"><value>0</value></prop></item>
|
| 116 |
+
</oor:items>
|
| 117 |
+
"""
|
| 118 |
+
|
| 119 |
+
|
| 120 |
+
def recalc(path, tmp):
|
| 121 |
+
dest = Path(tmp) / f"recalc-{len(list(Path(tmp).glob('recalc-*')))}"
|
| 122 |
+
dest.mkdir()
|
| 123 |
+
profile = Path(tmp) / "lo-profile"
|
| 124 |
+
if not profile.exists():
|
| 125 |
+
(profile / "user").mkdir(parents=True)
|
| 126 |
+
(profile / "user" / "registrymodifications.xcu").write_text(RECALC_PROFILE)
|
| 127 |
+
subprocess.run(
|
| 128 |
+
["soffice", f"-env:UserInstallation=file://{profile}", "--headless", "--calc", "--convert-to",
|
| 129 |
+
"xlsx:Calc MS Excel 2007 XML", "--outdir", str(dest), str(path)],
|
| 130 |
+
stdout=subprocess.DEVNULL,
|
| 131 |
+
stderr=subprocess.DEVNULL,
|
| 132 |
+
timeout=180,
|
| 133 |
+
check=False,
|
| 134 |
+
)
|
| 135 |
+
out = dest / (Path(path).stem + ".xlsx")
|
| 136 |
+
return out if out.exists() else Path(path)
|
| 137 |
+
|
| 138 |
+
|
| 139 |
+
def cell_value(v):
|
| 140 |
+
if isinstance(v, (int, float)) and not isinstance(v, bool):
|
| 141 |
+
return round(float(v), 2)
|
| 142 |
+
if isinstance(v, dt.datetime):
|
| 143 |
+
return round((v - dt.datetime(1899, 12, 30)).total_seconds() / 86400.0, 0)
|
| 144 |
+
if isinstance(v, dt.time):
|
| 145 |
+
return v.strftime("%H:%M")
|
| 146 |
+
if isinstance(v, str):
|
| 147 |
+
try:
|
| 148 |
+
return round(float(v), 2)
|
| 149 |
+
except ValueError:
|
| 150 |
+
return v.strip()
|
| 151 |
+
return v
|
| 152 |
+
|
| 153 |
+
|
| 154 |
+
def time_of(v):
|
| 155 |
+
"""A time or a day fraction in [0, 1) as HH:MM, rounded to the nearest second first. Calc and
|
| 156 |
+
Excel store a time as that fraction; openpyxl returns a time only for time-formatted cells."""
|
| 157 |
+
if isinstance(v, dt.time):
|
| 158 |
+
v = (v.hour * 3600 + v.minute * 60 + v.second + v.microsecond / 1e6) / 86400
|
| 159 |
+
if isinstance(v, (int, float)) and not isinstance(v, bool) and 0 <= v < 1:
|
| 160 |
+
return (dt.datetime(1899, 12, 30) + dt.timedelta(seconds=round(v * 86400))).strftime("%H:%M")
|
| 161 |
+
return None
|
| 162 |
+
|
| 163 |
+
|
| 164 |
+
def same_cell(a, b):
|
| 165 |
+
if isinstance(a, dt.time) is not isinstance(b, dt.time):
|
| 166 |
+
n = b if isinstance(a, dt.time) else a
|
| 167 |
+
if time_of(n) is not None: # a time against a plain day fraction
|
| 168 |
+
return time_of(a) == time_of(b)
|
| 169 |
+
a, b = cell_value(a), cell_value(b)
|
| 170 |
+
if a in (None, "") and b in (None, ""):
|
| 171 |
+
return True
|
| 172 |
+
return type(a) is type(b) and a == b
|
| 173 |
+
|
| 174 |
+
|
| 175 |
+
ERRORS = {"#NULL!", "#DIV/0!", "#VALUE!", "#REF!", "#NAME?", "#NUM!", "#N/A"}
|
| 176 |
+
|
| 177 |
+
|
| 178 |
+
def is_error(v):
|
| 179 |
+
return isinstance(v, str) and (v in ERRORS or v.startswith("Err:"))
|
| 180 |
+
|
| 181 |
+
|
| 182 |
+
def cells(rng):
|
| 183 |
+
if ":" not in rng:
|
| 184 |
+
return [rng]
|
| 185 |
+
from openpyxl.utils import range_boundaries, get_column_letter
|
| 186 |
+
|
| 187 |
+
c1, r1, c2, r2 = range_boundaries(rng)
|
| 188 |
+
return [f"{get_column_letter(c)}{r}" for r in range(r1, r2 + 1) for c in range(c1, c2 + 1)]
|
| 189 |
+
|
| 190 |
+
|
| 191 |
+
def load(path, tmp):
|
| 192 |
+
import openpyxl
|
| 193 |
+
|
| 194 |
+
return openpyxl.load_workbook(recalc(path, tmp), data_only=True)
|
| 195 |
+
|
| 196 |
+
|
| 197 |
+
def check_xlsx_range(check, tmp, cache):
|
| 198 |
+
sub = OUT / check["file"]
|
| 199 |
+
if not sub.is_file():
|
| 200 |
+
return False, f"missing output {check['file']}"
|
| 201 |
+
if sub not in cache:
|
| 202 |
+
cache[sub] = load(sub, tmp)
|
| 203 |
+
tgt = TESTS / check["target"]
|
| 204 |
+
if tgt not in cache:
|
| 205 |
+
cache[tgt] = load(tgt, tmp)
|
| 206 |
+
got, want = cache[sub], cache[tgt]
|
| 207 |
+
cached = None # the target's stored (Excel-computed) values, read only when Calc errs
|
| 208 |
+
for sheet, rng in check["ranges"]:
|
| 209 |
+
sheet = sheet or want.sheetnames[0]
|
| 210 |
+
if sheet not in got.sheetnames:
|
| 211 |
+
return False, f"sheet {sheet!r} missing"
|
| 212 |
+
for name in cells(rng):
|
| 213 |
+
w = want[sheet][name].value
|
| 214 |
+
if is_error(w):
|
| 215 |
+
# LibreOffice could not evaluate the gold formula (e.g. XLOOKUP, FILTER in Calc 7.4).
|
| 216 |
+
# The value Excel stored is the intended answer.
|
| 217 |
+
if cached is None:
|
| 218 |
+
import openpyxl
|
| 219 |
+
|
| 220 |
+
cached = openpyxl.load_workbook(tgt, data_only=True)
|
| 221 |
+
c = cached[sheet][name].value if sheet in cached.sheetnames else None
|
| 222 |
+
if c is not None and not is_error(c):
|
| 223 |
+
w = c
|
| 224 |
+
if not same_cell(w, got[sheet][name].value):
|
| 225 |
+
return False, f"{sheet}!{name}: want {w!r} got {got[sheet][name].value!r}"
|
| 226 |
+
return True, ""
|
| 227 |
+
|
| 228 |
+
|
| 229 |
+
def check_xlsx_cell(check, tmp, cache):
|
| 230 |
+
sub = OUT / check["file"]
|
| 231 |
+
if not sub.is_file():
|
| 232 |
+
return False, f"missing output {check['file']}"
|
| 233 |
+
if sub not in cache:
|
| 234 |
+
cache[sub] = load(sub, tmp)
|
| 235 |
+
wb = cache[sub]
|
| 236 |
+
if check["sheet"] not in wb.sheetnames:
|
| 237 |
+
return False, f"sheet {check['sheet']!r} missing"
|
| 238 |
+
got = wb[check["sheet"]][check["cell"]].value
|
| 239 |
+
want = check["value"]
|
| 240 |
+
if isinstance(want, (int, float)):
|
| 241 |
+
# alt_values: other accepted golds where the source admits more than one reading.
|
| 242 |
+
ok = got is not None and any(number_ok(got, w, check.get("rel_tol", 0.0), check.get("abs_tol", 0.01))
|
| 243 |
+
for w in [want, *check.get("alt_values", [])])
|
| 244 |
+
else:
|
| 245 |
+
ok = norm_text(got) == norm_text(want)
|
| 246 |
+
return ok, "" if ok else f"{check['sheet']}!{check['cell']}: want {want!r} got {got!r}"
|
| 247 |
+
|
| 248 |
+
|
| 249 |
+
def text_of(path):
|
| 250 |
+
suffix = path.suffix.lower()
|
| 251 |
+
if suffix == ".docx":
|
| 252 |
+
import docx
|
| 253 |
+
|
| 254 |
+
d = docx.Document(path)
|
| 255 |
+
parts = [p.text for p in d.paragraphs]
|
| 256 |
+
for t in d.tables:
|
| 257 |
+
parts += [c.text for row in t.rows for c in row.cells]
|
| 258 |
+
return "\n".join(parts)
|
| 259 |
+
if suffix == ".pdf":
|
| 260 |
+
import pdfplumber
|
| 261 |
+
|
| 262 |
+
with pdfplumber.open(path) as pdf:
|
| 263 |
+
return "\n".join(page.extract_text() or "" for page in pdf.pages)
|
| 264 |
+
return path.read_text(errors="replace")
|
| 265 |
+
|
| 266 |
+
|
| 267 |
+
def check_file_contains(check, tmp, cache):
|
| 268 |
+
sub = OUT / check["file"]
|
| 269 |
+
if not sub.is_file():
|
| 270 |
+
return False, f"missing output {check['file']}"
|
| 271 |
+
text = text_of(sub)
|
| 272 |
+
hay = text if check.get("case_sensitive") else text.casefold()
|
| 273 |
+
for needle in check["needles"]:
|
| 274 |
+
n = needle if check.get("case_sensitive") else needle.casefold()
|
| 275 |
+
if n not in hay:
|
| 276 |
+
return False, f"{check['file']} lacks {needle!r}"
|
| 277 |
+
return True, ""
|
| 278 |
+
|
| 279 |
+
|
| 280 |
+
def main():
|
| 281 |
+
LOGS.mkdir(parents=True, exist_ok=True)
|
| 282 |
+
reward_path = LOGS / "reward.txt"
|
| 283 |
+
reward_path.write_text("0\n")
|
| 284 |
+
spec = json.loads((TESTS / "expected.json").read_text())
|
| 285 |
+
answers, details = {}, []
|
| 286 |
+
answer_file = OUT / "answer.json"
|
| 287 |
+
if answer_file.is_file():
|
| 288 |
+
try:
|
| 289 |
+
answers = json.loads(answer_file.read_text())
|
| 290 |
+
if not isinstance(answers, dict):
|
| 291 |
+
answers = {}
|
| 292 |
+
except json.JSONDecodeError:
|
| 293 |
+
answers = {}
|
| 294 |
+
tmp = tempfile.mkdtemp()
|
| 295 |
+
cache = {}
|
| 296 |
+
try:
|
| 297 |
+
for check in spec["checks"]:
|
| 298 |
+
try:
|
| 299 |
+
if check["type"] == "answer":
|
| 300 |
+
ok, why = check_answer(check, answers)
|
| 301 |
+
elif check["type"] == "xlsx_range":
|
| 302 |
+
ok, why = check_xlsx_range(check, tmp, cache)
|
| 303 |
+
elif check["type"] == "xlsx_cell":
|
| 304 |
+
ok, why = check_xlsx_cell(check, tmp, cache)
|
| 305 |
+
elif check["type"] == "file_contains":
|
| 306 |
+
ok, why = check_file_contains(check, tmp, cache)
|
| 307 |
+
elif check["type"] == "custom":
|
| 308 |
+
import importlib.util
|
| 309 |
+
|
| 310 |
+
spec_ = importlib.util.spec_from_file_location("custom_check", TESTS / f"{check['module']}.py")
|
| 311 |
+
mod = importlib.util.module_from_spec(spec_)
|
| 312 |
+
spec_.loader.exec_module(mod)
|
| 313 |
+
ok, why = mod.check(check, OUT, TESTS)
|
| 314 |
+
else:
|
| 315 |
+
ok, why = False, f"unknown check type {check['type']}"
|
| 316 |
+
except Exception as exc: # a malformed submission fails the check, not the grader
|
| 317 |
+
ok, why = False, f"{type(exc).__name__}: {exc}"
|
| 318 |
+
details.append({"id": check["id"], "passed": ok, "detail": why})
|
| 319 |
+
finally:
|
| 320 |
+
shutil.rmtree(tmp, ignore_errors=True)
|
| 321 |
+
passed = sum(d["passed"] for d in details)
|
| 322 |
+
total = len(details)
|
| 323 |
+
reward = 1 if total and passed == total else 0
|
| 324 |
+
(LOGS / "details.json").write_text(json.dumps({"passed": passed, "total": total, "checks": details}, indent=1))
|
| 325 |
+
reward_path.write_text(f"{reward}\n")
|
| 326 |
+
print(f"{passed}/{total} checks passed; reward {reward}")
|
| 327 |
+
|
| 328 |
+
|
| 329 |
+
if __name__ == "__main__":
|
| 330 |
+
sys.exit(main())
|
tasks/ib-three-statement-pbyi/tests/test.sh
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/bin/sh
|
| 2 |
+
set -eu
|
| 3 |
+
mkdir -p /logs/verifier /workspace/outputs
|
| 4 |
+
exec python3 -B -I /tests/grade.py
|
tasks/ib-three-statement-pbyi/validation/openenv.json
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"profile": "harbor-semantic-v1",
|
| 3 |
+
"reward_key": "reward",
|
| 4 |
+
"reward": {
|
| 5 |
+
"range": [
|
| 6 |
+
0,
|
| 7 |
+
1
|
| 8 |
+
],
|
| 9 |
+
"oracle_tolerance": 0,
|
| 10 |
+
"floor_margin": 0.1
|
| 11 |
+
},
|
| 12 |
+
"resources": {
|
| 13 |
+
"cpu": 1,
|
| 14 |
+
"memory_mb": 4096,
|
| 15 |
+
"disk_mb": 10240,
|
| 16 |
+
"episode_timeout_s": 1800
|
| 17 |
+
},
|
| 18 |
+
"types": {
|
| 19 |
+
"tags": [
|
| 20 |
+
"knowledge-work",
|
| 21 |
+
"xlsx-io",
|
| 22 |
+
"docx-io",
|
| 23 |
+
"csv-io",
|
| 24 |
+
"financial-math",
|
| 25 |
+
"spreadsheet-formulas",
|
| 26 |
+
"data-reconciliation"
|
| 27 |
+
]
|
| 28 |
+
},
|
| 29 |
+
"requires_credentials": false
|
| 30 |
+
}
|
tasks/ib-trading-comps-amcx/environment/inputs/brief.eml
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
From: Coverage banker <coverage@bank.example>
|
| 2 |
+
To: Consulting team <team@consultancy.example>
|
| 3 |
+
Date: Mon, 23 Nov 2026 12:00:00 +0000
|
| 4 |
+
Subject: AMCX trading comps
|
| 5 |
+
Content-Type: text/plain; charset="utf-8"
|
| 6 |
+
Content-Transfer-Encoding: quoted-printable
|
| 7 |
+
MIME-Version: 1.0
|
| 8 |
+
|
| 9 |
+
Team,
|
| 10 |
+
|
| 11 |
+
We need a quick trading comps page for AMC NETWORKS INC. (CIK 1514991, AMCX)
|
| 12 |
+
against five peers with the same SIC code (4841), from their FY2025 10-K
|
| 13 |
+
XBRL facts (facts.csv):
|
| 14 |
+
- CHARTER COMMUNICATIONS, INC. /MO/ (CIK 1091667, CHTR)
|
| 15 |
+
- WARNER BROS. DISCOVERY, INC. (CIK 1437107, WBD)
|
| 16 |
+
- ARENA GROUP HOLDINGS, INC. (CIK 894871, PAAI)
|
| 17 |
+
- OPTIMUM COMMUNICATIONS, INC. (CIK 1702780, OPTU)
|
| 18 |
+
- COMCAST CORP (CIK 1166691, CMCSA)
|
| 19 |
+
|
| 20 |
+
Rules:
|
| 21 |
+
1. Each company's FY2025 is the fiscal year of its 10-K in facts.csv and
|
| 22 |
+
FY2024 the year before it. Revenue is the first of
|
| 23 |
+
RevenueFromContractWithCustomerExcludingAssessedTax, Revenues with values
|
| 24 |
+
for both years; depreciation and amortization (D&A) is the first of
|
| 25 |
+
DepreciationDepletionAndAmortization, DepreciationAndAmortization,
|
| 26 |
+
DepreciationAmortizationAndAccretionNet with an FY2025 value. The
|
| 27 |
+
workbook's last column names each company's tags.
|
| 28 |
+
2. Revenue growth percent =3D (FY2025 revenue / FY2024 revenue - 1) x 100.
|
| 29 |
+
EBITDA =3D OperatingIncomeLoss + D&A (FY2025). EBITDA margin percent =3D
|
| 30 |
+
EBITDA / revenue x 100. Free cash flow margin percent =3D
|
| 31 |
+
(NetCashProvidedByUsedInOperatingActivities - PaymentsToAcquirePropertyPla=
|
| 32 |
+
ntAndEquipment)
|
| 33 |
+
/ revenue x 100, FY2025.
|
| 34 |
+
3. Peer median: the median of the five peers, excluding AMC NETWORKS INC.,
|
| 35 |
+
for revenue growth, EBITDA margin and free cash flow margin.
|
| 36 |
+
4. Valuation: our sector view is 8.0x, 9.5x and 11.0x FY2025 EBITDA (low,
|
| 37 |
+
mid, high). Implied EV =3D multiple x the target's FY2025 EBITDA. Implied
|
| 38 |
+
EV at peer median margin =3D 9.5x (the target's FY2025 revenue x the peer
|
| 39 |
+
median EBITDA margin / 100).
|
| 40 |
+
5. Target EBITDA margin rank: 1 for the highest EBITDA margin among the six
|
| 41 |
+
companies, 6 for the lowest. The fastest-growing company has the highest
|
| 42 |
+
revenue growth of the six.
|
| 43 |
+
|
| 44 |
+
Units: US$ thousands (the filed value divided by 1,000).
|
| 45 |
+
|
| 46 |
+
Thanks
|
tasks/ib-trading-comps-amcx/environment/inputs/comps.xlsx
ADDED
|
Binary file (5.46 kB). View file
|
|
|
tasks/ib-trading-comps-amcx/environment/inputs/facts.csv
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tasks/ib-trading-comps-amcx/environment/inputs/source.txt
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
facts.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.
|
| 2 |
+
|
| 3 |
+
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.
|
| 4 |
+
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.
|
| 5 |
+
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.
|
| 6 |
+
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.
|
| 7 |
+
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.
|
| 8 |
+
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.
|
tasks/ib-trading-comps-amcx/instruction.md
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
You 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).
|
| 2 |
+
|
| 3 |
+
Submit two files:
|
| 4 |
+
|
| 5 |
+
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.
|
| 6 |
+
|
| 7 |
+
2. memo.docx with these paragraphs (amounts in $ thousands):
|
| 8 |
+
- "Target EBITDA margin rank: <number>"
|
| 9 |
+
- "Peer median EBITDA margin percent: <number>"
|
| 10 |
+
- "Implied EV mid: <number>"
|
| 11 |
+
- "Implied EV at peer median margin: <number>"
|
| 12 |
+
- "Fastest-growing company: <company name as in facts.csv>"
|
| 13 |
+
|
| 14 |
+
Conventions:
|
| 15 |
+
- 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.
|
| 16 |
+
- 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.
|
| 17 |
+
- Keep full precision. Decimals are graded within 1% of the exact value; whole numbers and labels exactly.
|
| 18 |
+
- 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.
|
| 19 |
+
- 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.
|
| 20 |
+
|
| 21 |
+
## Deliverable
|
| 22 |
+
|
| 23 |
+
Work in `/workspace`. Input files are under `/workspace/inputs/`. Put every deliverable in
|
| 24 |
+
`/workspace/outputs/`; only that directory is graded. Submit comps.xlsx and memo.docx.
|
tasks/ib-trading-comps-amcx/solution/computation.json
ADDED
|
@@ -0,0 +1,119 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"accession": "0001514991-26-000011",
|
| 3 |
+
"company": "AMC NETWORKS INC.",
|
| 4 |
+
"ev": [
|
| 5 |
+
1821976.0,
|
| 6 |
+
2163596.5,
|
| 7 |
+
2505217.0
|
| 8 |
+
],
|
| 9 |
+
"ev_at_peer_margin": 6547782.442214264,
|
| 10 |
+
"metrics": {
|
| 11 |
+
"1091667": {
|
| 12 |
+
"ebitda": 21619000.0,
|
| 13 |
+
"fcf_margin": 8.065870668565378,
|
| 14 |
+
"growth": -0.5645820096214949,
|
| 15 |
+
"margin": 39.46945631138862,
|
| 16 |
+
"revenue": 54774000.0,
|
| 17 |
+
"tags": {
|
| 18 |
+
"da": "DepreciationAmortizationAndAccretionNet",
|
| 19 |
+
"revenue": "Revenues"
|
| 20 |
+
},
|
| 21 |
+
"years": [
|
| 22 |
+
"2024-12-31",
|
| 23 |
+
"2025-12-31"
|
| 24 |
+
]
|
| 25 |
+
},
|
| 26 |
+
"1166691": {
|
| 27 |
+
"ebitda": 36882000.0,
|
| 28 |
+
"fcf_margin": 17.697462552644556,
|
| 29 |
+
"growth": -0.019396917506531164,
|
| 30 |
+
"margin": 29.813995974358765,
|
| 31 |
+
"revenue": 123707000.0,
|
| 32 |
+
"tags": {
|
| 33 |
+
"da": "DepreciationDepletionAndAmortization",
|
| 34 |
+
"revenue": "RevenueFromContractWithCustomerExcludingAssessedTax"
|
| 35 |
+
},
|
| 36 |
+
"years": [
|
| 37 |
+
"2024-12-31",
|
| 38 |
+
"2025-12-31"
|
| 39 |
+
]
|
| 40 |
+
},
|
| 41 |
+
"1437107": {
|
| 42 |
+
"ebitda": 6422000.0,
|
| 43 |
+
"fcf_margin": 8.279708279708279,
|
| 44 |
+
"growth": -5.149919890135046,
|
| 45 |
+
"margin": 17.21900471900472,
|
| 46 |
+
"revenue": 37296000.0,
|
| 47 |
+
"tags": {
|
| 48 |
+
"da": "DepreciationDepletionAndAmortization",
|
| 49 |
+
"revenue": "RevenueFromContractWithCustomerExcludingAssessedTax"
|
| 50 |
+
},
|
| 51 |
+
"years": [
|
| 52 |
+
"2024-12-31",
|
| 53 |
+
"2025-12-31"
|
| 54 |
+
]
|
| 55 |
+
},
|
| 56 |
+
"1514991": {
|
| 57 |
+
"ebitda": 227747.0,
|
| 58 |
+
"fcf_margin": 11.78159365793163,
|
| 59 |
+
"growth": -4.5228747696498655,
|
| 60 |
+
"margin": 9.851496733499122,
|
| 61 |
+
"revenue": 2311801.0,
|
| 62 |
+
"tags": {
|
| 63 |
+
"da": "DepreciationDepletionAndAmortization",
|
| 64 |
+
"revenue": "RevenueFromContractWithCustomerExcludingAssessedTax"
|
| 65 |
+
},
|
| 66 |
+
"years": [
|
| 67 |
+
"2024-12-31",
|
| 68 |
+
"2025-12-31"
|
| 69 |
+
]
|
| 70 |
+
},
|
| 71 |
+
"1702780": {
|
| 72 |
+
"ebitda": 1584416.0,
|
| 73 |
+
"fcf_margin": -1.3833590187820988,
|
| 74 |
+
"growth": -4.064474549264341,
|
| 75 |
+
"margin": 18.44388669440206,
|
| 76 |
+
"revenue": 8590467.0,
|
| 77 |
+
"tags": {
|
| 78 |
+
"da": "DepreciationDepletionAndAmortization",
|
| 79 |
+
"revenue": "Revenues"
|
| 80 |
+
},
|
| 81 |
+
"years": [
|
| 82 |
+
"2024-12-31",
|
| 83 |
+
"2025-12-31"
|
| 84 |
+
]
|
| 85 |
+
},
|
| 86 |
+
"894871": {
|
| 87 |
+
"ebitda": 44260.0,
|
| 88 |
+
"fcf_margin": 29.108197110392496,
|
| 89 |
+
"growth": 7.0853884216127705,
|
| 90 |
+
"margin": 32.82700922657015,
|
| 91 |
+
"revenue": 134828.0,
|
| 92 |
+
"tags": {
|
| 93 |
+
"da": "DepreciationAndAmortization",
|
| 94 |
+
"revenue": "RevenueFromContractWithCustomerExcludingAssessedTax"
|
| 95 |
+
},
|
| 96 |
+
"years": [
|
| 97 |
+
"2024-12-31",
|
| 98 |
+
"2025-12-31"
|
| 99 |
+
]
|
| 100 |
+
}
|
| 101 |
+
},
|
| 102 |
+
"multiples": [
|
| 103 |
+
8.0,
|
| 104 |
+
9.5,
|
| 105 |
+
11.0
|
| 106 |
+
],
|
| 107 |
+
"paragraphs": [
|
| 108 |
+
"Target EBITDA margin rank: 6",
|
| 109 |
+
"Peer median EBITDA margin percent: 29.814",
|
| 110 |
+
"Implied EV mid: 2.1636e+06",
|
| 111 |
+
"Implied EV at peer median margin: 6.54778e+06",
|
| 112 |
+
"Fastest-growing company: ARENA GROUP HOLDINGS, INC."
|
| 113 |
+
],
|
| 114 |
+
"peer_median": [
|
| 115 |
+
-0.5645820096214949,
|
| 116 |
+
29.813995974358765,
|
| 117 |
+
8.279708279708279
|
| 118 |
+
]
|
| 119 |
+
}
|
tasks/ib-trading-comps-amcx/solution/files/comps.xlsx
ADDED
|
Binary file (5.93 kB). View file
|
|
|
tasks/ib-trading-comps-amcx/solution/files/memo.docx
ADDED
|
Binary file (36.8 kB). View file
|
|
|
tasks/ib-trading-comps-amcx/solution/solve.sh
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/bin/sh
|
| 2 |
+
set -eu
|
| 3 |
+
mkdir -p /workspace/outputs
|
| 4 |
+
cp -R /solution/files/. /workspace/outputs/
|
tasks/ib-trading-comps-amcx/task.toml
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
schema_version = "1.3"
|
| 2 |
+
|
| 3 |
+
[task]
|
| 4 |
+
name = "apex-gap/ib-trading-comps-amcx"
|
| 5 |
+
|
| 6 |
+
[metadata.apex_gap]
|
| 7 |
+
capability_tags = ["xlsx-io", "docx-io", "csv-io", "financial-math", "spreadsheet-formulas", "data-reconciliation"]
|
| 8 |
+
case_family = "ib-trading-comps"
|
| 9 |
+
group_key = "ib-xbrl:1514991"
|
| 10 |
+
job = "investment-banking"
|
| 11 |
+
source = "SEC-FSDS/figurewell-sec-xbrl-financials"
|
| 12 |
+
source_accessions = ["0001514991-26-000011", "0001091667-26-000017", "0001437107-26-000020", "0001628280-26-018153", "0001702780-26-000013", "0001628280-26-004994"]
|
| 13 |
+
source_ciks = ["1514991", "1091667", "1437107", "894871", "1702780", "1166691"]
|
| 14 |
+
source_license = "SEC filings (public records) via the CC0 Hub compilation; original task adaptation"
|
| 15 |
+
source_revision = "d74dfdb8fdf4a326b64d8d0813163850f5d5a32a"
|
| 16 |
+
source_split = "10-K filings accepted 2025-10-01 to 2026-09-30, fiscal year 2025"
|
| 17 |
+
source_task_id = "ib-trading-comps-amcx"
|
| 18 |
+
source_tickers = ["AMCX", "CHTR", "WBD", "PAAI", "OPTU", "CMCSA"]
|
| 19 |
+
|
| 20 |
+
[metadata.apex_gap.repair]
|
| 21 |
+
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}}}"
|
| 22 |
+
|
| 23 |
+
[metadata.openenv_hf_sandbox]
|
| 24 |
+
variant = "apex-gap-hfsandbox-v1"
|
| 25 |
+
task_modified_for_hf_sandbox = true
|
| 26 |
+
network_enabled = true
|
| 27 |
+
|
| 28 |
+
[environment]
|
| 29 |
+
docker_image = "ghcr.io/younesbelkada/apex@sha256:24969c952247033023872f87161a16e067003469506be63783bbaa5d96926bdf"
|
| 30 |
+
workdir = "/workspace"
|
| 31 |
+
cpus = 1
|
| 32 |
+
memory_mb = 4096
|
| 33 |
+
build_timeout_sec = 600
|
| 34 |
+
network_mode = "public"
|
| 35 |
+
|
| 36 |
+
[agent]
|
| 37 |
+
timeout_sec = 1800
|
| 38 |
+
network_mode = "public"
|
| 39 |
+
|
| 40 |
+
[verifier]
|
| 41 |
+
timeout_sec = 600
|
| 42 |
+
network_mode = "public"
|
| 43 |
+
environment_mode = "separate"
|
| 44 |
+
|
| 45 |
+
[verifier.environment]
|
| 46 |
+
network_mode = "public"
|
| 47 |
+
cpus = 1
|
| 48 |
+
memory_mb = 4096
|
| 49 |
+
|
| 50 |
+
[[artifacts]]
|
| 51 |
+
source = "/workspace/outputs"
|