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).
870 B
870 B
| 1 | Date | Dividends |
|---|---|---|
| 2 | 2009-06-26 | 0.103 |
| 3 | 2009-09-28 | 0.096 |
| 4 | 2009-12-04 | 0.0 |
| 5 | 2009-12-29 | 0.194 |
| 6 | 2010-03-29 | 0.09 |
| 7 | 2010-04-30 | 0.045 |
| 8 | 2010-06-28 | 0.086 |
| 9 | 2010-09-28 | 0.128 |
| 10 | 2010-12-06 | 0.0 |
| 11 | 2010-12-29 | 0.148 |
| 12 | 2011-03-29 | 0.117 |
| 13 | 2011-06-28 | 0.093 |
| 14 | 2011-09-28 | 0.067 |
| 15 | 2011-12-05 | 0.0 |
| 16 | 2011-12-28 | 0.095 |
| 17 | 2012-03-28 | 0.15 |
| 18 | 2012-06-27 | 0.114 |
| 19 | 2012-09-26 | 0.11 |
| 20 | 2012-12-27 | 0.117 |
| 21 | 2013-03-27 | 0.124 |
| 22 | 2013-06-26 | 0.084 |
| 23 | 2013-09-26 | 0.062 |
| 24 | 2013-12-27 | 0.113 |
| 25 | 2014-03-26 | 0.158 |
| 26 | 2014-06-26 | 0.106 |
| 27 | 2014-09-26 | 0.079 |
| 28 | 2014-12-03 | 0.0 |
| 29 | 2014-12-29 | 0.091 |
| 30 | 2015-03-27 | 0.066 |
| 31 | 2015-06-26 | 0.046 |
| 32 | 2015-09-28 | 0.061 |
| 33 | 2015-12-29 | 0.163 |
| 34 | 2016-06-28 | 0.064 |
| 35 | 2016-09-28 | 0.068 |
| 36 | 2016-12-28 | 0.068 |
| 37 | 2017-03-29 | 0.085 |
| 38 | 2017-06-28 | 0.059 |
| 39 | 2017-09-27 | 0.082 |
| 40 | 2017-12-27 | 0.092 |
| 41 | 2018-03-28 | 0.047 |
| 42 | 2018-06-27 | 0.031 |
| 43 | 2018-09-26 | 0.084 |
| 44 | 2018-12-27 | 0.091 |
| 45 | 2019-03-28 | 0.091 |
| 46 | 2019-06-27 | 0.089 |
| 47 | 2019-09-27 | 0.101 |
| 48 | 2019-12-27 | 0.103 |
| 49 | 2020-03-30 | 0.062 |
| 50 | 2020-06-29 | 0.05 |
| 51 | 2020-09-29 | 0.054 |
| 52 | 2020-12-28 | 0.072 |