docs: the sub-references the review found land on the part that states the claim
A review of S-E3 against the pinned bc92cf3 records found citations one part off, and old vocabulary the test could not see. Each is checked against the record's own text: - BS-statement-5: the partition of the P&L is statement 3 (not 2, and not BS-statement-3, the cash-flow statement); the ASC 340-40-25-7/-8 trail (a cost traceable to one job is that job's, several only by a stated allocation) is statement 4, not 6. - BS-asset-1: "one figure everywhere" is statement 31 (28 is the two figures, schedule and books); "disposed only for a disposal dated by then" is statement 30 (and 7 where the schedule stops). - BS-arap-6: one receivable line per invoice, each tagged, is statements 1-2 and invariant 4 (one application per document). - BS-asset-1 statements 8 and 9 for the true-up and the credit back. - BS-arap-2: "nothing unattached, no command adds a hand line" is invariants 2 and 3, beside 1, 6 and 9. - BS-format-2: a class name written differently and reported adds 32. - BS-arap-5: the cash-basis refusal is statement 6, everywhere. - BS-partner-3: statement 3's cases are lettered (a)-(e), not numbered. - BS-asset-1 "rules 23-24 / 25-26" in the claims, "BS-arap-3 SCENARIOS:" and "WB-ledger-15 INVARIANT 3" are in the new vocabulary. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
d26a75b2ae
commit
74fc553272
15 files changed
+25
-24
No files matched your search
@@ -89,7 +89,7 @@ use rust_decimal::Decimal;
|
||||
/// `[start, end]`: its lines on the asset's depreciation expense account,
|
||||
/// debit-positive (the depreciation still due through the disposal day,
|
||||
/// or, negative, what the month's run posted past it, credited back:
|
||||
/// BS-asset-1 statement 9). With the runs
|
||||
/// BS-asset-1 statements 8 and 9). With the runs
|
||||
/// (`Ledger::depreciation_posted_between`) it is the asset's depreciation
|
||||
/// expense in the span, the P&L's and the cash flow's (BS-statement-3 statement 13).
|
||||
/// The disposal entry is the posted entry dated the disposal day that
|
||||
|
||||
@@ -937,7 +937,7 @@ proptest! {
|
||||
proptest! {
|
||||
#![proptest_config(ProptestConfig::with_cases(256))]
|
||||
|
||||
/// BS-statement-5 statement 2: for any tags and any period, the projects'
|
||||
/// BS-statement-5 statement 3: for any tags and any period, the projects'
|
||||
/// figures plus the untagged lines' are the period's profit and loss
|
||||
/// (no line counted twice or lost), each through
|
||||
/// ledger_core::project_figures.
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
//! ```text
|
||||
//! GOAL: a client project's invoiced revenue and a contractor's billed
|
||||
//! cost count toward the project, every other figure as before.
|
||||
//! SOURCE: BS-statement-5 statements 2 and 6 (job costing), BS-statement-3 (the
|
||||
//! SOURCE: BS-statement-5 statements 2, 3 and 6 (job costing, and the
|
||||
//! projects with the untagged lines partition the P&L), BS-1099-1 and
|
||||
//! BS-partner-3 (1099 and party figures follow the money, not the tags).
|
||||
//! ```
|
||||
|
||||
@@ -1261,7 +1261,7 @@ fn half_paid_rest_written_off_is_written_off() {
|
||||
assert!(check.iter().all(|c| c.difference.is_zero()));
|
||||
}
|
||||
|
||||
/// BS-arap-5 invariant 5: a cash-basis company never counted the invoice as
|
||||
/// BS-arap-5 statement 6: a cash-basis company never counted the invoice as
|
||||
/// income, so it has no basis to deduct (IRC §166; Treas. Reg.
|
||||
/// §1.166-1(e)).
|
||||
#[test]
|
||||
@@ -1502,7 +1502,7 @@ fn days(b: &Books) -> Vec<NaiveDate> {
|
||||
proptest! {
|
||||
#![proptest_config(ProptestConfig::with_cases(256))]
|
||||
|
||||
/// BS-arap-2 invariants 1, 6 and 9 over random histories of creates,
|
||||
/// BS-arap-2 invariants 1, 2, 3, 6 and 9 over random histories of creates,
|
||||
/// payments, voids, reversals of any entry and refused hand lines: at
|
||||
/// every date the control accounts equal their documents (no
|
||||
/// difference, nothing unattached: no command adds a hand line), each
|
||||
@@ -1691,8 +1691,9 @@ fn custom_terms_are_due_on_the_date_they_give() {
|
||||
assert!(serde_json::from_value::<Terms>(stray).is_err());
|
||||
}
|
||||
|
||||
/// BS-arap-3 SCENARIOS: Net 30, Net 15 EOM, a leap day, due on receipt, a
|
||||
/// custom date, and the 9999-12 bound refused instead of panicking.
|
||||
/// BS-arap-3 scenarios 1-5 (Net 30, Net 15 EOM, a leap day, due on receipt,
|
||||
/// and the 9999-12 bound refused instead of panicking) and statement 1 (a
|
||||
/// custom date).
|
||||
#[test]
|
||||
fn terms_derive_due_dates() {
|
||||
let net30 = Terms::new(TermsKind::Net(30), None).unwrap();
|
||||
|
||||
@@ -1461,10 +1461,10 @@ fn entry_flow_takes_across_in_order_until_used_up() {
|
||||
);
|
||||
}
|
||||
|
||||
/// Oracle: shares::target DEFINITIONS, case 3 (BS-partner-3): members
|
||||
/// Oracle: shares::target DEFINITIONS (BS-partner-3 statement 3 (c)): members
|
||||
/// named on an entry moving no money split what moved equity, E (here
|
||||
/// −4.00 of a draft not yet balanced), received, in kind (the equipment's
|
||||
/// 10.00, at most |E|); case 5: with a party named who isn't a member,
|
||||
/// 10.00, at most |E|); (e): with a party named who isn't a member,
|
||||
/// the total debits, direction neither, counting nothing.
|
||||
#[test]
|
||||
fn a_share_target_without_money_is_the_capital_or_the_debits() {
|
||||
|
||||
@@ -958,7 +958,7 @@ fn a_card_is_a_recorded_business_card_else_a_liability_named_card() {
|
||||
assert_eq!(b.resolved(on_2050).0.direction, Direction::Neither);
|
||||
}
|
||||
|
||||
/// BS-partner-3 statement 3, case 3: E is the movement of equity other than retained
|
||||
/// BS-partner-3 statement 3 (c): E is the movement of equity other than retained
|
||||
/// earnings, so a members' entry reads as the statement of members' equity
|
||||
/// reads it. Retained earnings given up for equipment moves no member's
|
||||
/// capital: neither, as the statement shows no distribution. Retained
|
||||
@@ -1168,7 +1168,7 @@ fn a_members_entry_keeps_its_reading_after_they_leave() {
|
||||
);
|
||||
}
|
||||
|
||||
/// BS-partner-3 statement 3, case 1: a period's closing entry moves nothing with
|
||||
/// BS-partner-3 statement 3 (a): a period's closing entry moves nothing with
|
||||
/// anyone: direction neither, its members' part their income allocated
|
||||
/// (credited to their capital: negative), counted in no total.
|
||||
#[test]
|
||||
|
||||
Reference in new issue
Block a user