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).
2.0 KiB
2.0 KiB
| 1 | Date | Dividends |
|---|---|---|
| 2 | 2012-03-15 | 0.003000 |
| 3 | 2012-04-16 | 0.004000 |
| 4 | 2012-05-15 | 0.005000 |
| 5 | 2012-06-15 | 0.002000 |
| 6 | 2012-07-16 | 0.002000 |
| 7 | 2012-08-15 | 0.002000 |
| 8 | 2012-11-15 | 0.002000 |
| 9 | 2012-12-13 | 0.005000 |
| 10 | 2013-07-15 | 0.004000 |
| 11 | 2013-08-15 | 0.003000 |
| 12 | 2013-09-16 | 0.007000 |
| 13 | 2013-11-15 | 0.009000 |
| 14 | 2013-12-13 | 0.071000 |
| 15 | 2014-01-15 | 0.004000 |
| 16 | 2014-02-18 | 0.008000 |
| 17 | 2014-03-17 | 0.003000 |
| 18 | 2014-04-15 | 0.013000 |
| 19 | 2014-05-15 | 0.005000 |
| 20 | 2014-06-13 | 0.011000 |
| 21 | 2014-07-15 | 0.009000 |
| 22 | 2014-08-15 | 0.012000 |
| 23 | 2014-09-15 | 0.009000 |
| 24 | 2014-10-15 | 0.011000 |
| 25 | 2014-11-17 | 0.008000 |
| 26 | 2014-12-15 | 1.103000 |
| 27 | 2015-01-15 | 0.008000 |
| 28 | 2015-02-17 | 0.012000 |
| 29 | 2015-03-13 | 0.018000 |
| 30 | 2015-04-15 | 0.017000 |
| 31 | 2015-05-15 | 0.026000 |
| 32 | 2015-06-15 | 0.021000 |
| 33 | 2015-07-15 | 0.025000 |
| 34 | 2015-08-14 | 0.013000 |
| 35 | 2015-09-15 | 0.017000 |
| 36 | 2015-10-15 | 0.017000 |
| 37 | 2015-11-13 | 0.011000 |
| 38 | 2015-12-15 | 0.698000 |
| 39 | 2016-01-15 | 0.002000 |
| 40 | 2016-03-15 | 0.013000 |
| 41 | 2016-04-15 | 0.011000 |
| 42 | 2016-05-13 | 0.011000 |
| 43 | 2016-06-15 | 0.012000 |
| 44 | 2016-07-15 | 0.037000 |
| 45 | 2016-08-15 | 0.010000 |
| 46 | 2016-09-15 | 0.020000 |
| 47 | 2016-10-14 | 0.022000 |
| 48 | 2016-11-15 | 0.001000 |
| 49 | 2016-12-22 | 0.517000 |
| 50 | 2017-01-17 | 0.030000 |
| 51 | 2017-02-15 | 0.007000 |
| 52 | 2017-03-15 | 0.007000 |
| 53 | 2017-04-17 | 0.007000 |
| 54 | 2017-05-15 | 0.008000 |
| 55 | 2017-06-15 | 0.028000 |
| 56 | 2017-08-15 | 0.017000 |
| 57 | 2017-09-15 | 0.005000 |
| 58 | 2017-10-16 | 0.011000 |
| 59 | 2017-11-15 | 0.011000 |
| 60 | 2017-12-20 | 0.011000 |
| 61 | 2018-01-16 | 0.010000 |
| 62 | 2018-02-15 | 0.010000 |
| 63 | 2018-03-15 | 0.010000 |
| 64 | 2018-04-16 | 0.010000 |
| 65 | 2018-05-15 | 0.013000 |
| 66 | 2018-06-15 | 0.012000 |
| 67 | 2018-07-16 | 0.004000 |
| 68 | 2018-08-15 | 0.006000 |
| 69 | 2018-09-17 | 0.008000 |
| 70 | 2018-10-15 | 0.005000 |
| 71 | 2018-11-15 | 0.008000 |
| 72 | 2018-12-19 | 0.355000 |
| 73 | 2019-02-15 | 0.009000 |
| 74 | 2019-03-15 | 0.011000 |
| 75 | 2019-04-15 | 0.009000 |
| 76 | 2019-05-15 | 0.020000 |
| 77 | 2019-06-17 | 0.017000 |
| 78 | 2019-07-15 | 0.009000 |
| 79 | 2019-08-15 | 0.009000 |
| 80 | 2019-09-16 | 0.009000 |
| 81 | 2019-10-15 | 0.011000 |
| 82 | 2019-11-15 | 0.009000 |
| 83 | 2019-12-17 | 0.016000 |
| 84 | 2020-01-15 | 0.002000 |
| 85 | 2020-02-14 | 0.007000 |
| 86 | 2020-03-16 | 0.009000 |
| 87 | 2020-04-15 | 0.009000 |
| 88 | 2020-05-15 | 0.004000 |
| 89 | 2020-06-15 | 0.008000 |
| 90 | 2020-07-15 | 0.008000 |
| 91 | 2020-08-17 | 0.014000 |
| 92 | 2020-09-15 | 0.016000 |
| 93 | 2020-10-15 | 0.018000 |
| 94 | 2020-11-16 | 0.018000 |
| 95 | 2020-12-17 | 0.040000 |
| 96 | 2021-01-15 | 0.005000 |
| 97 | 2021-03-15 | 0.001000 |
| 98 | 2021-04-15 | 0.001000 |
| 99 | 2021-05-17 | 0.001000 |
| 100 | 2021-09-15 | 0.038000 |
| 101 | 2021-10-15 | 0.038000 |
| 102 | 2021-11-15 | 0.038000 |
| 103 | 2021-12-15 | 0.605000 |