Checking your account

You can read the lesson while its saved answers and constructions load. Learning controls will open once that work is ready.

LLM Inference and Capacity

Keep ownership and queue overflow visible

Coding challenges

The display stopped but no release arrived

Botie’s earlier scheduler freed a reservation when a request finished. Now the technician closes an answer before the worker has stopped. Reusing that reservation immediately would promise the same memory twice.

BOTIE

A is cancellation-requested with no acknowledgment. Which repair belongs between the user event and the capacity counter?
The inputs we are comparing

Worker rows: id, state, blocks

Same in both cases

  1. id
    A
    state
    cancel_requested
    blocks
    3
  2. id
    B
    state
    running
    blocks
    2

Confirmed cancellation-release IDs

Cancellation requested, not released

[]

The worker confirms release

  1. 0A

Existing waiting FIFO IDs

Same in both cases

  1. 0Q1

New arrival IDs

Same in both cases

  1. 0Q2
  2. 1Q3

Maximum waiting requests

Same in both cases

2
Result for cancellation requested, not released
heldSlots
2
heldBlocks
5
queued
  1. 0Q1
  2. 1Q2
rejected
  1. 0Q3
Choose an explanation to test
One release arrives during a new burst

This check uses the pieces from “Add an acknowledgment boundary before freeing capacity”.

BOTIE

A is now acknowledged; B still owns four blocks. One request already waits and three arrive with a queue limit of three. Predict both ownership and queue outcomes.
Worker rows: id, state, blocks
  1. id
    A
    state
    cancel_requested
    blocks
    2
  2. id
    B
    state
    running
    blocks
    4
Confirmed cancellation-release IDs
  1. 0A
Existing waiting FIFO IDs
  1. 0Q1
New arrival IDs
  1. 0Q2
  2. 1Q3
  3. 2Q4
Maximum waiting requests
3

Use a number, text, or an array matching the requested result. A named result uses field names, such as {"count": 2}. For a matrix, put each row in brackets. Saving your prediction runs your current construction on these inputs and checks the earlier examples too.

Build a construction in the workspace above first. This case will test those pieces.

Which record would tell you whether an earlier booking tool had already committed?

Track resource release separately from external effect reconciliation.

A finite ownership model, not a cancellation protocol, live scheduler or reversal of agent side effects.

Continue the courseA Shadow Answer Must Not Book a Second Inspection →