Model and Tool API Contracts
Keep one pump’s transformed value stable across batches
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
The inputs we are comparing
Current request batch
The accidental passing batch
- 02
- 16
An unrelated extreme reading joins
- 02
- 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
]A different first reading shares the busy batch
This check uses the pieces from “Make the fitted-state promise observable”.
BOTIE
- Current request batch
- 06
- 1100
- 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.