command: mark a day's spend as partial when a call's cost is unknown - #75
Merged
Merged
Conversation
… and pin the --stats text Closes #57, closes #56. The day row counts the calls whose cost is unknown (no figure, or the router's cost_complete false); every reader that sums renders the mark beside the dollars, from one definition in hub/areas.py beside the regex that parses it: --stats, the cap's hold text, the wake line, the digest, the areas table and page, and the chat's closing line. The text --stats prints is pinned by a test. ADR-0016 and ADR-0009 S1 state what holds.
This was referenced Sep 28, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #57, closes #56.
A call with no cost figure adds nothing to the day's cost and counts in
unknown; a router call whose cost is incomplete adds its known subtotal and counts too. Whileunknownis not zero,--stats,lion areas, the digest, the wake line, the chat's closing line and the cap's hold print(partial: N call(s) of unknown cost)beside the figure, and the phone page renders it. The--statstext is pinned by a test.ADR-0016 S2 states what holds.
Suite: 100% coverage on 3.11, 3.12 and 3.14; pre-commit clean.