Some dump files carry a trailing 'ctime' column: an older pipeline appended a FULL re-download of the symbol per download (up to ~28 vintages per date, 2019-2022). The consumer keeps the last row per date, so it silently used stale (~2021) vintages where Yahoo later revised values. scripts/clean_multivintage.py keeps, per date, the rows from the newest ctime (event files keep distinct same-day amounts; history/split keep the single newest row), drops the ctime column, sorts by date. Applied to the data root and overrides/frozen (which carried the same artifact): 1,065 files, 2,202,712 stale rows dropped. Also: stripped 3 UTF-8 BOMs (teg/lo/krft), refreshed the event backup with the cleaned files, and re-ran the double-listing scan: category C (83 symbols, 18,636 repeated within-file rows) is fully explained by the multi-vintage artifact and is now gone; A (6,589 pairs, corrected) and B (12,366 pairs, open review list) are unchanged. Whole-set structural QC after cleaning: 0 duplicate dates, 3 syms/15 rows of OHLC invariant violations, 15 syms/2,897 rows of non-positive prices (mostly long-delisted tickers), 8 unsorted files (reader sorts).
20 lines
321 B
Plaintext
20 lines
321 B
Plaintext
Date,Dividends
|
|
2011-12-16,0.336
|
|
2012-03-16,0.303
|
|
2012-06-15,0.496
|
|
2012-09-21,0.196
|
|
2012-12-21,0.489
|
|
2013-03-15,0.166
|
|
2013-06-21,0.166
|
|
2013-09-20,0.145
|
|
2013-12-20,0.234
|
|
2014-03-21,0.294
|
|
2014-06-20,0.374
|
|
2014-09-19,0.185
|
|
2014-12-19,0.521
|
|
2015-03-20,0.255
|
|
2015-06-19,0.146
|
|
2015-09-18,0.217
|
|
2015-12-18,0.428
|
|
2015-12-24,0.196
|