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

Ch4s3 / bandera / c966c08b9bd1533cd550a75040966ca2c843fa8e-PR-12
93%
main: 93%

Build:
Build:
LAST BUILD BRANCH: fix/fun-with-flags-boolean-gate-migration
DEFAULT BRANCH: main
Ran 24 May 2026 02:40AM UTC
Jobs 1
Files 37
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

24 May 2026 02:39AM UTC coverage: 93.223%. Remained the same
c966c08b9bd1533cd550a75040966ca2c843fa8e-PR-12

Pull #12

github

Ch4s3
docs: fix correctness errors, fill missing @doc, align terminology

Critical correctness fixes:
- Flag.enabled?/2 doc omitted schedule gates from the no-:for evaluation path
- Gate.new/2 doc only listed "empty map" as a variant raise condition; also
  raises on all-zero or negative weights
- variant/2 docs (Bandera + Flag modules) didn't mention for: nil returns default

Factual fixes:
- features_guide.md opener incorrectly claimed all write functions accept by:;
  put_variants/3 and put_segment/2 do not support it
- put_variants/3 doc now notes the third argument is ignored and not audited
- Constraint moduledoc example replaced with a positive coercion example
- README variant/2 nil-return conditions updated to include missing for: case
- README "variations" → "variants" for consistency with the API

Terminology and consistency:
- features_guide.md "resolved at evaluation time" → "expanded" (matches expand_segments/1)
- features_guide.md :matches table row now notes it is unanchored
- "variations" → "variants" in both README and features guide

Missing @doc on public API:
- Bandera.Constraint: @doc for new/3 and match?/2; @doc false for to_map/1, from_map/1
- Bandera.Usage: @doc for start_link/1, attach/0, detach/0, last_evaluated/1
- Bandera.Gate: examples added to prerequisite?/1 and schedule?/1; InvalidTargetError
  moduledoc updated to cover variant validation errors
Pull Request #12: docs: fix correctness errors, fill missing @doc, align terminology

2 of 2 new or added lines in 1 file covered. (100.0%)

1018 of 1092 relevant lines covered (93.22%)

280.16 hits per line

Jobs
ID Job ID Ran Files Coverage
1 c966c08b9bd1533cd550a75040966ca2c843fa8e-PR-12.1 24 May 2026 02:40AM UTC 37
93.22
GitHub Action Run
Source Files on build c966c08b9bd1533cd550a75040966ca2c843fa8e-PR-12
  • Tree
  • List 37
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #12
  • PR Base - main (#5586D294...)
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

© 2026 Coveralls, Inc