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).
302 B
302 B
| 1 | Date | Dividends |
|---|---|---|
| 2 | 2012-12-21 | 1.083 |
| 3 | 2013-04-16 | 0.255 |
| 4 | 2013-07-15 | 0.103 |
| 5 | 2013-10-15 | 0.028 |
| 6 | 2013-12-27 | 0.902 |
| 7 | 2014-12-29 | 1.975 |
| 8 | 2015-10-15 | 0.089 |
| 9 | 2015-12-29 | 0.32 |
| 10 | 2016-11-15 | 0.837 |
| 11 | 2016-12-28 | 0.446 |
| 12 | 2017-04-20 | 0.23 |
| 13 | 2017-07-14 | 0.086 |
| 14 | 2017-10-16 | 0.068 |
| 15 | 2017-11-15 | 1.567 |
| 16 | 2017-12-27 | 0.734 |
| 17 | 2018-04-16 | 0.092 |
| 18 | 2018-07-16 | 0.057 |