Closed MartinBernstorff closed 1 year ago
Coverage Report •
File Stmts Miss Cover Missing src/psycop_model_training/application_modules get_search_space.py 36 36 0% 1–122 process_manager_setup.py 16 16 0% 1–37 trainer_spawner.py 28 28 0% 3–89 wandb_handler.py 28 1 96% 40 src/psycop_model_training/application_modules/train_model main.py 31 2 94% 25, 81 src/psycop_model_training/archive model_training_watcher.py 130 130 0% 2–367 src/psycop_model_training/config_schemas basemodel.py 18 1 94% 25 conf_utils.py 29 2 93% 66–72 data.py 18 0 100% eval.py 9 0 100% full_config.py 17 0 100% preprocessing.py 24 0 100% src/psycop_model_training/data_loader col_name_checker.py 29 0 100% data_classes.py 9 0 100% data_loader.py 47 11 77% 43, 65, 68, 73–78, 104–112 utils.py 33 14 58% 17, 64–81 src/psycop_model_training/model_eval dataclasses.py 32 0 100% model_evaluator.py 59 21 64% 49, 98–103, 110–124, 135–160 src/psycop_model_training/model_eval/artifact_saver to_disk.py 35 7 80% 23, 52, 85–91 src/psycop_model_training/model_eval/base_artifacts base_artifact_generator.py 40 14 65% 64–71, 183, 194, 206, 225–236 src/psycop_model_training/model_eval/base_artifacts/plots base_charts.py 44 2 95% 60, 99 feature_importance.py 14 0 100% performance_by_age.py 11 0 100% performance_by_sex.py 11 0 100% performance_over_time.py 68 3 96% 77, 214, 324 precision_recall.py 22 0 100% prob_over_time.py 35 1 97% 136 roc_auc.py 19 1 95% 43 sens_over_time.py 84 3 96% 133, 174, 370 time_from_first_positive_to_event.py 24 15 38% 27–76 utils.py 30 3 90% 22, 42, 62 src/psycop_model_training/model_eval/base_artifacts/tables descriptive_stats_table.py 86 10 88% 86–89, 126–134, 161, 308–310 performance_by_threshold.py 61 4 93% 253, 256–259 tables.py 28 17 39% 24–26, 35, 38–41, 57–65, 81–94 src/psycop_model_training/model_eval/model_performance model_performance.py 102 8 92% 150, 153, 266, 438–482 utils.py 44 2 95% 128–131 src/psycop_model_training/preprocessing/post_split create_pipeline.py 31 5 84% 21, 59, 76–80, 114 pipeline.py 14 0 100% src/psycop_model_training/preprocessing/pre_split full_processor.py 19 0 100% src/psycop_model_training/preprocessing/pre_split/processors col_filter.py 78 9 88% 39, 57–68, 137, 168, 191 row_filter.py 70 5 93% 40, 104, 127–132, 168 value_cleaner.py 30 0 100% value_transformer.py 38 13 66% 30, 36–46, 55–66, 74, 77 src/psycop_model_training/training model_specs.py 12 0 100% train_and_predict.py 66 11 83% 157–173, 210 utils.py 12 0 100% src/psycop_model_training/utils col_name_inference.py 38 9 76% 29, 56–57, 65, 85–90, 117 decorators.py 65 21 68% 27–58, 77 utils.py 94 24 74% 45, 148–158, 207, 216, 243, 260–261, 278, 282, 312–315, 323–327, 332–343, 355–359 TOTAL 1979 483 76%
Tests | Skipped | Failures | Errors | Time |
---|---|---|---|---|
48 | 1 :zzz: | 0 :x: | 0 :fire: | 1m 24s :stopwatch: |
Waiting on #406, then merge.
Notes for reviewers
Reviewers can skip X, but should pay attention to Y.