Repository navigation
Final Evalution - #16
Merged
Merged
Final Evalution #16
Conversation
…pload, enforce 90% coverage gate
…ation_consistency.py from wrong location
…ng language_contamination.py's now-completed config decoupling
…-ci-tests-performance
… required by build tools on Linux CI)
…ort time, not just call time - previous try/except never ran since the top-level import itself failed on 3.9
Khubaib8281
approved these changes
Sep 14, 2026
Khubaib8281
left a comment
Member
There was a problem hiding this comment.
I appreciate the structure used. Happy to merge the PR
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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: