openclimatefix / openclimatefix/ocf-data-sampler

Update testing coverage for tests/load/

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

Nobody has claimed this yet.

ocf-internal
Dominant language
Python
Stars
20
Forks
43
PR merge metrics
No merged PRs in 30d

Description

I.e. for test_load_sites, to further include: Type verification / checking and potential missing value checks.

I feel the inclusion of this within this specific testing subdirectory is fundamentally more robust - whether involving migration of other similar testing or just to be added as additional.

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 in tests/load/ and locate test_load_sites. Review the existing assertions and the loaded site data to determine the expected type checks and missing-value cases. Done means the relevant tests cover those cases and pass, with any similar testing changes kept within the stated scope.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
testing
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.