lowRISC / lowRISC/ot-sca

Automatic testing of tvla.py script

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

Nobody has claimed this yet.

Priority:P2
Dominant language
Jupyter Notebook
Stars
43
Forks
34
PR merge metrics
No merged PRs in 30d

Description

With the PR https://github.com/lowRISC/ot-sca/pull/95, we can now load histograms and use them for general test. This is done automatically when a PR is created but it does not cover all functionality of the tvla.py script. We should also add an automatic test which gets power measurements, computes their t-values and compares with the expected values.

In addition there may be some other functionalities of the tvla.py script that may be tested. Maybe @vrozic, @vogelpi and @andreaskurth has some ideas?

Contributor guide

Open the contributing guide

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 reading tvla.py and PR #95 to understand the existing histogram-loading tests and CI path. Trace how power measurements are loaded and t-values are computed, then define expected-value checks and verify the automatic test covers the stated functionality; review the remaining tvla.py behavior for additional test cases.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
security, 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.