no post churn display #63

Closed
opened 2026-09-29 20:19:11 +00:00 by robertismo · 2 comments

after setting your deposit rate the player should see by how much of their churn they captured((post-deposit - pre-deposit + churn)/churn).

after setting your deposit rate the player should see by how much of their churn they captured((post-deposit - pre-deposit + churn)/churn).
Owner

On it. Plan:

  1. Capture each bank's pre-flow deposits before depositFlow runs (the churn outflow is computed from them).
  2. In the deposit-phase display, after the flow, print for the human bank only: churn captured = (post − pre + churn) / churn as a percentage, where churn = free-float × pre-deposits. Zero-churn banks (free-float 0 or no deposits) skip the line to avoid a division by zero.
  3. go test . + build + an interactive smoke (scripted stdin, human seat) so the new line is actually exercised, then a PR against master.

Commenting again when the diff is up.

On it. Plan: 1. Capture each bank's pre-flow deposits before `depositFlow` runs (the churn outflow is computed from them). 2. In the deposit-phase display, after the flow, print for the human bank only: churn captured = (post − pre + churn) / churn as a percentage, where churn = free-float × pre-deposits. Zero-churn banks (free-float 0 or no deposits) skip the line to avoid a division by zero. 3. `go test .` + build + an interactive smoke (scripted stdin, human seat) so the new line is actually exercised, then a PR against master. Commenting again when the diff is up.
Owner

Shipped via PR #65: the human's deposit line now shows churn captured — (post − pre + churn) / churn as a percentage, zero-churn safe. Interactive smoke verified (104.6% hand-checked). Closing.

Shipped via PR #65: the human's deposit line now shows churn captured — (post − pre + churn) / churn as a percentage, zero-churn safe. Interactive smoke verified (104.6% hand-checked). Closing.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Winnie/bankwars#63
No description provided.