Skip to content

fix(state): update average score calculation#2139

Merged
b00f merged 2 commits intopactus-project:mainfrom
b00f:feat/avg-score
Apr 16, 2026
Merged

fix(state): update average score calculation#2139
b00f merged 2 commits intopactus-project:mainfrom
b00f:feat/avg-score

Conversation

@b00f
Copy link
Copy Markdown
Collaborator

@b00f b00f commented Apr 16, 2026

Description

This PR updates the average availability calculation and removes unbonded validators from the calculation.

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 16, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 71.36%. Comparing base (86a8ba9) to head (03ccd5e).
⚠️ Report is 348 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2139      +/-   ##
==========================================
- Coverage   75.07%   71.36%   -3.72%     
==========================================
  Files         234      294      +60     
  Lines       12156    18391    +6235     
==========================================
+ Hits         9126    13124    +3998     
- Misses       2582     4727    +2145     
- Partials      448      540      +92     
🚀 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.

@b00f b00f merged commit 9bb35c7 into pactus-project:main Apr 16, 2026
15 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.

1 participant