Skip to content

test: add deterministic unit tests for core logic#1

Open
ChatchaiTritham wants to merge 1 commit into
mainfrom
add-unit-tests
Open

test: add deterministic unit tests for core logic#1
ChatchaiTritham wants to merge 1 commit into
mainfrom
add-unit-tests

Conversation

@ChatchaiTritham

Copy link
Copy Markdown
Owner

Adds a deterministic unit-test suite under tests/test_units.py.

What is tested:

  • Threshold / gating logic for core decision functions
  • Metric formulas (verified against hand-computed expected values)
  • Pure helper functions with fixed, reproducible inputs

No source changes — test files only.

🤖 Generated with Claude Code

Adds tests/test_units.py covering pure functions (thresholds, gating,
metric formulas) verified against hand-computed values. No source changes.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.

1 participant