- Fixed systematic array indexing corruption: [0_i32] → [0] - Fixed numeric literal suffixes across 835 files - Fixed iterator patterns on RwLockReadGuard (.iter() required) - Fixed float type annotations (365.25_f64 for sqrt) - Fixed missing semicolons in position manager - Fixed reference dereferencing in data loader Root cause: Mass refactoring incorrectly added _i32 suffixes to array indices Impact: Complete compilation failure (463 errors) Resolution: Automated regex + targeted fixes Result: 100% compilation success (0 errors) Validated: cargo check --workspace passes Ready for: Production deployment
1 line
17 KiB
HTML
1 line
17 KiB
HTML
<!doctype html><html><head><meta name='viewport' content='width=device-width,initial-scale=1'><meta charset='UTF-8'><link rel='stylesheet' type='text/css' href='style.css'><script src='control.js'></script></head><body><h2>Coverage Report</h2><h4>Created: 2025-10-09 22:05</h4><p>Click <a href='http://clang.llvm.org/docs/SourceBasedCodeCoverage.html#interpreting-reports'>here</a> for information about interpreting this report.</p><div class='centered'><table><tr><td class='column-entry-bold'>Filename</td><td class='column-entry-bold'>Function Coverage</td><td class='column-entry-bold'>Line Coverage</td><td class='column-entry-bold'>Region Coverage</td><td class='column-entry-bold'>Branch Coverage</td></tr><tr class='light-row'><td><pre><a href='coverage/home/jgrusewski/Work/foxhunt/common/src/database.rs.html'>common/src/database.rs</a></pre></td><td class='column-entry-red'><pre> 0.00% (0/15)</pre></td><td class='column-entry-red'><pre> 0.00% (0/132)</pre></td><td class='column-entry-red'><pre> 0.00% (0/117)</pre></td><td class='column-entry-gray'><pre>- (0/0)</pre></td></tr><tr class='light-row'><td><pre><a href='coverage/home/jgrusewski/Work/foxhunt/common/src/error.rs.html'>common/src/error.rs</a></pre></td><td class='column-entry-red'><pre> 0.00% (0/17)</pre></td><td class='column-entry-red'><pre> 0.00% (0/153)</pre></td><td class='column-entry-red'><pre> 0.00% (0/219)</pre></td><td class='column-entry-gray'><pre>- (0/0)</pre></td></tr><tr class='light-row'><td><pre><a href='coverage/home/jgrusewski/Work/foxhunt/common/src/trading.rs.html'>common/src/trading.rs</a></pre></td><td class='column-entry-red'><pre> 0.00% (0/16)</pre></td><td class='column-entry-red'><pre> 0.00% (0/87)</pre></td><td class='column-entry-red'><pre> 0.00% (0/135)</pre></td><td class='column-entry-gray'><pre>- (0/0)</pre></td></tr><tr class='light-row'><td><pre><a href='coverage/home/jgrusewski/Work/foxhunt/common/src/traits.rs.html'>common/src/traits.rs</a></pre></td><td class='column-entry-red'><pre> 0.00% (0/2)</pre></td><td class='column-entry-red'><pre> 0.00% (0/6)</pre></td><td class='column-entry-red'><pre> 0.00% (0/6)</pre></td><td class='column-entry-gray'><pre>- (0/0)</pre></td></tr><tr class='light-row'><td><pre><a href='coverage/home/jgrusewski/Work/foxhunt/common/src/types.rs.html'>common/src/types.rs</a></pre></td><td class='column-entry-red'><pre> 10.44% (33/316)</pre></td><td class='column-entry-red'><pre> 9.40% (169/1798)</pre></td><td class='column-entry-red'><pre> 7.78% (184/2366)</pre></td><td class='column-entry-gray'><pre>- (0/0)</pre></td></tr><tr class='light-row'><td><pre><a href='coverage/home/jgrusewski/Work/foxhunt/config/src/asset_classification.rs.html'>config/src/asset_classification.rs</a></pre></td><td class='column-entry-red'><pre> 10.53% (2/19)</pre></td><td class='column-entry-red'><pre> 4.92% (15/305)</pre></td><td class='column-entry-red'><pre> 5.98% (15/251)</pre></td><td class='column-entry-gray'><pre>- (0/0)</pre></td></tr><tr class='light-row'><td><pre><a href='coverage/home/jgrusewski/Work/foxhunt/config/src/data_config.rs.html'>config/src/data_config.rs</a></pre></td><td class='column-entry-red'><pre> 0.00% (0/13)</pre></td><td class='column-entry-red'><pre> 0.00% (0/145)</pre></td><td class='column-entry-red'><pre> 0.00% (0/71)</pre></td><td class='column-entry-gray'><pre>- (0/0)</pre></td></tr><tr class='light-row'><td><pre><a href='coverage/home/jgrusewski/Work/foxhunt/config/src/data_providers.rs.html'>config/src/data_providers.rs</a></pre></td><td class='column-entry-red'><pre> 0.00% (0/21)</pre></td><td class='column-entry-red'><pre> 0.00% (0/113)</pre></td><td class='column-entry-red'><pre> 0.00% (0/121)</pre></td><td class='column-entry-gray'><pre>- (0/0)</pre></td></tr><tr class='light-row'><td><pre><a href='coverage/home/jgrusewski/Work/foxhunt/config/src/database.rs.html'>config/src/database.rs</a></pre></td><td class='column-entry-red'><pre> 0.00% (0/7)</pre></td><td class='column-entry-red'><pre> 0.00% (0/52)</pre></td><td class='column-entry-red'><pre> 0.00% (0/34)</pre></td><td class='column-entry-gray'><pre>- (0/0)</pre></td></tr><tr class='light-row'><td><pre><a href='coverage/home/jgrusewski/Work/foxhunt/config/src/lib.rs.html'>config/src/lib.rs</a></pre></td><td class='column-entry-red'><pre> 0.00% (0/2)</pre></td><td class='column-entry-red'><pre> 0.00% (0/11)</pre></td><td class='column-entry-red'><pre> 0.00% (0/15)</pre></td><td class='column-entry-gray'><pre>- (0/0)</pre></td></tr><tr class='light-row'><td><pre><a href='coverage/home/jgrusewski/Work/foxhunt/config/src/manager.rs.html'>config/src/manager.rs</a></pre></td><td class='column-entry-red'><pre> 0.00% (0/17)</pre></td><td class='column-entry-red'><pre> 0.00% (0/132)</pre></td><td class='column-entry-red'><pre> 0.00% (0/168)</pre></td><td class='column-entry-gray'><pre>- (0/0)</pre></td></tr><tr class='light-row'><td><pre><a href='coverage/home/jgrusewski/Work/foxhunt/config/src/ml_config.rs.html'>config/src/ml_config.rs</a></pre></td><td class='column-entry-red'><pre> 0.00% (0/4)</pre></td><td class='column-entry-red'><pre> 0.00% (0/136)</pre></td><td class='column-entry-red'><pre> 0.00% (0/55)</pre></td><td class='column-entry-gray'><pre>- (0/0)</pre></td></tr><tr class='light-row'><td><pre><a href='coverage/home/jgrusewski/Work/foxhunt/config/src/risk_config.rs.html'>config/src/risk_config.rs</a></pre></td><td class='column-entry-red'><pre> 60.00% (3/5)</pre></td><td class='column-entry-yellow'><pre> 83.16% (158/190)</pre></td><td class='column-entry-yellow'><pre> 89.22% (298/334)</pre></td><td class='column-entry-gray'><pre>- (0/0)</pre></td></tr><tr class='light-row'><td><pre><a href='coverage/home/jgrusewski/Work/foxhunt/config/src/runtime.rs.html'>config/src/runtime.rs</a></pre></td><td class='column-entry-red'><pre> 0.00% (0/34)</pre></td><td class='column-entry-red'><pre> 0.00% (0/344)</pre></td><td class='column-entry-red'><pre> 0.00% (0/409)</pre></td><td class='column-entry-gray'><pre>- (0/0)</pre></td></tr><tr class='light-row'><td><pre><a href='coverage/home/jgrusewski/Work/foxhunt/config/src/schemas.rs.html'>config/src/schemas.rs</a></pre></td><td class='column-entry-red'><pre> 0.00% (0/5)</pre></td><td class='column-entry-red'><pre> 0.00% (0/76)</pre></td><td class='column-entry-red'><pre> 0.00% (0/144)</pre></td><td class='column-entry-gray'><pre>- (0/0)</pre></td></tr><tr class='light-row'><td><pre><a href='coverage/home/jgrusewski/Work/foxhunt/config/src/storage_config.rs.html'>config/src/storage_config.rs</a></pre></td><td class='column-entry-red'><pre> 0.00% (0/5)</pre></td><td class='column-entry-red'><pre> 0.00% (0/26)</pre></td><td class='column-entry-red'><pre> 0.00% (0/26)</pre></td><td class='column-entry-gray'><pre>- (0/0)</pre></td></tr><tr class='light-row'><td><pre><a href='coverage/home/jgrusewski/Work/foxhunt/config/src/structures.rs.html'>config/src/structures.rs</a></pre></td><td class='column-entry-red'><pre> 7.41% (2/27)</pre></td><td class='column-entry-red'><pre> 30.95% (108/349)</pre></td><td class='column-entry-red'><pre> 25.09% (73/291)</pre></td><td class='column-entry-gray'><pre>- (0/0)</pre></td></tr><tr class='light-row'><td><pre><a href='coverage/home/jgrusewski/Work/foxhunt/config/src/symbol_config.rs.html'>config/src/symbol_config.rs</a></pre></td><td class='column-entry-red'><pre> 0.00% (0/44)</pre></td><td class='column-entry-red'><pre> 0.00% (0/317)</pre></td><td class='column-entry-red'><pre> 0.00% (0/333)</pre></td><td class='column-entry-gray'><pre>- (0/0)</pre></td></tr><tr class='light-row'><td><pre><a href='coverage/home/jgrusewski/Work/foxhunt/config/src/vault.rs.html'>config/src/vault.rs</a></pre></td><td class='column-entry-red'><pre> 0.00% (0/8)</pre></td><td class='column-entry-red'><pre> 0.00% (0/48)</pre></td><td class='column-entry-red'><pre> 0.00% (0/56)</pre></td><td class='column-entry-gray'><pre>- (0/0)</pre></td></tr><tr class='light-row'><td><pre><a href='coverage/home/jgrusewski/Work/foxhunt/risk/src/circuit_breaker.rs.html'>risk/src/circuit_breaker.rs</a></pre></td><td class='column-entry-red'><pre> 29.07% (25/86)</pre></td><td class='column-entry-red'><pre> 32.78% (198/604)</pre></td><td class='column-entry-red'><pre> 24.61% (205/833)</pre></td><td class='column-entry-gray'><pre>- (0/0)</pre></td></tr><tr class='light-row'><td><pre><a href='coverage/home/jgrusewski/Work/foxhunt/risk/src/compliance.rs.html'>risk/src/compliance.rs</a></pre></td><td class='column-entry-red'><pre> 65.15% (86/132)</pre></td><td class='column-entry-red'><pre> 76.23% (911/1195)</pre></td><td class='column-entry-red'><pre> 74.90% (1310/1749)</pre></td><td class='column-entry-gray'><pre>- (0/0)</pre></td></tr><tr class='light-row'><td><pre><a href='coverage/home/jgrusewski/Work/foxhunt/risk/src/drawdown_monitor.rs.html'>risk/src/drawdown_monitor.rs</a></pre></td><td class='column-entry-yellow'><pre> 95.12% (39/41)</pre></td><td class='column-entry-yellow'><pre> 98.28% (343/349)</pre></td><td class='column-entry-yellow'><pre> 94.97% (434/457)</pre></td><td class='column-entry-gray'><pre>- (0/0)</pre></td></tr><tr class='light-row'><td><pre><a href='coverage/home/jgrusewski/Work/foxhunt/risk/src/error.rs.html'>risk/src/error.rs</a></pre></td><td class='column-entry-red'><pre> 16.00% (4/25)</pre></td><td class='column-entry-red'><pre> 10.69% (17/159)</pre></td><td class='column-entry-red'><pre> 11.80% (21/178)</pre></td><td class='column-entry-gray'><pre>- (0/0)</pre></td></tr><tr class='light-row'><td><pre><a href='coverage/home/jgrusewski/Work/foxhunt/risk/src/kelly_sizing.rs.html'>risk/src/kelly_sizing.rs</a></pre></td><td class='column-entry-red'><pre> 58.62% (17/29)</pre></td><td class='column-entry-red'><pre> 68.81% (214/311)</pre></td><td class='column-entry-red'><pre> 74.45% (373/501)</pre></td><td class='column-entry-gray'><pre>- (0/0)</pre></td></tr><tr class='light-row'><td><pre><a href='coverage/home/jgrusewski/Work/foxhunt/risk/src/lib.rs.html'>risk/src/lib.rs</a></pre></td><td class='column-entry-red'><pre> 72.73% (8/11)</pre></td><td class='column-entry-yellow'><pre> 84.07% (153/182)</pre></td><td class='column-entry-red'><pre> 75.86% (176/232)</pre></td><td class='column-entry-gray'><pre>- (0/0)</pre></td></tr><tr class='light-row'><td><pre><a href='coverage/home/jgrusewski/Work/foxhunt/risk/src/operations.rs.html'>risk/src/operations.rs</a></pre></td><td class='column-entry-red'><pre> 31.25% (10/32)</pre></td><td class='column-entry-red'><pre> 34.75% (131/377)</pre></td><td class='column-entry-red'><pre> 46.89% (241/514)</pre></td><td class='column-entry-gray'><pre>- (0/0)</pre></td></tr><tr class='light-row'><td><pre><a href='coverage/home/jgrusewski/Work/foxhunt/risk/src/position_tracker.rs.html'>risk/src/position_tracker.rs</a></pre></td><td class='column-entry-red'><pre> 26.67% (28/105)</pre></td><td class='column-entry-red'><pre> 48.34% (465/962)</pre></td><td class='column-entry-red'><pre> 50.77% (657/1294)</pre></td><td class='column-entry-gray'><pre>- (0/0)</pre></td></tr><tr class='light-row'><td><pre><a href='coverage/home/jgrusewski/Work/foxhunt/risk/src/risk_engine.rs.html'>risk/src/risk_engine.rs</a></pre></td><td class='column-entry-red'><pre> 1.16% (1/86)</pre></td><td class='column-entry-red'><pre> 0.53% (5/937)</pre></td><td class='column-entry-red'><pre> 0.25% (3/1218)</pre></td><td class='column-entry-gray'><pre>- (0/0)</pre></td></tr><tr class='light-row'><td><pre><a href='coverage/home/jgrusewski/Work/foxhunt/risk/src/risk_types.rs.html'>risk/src/risk_types.rs</a></pre></td><td class='column-entry-red'><pre> 28.57% (2/7)</pre></td><td class='column-entry-red'><pre> 51.33% (58/113)</pre></td><td class='column-entry-red'><pre> 52.17% (72/138)</pre></td><td class='column-entry-gray'><pre>- (0/0)</pre></td></tr><tr class='light-row'><td><pre><a href='coverage/home/jgrusewski/Work/foxhunt/risk/src/safety/emergency_response.rs.html'>risk/src/safety/emergency_response.rs</a></pre></td><td class='column-entry-yellow'><pre> 91.07% (51/56)</pre></td><td class='column-entry-yellow'><pre> 90.63% (416/459)</pre></td><td class='column-entry-yellow'><pre> 86.23% (570/661)</pre></td><td class='column-entry-gray'><pre>- (0/0)</pre></td></tr><tr class='light-row'><td><pre><a href='coverage/home/jgrusewski/Work/foxhunt/risk/src/safety/kill_switch.rs.html'>risk/src/safety/kill_switch.rs</a></pre></td><td class='column-entry-yellow'><pre> 84.42% (65/77)</pre></td><td class='column-entry-red'><pre> 75.16% (354/471)</pre></td><td class='column-entry-red'><pre> 72.08% (506/702)</pre></td><td class='column-entry-gray'><pre>- (0/0)</pre></td></tr><tr class='light-row'><td><pre><a href='coverage/home/jgrusewski/Work/foxhunt/risk/src/safety/mod.rs.html'>risk/src/safety/mod.rs</a></pre></td><td class='column-entry-yellow'><pre> 81.82% (9/11)</pre></td><td class='column-entry-yellow'><pre> 86.15% (56/65)</pre></td><td class='column-entry-yellow'><pre> 84.13% (53/63)</pre></td><td class='column-entry-gray'><pre>- (0/0)</pre></td></tr><tr class='light-row'><td><pre><a href='coverage/home/jgrusewski/Work/foxhunt/risk/src/safety/position_limiter.rs.html'>risk/src/safety/position_limiter.rs</a></pre></td><td class='column-entry-yellow'><pre> 96.83% (61/63)</pre></td><td class='column-entry-yellow'><pre> 91.62% (503/549)</pre></td><td class='column-entry-yellow'><pre> 92.92% (787/847)</pre></td><td class='column-entry-gray'><pre>- (0/0)</pre></td></tr><tr class='light-row'><td><pre><a href='coverage/home/jgrusewski/Work/foxhunt/risk/src/safety/safety_coordinator.rs.html'>risk/src/safety/safety_coordinator.rs</a></pre></td><td class='column-entry-yellow'><pre> 88.24% (45/51)</pre></td><td class='column-entry-yellow'><pre> 80.05% (297/371)</pre></td><td class='column-entry-red'><pre> 75.56% (473/626)</pre></td><td class='column-entry-gray'><pre>- (0/0)</pre></td></tr><tr class='light-row'><td><pre><a href='coverage/home/jgrusewski/Work/foxhunt/risk/src/safety/trading_gate.rs.html'>risk/src/safety/trading_gate.rs</a></pre></td><td class='column-entry-yellow'><pre> 94.87% (37/39)</pre></td><td class='column-entry-yellow'><pre> 91.39% (244/267)</pre></td><td class='column-entry-yellow'><pre> 88.07% (406/461)</pre></td><td class='column-entry-gray'><pre>- (0/0)</pre></td></tr><tr class='light-row'><td><pre><a href='coverage/home/jgrusewski/Work/foxhunt/risk/src/safety/unix_socket_kill_switch.rs.html'>risk/src/safety/unix_socket_kill_switch.rs</a></pre></td><td class='column-entry-red'><pre> 64.47% (49/76)</pre></td><td class='column-entry-red'><pre> 76.01% (564/742)</pre></td><td class='column-entry-red'><pre> 72.00% (720/1000)</pre></td><td class='column-entry-gray'><pre>- (0/0)</pre></td></tr><tr class='light-row'><td><pre><a href='coverage/home/jgrusewski/Work/foxhunt/risk/src/stress_tester.rs.html'>risk/src/stress_tester.rs</a></pre></td><td class='column-entry-red'><pre> 54.05% (40/74)</pre></td><td class='column-entry-red'><pre> 73.29% (354/483)</pre></td><td class='column-entry-red'><pre> 76.14% (549/721)</pre></td><td class='column-entry-gray'><pre>- (0/0)</pre></td></tr><tr class='light-row'><td><pre><a href='coverage/home/jgrusewski/Work/foxhunt/risk/src/var_calculator/expected_shortfall.rs.html'>risk/src/var_calculator/expected_shortfall.rs</a></pre></td><td class='column-entry-red'><pre> 59.38% (19/32)</pre></td><td class='column-entry-red'><pre> 71.06% (248/349)</pre></td><td class='column-entry-red'><pre> 74.18% (523/705)</pre></td><td class='column-entry-gray'><pre>- (0/0)</pre></td></tr><tr class='light-row'><td><pre><a href='coverage/home/jgrusewski/Work/foxhunt/risk/src/var_calculator/historical_simulation.rs.html'>risk/src/var_calculator/historical_simulation.rs</a></pre></td><td class='column-entry-yellow'><pre> 91.30% (21/23)</pre></td><td class='column-entry-yellow'><pre> 87.54% (267/305)</pre></td><td class='column-entry-yellow'><pre> 88.79% (483/544)</pre></td><td class='column-entry-gray'><pre>- (0/0)</pre></td></tr><tr class='light-row'><td><pre><a href='coverage/home/jgrusewski/Work/foxhunt/risk/src/var_calculator/monte_carlo.rs.html'>risk/src/var_calculator/monte_carlo.rs</a></pre></td><td class='column-entry-yellow'><pre> 82.93% (34/41)</pre></td><td class='column-entry-yellow'><pre> 87.73% (472/538)</pre></td><td class='column-entry-yellow'><pre> 89.82% (829/923)</pre></td><td class='column-entry-gray'><pre>- (0/0)</pre></td></tr><tr class='light-row'><td><pre><a href='coverage/home/jgrusewski/Work/foxhunt/risk/src/var_calculator/parametric.rs.html'>risk/src/var_calculator/parametric.rs</a></pre></td><td class='column-entry-yellow'><pre> 83.87% (26/31)</pre></td><td class='column-entry-yellow'><pre> 94.26% (312/331)</pre></td><td class='column-entry-yellow'><pre> 92.56% (697/753)</pre></td><td class='column-entry-gray'><pre>- (0/0)</pre></td></tr><tr class='light-row'><td><pre><a href='coverage/home/jgrusewski/Work/foxhunt/risk/src/var_calculator/var_engine.rs.html'>risk/src/var_calculator/var_engine.rs</a></pre></td><td class='column-entry-red'><pre> 18.29% (15/82)</pre></td><td class='column-entry-red'><pre> 25.27% (231/914)</pre></td><td class='column-entry-red'><pre> 23.93% (296/1237)</pre></td><td class='column-entry-gray'><pre>- (0/0)</pre></td></tr><tr class='light-row-bold'><td><pre>Totals</pre></td><td class='column-entry-red'><pre> 40.96% (732/1787)</pre></td><td class='column-entry-red'><pre> 47.00% (7263/15453)</pre></td><td class='column-entry-red'><pre> 50.93% (10954/21508)</pre></td><td class='column-entry-gray'><pre>- (0/0)</pre></td></tr></table></div><h5>Generated by llvm-cov -- llvm version 20.1.7-rust-1.89.0-stable</h5></body></html> |