aethis_explain_failure
Diagnose why a ruleset returns an unexpected outcome for test inputs during rule authoring. Get criteria DSL metadata and a targeted fix hint when a test fails.
Instructions
Diagnose why a ruleset produced an unexpected outcome for specific test inputs. Use during rule authoring when a test fails — returns the diagnosis, criteria with DSL metadata (waivable, review_required), and a targeted hint for fixing the rule.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| test_name | No | Name of the failing test case (included in the diagnosis for context) | |
| ruleset_id | Yes | The ID of the rule ruleset to diagnose | |
| field_values | Yes | The test input values that produced the unexpected outcome | |
| expected_outcome | Yes | The outcome you expected from this input |