TST: make regression tests based on median/mean performance

Open
#159 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 2 days

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
30/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
python

Research direction

The payload names no source files; it refers only to the regression tests that pin single-seed values and to related PR #157. Start by finding those existing regression tests and the seed handling they use. Done would be a test that checks mean or median R2/AUROC/accuracy over 10+ seeds against a tolerance. The author flags this as very low priority and a design question, so confirm the approach with maintainers first.

Written by the indexing model from the issue text.

Description

enhancement testing

Related to #157

Related to https://lisdi-git.lanl.gov/gfdl_research/research_demo/-/work_items/43

In the related PR, there are multiple analyses and corresponding plots demonstrating variation in performance based on random seed. All of the regression tests thus far are based on a single random seed. From a software development perspective, this is fine.

We may want to consider some regression tests that are based on mean/median R2/AUROC/Accuracy over 10+ random seeds. We would expect a regression test like that to be more stable to code changes than DESIRED values from a single seed. There would be a tradeoff that this would be a slower test.

I suspect this is very low priority.

SI disclosure: I did not use SI to open or comment on this issue.

Dominant language
Python
Stars
3
Forks
6
Avg merge
2d 3h
Merged PRs (30d)
8

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

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.

More from lanl/GFDL

All issues in lanl/GFDL

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.