openradar / openradar/PyDDA

Improve test coverage.

Open
#140 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Jupyter Notebook
Stars
112
Forks
49
Avg merge
12h 52m
Merged PRs (30d)
2

Description

Codecov has been installed and run for PyDDA. Serious improvements are needed to the current test suite as overall coverage is 58%. Some of this is because the tensorflow tests are skipped since it is an optional dependency. However, the non tensorflow-related functions

The following functions need unit tests to improve the test coverage:
pydda.initialization.make_background_from_wrf
pydds.initialization.make_initialization_from_hrr
pydda.constraints.make_constraint_from_era5 needs a test for file_name=None
Unit tests for the augmented Lagrangian (auglag) engine.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the mentioned initialization and constraints entry points: make_background_from_wrf, make_initialization_from_hrr, and make_constraint_from_era5. Review the existing test suite and add coverage for these functions, including the file_name=None case, then add unit tests for the augmented Lagrangian engine. Done means the named non-TensorFlow paths and auglag behavior are covered by passing tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
testing-qa
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.