Skip to content

Impound/suspension: totals scaled by sentence multiplier but per-charge row is not #108

Description

@Bidrift

Severity: Medium

src/lib/arrest-calculator.ts:178-184 scales impound/suspension into modified by result.sentenceMultiplier, while the per-charge column displays the raw impound/suspension (arrest-calculator-results.tsx:445-446).

Repro: One Attempt (0.5x) charge with 10-day impound shows "10 days" in its row but contributes only 5 to the total. Row and summary disagree.

Impound/suspension are administrative penalties that arguably should not scale with attempt/conspiracy sentence multipliers at all. Either way the row-vs-total mismatch is visibly wrong.

Fix: Decide one behavior — most likely drop the * sentenceMultiplier on impound/suspension so totals and per-charge agree; if scaling is intended, scale the per-charge display too.


Filed from a code audit of the current master. Line numbers are approximate.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions