• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

vocdoni / saas-backend / 20131780399
63%

Build:
DEFAULT BRANCH: main
Ran 11 Dec 2025 11:41AM UTC
Jobs 1
Files 80
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

11 Dec 2025 11:36AM UTC coverage: 63.071% (+0.04%) from 63.031%
20131780399

push

github

web-flow
feat(census): add weighted voting support for census and CSP authentication (#356)

* feat(census): add weighted voting support for census and CSP authentication

Add support for weighted voting across census creation, authentication,
and vote proof generation. This enables different voters to have
varying voting weights instead of the default weight of 1.

Changes:
- Add 'weighted' boolean flag to OrganizationCensus and PublishCensusGroupRequest
- Include vote weight in authentication tokens and vote proofs
- Pass weight parameter through CSP signing and authentication flow
- Update test fixtures to include weight field for census members
- Serialize vote weight as big.Int bytes in proof bundles

This feature allows organizations to create censuses with weighted
voting where members can have different voting power based on their
assigned weights.

41 of 50 new or added lines in 7 files covered. (82.0%)

6794 of 10772 relevant lines covered (63.07%)

34.69 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
88.24
6.42% migrations/0006_add_members_weight.go
2
60.61
-0.51% csp/auth.go
2
58.43
-0.1% csp/handlers/handlers.go
4
82.61
migrations/0007_add_census_weight.go
Jobs
ID Job ID Ran Files Coverage
1 20131780399.1 11 Dec 2025 11:41AM UTC 80
63.07
GitHub Action Run
Source Files on build 20131780399
  • Tree
  • List 80
  • Changed 8
  • Source Changed 0
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 4aefa100 on github
  • Prev Build on main (#20098369410)
  • Next Build on main (#20141916367)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc