002 budget exhaustion

✓ Passing This code compiles and runs correctly.

Code

input.kz

Actual

PASS: exhausted after 50 tokens, last event: expensive

Expected output

PASS: exhausted after 50 tokens, last event: expensive

Flows

flow ~register click a branch to expand · @labels scroll to their anchor
register (scope: "test", source: expensive(50) // costs 50 tokens per call)
flow ~run click a branch to expand · @labels scroll to their anchor
run (source: TEST_SOURCE, scope: "test", budget: 75)

Test Configuration

MUST_RUN