point-in-time-quant-validator
Zero-dependency purged walk-forward splitting and leakage audit for point-in-time validation.
| Size | Folder | Inside |
|---|---|---|
| 11.2 kB | pit_quant/ | 5 scripts |
| 1.9 kB | examples/ | 1 script |
| 3.9 kB | tests/ | 1 test file |
| 8.4 kB | (root) | 7 docs · 2 config files |
| Size | Path |
|---|---|
| 29 B | .gitignore |
| 438 B | AGENT_EVAL.md |
| 712 B | ARCHITECTURE.md |
| 985 B | LICENSE.md |
| 473 B | LIMITATIONS.md |
| 935 B | PREVIEW.md |
| 248 B | QUICKSTART.md |
| 1.7 kB | README.md |
| 571 B | TEST_REPORT.md |
| 660 B | commercial-manifest.json |
| 1.9 kB | examples/walk_forward_demo.py |
| 668 B | pit_quant/__init__.py |
| 3.4 kB | pit_quant/leakage_detector.py |
| 1.2 kB | pit_quant/receipt.py |
| 3.4 kB | pit_quant/splits.py |
| 2.6 kB | pit_quant/temporal.py |
| 1.7 kB | release-manifest.json |
| 3.9 kB | tests/test_pit_quant.py |
Already bought this?
View your purchasesREADME
Point-in-Time Quant Validation SDK
A zero-dependency Python engineering toolkit designed for quantitative research teams, algorithmic trading engineers, and financial machine learning systems to eliminate look-ahead bias and audit temporal data causality.
Core Capabilities
- Purged Walk-Forward Splitting: Deterministically separates training and testing periods with configurable purge windows and embargo buffers to eliminate serial leakage and label overlap.
- Causal Interval Validation: Strictly enforces temporal ordering between observation time, publication/arrival time, decision time, and realized outcome intervals.
- Automated Leakage Audit: Scans historical time-series matrices and feature pipelines for look-ahead contamination, retrospective restatements, and arrival order inversions.
- Tamper-Evident Validation Receipts: Generates deterministic SHA-256 integrity receipts capturing partition indices and boundary timestamps for regulatory and investor auditability.
Quick Start
import datetime as dt
from pit_quant.splits import PurgedWalkForwardSplitter
from pit_quant.leakage_detector import LeakageDetector
timestamps = [dt.datetime(2026, 1, 1, tzinfo=dt.timezone.utc) + dt.timedelta(minutes=5*i) for i in range(100)]
splitter = PurgedWalkForwardSplitter(n_splits=3, purge_window_seconds=1800.0)
folds = splitter.split(timestamps)
for f in folds:
print(f"Fold {f.fold_index}: Train={len(f.train_indices)} -> Gap={f.purge_gap_seconds}s -> Test={len(f.test_indices)}")
Production Standards
- Pure Python 3.10+ standard library. Zero third-party runtime dependencies.
- 100% reproducible test suite.
Security scan report
Scanned by X402 Git, OSV (opens in a new tab) and Socket (opens in a new tab) — passed on all three. Findings from X402 Git are listed below.
- secrets
- none found
- X402 Git
- size limits
- within caps
- X402 Git
- known malware
- no dependency manifests to check
- OSV
- known vulnerabilities
- no dependency manifests to check
- OSV
- dependency behaviour
- no dependency manifests to check
- Socket
- instruction smuggling
- none found
- X402 Git
- what it can do
- listed below
- X402 Git
What this can do
- Tools
- none
- Runs
- examples/walk_forward_demo.py
- Talks to
- nothing
- Reads
- no environment variables
- At install
- nothing runs
Findings (1)
- LOWexamples/walk_forward_demo.py — Ships the script examples/walk_forward_demo.py
Releases 1
- v1.0.02026-09-16
feat: initial commercial release v1.0.0