cross-validation
Cross-Validation
Purpose
Verify key financial data points by cross-referencing values across two or more independent data sources. Detect discrepancies that may arise from differences in reporting periods, accounting adjustments, rounding conventions, or outright data errors. Produce a validation report that flags confirmed data, discrepancies above a defined threshold, and metrics with only single-source coverage, so downstream analysis rests on trustworthy inputs.
Data Fetching Process
Consult ${CLAUDE_PLUGIN_ROOT}/skills/_shared/references/data-sources.md for full source details and fallback behavior.
Source Selection Rules
-
Determine the primary source of the data being validated. Identify which source originally provided the data points under review:
- If the original data came from SEC EDGAR, validate against Stock Analysis as the cross-check source.
- If the original data came from Stock Analysis, validate against SEC EDGAR or Gurufocus as the cross-check source.
- If the original data came from Gurufocus, validate against SEC EDGAR as the cross-check source.
- If the original source is unknown or the user simply requests validation, fetch from both SEC EDGAR and Stock Analysis independently and compare.
-
Resolve the ticker. Fetch
https://www.sec.gov/files/company_tickers.jsonusing thesec-fetchskill (seedata-sources.md), locate the company's CIK, and pad it to 10 digits. Cache the CIK and official company name.