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

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

Build:
Build:
LAST BUILD BRANCH: snapshot-creation
DEFAULT BRANCH: main
Ran 20 Jul 2026 04:08PM UTC
Files 91
Run time 4s
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: 85.066% (-0.1%) from 85.207%
29757827055.3

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]

6636 of 7801 relevant lines covered (85.07%)

1230.33 hits per line

Source Files on job unit-test - 29757827055.3
  • Tree
  • List 91
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 29757827055
  • 5837c432 on github
  • Prev Job for on loadgen-probability-validation (#29756843948.2)
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