f/overrides/event-backup/bkf-dividend.csv
Greg Pomerantz 3c5bee96ce Clean multi-vintage 'ctime' files: 1,065 files, 2.2M stale rows
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).
2026-08-31 22:25:02 -04:00

25 lines
429 B
Plaintext

Date,Dividends
2008-06-25,0.156
2008-12-23,0.336
2008-12-29,0.045
2009-06-23,0.162
2009-12-22,0.212
2009-12-29,0.025
2010-06-23,0.403
2010-12-21,0.415
2010-12-29,0.036
2011-06-22,0.545
2011-12-20,0.273
2012-06-21,0.657
2012-12-18,0.163
2012-12-27,0.022
2013-06-27,0.677579
2013-12-18,0.227523
2014-06-25,0.478482
2014-12-17,0.57655
2015-06-25,0.377609
2015-12-21,0.545399
2016-06-22,0.191366
2016-12-21,0.387303
2017-06-20,0.156