code-review-for-quant
CommunityCatch silent quant bugs before they ship.
Software Engineering#code review#data integrity#time-series#backtesting#lookahead bias#quant research#financial pipelines
Authorjefrnc
Version1.0.0
Installs0
System Documentation
What problem does it solve?
It prevents time-series and research pipelines from producing plausible-looking results that are silently corrupted by quant-specific failure modes like lookahead bias, snapshot misuse, and incorrect event-time handling.
Core Features & Use Cases
- Quant time-semantics checklist: Enforces known-date correctness using
query_dateand filing/acceptance timestamps, rejectingperiod_endand “current snapshot” fallacies. - Data-shape and aggregation hygiene: Reduces silent errors from missing tags, XBRL 404 fallbacks, multi-class share conversions, and 13D/13F/144 dedup rules.
- Numerical and friction realism: Guards against NaN/None gaps, division-by-zero, float drift, and unrealistic assumptions like zero slippage or missing microcap spread and halt handling.
- Reproducibility and performance traps: Ensures deterministic runs via explicit seeds and flags performance patterns that can hide research drift or quadratic slowdowns.
Quick Start
Ask the AI to run a code review checklist on your snippet and return the bugs ranked by silent-corruption risk, citing any leaking datapoints and proposing fixes aligned to quant known-date rules.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: code-review-for-quant Download link: https://github.com/jefrnc/quant-llm-skills/archive/main.zip#code-review-for-quant Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.