Files
eleith 67cb29b7f6
ci/woodpecker/pr/config Pipeline was successful
ci/woodpecker/pr/hledger Pipeline was successful
ci/woodpecker/pr/jobs Pipeline was successful
ci/woodpecker/pr/snapshots Pipeline was successful
ci/woodpecker/pr/web Pipeline was successful
ci/woodpecker/pr/worker Pipeline was successful
ci/woodpecker/push/config Pipeline was successful
ci/woodpecker/push/hledger Pipeline was successful
ci/woodpecker/push/jobs Pipeline was successful
ci/woodpecker/push/snapshots Pipeline was successful
ci/woodpecker/push/web Pipeline was successful
ci/woodpecker/push/worker Pipeline was successful
test: generate small fixtures and simplify CI setup
2026-11-06 16:38:05 -08:00

57 lines
1.8 KiB
TypeScript

export const transactionCountsJournal = `; Fictional primary-date transaction-count oracle, cutoff 2026-04-16.
; 1/3/6/12 calendar-month windows contain 2/4/6/8 actual transactions.
commodity USD 1.00
account assets:wallet
account assets:reserve
account equity:opening
account income:salary
account expenses:food
; Outside twelve months, even though posting and secondary dates are inside April.
2025-04-30=2026-04-05 Outside history
assets:wallet 1.00 USD ; date:2026-04-05, date2:2026-04-06
equity:opening
2025-05-01 Twelve-month lower boundary opening
assets:wallet 100.00 USD
equity:opening
2025-10-31 Before six-month boundary
assets:wallet 10.00 USD
income:salary
2025-11-01 Six-month lower boundary transfer
assets:reserve 5.00 USD
assets:wallet
2026-01-31 Before three-month boundary
expenses:food 2.00 USD
assets:wallet
2026-02-01 Three-month lower boundary
assets:wallet 10.00 USD
income:salary
2026-03-31 Before one-month boundary
expenses:food 2.00 USD
assets:wallet
; Included by primary date despite all posting/date2 dates outside the period.
; Three postings still count as one transaction.
2026-04-01=2027-01-01 One-month lower boundary split
expenses:food 1.00 USD ; date:2026-04-17, date2:2027-01-01
expenses:food 2.00 USD ; date:2026-04-17, date2:2027-01-01
assets:wallet -3.00 USD ; date:2026-04-17, date2:2027-01-01
; Included even though all posting/date2 dates precede April.
2026-04-16=2025-01-01 Cutoff transfer
assets:reserve 1.00 USD ; date:2025-01-01, date2:2025-01-01
assets:wallet -1.00 USD ; date:2025-01-01, date2:2025-01-01
; Forecasts and prices are not actual transactions.
P 2099-01-01 USD 1.00 USD
~ monthly from 2026-04-01
expenses:food 50.00 USD
assets:wallet
`;