compare_threshold
Compare two exact values as fractions with operators (=, !=, >, >=, <, <=) to get a clear pass/fail verdict and the exact shortfall when the threshold is not met.
Instructions
Exact threshold check with a verdict and the shortfall when it fails.
a OP b with op in ==, !=, >, >=, <, <= (= accepted for ==). Both sides
are evaluated exactly and printed as fractions — a threshold comparison
written out cannot be gotten backwards. Example: ('1/25', '>', '0.05').
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | Yes | ||
| b | Yes | ||
| op | Yes |