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).
724 B
724 B
| 1 | Date | Dividends |
|---|---|---|
| 2 | 2009-09-29 | 0.05 |
| 3 | 2009-12-30 | 0.171 |
| 4 | 2010-03-30 | 0.099 |
| 5 | 2010-04-30 | 0.031 |
| 6 | 2010-06-29 | 0.101 |
| 7 | 2010-09-29 | 0.086 |
| 8 | 2010-12-09 | 0.072 |
| 9 | 2010-12-30 | 0.107 |
| 10 | 2011-03-30 | 0.097 |
| 11 | 2011-06-29 | 0.073 |
| 12 | 2011-09-29 | 0.07 |
| 13 | 2011-12-09 | 0.016 |
| 14 | 2011-12-29 | 0.071 |
| 15 | 2012-03-27 | 0.067 |
| 16 | 2012-06-26 | 0.051 |
| 17 | 2012-09-25 | 0.054 |
| 18 | 2012-12-07 | 0.06 |
| 19 | 2012-12-26 | 0.049 |
| 20 | 2013-03-25 | 0.068 |
| 21 | 2013-06-25 | 0.071 |
| 22 | 2013-09-25 | 0.106 |
| 23 | 2013-12-06 | 0.187 |
| 24 | 2013-12-26 | 0.161 |
| 25 | 2014-03-26 | 0.07 |
| 26 | 2014-06-25 | 0.043 |
| 27 | 2014-09-25 | 0.035 |
| 28 | 2014-12-26 | 0.052 |
| 29 | 2015-03-26 | 0.044 |
| 30 | 2015-06-25 | 0.061 |
| 31 | 2015-09-25 | 0.053 |
| 32 | 2015-12-28 | 0.047 |
| 33 | 2016-03-28 | 0.043 |
| 34 | 2016-06-27 | 0.059 |
| 35 | 2016-09-27 | 0.059 |
| 36 | 2016-12-27 | 0.027 |
| 37 | 2017-03-28 | 0.064 |
| 38 | 2017-06-27 | 0.061 |
| 39 | 2017-09-26 | 0.054 |
| 40 | 2017-12-26 | 0.056 |
| 41 | 2018-03-26 | 0.07 |
| 42 | 2018-06-26 | 0.064 |
| 43 | 2018-09-25 | 0.058 |