Checks / Agent output: number sanity
Agent output: number sanity
Agent output: number sanity compliance checks
Checks that numbers an AI produced are within sensible bounds and internally consistent.
64 controls, each a live check with a tamper-evident receipt. Run the whole framework at once from any AI assistant with sebbi_run_framework and framework=math_gate.
- Score within 0..100
- Probability within 0..1
- Confidence within 0..1
- Amount is non-negative
- Amount within sane ceiling (<=1e6)
- Anomaly within 0..1
- Device risk within 0..1
- Risk score within 0..100
- Latency recorded and <= 30ms
- Latency is non-negative
- Block index is a non-negative integer
- Block index is an integer
- Audit hash is 64 chars
- Audit hash is hex-64
- Merkle root is hex-64
- Input hash is hex-64
- Output hash is hex-64
- Timestamp present
- Timestamp not in the future
- Decision is a valid verdict
- Signal weights sum to 1.0
- Percentage within 0..100
- Count is a non-negative integer
- Retries within limit (<=5)
- Rate per minute within 1000
- Velocity within 100
- Amount has <= 2 decimal places
- Minor-unit amount is integer
- Subtotal + tax == total
- Balance is non-negative
- Threshold is numeric
- Temperature within 0..2
- Top-p within 0..1
- Max tokens is a positive integer
- Token count is non-negative
- Cost is non-negative
- Cost has <= 4 decimal places
- Sequence number is an integer
- Version string present
- Chain height is non-negative
- Score is numeric
- Priority within 1..5
- Severity within 0..10
- Weight within 0..1
- Ratio within 0..1
- Age in years is non-negative
- Quantity is a positive integer
- Discount within 0..100
- Tax rate within 0..1
- Exchange rate is positive
- Duration seconds is non-negative
- Attempts within 10
- Queue depth is non-negative
- Batch size is a positive integer
- Score deltas are monotonic
- Epoch is an integer
- Nonce present
- Checksum is hex-64
- Signature present
- Index within 0..4095
- Limit is a positive integer
- Offset is non-negative
- Confidence >= 0.5 to act
- Loss is non-negative