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).
30 lines
489 B
Plaintext
30 lines
489 B
Plaintext
Date,Dividends
|
|
2009-12-31,0.037
|
|
2010-03-31,0.035
|
|
2010-06-30,0.05
|
|
2010-09-30,0.051
|
|
2010-12-31,0.27
|
|
2011-03-31,0.044
|
|
2011-06-30,0.063
|
|
2011-09-30,0.056
|
|
2011-12-30,0.814
|
|
2012-03-30,0.031
|
|
2012-06-28,0.052
|
|
2012-09-27,0.054
|
|
2012-12-19,0.011
|
|
2013-03-27,0.094
|
|
2013-06-27,0.036
|
|
2013-09-27,0.013
|
|
2013-12-19,0.449
|
|
2014-03-28,0.061
|
|
2014-06-27,0.039
|
|
2014-09-29,0.041
|
|
2014-12-19,0.457
|
|
2014-12-22,0.457
|
|
2015-03-30,0.051
|
|
2015-06-29,0.015
|
|
2015-09-29,0.013
|
|
2015-12-21,0.066
|
|
2016-03-30,0.016
|
|
2016-12-19,0.167
|