| name | real-data-readiness-audit |
| description | Use before interpreting, reporting, committing, or publishing results from user-provided local CSV market data in this project. |
Real-Data Readiness Audit
When to use
Use this Skill in ai-equity-factor-research before interpreting, reporting,
committing, or publishing any result derived from user-provided local CSV market
data.
Use it for local CSV experiment readiness, real-data smoke-test review, local
data provenance review, schema and adjustment-policy review, or deciding whether
a result is safe to describe beyond diagnostics.
When not to use
Do not use this Skill for synthetic-only demos, committed fixture checks,
general staged workflow continuation, PR branch management, or Skill
maintenance. Those remain covered by staged-quant-workflow or skill-maker.
This Skill does not approve real data fetching, vendor APIs, credentials,
brokerage connections, live or paper trading, order placement, or profitability
claims.
Desired outcome
Produce a clear readiness decision before result interpretation:
ready only when no high or medium issues remain.
ready with low caveats only when limitations are documented and do not
affect provenance, schema validity, date alignment, or interpretation.
blocked when any required evidence is missing or unresolved.
The audit should make assumptions, caveats, and stop conditions visible before
any local CSV output is treated as research evidence.
Required inputs/files to inspect
Inspect the current project rules and readiness references:
AGENTS.md
PROJECT_SPEC.md
README.md
docs/real_data_readiness_audit.md
docs/csv_data_interface_plan.md
docs/volume_ohlcv_schema_plan.md
docs/liquidity_dollar_volume_universe_plan.md, when present and relevant
EXPERIMENT_LOG.md
- relevant proposed report, log, or research-script paths
Inspect user-provided CSV paths only after the user explicitly approves each
path for metadata inspection or hashing. Do not inspect .env, credentials,
tokens, private keys, account files, or credential-like paths.
Read-only checks
Start with read-only repo state:
git status -sb --untracked-files=all
For each user-approved local CSV path, metadata and hashing are allowed only
when explicitly approved:
Get-Item -LiteralPath "<approved-local-csv-path>" | Select-Object FullName,Length,LastWriteTime
Get-FileHash -Algorithm SHA256 -LiteralPath "<approved-local-csv-path>"
Skip any command that would write files, fetch data, install software, call a
vendor API, read secrets, or mutate git state.
Data provenance checks
Before any result interpretation, record:
- approved local file path for each input.
- file timestamp, version, or hash when the file may change.
- user-provided source name.
- whether the file is raw export, hand-cleaned, vendor-cleaned, or derived.
- known manual edits, missing symbols, missing dates, stale prices, or excluded
rows.
- confirmation that no credentials, account IDs, API keys, or private account
metadata are being committed.
Unknown provenance blocks interpretation.
Schema and OHLCV checks
Confirm the selected schema and required columns before using data:
- wide adjusted-close price panel.
- long adjusted-close price rows.
- benchmark price or return series.
- OHLCV long rows with
date, symbol, open, high, low, close,
volume, and optional adjusted_close.
- universe, factor-panel, or metadata schema only when already documented.
Check for exact required column names, duplicate headers, parseable
timezone-naive dates, sorted dates, duplicate dates or (date, symbol) rows,
missing symbols, invalid numeric strings, non-finite values, boolean market
data fields, non-positive prices, negative volume, and impossible OHLC
relationships.
Unresolved schema or OHLCV issues block interpretation.
Date alignment and leakage checks
Keep these dates distinct:
- observation date.
- feature date.
- universe decision date.
- signal date.
- execution date.
- return measurement date.
Confirm that features use only information known before portfolio formation.
Check lookbacks, skipped windows, rolling warm-up periods, signal lag, and
rebalance timing. Same-period target returns, future returns, future universe
membership, future fundamentals, future benchmark data, or same-day close data
without an explicit execution assumption must not enter features.
Unresolved date-alignment or leakage risk blocks interpretation.
Universe, benchmark, and survivorship checks
Record universe and benchmark assumptions before metrics are interpreted:
- universe definition and eligibility rules.
- point-in-time membership status, or a survivorship-bias caveat for static
lists.
- liquidity, dollar-volume, price, stale-data, zero-volume, and minimum-history
rules when used.
- benchmark symbol or file, date range, adjustment convention, missing dates,
and reason it matches the intended universe.
Incompatible benchmark coverage, unknown benchmark adjustment, or undocumented
survivorship risk blocks interpretation.
Missing data and adjustment policy checks
Document price and volume conventions before calculating returns, features, or
diagnostics:
- raw close, adjusted close, split-adjusted, dividend-adjusted, total-return
adjusted, or unknown.
- whether OHLC and adjusted-close fields share a compatible convention.
- whether volume is raw, adjusted, or unknown.
- handling of splits, dividends, mergers, symbol changes, delistings, halts,
stale rows, and zero-volume rows.
Do not forward-fill, backward-fill, zero-fill, interpolate, or infer corporate
actions by default. Unknown adjustment policy blocks interpretation.
Costs, slippage, and diagnostics-only language checks
Any backtest-like result must state:
- transaction cost model.
- slippage model.
- turnover model.
- rebalance frequency.
- execution timing.
- benchmark choice.
- whether zero-cost or zero-slippage settings are diagnostics only.
Local CSV diagnostics, IC, Rank IC, quantile spread, loader smoke checks, and
synthetic fixture outputs are not profitability evidence. Use caveated language:
diagnostic, smoke test, readiness check, limitation, and not strategy
validation.
Experiment logging expectations
Before committing or publishing real-data outputs, prepare an EXPERIMENT_LOG.md
entry or approved research note with:
- data source and approved local file references.
- schema, provenance, and validation summary.
- universe definition and survivorship caveats.
- date range and train/validation/test or holdout splits.
- feature formulas, lookbacks, lags, and data availability assumptions.
- parameters and parameter-selection policy.
- benchmark, costs, slippage, rebalance, and execution timing.
- metrics, missing-data summary, limitations, failure modes, and next action.
Synthetic JSON sidecar logs are not substitutes for the real-data experiment
record.
Stop conditions
Stop before interpretation, reporting, committing, or publishing when any of
these are true:
- user did not explicitly approve a local CSV path for inspection.
- a path appears credential-like or may contain secrets.
- provenance is unknown.
- schema, required columns, duplicate rows, invalid numeric values, missing
values, or OHLCV checks remain unresolved.
- adjustment policy is unknown or incompatible with the intended calculation.
- date alignment, signal lag, execution timing, or leakage risk is unresolved.
- universe membership is static without survivorship caveats.
- benchmark coverage or adjustment is incompatible.
- costs, slippage, or diagnostic-only language are absent for a backtest-like
result.
- any high or medium readiness issue remains unresolved.
- the result would require real data fetching, vendor APIs, credentials,
live or paper trading, broker integration, order execution, or profitability
claims.
Mistakes to avoid
- Treating a local CSV loader success as research validation.
- Treating unknown adjustment policy as acceptable evidence.
- Silently filling missing prices, volumes, benchmark rows, or universe data.
- Using future membership, future returns, or same-period targets as features.
- Reporting only the best parameter result.
- Committing private local paths, credentials, vendor secrets, or account
metadata.
- Presenting diagnostics, synthetic fixtures, or smoke tests as profitability,
robustness, or trading-readiness evidence.
- Duplicating
staged-quant-workflow branch, PR, merge, and long-running stage
process inside this Skill.
Update policy
Update this Skill only after a real-data readiness audit verifies a reusable
lesson. Add concise new stop conditions, stable commands, known pitfalls, or
required evidence fields. Remove stale guidance when project docs change. Keep
this Skill focused on the pre-experiment readiness gate.