100% Free & Open Source (MIT) • Free CI/CD Gatekeeper

PyCheck
Automated ML Safety & Gatekeeping

33 quantitative rules. Zero dependencies. Blocks the silent temporal lookahead leaks, causal confounding, and cross-fold data contamination that cost hedge funds millions in backtesting.

# 1. Install CLI from PyPI
$ pip install pycheck-neuron

# 2. Run local scan or generate Proof-of-Causality™ Audit Certificate
$ pycheck . --audit --output audit_certificate.json
Install Free CLI (v1.0.3) → Connect CI/CD Gatekeeper →
Automated CI/CD Governance

Pull Request Gatekeeping in Action

Junior quants and ML engineers often introduce lookahead bias without realizing it. Standard CI/CD (Ruff, Flake8, PyTest) cannot detect data leaks because the code runs without syntax errors. PyCheck blocks the PR before it ever merges into production.

Pull Request #142: feat: add momentum signal to intraday alpha
CHECKS FAILED • MERGE BLOCKED
20 # Compute forward 5-minute rolling signal
21- df['target'] = (df['close'] > df['close'].shift(1)).astype(int)
22+ df['target'] = (df['close'].shift(-5) > df['close']).astype(int)
🛡️ PyCheck Bot (ML Safety Gatekeeper) Just now
🚨 CRITICAL ERROR [T001]: .shift(-5) accesses data 5 bars INTO THE FUTURE.
This creates artificial lookahead bias: backtest will report 4.2 Sharpe, but production live execution will lose capital.

Required Action: Revert to causal backward lag .shift(5) or an event-driven point-in-time timestamp join.

💡 In the NEURON Programming Language, this error is impossible: temporal offset indices are enforced by the compiler type system (Temporal[Tensor, 0]).
23 return df
LP Allocator & ODD Compliance

"Proof-of-Causality"™ Audit Certificates

Institutional allocators and risk committees demand proof that high-performing quantitative strategies are not artifacts of data leakage or test set overfitting. PyCheck generates cryptographically sealed, tamper-evident audit certificates.

VERIFIED PASS • ZERO LEAKAGE

Proof-of-Causality™ Audit Certificate

Issued by PyCheck • SHA-256 Digital Fingerprint Verified

Certificate ID:
CERT-POC-49AC8F3AE07DAAC9
Target Commit SHA:
be94d834d2846350072d5...
Audit Status:
CERTIFIED_ZERO_LEAKAGE
Rules Checked:
33 Invariant Rules (100% Clean)
✓ Temporal Lookahead Invariant (T001–T018): PASSED — 0 negative indices, no future interpolation, 0 self-target leaks.
✓ Cross-Fold Lineage Invariant (F001–F002): PASSED — 0 cross-fold leakage via concatenation or aliasing.
✓ Causal Mode Isolation (C001–C007): PASSED — Zero correlation conflated with interventional treatment.
✓ Uncertainty Dispersion Bounds (U001–U006): PASSED — Out-of-sample uncertainty guards verified.
Digital Seal: 49ac8f3ae07daac9d9a39a7525890c6c356f7295bbc61965a6de4362a3e4225f
Zero Friction • Open Source

100% Free & Open Source. Built for Every Developer & Quant Desk.

No credit cards, no artificial seat limits, and no paywalls. PyCheck is open-source software built to eliminate data leakage across the entire ML ecosystem.

100% OPEN SOURCE

Community CLI

For individual quant researchers, data scientists, and students.

Free Forever (MIT)
  • Open-source CLI (pip install pycheck-neuron)
  • 33 Static AST rules for Python & Jupyter
  • VS Code real-time linting extension
  • Proof-of-Causality™ audit generator (--audit)
  • GitLab Code Quality JSON format (--gitlab)
  • Zero external runtime dependencies
Install Free CLI →
INSTITUTIONAL

Air-Gapped & Custom

For tier-1 funds, asset managers, and banks requiring on-premise governance.

Self-Hosted (VPC)
  • Everything in CI/CD Gatekeeper, plus:
  • Air-Gapped Private VPC / On-Prem Kubernetes
  • Zero source code ever leaves your internal infrastructure
  • Custom firm-specific invariant rule engine (tickers, schemas, embargoes)
  • Signed Proof-of-Causality™ audit reports for LP allocators
  • Bundled NEURON Compiler Architecture (AOT native, multi-GPU)
  • Direct engineering support & dedicated SLA
Inquire for Private VPC →
The Sovereign Upgrade Path

PyCheck & NEURON: The Two-Step Continuum

Why do PyCheck and NEURON work hand-in-hand? Because policing dynamic Python with static analysis has a fundamental ceiling. PyCheck detects leaks in legacy code today, while NEURON mathematically eliminates the possibility of bugs at compile time.

# THE DUAL-DEFENSE CONTINUUM

[Step 1: PyCheck Inspection] → Catches 33 silent leaks in existing Python pipelines in seconds.
[Step 2: CI/CD Gatekeeping] → Blocks contaminated PRs from reaching production backtests.
[Step 3: NEURON Upgrade] → Compile-time mathematical proof. Zero runtime assertions. 2.08x faster native binaries.
Explore NEURON Language → Read Academic Papers