Skip to content

address review: visible fn main wrappers, Custom-empty guard, fallibl…

aa8b592
Select commit
Loading
Failed to load commit list.
Merged

refactor: M1 final sweep — eliminate remaining .unwrap()/.expect() (#321) #355

address review: visible fn main wrappers, Custom-empty guard, fallibl…
aa8b592
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Apr 17, 2026 in 0s

76.42% (target 72.00%)

View this Pull Request on Codecov

76.42% (target 72.00%)

Details

Codecov Report

❌ Patch coverage is 64.60177% with 40 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/pnl/model.rs 0.00% 14 Missing ⚠️
src/volatility/utils.rs 65.21% 8 Missing ⚠️
src/simulation/traits.rs 69.23% 4 Missing ⚠️
src/geometrics/operations/axis.rs 71.42% 2 Missing ⚠️
src/risk/span.rs 85.71% 2 Missing ⚠️
src/simulation/steps/step.rs 33.33% 2 Missing ⚠️
src/utils/logger.rs 50.00% 2 Missing ⚠️
src/utils/time.rs 75.00% 2 Missing ⚠️
src/model/option.rs 66.66% 1 Missing ⚠️
src/model/profit_range.rs 75.00% 1 Missing ⚠️
... and 2 more
Files with missing lines Coverage Δ
src/lib.rs 100.00% <ø> (ø)
src/model/decimal.rs 93.10% <100.00%> (ø)
src/model/position.rs 82.13% <ø> (ø)
src/model/utils.rs 91.17% <ø> (ø)
src/pnl/metrics.rs 98.43% <100.00%> (ø)
src/simulation/steps/x.rs 91.37% <100.00%> (ø)
src/strategies/bull_put_spread.rs 78.65% <ø> (ø)
src/utils/csv.rs 89.09% <100.00%> (ø)
src/utils/others.rs 100.00% <100.00%> (ø)
src/model/option.rs 57.32% <66.66%> (-0.05%) ⬇️
... and 11 more
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.