Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ compiled C engine.

## Unreleased

**The head of fuf's table in English**, with the C (atsw-gui, 30-nov-2026):
`QUARTER /MONTH` and `ANNUAL` for `TRIMEST /MONT` and `ANUAL`. The widths do
not move; the three reference tables change in those two lines only.

**fuf's FORECAST REPORT in the ladder's `.out`, as the C writes it.** After
its own forecast block the C writes fuf's table series by series: the last
H+1 observations with their period and annual variation and their exact
Expand Down
4 changes: 2 additions & 2 deletions src/drvarma/ladder.py
Original file line number Diff line number Diff line change
Expand Up @@ -2556,8 +2556,8 @@ def date(obs):
f"LEAD TIME FOR FORECASTING: {H}", "", bar,
" | | LEVEL | VARIATION | |",
" | DATE +--------------------+-------------------------------------+ ERR |",
" | | VALUE | STD | TRIMEST | STD | ANUAL | STD | |",
" | | | | /MONT | | | | |",
" | | VALUE | STD | QUARTER | STD | ANNUAL | STD | |",
" | | | | /MONTH | | | | |",
bar]
dash9, dash8 = f" {'-':>9}", f" {'-':>8}"
for obs in range(n - H, n + 1):
Expand Down
8 changes: 4 additions & 4 deletions tests/data/ladder/fuf_report/ann.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ LEAD TIME FOR FORECASTING: 4
+----------------------------------------------------------------------------+
| | LEVEL | VARIATION | |
| DATE +--------------------+-------------------------------------+ ERR |
| | VALUE | STD | TRIMEST | STD | ANUAL | STD | |
| | | | /MONT | | | | |
| | VALUE | STD | QUARTER | STD | ANNUAL | STD | |
| | | | /MONTH | | | | |
+----------------------------------------------------------------------------+
1907 407472.0000 - -53.4040 - - - -25.8237
1908 172418.0000 - -86.0050 - - - -108.4419
Expand All @@ -25,8 +25,8 @@ LEAD TIME FOR FORECASTING: 4
+----------------------------------------------------------------------------+
| | LEVEL | VARIATION | |
| DATE +--------------------+-------------------------------------+ ERR |
| | VALUE | STD | TRIMEST | STD | ANUAL | STD | |
| | | | /MONT | | | | |
| | VALUE | STD | QUARTER | STD | ANNUAL | STD | |
| | | | /MONTH | | | | |
+----------------------------------------------------------------------------+
1907 39169.0000 - -42.7342 - - - -7.5978
1908 21534.0000 - -59.8253 - - - -45.3975
Expand Down
12 changes: 6 additions & 6 deletions tests/data/ladder/fuf_report/end.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ LEAD TIME FOR FORECASTING: 6
+----------------------------------------------------------------------------+
| | LEVEL | VARIATION | |
| DATE +--------------------+-------------------------------------+ ERR |
| | VALUE | STD | TRIMEST | STD | ANUAL | STD | |
| | | | /MONT | | | | |
| | VALUE | STD | QUARTER | STD | ANNUAL | STD | |
| | | | /MONTH | | | | |
+----------------------------------------------------------------------------+
5/2023 111.1152 - -0.1504 - 2.6013 - -0.0918
6/2023 111.7486 - 0.5684 - 1.3347 - 0.6007
Expand All @@ -29,8 +29,8 @@ LEAD TIME FOR FORECASTING: 6
+----------------------------------------------------------------------------+
| | LEVEL | VARIATION | |
| DATE +--------------------+-------------------------------------+ ERR |
| | VALUE | STD | TRIMEST | STD | ANUAL | STD | |
| | | | /MONT | | | | |
| | VALUE | STD | QUARTER | STD | ANNUAL | STD | |
| | | | /MONTH | | | | |
+----------------------------------------------------------------------------+
5/2023 117.4400 - -0.0511 - 4.9932 - -0.1140
6/2023 117.6500 - 0.1787 - 4.4317 - 0.0049
Expand All @@ -53,8 +53,8 @@ LEAD TIME FOR FORECASTING: 6
+----------------------------------------------------------------------------+
| | LEVEL | VARIATION | |
| DATE +--------------------+-------------------------------------+ ERR |
| | VALUE | STD | TRIMEST | STD | ANUAL | STD | |
| | | | /MONT | | | | |
| | VALUE | STD | QUARTER | STD | ANNUAL | STD | |
| | | | /MONTH | | | | |
+----------------------------------------------------------------------------+
5/2023 116.5000 - -0.0858 - 5.9231 - -0.5085
6/2023 116.8000 - 0.2572 - 6.1803 - 0.1470
Expand Down
12 changes: 6 additions & 6 deletions tests/data/ladder/fuf_report/g240.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ LEAD TIME FOR FORECASTING: 6
+----------------------------------------------------------------------------+
| | LEVEL | VARIATION | |
| DATE +--------------------+-------------------------------------+ ERR |
| | VALUE | STD | TRIMEST | STD | ANUAL | STD | |
| | | | /MONT | | | | |
| | VALUE | STD | QUARTER | STD | ANNUAL | STD | |
| | | | /MONTH | | | | |
+----------------------------------------------------------------------------+
6/2021 100.0460 - 0.4749 - 2.6958 - 0.2375
7/2021 99.2920 - -0.7565 - 2.8408 - -0.2249
Expand All @@ -29,8 +29,8 @@ LEAD TIME FOR FORECASTING: 6
+----------------------------------------------------------------------------+
| | LEVEL | VARIATION | |
| DATE +--------------------+-------------------------------------+ ERR |
| | VALUE | STD | TRIMEST | STD | ANUAL | STD | |
| | | | /MONT | | | | |
| | VALUE | STD | QUARTER | STD | ANNUAL | STD | |
| | | | /MONTH | | | | |
+----------------------------------------------------------------------------+
6/2021 106.3400 - 0.1317 - 1.4683 - 0.0079
7/2021 106.4000 - 0.0564 - 1.1437 - 0.0623
Expand All @@ -53,8 +53,8 @@ LEAD TIME FOR FORECASTING: 6
+----------------------------------------------------------------------------+
| | LEVEL | VARIATION | |
| DATE +--------------------+-------------------------------------+ ERR |
| | VALUE | STD | TRIMEST | STD | ANUAL | STD | |
| | | | /MONT | | | | |
| | VALUE | STD | QUARTER | STD | ANNUAL | STD | |
| | | | /MONTH | | | | |
+----------------------------------------------------------------------------+
6/2021 102.9000 - 0.2920 - 2.3600 - 0.1416
7/2021 103.4000 - 0.4847 - 3.6439 - 0.5281
Expand Down
Loading