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>
109 lines
2.2 KiB
Text
109 lines
2.2 KiB
Text
exit: 0
|
|
--- stdout
|
|
[
|
|
{
|
|
"ticker_code": "AADI",
|
|
"entity_name": "KSEI AGGREGATE LOCAL ID",
|
|
"change_type": "decreased",
|
|
"old_bps": 2400,
|
|
"new_bps": 2334,
|
|
"delta_bps": -66
|
|
},
|
|
{
|
|
"ticker_code": "AADI",
|
|
"entity_name": "KSEI AGGREGATE LOCAL IS",
|
|
"change_type": "increased",
|
|
"old_bps": 75,
|
|
"new_bps": 129,
|
|
"delta_bps": 54
|
|
},
|
|
{
|
|
"ticker_code": "AADI",
|
|
"entity_name": "KSEI AGGREGATE LOCAL MF",
|
|
"change_type": "increased",
|
|
"old_bps": 117,
|
|
"new_bps": 152,
|
|
"delta_bps": 35
|
|
},
|
|
{
|
|
"ticker_code": "AADI",
|
|
"entity_name": "KSEI AGGREGATE FOREIGN MF",
|
|
"change_type": "increased",
|
|
"old_bps": 307,
|
|
"new_bps": 337,
|
|
"delta_bps": 30
|
|
},
|
|
{
|
|
"ticker_code": "AADI",
|
|
"entity_name": "KSEI AGGREGATE FOREIGN OT",
|
|
"change_type": "decreased",
|
|
"old_bps": 91,
|
|
"new_bps": 64,
|
|
"delta_bps": -27
|
|
},
|
|
{
|
|
"ticker_code": "AADI",
|
|
"entity_name": "KSEI AGGREGATE FOREIGN PF",
|
|
"change_type": "decreased",
|
|
"old_bps": 76,
|
|
"new_bps": 56,
|
|
"delta_bps": -20
|
|
},
|
|
{
|
|
"ticker_code": "AADI",
|
|
"entity_name": "KSEI AGGREGATE FOREIGN CP",
|
|
"change_type": "increased",
|
|
"old_bps": 72,
|
|
"new_bps": 86,
|
|
"delta_bps": 14
|
|
},
|
|
{
|
|
"ticker_code": "AADI",
|
|
"entity_name": "KSEI AGGREGATE LOCAL CP",
|
|
"change_type": "decreased",
|
|
"old_bps": 6481,
|
|
"new_bps": 6467,
|
|
"delta_bps": -14
|
|
},
|
|
{
|
|
"ticker_code": "AADI",
|
|
"entity_name": "KSEI AGGREGATE LOCAL SC",
|
|
"change_type": "decreased",
|
|
"old_bps": 36,
|
|
"new_bps": 29,
|
|
"delta_bps": -7
|
|
},
|
|
{
|
|
"ticker_code": "AADI",
|
|
"entity_name": "KSEI AGGREGATE FOREIGN IB",
|
|
"change_type": "decreased",
|
|
"old_bps": 267,
|
|
"new_bps": 263,
|
|
"delta_bps": -4
|
|
},
|
|
{
|
|
"ticker_code": "AADI",
|
|
"entity_name": "KSEI AGGREGATE FOREIGN SC",
|
|
"change_type": "increased",
|
|
"old_bps": 51,
|
|
"new_bps": 55,
|
|
"delta_bps": 4
|
|
},
|
|
{
|
|
"ticker_code": "AADI",
|
|
"entity_name": "KSEI AGGREGATE LOCAL PF",
|
|
"change_type": "increased",
|
|
"old_bps": 17,
|
|
"new_bps": 20,
|
|
"delta_bps": 3
|
|
},
|
|
{
|
|
"ticker_code": "AADI",
|
|
"entity_name": "KSEI AGGREGATE FOREIGN ID",
|
|
"change_type": "decreased",
|
|
"old_bps": 3,
|
|
"new_bps": 2,
|
|
"delta_bps": -1
|
|
}
|
|
]
|
|
--- stderr
|