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

TTRPG-Dev / ex_ttrpg_dev / c264c00d0ee14980f070f0fa0055efc9ae93ec98-PR-83
95%
main: 87%

Build:
Build:
LAST BUILD BRANCH: qmalcolm--feat-harden-config-error-messages
DEFAULT BRANCH: main
Ran 24 Mar 2026 09:05PM UTC
Jobs 1
Files 15
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 Mar 2026 08:39PM UTC coverage: 95.0% (-0.5%) from 95.51%
c264c00d0ee14980f070f0fa0055efc9ae93ec98-PR-83

Pull #83

github

QMalcolm
refactor(characters): generalize selection-type progressions

Removes spell-specific hardcoding from the library and engine. Any
selection-type character progression can now be defined without code
changes by adding a `type` key to the progression config.

The `active_in` filter key (with `field` and `type` subkeys) replaces
the hardcoded `meta["classes"]` / `{"class", cls}` check in
`spell_options`. Spell progressions now declare this in TOML rather than
relying on engine knowledge of the spell concept schema.

Renamed: spell_progression_choices → selection_progression_choices,
spell_options → concept_options (now public), spell_level_filter →
level_filter, serialize_known_spells → serialize_selected_concepts,
known_spells response key → selected_concepts.

The dispatch in pending_choices/3 switches from matching on the literal
"spell" string to checking Map.has_key?(meta, "type"), so any future
selection-type progression works without touching the library.
Pull Request #83: feat(dnd_5e_srd): spell availability — cantrips and spells known

27 of 31 new or added lines in 1 file covered. (87.1%)

2 existing lines in 1 file now uncovered.

494 of 520 relevant lines covered (95.0%)

15124.63 hits per line

Uncovered Changes

Lines Coverage ∆ File
4
93.89
-2.15% apps/ex_ttrpg_dev/lib/characters.ex

Coverage Regressions

Lines Coverage ∆ File
2
93.89
-2.15% apps/ex_ttrpg_dev/lib/characters.ex
Jobs
ID Job ID Ran Files Coverage
1 c264c00d0ee14980f070f0fa0055efc9ae93ec98-PR-83.1 24 Mar 2026 09:05PM UTC 15
95.0
GitHub Action Run
Source Files on build c264c00d0ee14980f070f0fa0055efc9ae93ec98-PR-83
  • Tree
  • List 15
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #83
  • PR Base - main (#CFC8F449...)
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