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

liran-funaro / fabric-x-committer / 29898750448 / 1
91%
main: 92%

Build:
Build:
LAST BUILD BRANCH: loadgen-config-cleanup
DEFAULT BRANCH: main
Ran 22 Jul 2026 07:07AM UTC
Files 93
Run time 3s
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

22 Jul 2026 07:00AM UTC coverage: 84.567% (-0.5%) from 85.104%
29898750448.1

push

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>

6674 of 7892 relevant lines covered (84.57%)

1216.5 hits per line

Source Files on job unit-test - 29898750448.1
  • Tree
  • List 93
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 29898750448
  • 05776d2d on github
  • Prev Job for on loadgen-probability-validation (#29757692571.2)
  • Delete
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