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

Keep one pump’s transformed value stable across batches

Coding challenges

The first reading stays 2 while its neighbor becomes 100

The original batch let a wrong request-local mean imitate the stored training reference.

BOTIE

Should the first transformed reading change in this fitted row-wise contract?
The inputs we are comparing

Current request batch

The accidental passing batch

  1. 02
  2. 16

An unrelated extreme reading joins

  1. 02
  2. 1100

Stored training centre

Same in both cases

4

Independent expected first transformed value

Same in both cases

-2

Absolute numerical tolerance

Same in both cases

0
Result for the accidental passing batch
[
  [
    -2,
    2
  ],
  true
]
Choose an explanation to test
A different first reading shares the busy batch

This check uses the pieces from “Make the fitted-state promise observable”.

BOTIE

The new first reading is 6, followed by 100 and 2. The stored center remains 4, and the independent first-result expectation is 2. Predict both outputs.
Current request batch
  1. 06
  2. 1100
  3. 22
Stored training centre
4
Independent expected first transformed value
2
Absolute numerical tolerance
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.

Could a constant transformation pass one relationship check while still failing the expected-value fixture?

Use properties to discover counterexamples, then keep those incidents beside independent fixtures.

This relationship belongs to a deterministic transform that processes examples independently. A batch-dependent model needs a different promise, and a passing relationship test still needs independently calculated result checks.