Hello, I am looking for a technical code review of a Python-based equity index construction and total return calculation engine. The project consists of: Fundamental data processing and scoring (winsorization, sector normalization, percentile filtering) Portfolio construction with multiple constraints (sector caps, regional caps, individual weight caps) Iterative weight redistribution logic Total Return engine with dividend reinvestment and divisor methodology Annual rebalance + monthly drift control Scope of work: Verify mathematical correctness of scoring and normalization. Validate weight construction logic and constraint enforcement (ensure total weight = 100% after caps and redistribution). Review Total Return calculation: dividend reinvestment divisor adjustments rebalance mechanics no double counting Check for: look-ahead bias NaN propagation division-by-zero risks instability under edge cases Confirm pipeline determinism and structural robustness. Important: This is a technical audit only. The methodology and parameters must not be modified — only implementation correctness should be evaluated. Deliverables expected: Written review of issues found List of bugs or logical inconsistencies (if any) Suggested fixes (without altering strategy design)