What problem does it solve?
The Real Data Auditor enforces a zero-tolerance policy for simulated, hardcoded, or placeholder data in CYPHER V3 by scanning source files and API routes to ensure every visible number originates from a verified external source.
Core Features & Use Cases
- Multi-layer scanning: Searches for explicit mock flags, conditional mock toggles, Math.random misuse, hardcoded arrays, placeholder strings/numbers, and API responses returned without schema validation.
- API validation mapping: Recommends real upstream endpoints and cache TTLs for common data sources (e.g., CoinGecko, Hiro, UniSat, Mempool, Ordiscan) and maps mock replacements to their real counterparts.
- Audit reporting: Produces a scored, timestamped audit with file-level findings, remediation guidance, and a summary of confirmed live data.
- Use Case: Run pre-release to validate that market prices, token data, and fee estimates are live, validated, and not generated by mocks or placeholders.
Quick Start
Run the Real Data Auditor to scan the repository for mock patterns, Math.random misuse, hardcoded arrays, and unvalidated API responses and generate an actionable audit report.