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).
292 B
292 B
| 1 | Date | Dividends |
|---|---|---|
| 2 | 1999-12-31 | 0.128 |
| 3 | 2000-12-21 | 0.115 |
| 4 | 2001-12-20 | 0.01 |
| 5 | 2002-12-19 | 0.017 |
| 6 | 2005-12-22 | 0.0 |
| 7 | 2006-12-19 | 0.0 |
| 8 | 2007-12-19 | 0.0 |
| 9 | 2008-12-18 | 0.0 |
| 10 | 2010-12-16 | 0.0 |
| 11 | 2011-12-15 | 0.0 |
| 12 | 2012-12-18 | 0.0 |
| 13 | 2013-12-19 | 0.0 |
| 14 | 2014-12-18 | 0.0 |
| 15 | 2015-12-17 | 0.0 |
| 16 | 2017-12-14 | 0.0 |
| 17 | 2018-12-13 | 0.0 |
| 18 | 2019-12-12 | 0.0 |
| 19 | 2020-11-16 | 0.0 |