Skip to content

RuleBasedSafetyModule#257

Merged
darkrush merged 37 commits intoccprocessor:devfrom
darkrush:dev-yujing
Mar 20, 2025
Merged

RuleBasedSafetyModule#257
darkrush merged 37 commits intoccprocessor:devfrom
darkrush:dev-yujing

Conversation

@Adela-Yu-Coder
Copy link
Copy Markdown
Contributor

No description provided.

@codecov
Copy link
Copy Markdown

codecov bot commented Mar 3, 2025

Codecov Report

Attention: Patch coverage is 68.70027% with 118 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
llm_web_kit/model/porn_detector.py 7.69% 48 Missing ⚠️
llm_web_kit/model/model_impl.py 70.77% 45 Missing ⚠️
llm_web_kit/model/unsafe_words_detector.py 28.57% 15 Missing ⚠️
llm_web_kit/model/model_interface.py 87.67% 9 Missing ⚠️
llm_web_kit/model/rule_based_safety_module.py 98.36% 1 Missing ⚠️

❌ Your patch status has failed because the patch coverage (68.70%) is below the target coverage (85.00%). You can increase the patch coverage or adjust the target coverage.

Impacted file tree graph

@@            Coverage Diff             @@
##              dev     #257      +/-   ##
==========================================
- Coverage   90.17%   88.48%   -1.70%     
==========================================
  Files          85       94       +9     
  Lines        5660     6400     +740     
==========================================
+ Hits         5104     5663     +559     
- Misses        556      737     +181     
Files with missing lines Coverage Δ
llm_web_kit/exception/exception.py 98.57% <100.00%> (-1.43%) ⬇️
llm_web_kit/model/domain_safety_detector.py 100.00% <100.00%> (ø)
llm_web_kit/model/policical.py 54.43% <100.00%> (ø)
llm_web_kit/model/source_safety_detector.py 100.00% <100.00%> (ø)
llm_web_kit/model/rule_based_safety_module.py 98.36% <98.36%> (ø)
llm_web_kit/model/model_interface.py 87.67% <87.67%> (ø)
llm_web_kit/model/unsafe_words_detector.py 74.35% <28.57%> (-20.00%) ⬇️
llm_web_kit/model/model_impl.py 70.77% <70.77%> (ø)
llm_web_kit/model/porn_detector.py 48.90% <7.69%> (-25.22%) ⬇️

... and 26 files with indirect coverage changes

🚀 New features to boost your workflow:
  • Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@darkrush darkrush merged commit 53d4013 into ccprocessor:dev Mar 20, 2025
3 of 4 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.

2 participants