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

TTRPG-Dev / ex_ttrpg_dev / 4ec01ff851086013f6b72be8d6e7be0549240bba-PR-68
95%
main: 87%

Build:
Build:
LAST BUILD BRANCH: qmalcolm--feat-harden-config-error-messages
DEFAULT BRANCH: main
Ran 14 Mar 2026 09:14PM UTC
Jobs 1
Files 13
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

14 Mar 2026 09:12PM UTC coverage: 88.136% (-6.4%) from 94.545%
4ec01ff851086013f6b72be8d6e7be0549240bba-PR-68

Pull #68

github

QMalcolm
Replace characters.levelup with generic progression choice system

Adds Characters.pending_choices/3 to the library, which evaluates
character_progression TOML concepts against the resolved DAG to return
slot-based (required_count) and resource-based (available_when) choices
that are pending or available for a character.

On the server side, replaces the D&D 5e-specific characters.levelup
command with three generic commands:
- characters.add_effect: applies an arbitrary integer effect and returns
  the updated character plus any pending progression choices
- characters.choices: returns pending/available choices for a character
- characters.resolve_choice: records a progression decision + effect and
  returns the updated state

The Rust REPL gains matching commands: characters add_effect (with
space-separated type/id/field tokens), characters choices, and an
interactive characters resolve_choice that offers to roll the referenced
die or take the average.

This approach is system-agnostic: dnd_5e_srd's hp_per_level progression
is handled entirely via TOML rather than hardcoded logic, and GURPS-style
always-available choices are also supported via available_when.
Pull Request #68: Add multi-level HP scaling and generic character progression system

0 of 24 new or added lines in 1 file covered. (0.0%)

312 of 354 relevant lines covered (88.14%)

2211.58 hits per line

Uncovered Changes

Lines Coverage ∆ File
24
71.43
-25.59% apps/ex_ttrpg_dev/lib/characters.ex
Jobs
ID Job ID Ran Files Coverage
1 4ec01ff851086013f6b72be8d6e7be0549240bba-PR-68.1 14 Mar 2026 09:14PM UTC 13
88.14
GitHub Action Run
Source Files on build 4ec01ff851086013f6b72be8d6e7be0549240bba-PR-68
  • Tree
  • List 13
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #68
  • PR Base - main (#C1951330...)
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