f/overrides/event-backup/cugax-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

57 lines
940 B
Plaintext

Date,Dividends
2001-12-07,0.313
2002-03-28,0.039
2002-09-30,0.074
2002-12-31,0.532
2003-03-31,0.059
2003-06-30,0.044
2003-09-30,0.044
2003-12-31,0.98
2004-03-31,0.044
2004-06-30,0.044
2004-09-30,0.044
2004-12-31,0.607
2005-03-31,0.044
2005-06-30,0.044
2005-09-30,0.045
2005-12-28,0.045
2006-03-30,0.045
2006-06-28,0.045
2006-09-27,0.045
2006-12-27,0.09
2007-03-30,0.045
2007-06-29,0.045
2007-09-28,0.045
2007-12-31,0.422
2008-03-31,0.044
2008-06-30,0.044
2008-09-30,0.045
2008-12-31,0.565
2009-03-31,0.045
2009-06-30,0.02
2009-09-18,0.045
2009-12-18,0.089
2010-03-19,0.105
2010-04-30,0.021
2010-06-18,0.053
2010-09-17,0.046
2010-12-17,0.343
2011-03-18,0.062
2011-06-17,0.07
2011-09-16,0.037
2011-12-20,0.143
2012-03-16,0.051
2012-06-15,0.011
2013-12-20,0.13
2014-06-13,0.06
2014-09-12,0.067
2014-12-22,0.093
2015-12-18,0.032
2016-12-22,0.0
2017-12-21,0.0
2018-12-20,0.478
2019-06-14,0.063
2019-09-13,0.062
2019-12-20,0.166
2020-12-22,0.019