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).
1.4 KiB
1.4 KiB
| 1 | Date | Dividends |
|---|---|---|
| 2 | 2011-10-31 | 0.003 |
| 3 | 2011-11-30 | 0.003 |
| 4 | 2011-12-30 | 0.004 |
| 5 | 2012-01-31 | 0.004 |
| 6 | 2012-03-01 | 0.057 |
| 7 | 2012-04-02 | 0.016 |
| 8 | 2012-05-01 | 0.006 |
| 9 | 2012-06-01 | 0.013 |
| 10 | 2012-07-02 | 0.038 |
| 11 | 2012-08-01 | 0.023 |
| 12 | 2012-09-04 | 0.036 |
| 13 | 2012-10-01 | 0.046 |
| 14 | 2012-12-03 | 0.018 |
| 15 | 2012-12-20 | 0.137 |
| 16 | 2013-01-02 | 0.007 |
| 17 | 2013-02-01 | 0.006 |
| 18 | 2013-03-01 | 0.004 |
| 19 | 2013-04-01 | 0.007 |
| 20 | 2013-05-01 | 0.009 |
| 21 | 2013-06-03 | 0.02 |
| 22 | 2013-07-01 | 0.031 |
| 23 | 2013-08-01 | 0.025 |
| 24 | 2013-09-03 | 0.026 |
| 25 | 2013-10-01 | 0.007 |
| 26 | 2013-11-01 | 0.009 |
| 27 | 2013-12-02 | 0.008 |
| 28 | 2013-12-20 | 0.069 |
| 29 | 2014-01-02 | 0.007 |
| 30 | 2014-02-03 | 0.007 |
| 31 | 2014-03-03 | 0.012 |
| 32 | 2014-04-01 | 0.009 |
| 33 | 2014-05-01 | 0.01 |
| 34 | 2014-06-02 | 0.013 |
| 35 | 2014-07-01 | 0.028 |
| 36 | 2014-08-01 | 0.012 |
| 37 | 2014-09-02 | 0.015 |
| 38 | 2014-10-01 | 0.013 |
| 39 | 2014-11-03 | 0.011 |
| 40 | 2014-12-01 | 0.009 |
| 41 | 2014-12-22 | 0.105 |
| 42 | 2015-01-02 | 0.02 |
| 43 | 2015-02-02 | 0.006 |
| 44 | 2015-03-02 | 0.004 |
| 45 | 2015-04-01 | 0.004 |
| 46 | 2015-05-01 | 0.005 |
| 47 | 2015-06-01 | 0.01 |
| 48 | 2015-07-01 | 0.024 |
| 49 | 2015-08-03 | 0.009 |
| 50 | 2015-09-01 | 0.005 |
| 51 | 2015-10-01 | 0.014 |
| 52 | 2015-11-02 | 0.011 |
| 53 | 2015-12-01 | 0.013 |
| 54 | 2015-12-22 | 0.22 |
| 55 | 2016-01-04 | 0.025 |
| 56 | 2016-02-01 | 0.013 |
| 57 | 2016-03-01 | 0.013 |
| 58 | 2016-04-01 | 0.014 |
| 59 | 2016-05-03 | 0.015 |
| 60 | 2016-06-01 | 0.016 |
| 61 | 2016-07-01 | 0.028 |
| 62 | 2016-08-01 | 0.016 |
| 63 | 2016-10-03 | 0.013 |
| 64 | 2016-11-01 | 0.013 |
| 65 | 2016-12-01 | 0.014 |
| 66 | 2017-01-03 | 0.014 |
| 67 | 2017-02-01 | 0.025 |
| 68 | 2017-03-01 | 0.013 |
| 69 | 2017-04-03 | 0.018 |
| 70 | 2017-05-01 | 0.01 |
| 71 | 2017-06-01 | 0.021 |
| 72 | 2017-07-03 | 0.014 |
| 73 | 2017-08-01 | 0.025 |
| 74 | 2017-09-01 | 0.015 |
| 75 | 2017-10-02 | 0.015 |
| 76 | 2017-11-01 | 0.016 |
| 77 | 2017-12-01 | 0.017 |
| 78 | 2018-01-02 | 0.023 |
| 79 | 2018-02-01 | 0.017 |
| 80 | 2018-03-01 | 0.019 |
| 81 | 2018-04-02 | 0.021 |
| 82 | 2018-05-01 | 0.023 |
| 83 | 2018-06-01 | 0.021 |
| 84 | 2018-07-02 | 0.022 |
| 85 | 2018-08-01 | 0.033 |
| 86 | 2018-09-04 | 0.023 |
| 87 | 2018-10-01 | 0.008 |