docs: the deductible share's percent may carry decimals; measured times
The kernel function's doc now says a percent is a deductible percentage in 0..=100 and that an override may carry decimals (33.33 is exact), the fact the tax API allows. docs/verification.md's harness table records the new harness at 992 s alone and 1,207 s inside the 2026-11-08 prove-slow run, both under the 1,800 s cap. Co-Authored-By: DeepSeek V4.1 Flash <noreply@opencode.ai>
This commit is contained in:
1 parent
be98b99abb
commit
96a4c4a3b4
2 files changed
+3
-1
No files matched your search
@@ -429,6 +429,8 @@ pub fn line_amount<T: Amount>(quantity: T, unit_price: T) -> Option<T> {
|
||||
/// A tax category's deductible amount from its accounts' `(book,
|
||||
/// percent)` pairs: every account's exact share `book × percent ÷ 100`
|
||||
/// added first, then the one rounding to the cent, half away from zero.
|
||||
/// A percent is the account's deductible percentage, 0 to 100; an
|
||||
/// override may carry decimals (33.33 is 33.33%, exactly).
|
||||
///
|
||||
/// ```text
|
||||
/// GOAL: a category's deductible amount is its exact shares added and
|
||||
|
||||
Reference in new issue
Block a user