.agent.yml file.

Understanding Consistency Tests
Since Oxy is built for data analysis, consistency tests are optimized for numerical data and analytical insights. The evaluator intelligently handles common data analysis scenarios:What Gets Ignored (Not Considered Errors)
Numerical Rounding (< 0.1% difference):$1,081,396vs$1,081,395.67✅ Consistent$1,065,619vs$1,065,618.90✅ Consistent- Different database precision settings
- Rounding from visualization tools
"Revenue amounts to $1M"vs"Revenue amount to $1M"✅ Consistent- Different phrasing of the same insight
- Synonym usage in descriptions
- Date formats, number formatting, whitespace
What Actually Fails Tests
Material disagreements like:$500,000vs$450,000❌ (10% difference)"Sales increased"vs"Sales decreased"❌ (contradictory)- Different conclusions or incompatible recommendations
See the default logic: The built-in consistency evaluator uses a detailed prompt optimized for data analysis. You can view the full default prompt to understand exactly how it evaluates consistency.
Customizing Evaluation Logic
For specific use cases, you can customize how consistency is evaluated by providing a customprompt:
- Default prompt (recommended): General data analysis, handles rounding intelligently
- Strict custom prompt: Financial calculations, compliance reports requiring exact values
- Lenient custom prompt: Trend analysis, qualitative insights, high-level summaries
- Modified default: Start with the default prompt source and adapt it for your domain
Advanced Testing Options
CI/CD Integration
For automated testing in CI/CD pipelines, use the JSON output format:{"accuracy": 0.855} that can be parsed by your CI tools.