Skip to main content

Module trend_analysis

Module trend_analysis 

Source
Expand description

Trend plausibility evaluator.

Validates that multi-period journal entry data exhibits internally consistent financial trends. Checks revenue stability, expense ratio stability, balance sheet growth consistency, and directional consistency between revenue and accounts receivable.

Accounts are classified by GL account prefix (first character):

  • 1xxx → Assets
  • 2xxx → Liabilities
  • 4xxx → Revenue
  • 5xxx–8xxx → Expenses

Structs§

TrendConsistencyCheck
Result of a single trend consistency check.
TrendPlausibilityResult
Aggregate result of the trend plausibility evaluator.

Functions§

analyze_trends
Analyze trend plausibility across all journal entries.