pub fn save_scan( project_path: &str, overall_score: f64, tools: Vec<ToolScore>, ) -> Result<HistoryRecord>
Save a scan result to history.