Checking your account

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

Model and Tool API Contracts

Give each tool failure the recovery it permits

Coding challenges

The transport loses a write response

Repeating every failed call worked for a read, then risked creating a second job.

BOTIE

One changed outcome is outcome_unknown. Which next step protects the existing operation identity?
The inputs we are comparing

Application outcome codes

A repeatable read is temporarily refused

  1. 0ok
  2. 1rate_limited
  3. 2invalid_request

A tool may already have performed a write

  1. 0unavailable
  2. 1outcome_unknown
  3. 2rate_limited

Trusted safe-to-repeat flags

A repeatable read is temporarily refused

  1. 01
  2. 11
  3. 21

A tool may already have performed a write

  1. 00
  2. 10
  3. 21

Attempts remaining after this observation

Same in both cases

2
Result for a repeatable read is temporarily refused
  1. 0done
  2. 1retry
  3. 2stop
Choose an explanation to test
A new code arrives beside an uncertain outcome

This check uses the pieces from “Classify failure before deciding to repeat”.

BOTIE

The service adds an unrecognized code. Predict both actions with no remaining retry budget.
Application outcome codes
  1. 0future_error
  2. 1outcome_unknown
Trusted safe-to-repeat flags
  1. 01
  2. 11
Attempts remaining after this observation
0

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 service guarantee would make an uncertain create safely repeatable?

Record the operation identity and recovery outcome without inventing success.

These components recommend a next action only. A real service must supply the operation record and enforce any idempotency guarantee before the caller relies on it.

Continue the courseOne Correct Prediction Did Not Test the Interface →