Skip to content

Raise test coverage: Full test suit, contract wrappers, execution, separation#34

Merged
RBhupi merged 14 commits into
mainfrom
devel
May 14, 2026
Merged

Raise test coverage: Full test suit, contract wrappers, execution, separation#34
RBhupi merged 14 commits into
mainfrom
devel

Conversation

@RBhupi
Copy link
Copy Markdown
Collaborator

@RBhupi RBhupi commented May 14, 2026

PR tags (required)

Select all that apply.

  • docs-only
  • tests-only
  • tiny-change (<5 lines, single class/file)
  • code-change
  • scientific/algorithmic
  • design/architecture
  • GUI

What changed

2-4 bullets in plain language.
adds test coverage across every module.

Why

1-2 lines on the user/problem impact.

Issues closed

Closes #10
Closes #11
Closes #12

Target version (required)

Aiming for: v0.2.0

Validation

validated through manual mutation testing.

  • I ran ruff

    • Evidence (command + pass/fail):
    • N/A reason (if not run):
  • I ran import-linter

    • Evidence (command + pass/fail):
    • N/A reason (if not run):
  • I ran tests

    • Evidence (command + pass/fail):
    • N/A reason (if not run):

AI usage & manual verification

If AI tools were used, complete this section.

  • AI used: yes
  • Model/tooling: Argo + Claude code
  • Tasks delegated to AI: developing tests
  • Manual verification performed: yes, many tests were checked by breaking the code.

Reviewer guide

Where should review start, and what are the key files/areas?

  • Entry point: ./tests

RBhupi added 14 commits May 14, 2026 14:26
all test infrastructure (conftest, module tests, graph tests, runtime tests, etc.)
CLI config, resolution, setup directories, userconfig normalization
downloader init, queue, realtime, historical, failures, availability
segmenter init, threshold, filtering, morphology, contract, failures
cell analyzer init, extract, centroids, adjacency, optional fields, utils, validation
projector init, basic projection, configs, internal utils, validation
data repository, catalog schema, registry radar location
contract assert primitives and check bound wrappers
(detection, tracker, contracts, executor)
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented May 14, 2026

Codecov Report

❌ Patch coverage is 88.23529% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 46.63%. Comparing base (2ef40a6) to head (d476648).
⚠️ Report is 7 commits behind head on main.

Files with missing lines Patch % Lines
src/adapt/utils/time.py 86.66% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##             main      #34       +/-   ##
===========================================
+ Coverage   19.88%   46.63%   +26.74%     
===========================================
  Files          49       55        +6     
  Lines        6079     6088        +9     
  Branches      863      860        -3     
===========================================
+ Hits         1209     2839     +1630     
+ Misses       4761     3051     -1710     
- Partials      109      198       +89     
Flag Coverage Δ
unittests 46.63% <88.23%> (+26.74%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@RBhupi RBhupi merged commit 2b65ebf into main May 14, 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.

Add unit tests for persistence layer Contract boundary tests Test Coverage for scientific Pipeline Modules

2 participants