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.5 KiB
1.5 KiB
| 1 | Date | Dividends |
|---|---|---|
| 2 | 2011-04-15 | 0.074 |
| 3 | 2011-05-13 | 0.076 |
| 4 | 2011-06-15 | 0.077 |
| 5 | 2011-07-15 | 0.076 |
| 6 | 2011-08-15 | 0.083 |
| 7 | 2011-09-15 | 0.086 |
| 8 | 2011-10-14 | 0.116 |
| 9 | 2011-11-15 | 0.103 |
| 10 | 2011-12-15 | 0.116 |
| 11 | 2012-01-13 | 0.1 |
| 12 | 2012-02-15 | 0.101 |
| 13 | 2012-03-15 | 0.101 |
| 14 | 2012-04-13 | 0.107 |
| 15 | 2012-05-15 | 0.105 |
| 16 | 2012-06-15 | 0.1 |
| 17 | 2012-07-13 | 0.104 |
| 18 | 2012-08-15 | 0.091 |
| 19 | 2012-09-14 | 0.091 |
| 20 | 2012-10-15 | 0.103 |
| 21 | 2012-11-15 | 0.1 |
| 22 | 2012-12-14 | 0.098 |
| 23 | 2013-01-15 | 0.106 |
| 24 | 2013-02-15 | 0.1 |
| 25 | 2013-03-15 | 0.096 |
| 26 | 2013-04-15 | 0.095 |
| 27 | 2013-05-15 | 0.092 |
| 28 | 2013-06-14 | 0.09 |
| 29 | 2013-07-15 | 0.09 |
| 30 | 2013-08-15 | 0.09 |
| 31 | 2013-09-13 | 0.083 |
| 32 | 2013-10-15 | 0.083 |
| 33 | 2013-11-15 | 0.08434 |
| 34 | 2013-12-13 | 0.08406 |
| 35 | 2014-01-15 | 0.08409 |
| 36 | 2014-02-14 | 0.08348 |
| 37 | 2014-03-14 | 0.08259 |
| 38 | 2014-04-15 | 0.08025 |
| 39 | 2014-05-15 | 0.08102 |
| 40 | 2014-06-13 | 0.08116 |
| 41 | 2014-07-15 | 0.0822 |
| 42 | 2014-08-15 | 0.0838 |
| 43 | 2014-09-15 | 0.0856 |
| 44 | 2014-10-15 | 0.0886 |
| 45 | 2014-11-14 | 0.08 |
| 46 | 2014-12-15 | 0.0747 |
| 47 | 2015-01-15 | 0.075 |
| 48 | 2015-02-13 | 0.0738 |
| 49 | 2015-03-13 | 0.07304 |
| 50 | 2015-04-15 | 0.07346 |
| 51 | 2015-05-15 | 0.0744 |
| 52 | 2015-06-15 | 0.07537 |
| 53 | 2015-07-15 | 0.07624 |
| 54 | 2015-08-14 | 0.07852 |
| 55 | 2015-09-15 | 0.07964 |
| 56 | 2015-10-15 | 0.08027 |
| 57 | 2015-11-13 | 0.08081 |
| 58 | 2015-12-15 | 0.08248 |
| 59 | 2016-01-15 | 0.0835 |
| 60 | 2016-02-12 | 0.084 |
| 61 | 2016-03-15 | 0.086 |
| 62 | 2016-04-15 | 0.09 |
| 63 | 2016-05-13 | 0.095 |
| 64 | 2016-06-15 | 0.095 |
| 65 | 2016-07-15 | 0.0975 |
| 66 | 2016-08-15 | 0.0975 |
| 67 | 2016-09-15 | 0.0975 |
| 68 | 2016-10-14 | 0.0825 |
| 69 | 2016-11-15 | 0.07106 |
| 70 | 2016-12-15 | 0.08001 |
| 71 | 2017-01-13 | 0.07 |
| 72 | 2017-02-15 | 0.068 |
| 73 | 2017-03-15 | 0.065 |
| 74 | 2017-04-13 | 0.065 |
| 75 | 2017-05-15 | 0.063 |
| 76 | 2017-06-15 | 0.063 |
| 77 | 2017-07-14 | 0.064 |
| 78 | 2017-08-15 | 0.069 |
| 79 | 2017-09-18 | 0.07 |
| 80 | 2017-10-23 | 0.07 |
| 81 | 2017-11-20 | 0.063 |
| 82 | 2017-12-18 | 0.078 |
| 83 | 2018-01-22 | 0.066 |
| 84 | 2018-02-20 | 0.07 |
| 85 | 2018-03-19 | 0.076 |
| 86 | 2018-04-23 | 0.072 |