# rule_not_testable

Rule can't be tested: HTTP 422.

HTTP 422 · Rule can't be tested

## Meaning
The rule can't be back-tested point in time: it reads a value known only after the bet moment (look_ahead, forward_function), reads Kelly's own probability or edge (edge_rule, D16), reads a stake (stake_rule), names a value with no known moment (unknown_moment), isn't one true or false per game (not_a_rule), or gives different values when the data is cut at the bet moment (leak_found, the leak test). `problems` lists each reason with its code, the attribute (`path`) and `fixes`.

## Fix
Apply one of the fixes: each is the rule rewritten (`formula`) or a request field to change (`set`), such as reading the game before with LAG or betting at the close.

## Retry
The same call fails again until something changes.

## Returned by
- [`POST /v1/rules:test`](/reference/history#test-rule)
- [`POST /v1/rules:compare_source`](/reference/history#compare-rule-to-source)
- [`POST /v1/rules:test_portfolio`](/reference/history#test-portfolio)
- [`POST /v1/rules:test_exchange`](/reference/history#test-exchange-strategy)
- [`POST /v1/rules:sweep`](/reference/history#sweep-rule)
- [`POST /v1/trends:audit`](/reference/history#audit-trend)
- [`POST /v1/rules:import/{import_id}:confirm`](/reference/history#confirm-rule-import)

---

Generated from registry/generated/problems.json

Support: support@askkelly.ai · Security and disclosure: https://docs.askkelly.ai/security

Data is the edge. Odds are information, not advice · 21+ · Get help
