mirror of
https://github.com/0xrsydn/idx-cli.git
synced 2026-11-07 09:45:36 +00:00
Phase 0 of docs/DESIGN.md, before any refactor code: - tests/golden.rs runs every case in tests/golden/cases.toml (126 outputs across help, completions, config, cache, all stocks commands on MSN and Yahoo mocks, error paths, and ownership queries on a seeded fixture DB) and compares exit code, stdout, and stderr byte for byte. Regenerate only with UPDATE_GOLDEN=1 for a reviewed output change. - scripts/live-smoke.sh --compare <old-idx> runs each live case with both binaries and fails on differing exit codes, added/missing/retyped JSON keys, or changed values for slow-moving data. - Exclude golden files from the whitespace/EOF pre-commit fixers, which would otherwise rewrite pinned help output. Both gates were fault-injected: a one-word table change fails exactly the three history goldens, and a binary dropping profile.long_name fails only the profile live comparison. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
32 lines
5.3 KiB
Text
32 lines
5.3 KiB
Text
exit: 0
|
||
--- stdout
|
||
┌────────┬───────────────────────────┬─────────────────────┬────────┬────────┬────────┐
|
||
│ TICKER ┆ ENTITY ┆ CHANGE ┆ OLD% ┆ NEW% ┆ DELTA% │
|
||
╞════════╪═══════════════════════════╪═════════════════════╪════════╪════════╪════════╡
|
||
│ AADI ┆ KSEI AGGREGATE LOCAL ID ┆ [31mDECREASED[39m ┆ 24.00% ┆ 23.34% ┆ -0.66% │
|
||
├╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌┤
|
||
│ AADI ┆ KSEI AGGREGATE LOCAL IS ┆ [32mINCREASED[39m ┆ 0.75% ┆ 1.29% ┆ +0.54% │
|
||
├╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌┤
|
||
│ AADI ┆ KSEI AGGREGATE LOCAL MF ┆ [32mINCREASED[39m ┆ 1.17% ┆ 1.52% ┆ +0.35% │
|
||
├╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌┤
|
||
│ AADI ┆ KSEI AGGREGATE FOREIGN MF ┆ [32mINCREASED[39m ┆ 3.07% ┆ 3.37% ┆ +0.30% │
|
||
├╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌┤
|
||
│ AADI ┆ KSEI AGGREGATE FOREIGN OT ┆ [31mDECREASED[39m ┆ 0.91% ┆ 0.64% ┆ -0.27% │
|
||
├╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌┤
|
||
│ AADI ┆ KSEI AGGREGATE FOREIGN PF ┆ [31mDECREASED[39m ┆ 0.76% ┆ 0.56% ┆ -0.20% │
|
||
├╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌┤
|
||
│ AADI ┆ KSEI AGGREGATE FOREIGN CP ┆ [32mINCREASED[39m ┆ 0.72% ┆ 0.86% ┆ +0.14% │
|
||
├╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌┤
|
||
│ AADI ┆ KSEI AGGREGATE LOCAL CP ┆ [31mDECREASED[39m ┆ 64.81% ┆ 64.67% ┆ -0.14% │
|
||
├╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌┤
|
||
│ AADI ┆ KSEI AGGREGATE LOCAL SC ┆ [31mDECREASED[39m ┆ 0.36% ┆ 0.29% ┆ -0.07% │
|
||
├╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌┤
|
||
│ AADI ┆ KSEI AGGREGATE FOREIGN IB ┆ [31mDECREASED[39m ┆ 2.67% ┆ 2.63% ┆ -0.04% │
|
||
├╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌┤
|
||
│ AADI ┆ KSEI AGGREGATE FOREIGN SC ┆ [32mINCREASED[39m ┆ 0.51% ┆ 0.55% ┆ +0.04% │
|
||
├╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌┤
|
||
│ AADI ┆ KSEI AGGREGATE LOCAL PF ┆ [32mINCREASED[39m ┆ 0.17% ┆ 0.20% ┆ +0.03% │
|
||
├╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌┤
|
||
│ AADI ┆ KSEI AGGREGATE FOREIGN ID ┆ [31mDECREASED[39m ┆ 0.03% ┆ 0.02% ┆ -0.01% │
|
||
└────────┴───────────────────────────┴─────────────────────┴────────┴────────┴────────┘
|
||
--- stderr
|