Skip to content

refact leaky bayesian: method to function, unlock w/defer#4242

Merged
mmetc merged 2 commits intomasterfrom
ref-leaky-bayesian
Jan 26, 2026
Merged

refact leaky bayesian: method to function, unlock w/defer#4242
mmetc merged 2 commits intomasterfrom
ref-leaky-bayesian

Conversation

@mmetc
Copy link
Contributor

@mmetc mmetc commented Jan 26, 2026

No description provided.

@mmetc mmetc added this to the 1.7.7 milestone Jan 26, 2026
@mmetc mmetc requested a review from sabban January 26, 2026 09:58
@github-actions
Copy link

@mmetc: There are no area labels on this PR. You can add as many areas as you see fit.

  • /area agent
  • /area local-api
  • /area cscli
  • /area appsec
  • /area security
  • /area configuration
Details

I am a bot created to help the crowdsecurity developers manage community feedback and contributions. You can check out my manifest file to understand my behavior and what I can do. If you want to use this for your project, you can check out the BirthdayResearch/oss-governance-bot repository.

@codecov
Copy link

codecov bot commented Jan 26, 2026

Codecov Report

❌ Patch coverage is 90.00000% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 63.05%. Comparing base (569271e) to head (7180b25).
⚠️ Report is 2 commits behind head on master.

Files with missing lines Patch % Lines
pkg/leakybucket/bayesian.go 90.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4242      +/-   ##
==========================================
- Coverage   63.09%   63.05%   -0.04%     
==========================================
  Files         471      471              
  Lines       33433    33430       -3     
==========================================
- Hits        21093    21079      -14     
- Misses      10221    10228       +7     
- Partials     2119     2123       +4     
Flag Coverage Δ
bats 46.57% <0.00%> (+<0.01%) ⬆️
unit-linux 35.96% <90.00%> (-0.04%) ⬇️
unit-windows 24.34% <90.00%> (-0.02%) ⬇️

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.

@mmetc mmetc force-pushed the ref-leaky-bayesian branch from a9960cd to 7180b25 Compare January 26, 2026 13:01
Copy link
Contributor

@sabban sabban left a comment

Choose a reason for hiding this comment

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

lgtm

@mmetc mmetc merged commit e8e9ebf into master Jan 26, 2026
16 checks passed
@mmetc mmetc deleted the ref-leaky-bayesian branch January 26, 2026 14:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants