Commit 254fb88
committed
fix(shacl): 🐛 drop sub-threshold pyshacl violations at the source
Skip sh:ValidationResult nodes whose check severity is below the requested
`requirement_severity` while iterating pyshacl results, so they never become
Issues. This makes every consumer of `ValidationResult._issues` consistent
with the threshold (not just `failed_requirements`/`failed_checks`) and
avoids materializing non-actionable violations.1 parent bb514b3 commit 254fb88
1 file changed
Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
282 | 282 | | |
283 | 283 | | |
284 | 284 | | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
285 | 297 | | |
286 | 298 | | |
287 | 299 | | |
| |||
0 commit comments