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.6 KiB
1.6 KiB
| 1 | Date | Dividends |
|---|---|---|
| 2 | 1982-03-08 | 0.00617 |
| 3 | 1982-06-28 | 0.00617 |
| 4 | 1982-09-27 | 0.00617 |
| 5 | 1982-11-29 | 0.00617 |
| 6 | 1983-03-07 | 0.00617 |
| 7 | 1983-07-01 | 0.00617 |
| 8 | 1983-10-07 | 0.00617 |
| 9 | 1983-12-12 | 0.00617 |
| 10 | 1984-03-08 | 0.00617 |
| 11 | 1984-06-07 | 0.00617 |
| 12 | 1984-09-13 | 0.00617 |
| 13 | 1984-12-04 | 0.00617 |
| 14 | 1985-03-05 | 0.00617 |
| 15 | 1985-05-30 | 0.00617 |
| 16 | 1985-09-10 | 0.00617 |
| 17 | 1985-12-09 | 0.00617 |
| 18 | 1986-03-12 | 0.0804 |
| 19 | 1986-06-02 | 0.0804 |
| 20 | 1986-09-15 | 0.0804 |
| 21 | 1986-12-02 | 0.0804 |
| 22 | 1987-03-09 | 0.0804 |
| 23 | 1987-06-01 | 0.0804 |
| 24 | 1987-09-16 | 0.0804 |
| 25 | 1988-01-12 | 0.0804 |
| 26 | 1988-04-13 | 0.0996 |
| 27 | 1988-07-11 | 0.0996 |
| 28 | 1988-10-07 | 0.0996 |
| 29 | 1989-01-09 | 0.0996 |
| 30 | 1989-04-10 | 0.12 |
| 31 | 1989-07-10 | 0.12 |
| 32 | 1989-10-06 | 0.12 |
| 33 | 1990-01-08 | 0.12 |
| 34 | 1990-04-06 | 0.1452 |
| 35 | 1990-07-09 | 0.1452 |
| 36 | 1990-10-05 | 0.1452 |
| 37 | 1991-01-14 | 0.1452 |
| 38 | 1991-04-08 | 0.1752 |
| 39 | 1991-07-08 | 0.1752 |
| 40 | 1991-10-07 | 0.1752 |
| 41 | 1992-01-06 | 0.1752 |
| 42 | 1992-04-06 | 0.21 |
| 43 | 1992-07-06 | 0.0525 |
| 44 | 1992-10-05 | 0.0525 |
| 45 | 1993-01-05 | 0.0525 |
| 46 | 1993-04-05 | 0.0624 |
| 47 | 1993-07-02 | 0.0624 |
| 48 | 1993-10-06 | 0.0624 |
| 49 | 1994-01-04 | 0.0624 |
| 50 | 1994-04-11 | 0.075 |
| 51 | 1994-07-05 | 0.075 |
| 52 | 1994-10-07 | 0.075 |
| 53 | 1995-01-03 | 0.075 |
| 54 | 1995-04-07 | 0.09 |
| 55 | 1995-07-06 | 0.09 |
| 56 | 1995-10-11 | 0.09 |
| 57 | 1995-12-29 | 0.09 |
| 58 | 1996-04-10 | 0.1101 |
| 59 | 1996-07-10 | 0.1101 |
| 60 | 1996-10-09 | 0.1101 |
| 61 | 1997-01-08 | 0.1101 |
| 62 | 1997-04-09 | 0.1326 |
| 63 | 1997-07-09 | 0.1326 |
| 64 | 1997-10-15 | 0.1326 |
| 65 | 1998-01-07 | 0.1326 |
| 66 | 1998-04-07 | 0.1575 |
| 67 | 1998-07-22 | 0.0535127 |
| 68 | 1998-10-07 | 0.0525 |
| 69 | 1999-10-07 | 0.05228 |
| 70 | 1999-11-12 | 0.21 |
| 71 | 2000-12-06 | 0.21 |
| 72 | 2001-12-05 | 0.21 |
| 73 | 2002-12-11 | 0.21 |
| 74 | 2003-12-10 | 0.21 |
| 75 | 2004-12-08 | 0.24 |
| 76 | 2005-12-08 | 0.27 |
| 77 | 2006-12-13 | 0.31 |
| 78 | 2007-06-13 | 0.0 |
| 79 | 2007-12-05 | 0.35 |
| 80 | 2008-12-11 | 0.35 |
| 81 | 2009-12-10 | 0.35 |
| 82 | 2010-12-09 | 0.4 |
| 83 | 2011-12-14 | 0.6 |
| 84 | 2012-12-06 | 0.75 |
| 85 | 2013-12-12 | 0.86 |
| 86 | 2014-12-11 | 1.15 |
| 87 | 2015-07-01 | 0.66 |
| 88 | 2015-12-10 | 0.71 |
| 89 | 2016-07-07 | 0.71 |
| 90 | 2016-12-08 | 0.78 |
| 91 | 2017-07-06 | 0.78 |
| 92 | 2017-12-08 | 0.84 |
| 93 | 2018-07-06 | 0.84 |
| 94 | 2018-12-07 | 0.88 |
| 95 | 2019-07-05 | 0.88 |
| 96 | 2019-12-13 | 0.88 |