Skip to content

Add pytest and CI baseline - #98

Merged
Babak (babaknaderi) merged 3 commits into
masterfrom
cleanup/test-ci-baseline
Oct 8, 2026
Merged

Babak (babaknaderi) merged 3 commits into
masterfrom
cleanup/test-ci-baseline

Conversation

@babaknaderi

Copy link
Copy Markdown
Contributor

No description provided.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

All changed files use LF-only endings despite the repository-wide CRLF requirement.

5 open findings
What changed in this PR

Adds an initial pytest suite and GitHub Actions CI baseline.

Changes:

  • Adds unit tests for input generation and result parsing.
  • Configures pytest and Python 3.10/3.13 CI.
  • Adds test dependencies and generated-artifact exclusions.
File Description
tests/​test_result_parser.py Tests outlier filtering.
tests/​test_create_input.py Tests validation, parsing, and dispatch.
requirements-test.txt Defines test dependencies.
pytest.ini Configures test discovery.
.gitignore Ignores test artifacts.
.github/​workflows/​tests.yml Runs pytest in GitHub Actions.

🧠 Review effort: Balanced


Give feedback about Copilot approvals in this survey to enter a drawing for a $150 gift card.

Comment thread .github/workflows/tests.yml Outdated
Comment thread pytest.ini Outdated
Comment thread requirements-test.txt Outdated
Comment thread tests/test_create_input.py Outdated
Comment thread tests/test_result_parser.py Outdated
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The z-score threshold test cannot detect regressions in the threshold it claims to verify.

1 open finding
5 resolved since last review

🧠 Review effort: Balanced


Give feedback about Copilot approvals in this survey to enter a drawing for a $150 gift card.

Comment thread tests/test_result_parser.py Outdated
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The new tests and CI configuration are coherent, correctly scoped, and comply with repository conventions.

0 open findings

1 resolved since last review

🧠 Review effort: Balanced


Give feedback about Copilot approvals in this survey to enter a drawing for a $150 gift card.

@babaknaderi
Babak (babaknaderi) merged commit 5383e0b into master Oct 8, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants