Skip to content

Final Evalution - #16

Merged
Khubaib8281 merged 13 commits into
mainfrom
feat/final-evaluation-ci-tests-performance
Sep 14, 2026
Merged

Khubaib8281 merged 13 commits into
mainfrom
feat/final-evaluation-ci-tests-performance

Conversation

@khadijja1

@khadijja1 khadijja1 commented Sep 12, 2026 •

Copy link
Copy Markdown
Collaborator

What does this PR do?

Final evaluation pass: added CI (3.9–3.12 matrix, 90% coverage gate), full test coverage for auditor/cli/report/loader/renderer, real-scale performance fixes for near_duplicates and language_contamination, cleaned up misplaced/generated files, and refreshed the sample audit report.

Which module(s) does it touch?

Inference_audit\checks\near_duplicates.py
inference_audit\checks\language_contamination.py
tests\test_cli.py test_auditor.py tests_report.py test_report_renderer.py test_loader.py

How did you test it?

============================== test session starts ==============================
platform win32 -- Python 3.11.9, pytest-9.1.1, pluggy-1.6.0
rootdir: C:\Users\User\Documents\inference-audit
plugins: cov-7.1.0, mock-3.15.1
collected 90 items

tests\test_annotation_consistency.py .......... [ 11%]
tests\test_auditor.py ....... [ 18%]
tests\test_cli.py ............. [ 33%]
tests\test_label_distribution.py ..... [ 38%]
tests\test_language_contamination.py ............ [ 52%]
tests\test_loader.py .......s. [ 62%]
tests\test_missing_values.py .... [ 66%]
tests\test_near_duplicates.py ........ [ 75%]
tests\test_performance.py ....... [ 83%]
tests\test_report.py ........ [ 92%]
tests\test_report_renderer.py ....... [100%]

================================ tests coverage =================================
________________ coverage: platform win32, python 3.11.9-final-0 ________________

Name Stmts Miss Cover Missing

inference_audit_init_.py 0 0 100%
inference_audit\auditor.py 15 0 100%
inference_audit\checks\annotation_consistency.py 37 0 100%
inference_audit\checks\label_distribution.py 39 5 87% 63, 85, 97, 134-135
inference_audit\checks\language_contamination.py 67 7 90% 57, 138-142, 198
inference_audit\checks\missing_values.py 33 2 94% 63, 81
inference_audit\checks\near_duplicates.py 76 0 100%
inference_audit\cli.py 52 3 94% 90-94, 148
inference_audit\config.py 8 0 100%
inference_audit\loader.py 35 8 77% 87-88, 103-115
inference_audit\report.py 52 7 87% 165-166,184-190
inference_audit\report_renderer.py 46 0 100%

TOTAL 460 32 93%
Coverage HTML written to dir htmlcov
=================== 89 passed, 1 skipped in 65.06s (0:01:05) ====================

Checklist:

  • Tests added or updated
  • Docstrings on all new public functions
  • No unused imports
  • README updated if public API changed
  • Lead Engineer has reviewed and approved before submitting to director

@Khubaib8281 Khubaib8281 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I appreciate the structure used. Happy to merge the PR

@Khubaib8281
Khubaib8281 merged commit d150539 into main Sep 14, 2026
4 checks passed
@Khubaib8281
Khubaib8281 deleted the feat/final-evaluation-ci-tests-performance branch September 14, 2026 15:50
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.

2 participants