| 9 | |
| 10 | #[derive(Debug, Clone, PartialEq)] |
| 11 | pub struct BacktestSafeguards { |
| 12 | pub survivorship_bias_control: String, |
| 13 | pub look_ahead_control: String, |
| 14 | pub data_mining_control: String, |
| 15 | pub cost_assumption: String, |
| 16 | pub multiple_testing_control: String, |
| 17 | } |
| 18 | |
| 19 | impl BacktestSafeguards { |
| 20 | pub fn validate(&self) -> Result<(), String> { |
nothing calls this directly
no outgoing calls
no test coverage detected