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

hyperledger / fabric-x-committer / 29757827055
91%
main: 91%

Build:
Build:
LAST BUILD BRANCH: skill-dev
DEFAULT BRANCH: main
Ran 20 Jul 2026 04:04PM UTC
Jobs 3
Files 127
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

20 Jul 2026 03:59PM UTC coverage: 91.378% (-0.09%) from 91.467%
29757827055

Pull #693

github

liran-funaro
[loadgen] Validate conflict probabilities are in [0,1]

- Improvement

- The loadgen config exposes probability fields — `conflicts.invalid-signatures`
and each `conflicts.dependencies[].probability` — that must lie in the closed
interval [0,1]. Out-of-range values previously decoded silently and produced
nonsensical per-transaction Bernoulli behavior. Reject them at config-load time.
- Annotate `ConflictProfile.InvalidSignatures` and
`DependencyDescription.Probability` with `validate:"gte=0,lte=1"`, and the
`ConflictProfile.Dependencies` slice with `validate:"dive"` so each element's
probability is validated.
- Add `TestLoadGenProbabilityValidation` covering in-range acceptance and
out-of-range rejection for both fields (including the sliced dependency).

Signed-off-by: Liran Funaro <liran.funaro@gmail.com>
Pull Request #693: [loadgen] Validate conflict probabilities are in [0,1]

10302 of 11274 relevant lines covered (91.38%)

35329.75 hits per line

Coverage Regressions

Lines Coverage ∆ File
14
78.25
-2.72% service/sidecar/sidecar.go
4
88.31
-2.6% service/vc/committer.go
3
91.7
-0.87% service/vc/validator_committer_service.go
2
97.83
0.0% service/verifier/verifier_server.go
2
84.7
-0.55% service/vc/database.go
Jobs
ID Job ID Ran Files Coverage
1 db-test - 29757827055.1 20 Jul 2026 04:07PM UTC 127
79.41
GitHub Action Run
2 core-db-test - 29757827055.2 20 Jul 2026 04:04PM UTC 98
46.01
GitHub Action Run
3 unit-test - 29757827055.3 20 Jul 2026 04:08PM UTC 91
85.07
GitHub Action Run
Source Files on build 29757827055
  • Tree
  • List 127
  • Changed 16
  • Source Changed 0
  • Coverage Changed 16
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #693
  • PR Base - main (#29756843948)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc