You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/econify/CHANGELOG.md
+53-26Lines changed: 53 additions & 26 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,24 +6,38 @@ All notable changes to the econify package will be documented in this file.
6
6
7
7
### Fixed
8
8
9
-
-**BREAKING: Count Indicators Time Conversion**: Count indicators with `period-total` temporal aggregation now correctly allow time conversion
10
-
-**Problem**: Tourist Arrivals showed absurd comparisons - Armenia 520M tourists vs Brazil 6.8M (Armenia appeared to have 76x more tourists!)
11
-
-**Root Cause**: `period-total` logic blocked time conversion for ALL discrete types (count, volume, stock, index), treating them as point-in-time levels
12
-
-**Solution**: Changed blocking to only apply to true level indicators (stock, index). Count/volume represent flows over time and CAN be time-converted
9
+
-**BREAKING: Count Indicators Time Conversion**: Count indicators with
10
+
`period-total` temporal aggregation now correctly allow time conversion
- Count + period-total time conversion (both with and without time in original unit)
62
+
- Count + period-total time conversion (both with and without time in original
63
+
unit)
46
64
- Count indicators preferring thousands over ones (majority and edge cases)
47
65
-**Test Results**: All 463 tests passing (up from 461)
48
66
49
67
### Technical Details
50
68
51
-
- Count indicators (Tourist Arrivals, Housing Starts, Claims, Registrations) represent **flows over time**, not point-in-time stocks
52
-
- The comment "100 tourists in Q1 ≠ 33.33 tourists per month" was flawed reasoning - when dealing with thousands/millions, fractional values are meaningful
53
-
- Monthly values represent average rates during the period, not literal fractional events
54
-
- Stock indicators (Employed Persons, Debt, Population levels) correctly still block time conversion as they represent point-in-time snapshots
0 commit comments