pub fn save_model_json( model: &Model, path: &str, test_name: &str, test_stage: &str, accept: bool, ) -> Result<(), Error>