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).
906 B
906 B
| 1 | Date | Dividends |
|---|---|---|
| 2 | 2004-03-19 | 0.03 |
| 3 | 2004-06-24 | 0.03 |
| 4 | 2004-08-11 | 0.03 |
| 5 | 2004-11-30 | 0.03 |
| 6 | 2005-03-11 | 0.15 |
| 7 | 2005-06-03 | 0.15 |
| 8 | 2005-08-04 | 0.15 |
| 9 | 2005-12-08 | 0.15 |
| 10 | 2006-02-24 | 0.15 |
| 11 | 2006-06-07 | 0.15 |
| 12 | 2006-08-09 | 0.15 |
| 13 | 2006-12-15 | 0.15 |
| 14 | 2007-02-16 | 0.15 |
| 15 | 2007-05-11 | 0.15 |
| 16 | 2007-08-03 | 0.15 |
| 17 | 2007-11-08 | 0.15 |
| 18 | 2008-02-13 | 0.15 |
| 19 | 2008-05-08 | 0.15 |
| 20 | 2008-08-08 | 0.15 |
| 21 | 2008-11-07 | 0.15 |
| 22 | 2009-02-11 | 0.15 |
| 23 | 2009-05-11 | 0.15 |
| 24 | 2009-08-10 | 0.15 |
| 25 | 2009-11-06 | 0.15 |
| 26 | 2010-02-18 | 0.15 |
| 27 | 2010-05-11 | 0.15 |
| 28 | 2010-08-10 | 0.15 |
| 29 | 2010-11-09 | 0.15 |
| 30 | 2011-02-16 | 0.15 |
| 31 | 2011-05-11 | 0.15 |
| 32 | 2011-08-09 | 0.15 |
| 33 | 2011-11-08 | 0.15 |
| 34 | 2012-02-15 | 0.15 |
| 35 | 2012-05-08 | 0.17 |
| 36 | 2012-08-08 | 0.17 |
| 37 | 2012-11-06 | 0.17 |
| 38 | 2013-02-19 | 0.17 |
| 39 | 2013-05-08 | 0.18 |
| 40 | 2013-08-07 | 0.18 |
| 41 | 2013-11-08 | 0.18 |
| 42 | 2014-02-19 | 0.18 |
| 43 | 2014-05-07 | 0.2 |
| 44 | 2014-08-07 | 0.2 |
| 45 | 2014-11-10 | 0.2 |
| 46 | 2014-11-11 | 0.2 |
| 47 | 2015-02-18 | 0.2 |
| 48 | 2015-05-06 | 0.21 |
| 49 | 2015-08-05 | 0.21 |
| 50 | 2015-11-10 | 0.21 |
| 51 | 2016-02-17 | 0.21 |
| 52 | 2016-05-05 | 0.22 |
| 53 | 2016-08-10 | 0.22 |
| 54 | 2016-11-08 | 0.22 |
| 55 | 2017-02-22 | 0.22 |
| 56 | 2017-05-10 | 0.24 |
| 57 | 2017-08-10 | 0.24 |