aml4td / aml4td/website

Add basic regression tests

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

Nobody has claimed this yet.

repoducability
Dominant language
HTML
Stars
171
Forks
17
Avg merge
12d 6h
Merged PRs (30d)
2

Description

A few implementations, specifically torch and libsvm/kernlab, don't have good control over random number usage. Also, we have seen differences in results across intel and apple silicon chips (but that seems to be getting better).

We have some places where we programmatically write out results in-line. If the results change, our encoded conclusions might no longer be valid.

We can take a few key objects and save their results once their usage is finalized. Then we can use testthat to verify that those results are the same (or within some tolerance). Since the project is almost structured like an R package, this means that we can use devtools::test() to check for consistency of results.

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 reviewing the torch and libsvm/kernlab implementations and the existing places that write results inline. Use testthat through devtools::test() to identify key finalized objects, capture their results, and verify exact or tolerance-based consistency across supported chips. Done means regression tests cover the selected objects and guard against changed conclusions.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
machine-learning, testing-qa
Issue type
Feature
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.