T09 · Insecure Skill Coding Practices
- Location
SKILL.md:342- Finding
Zero-valued range boundaries are silently disabled
- Content
View full analysis
- Remediation
View remediation
max_val`. 2. Verify that the target column is numeric before applying numeric bounds. 3. Define an explicit policy for null values rather than relying on incidental Pandas behavior. 4. Add regression tests for `min_val=0`, `max_val=0`, negative bounds, positive bounds, omitted bounds, and reversed bounds. 5. Test the documented `Volume_m3` and `Cost` rules with negative values to ensure they fail. ]]>
