Tutorials · Claude Agent SDK · examples / outputs / p8_eval_gate.txtExample code

Example code · outputs

p8_eval_gate.txt

Captured output of p8_eval_gate

Raw fileDownload all examples (zip)See the script →

=== variant A: no CLAUDE.md ===
   FAIL  Add a function clamp(x, lo, hi) that limits x to the range [
   FAIL  Add a function is_even(n) to src/utils.py.
=== variant B: CLAUDE.md with the type-hint rule ===
   PASS  Add a function clamp(x, lo, hi) that limits x to the range [
   PASS  Add a function is_even(n) to src/utils.py.

score without rule: 0%   score with rule: 100%   -> ship the rule

9 lines · Back to the folder