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).
347 B
347 B
| 1 | Date | Dividends |
|---|---|---|
| 2 | 2015-06-18 | 0.033 |
| 3 | 2015-09-17 | 0.033 |
| 4 | 2015-12-17 | 0.171 |
| 5 | 2016-03-17 | 0.03 |
| 6 | 2016-06-16 | 0.019 |
| 7 | 2016-09-15 | 0.022 |
| 8 | 2016-12-15 | 0.038 |
| 9 | 2017-03-16 | 0.006 |
| 10 | 2017-09-14 | 0.012 |
| 11 | 2017-12-14 | 0.019 |
| 12 | 2018-03-15 | 0.014 |
| 13 | 2018-06-14 | 0.013 |
| 14 | 2018-09-13 | 0.014 |
| 15 | 2018-12-20 | 0.255 |
| 16 | 2019-02-27 | 0.0 |
| 17 | 2019-03-14 | 0.009 |
| 18 | 2019-03-28 | 0.0 |
| 19 | 2019-04-29 | 0.0 |
| 20 | 2019-06-13 | 0.008 |
| 21 | 2019-09-12 | 0.03 |