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

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

Build:
Build:
LAST BUILD BRANCH: snapshot-creation
DEFAULT BRANCH: main
Ran 20 Jul 2026 04:08PM UTC
Files 98
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: 46.011% (-0.09%) from 46.102%
29757827055.2

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]

3553 of 7722 relevant lines covered (46.01%)

0.5 hits per line

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