Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve unit-tests across the code base. #80

Open
50 of 60 tasks
ns-rse opened this issue Oct 13, 2022 · 0 comments
Open
50 of 60 tasks

Improve unit-tests across the code base. #80

ns-rse opened this issue Oct 13, 2022 · 0 comments
Labels
tests Tests and coverage

Comments

@ns-rse
Copy link
Contributor

ns-rse commented Oct 13, 2022

PRs #50 / #57 /#60 / #61 / #62 addressed the need for regression tests (see #48).

Now that these are in place it is possible to start introducing finer grained unit-tests across the codebase. This will provide immediate benefits...

  • Ability to identify errors with higher resolution.
  • Improve the range and breadth of conditions under which tests are made.
  • Facilitate refactoring of code going forward.

This issue serves as an "Epic" for recording progress of tests written across modules/sub-modules Individual issue and pull-requests can be added against each module/sub-module for reference.

  • Unit tests for data module #81
  • Unit tests for dataset module #82
    • dataset/cec1_dataset.py
  • Unit tests for engine module #83
    • engine/losses.py
    • engone/system.py
  • Tests for recipes #270
    • recipes/cad1/task1 (partially complete)
    • recipes/cad1/task2 (partially complete)
    • recipes/cec1/baseline
    • recipes/cec1/data_preparation/prepare_cec1_data.py
    • recipes/cec1/e009_sheffield
    • recipes/cec2/baseline
    • recipes/cec2/data_preparation
    • recipes/cpc1/baseline
    • recipes/cpc1/e029_sheffield
    • recipes/cpc1/e032_sheffield
    • recipes/cpc1/test_listener_responses
    • recipes/cpc2 (partially complete)
    • recipes/icassp_2023
  • Unit tests for enhancer module #84
    • enhancer/compressor.py
    • enhancer/nalr.py
    • enhancer/dnn
      • enhancer/dnn/mc_conv_tasnet.py
    • enhancer/dsp
      • enhancer/dsp/filter.py
    • enhancer/gha
      • enhancer/gha/audiogram.py
      • enhancer/gha/gainrule_camfit.py
      • enhancer/gha/gha_interface.py
      • enhancer/gha/gha_utils.py
  • Unit tests for evaluator module #85
    • evaluator/haspi
      • evaluator/haspi/eb.py
      • evaluator/haspi/ebm.py
      • evaluator/haspi/haspi.py
      • evaluator/haspi/ip.py
    • evaluator/hasqi
      • evaluator/hasqi/hasqi.py
    • evaluator/haaqi
      • evaluator/haaqi/haaqi.py
    • evaluator/mbstoi
      • evaluator/mbstoi/mbstoi.py
      • evaluator/mbstoi/mbstoi_utils.py
    • evaluator/msbg
      • evaluator/msbg/audiogram.py
      • evaluator/msbg/cochlea.py
      • evaluator/msbg/masbg.py
      • evaluator/msbg/masbg_utils.py
      • evaluator/msbg/smearing.py
  • Unit tests for predictor module #86
    • predictor/torch_msbg.py
    • predictor/torch_stoi.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tests Tests and coverage
Projects
None yet
Development

No branches or pull requests

1 participant