pycheck-neuron 1.0.5__tar.gz → 1.0.7__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (23) hide show
  1. {pycheck_neuron-1.0.5/pycheck_neuron.egg-info → pycheck_neuron-1.0.7}/PKG-INFO +5 -3
  2. {pycheck_neuron-1.0.5 → pycheck_neuron-1.0.7}/README.md +321 -319
  3. {pycheck_neuron-1.0.5 → pycheck_neuron-1.0.7}/pycheck/__init__.py +10 -10
  4. {pycheck_neuron-1.0.5 → pycheck_neuron-1.0.7}/pycheck/analyzer.py +1 -0
  5. pycheck_neuron-1.0.7/pycheck/audit.py +339 -0
  6. {pycheck_neuron-1.0.5 → pycheck_neuron-1.0.7}/pycheck/cli.py +227 -214
  7. {pycheck_neuron-1.0.5 → pycheck_neuron-1.0.7}/pycheck/flow.py +624 -581
  8. {pycheck_neuron-1.0.5 → pycheck_neuron-1.0.7}/pycheck/rules.py +1759 -1397
  9. {pycheck_neuron-1.0.5 → pycheck_neuron-1.0.7/pycheck_neuron.egg-info}/PKG-INFO +5 -3
  10. {pycheck_neuron-1.0.5 → pycheck_neuron-1.0.7}/pyproject.toml +66 -66
  11. {pycheck_neuron-1.0.5 → pycheck_neuron-1.0.7}/tests/test_rules.py +161 -1
  12. pycheck_neuron-1.0.5/pycheck/audit.py +0 -153
  13. {pycheck_neuron-1.0.5 → pycheck_neuron-1.0.7}/LICENSE +0 -0
  14. {pycheck_neuron-1.0.5 → pycheck_neuron-1.0.7}/pycheck/__main__.py +0 -0
  15. {pycheck_neuron-1.0.5 → pycheck_neuron-1.0.7}/pycheck/server.py +0 -0
  16. {pycheck_neuron-1.0.5 → pycheck_neuron-1.0.7}/pycheck_neuron.egg-info/SOURCES.txt +0 -0
  17. {pycheck_neuron-1.0.5 → pycheck_neuron-1.0.7}/pycheck_neuron.egg-info/dependency_links.txt +0 -0
  18. {pycheck_neuron-1.0.5 → pycheck_neuron-1.0.7}/pycheck_neuron.egg-info/entry_points.txt +0 -0
  19. {pycheck_neuron-1.0.5 → pycheck_neuron-1.0.7}/pycheck_neuron.egg-info/requires.txt +0 -0
  20. {pycheck_neuron-1.0.5 → pycheck_neuron-1.0.7}/pycheck_neuron.egg-info/top_level.txt +0 -0
  21. {pycheck_neuron-1.0.5 → pycheck_neuron-1.0.7}/setup.cfg +0 -0
  22. {pycheck_neuron-1.0.5 → pycheck_neuron-1.0.7}/tests/test_audit.py +0 -0
  23. {pycheck_neuron-1.0.5 → pycheck_neuron-1.0.7}/tests/test_cli.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pycheck-neuron
3
- Version: 1.0.5
3
+ Version: 1.0.7
4
4
  Summary: 34-rule static AST analyzer catching temporal lookahead bias, causal confusion, and uncertainty bugs in Python ML code. Zero dependencies.
5
5
  Author: NEURON Team
6
6
  Author-email: Fayo Ibrahim <fayo@neuron-lab.org>
@@ -240,8 +240,10 @@ Returns structured output for automated pipelines:
240
240
 
241
241
  ### Exit Codes
242
242
 
243
- - `0` — No errors found
244
- - `1` — One or more errors found
243
+ - `0` — Verified clean / no errors found
244
+ - `1` — Leakage or safety errors detected
245
+ - `2` — CLI usage syntax error
246
+ - `3` — Unverifiable (opaque dynamic code execution like `eval`/`exec` or unscanned local imports in `--audit` mode)
245
247
 
246
248
  Clean integration with `make`, `pre-commit`, GitHub Actions, and GitLab CI.
247
249