MCPcopy Create free account
hub / github.com/Open-Quant/openquant / _overlaps

Function _overlaps

python/openquant/feature_diagnostics.py:78–79  ·  view source on GitHub ↗
(a: tuple[int, int], b: tuple[int, int])

Source from the content-addressed store, hash-verified

76 "embargo-only splits explicitly."
77 )
78 return [(i, i) for i in range(n_rows)]
79 ends = [int(v) for v in event_end_indices]
80 if len(ends) != n_rows:
81 raise ValueError(
82 f"event_end_indices/X length mismatch: {len(ends)} vs {n_rows}"

Callers 1

_purged_kfold_splitsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected