Aarhus-Psychiatry-Research / psycop-model-training

Shared code for model training and evaluation.
Other
1 stars 0 forks source link

ci: update cruft and type hints #416

Closed MartinBernstorff closed 1 year ago

github-actions[bot] commented 1 year ago

Coverage

Coverage Report •
FileStmtsMissCoverMissing
src/psycop_model_training/application_modules
   process_manager_setup.py16160%1–40
src/psycop_model_training/config_schemas
   conf_utils.py29293%66–72
   preprocessing.py240100% 
src/psycop_model_training/data_loader
   col_name_checker.py290100% 
src/psycop_model_training/model_eval
   model_evaluator.py601968%50, 102–105, 112–126, 139–162
src/psycop_model_training/model_eval/artifact_saver
   to_disk.py35197%52
src/psycop_model_training/model_eval/base_artifacts/plots
   base_charts.py44295%60, 98
   performance_by_age.py110100% 
   performance_over_time.py70396%77, 220, 336
   sens_over_time.py84396%136, 177, 373
   time_from_first_positive_to_event.py24196%76
   utils.py30293%22, 62
src/psycop_model_training/model_eval/base_artifacts/tables
   descriptive_stats_table.py861088%86–89, 126–134, 161, 308–310
   performance_by_threshold.py61493%253, 256–259
   tables.py281739%24–26, 35, 38–41, 57–65, 81–94
src/psycop_model_training/preprocessing/post_split
   feature_selectors.py11110%2–30
src/psycop_model_training/preprocessing/pre_split/processors
   col_filter.py77988%38, 56–67, 136, 167, 190
   row_filter.py69593%39, 103, 126–131, 167
   value_transformer.py371365%29, 35–45, 54–65, 73, 76
src/psycop_model_training/training
   train_and_predict.py651183%156–172, 209
   utils.py13192%30
src/psycop_model_training/utils
   col_name_inference.py39977%33, 60–61, 69, 89–94, 121
   utils.py901979%44, 184, 242–243, 260, 264, 294–297, 305–309, 314–325, 337–341
TOTAL182943876% 

Tests Skipped Failures Errors Time
43 1 :zzz: 0 :x: 0 :fire: 1m 3s :stopwatch: