Håkon Hægland
f1510deb50
Fix GCONSUMP efficiency factor application
...
The GCONSUMP efficiency factor calculation was incorrectly applying group
efficiency factors to the groups themselves, rather than following the
the pattern used elsewhere in the code base:
- Groups are NOT affected by their own efficiency factors
- Parent groups apply child efficiency factors when accumulating contributions
Changes:
- Fix GroupState::update_gconsump() to implement correct efficiency pattern
- Add test suite with simple and complex hierarchy scenarios
2026-01-20 09:28:36 +01:00
..
2025-10-13 21:56:30 +02:00
2025-11-20 08:42:55 +01:00
2025-10-13 21:56:30 +02:00
2025-10-02 10:22:55 +02:00
2025-10-02 10:22:55 +02:00
2025-11-05 12:38:09 +01:00
2025-09-30 10:24:09 +02:00
2017-01-18 11:42:34 +01:00
2025-10-13 21:56:30 +02:00
2025-10-13 21:56:30 +02:00
2024-11-08 12:42:39 +01:00
2025-10-13 21:56:30 +02:00
2023-04-12 09:41:23 +02:00
2025-10-13 21:56:30 +02:00
2025-10-13 21:56:30 +02:00
2025-10-13 21:56:30 +02:00
2025-10-13 21:56:30 +02:00
2025-10-13 21:56:30 +02:00
2025-10-13 21:56:30 +02:00
2025-10-13 21:56:30 +02:00
2025-10-13 21:56:30 +02:00
2024-11-08 12:42:39 +01:00
2025-10-13 21:56:30 +02:00
2025-10-13 21:56:30 +02:00
2025-10-13 21:56:30 +02:00
2025-10-13 21:56:30 +02:00
2025-10-13 21:56:30 +02:00
2026-01-20 09:28:36 +01:00
2026-01-20 09:28:36 +01:00
2023-06-08 12:05:16 +02:00
2025-12-17 11:53:22 +01:00
2026-01-03 16:30:09 +01:00
2025-09-30 10:24:09 +02:00
2025-10-13 21:56:30 +02:00
2025-12-09 10:04:19 +01:00
2019-06-03 11:42:30 +02:00
2020-12-17 14:54:59 +01:00
2020-12-07 15:40:51 +01:00
2024-11-08 12:42:39 +01:00
2025-08-21 13:09:24 +02:00
2025-10-13 21:56:30 +02:00
2022-01-17 13:57:29 -03:00
2022-01-17 13:57:29 -03:00
2019-06-05 15:12:52 +02:00
2025-08-08 13:06:16 +02:00
2024-08-09 15:29:27 +02:00
2025-12-09 10:04:19 +01:00
2025-03-12 11:33:48 +01:00
2025-10-13 21:56:30 +02:00
2019-06-03 11:42:30 +02:00
2020-12-17 14:54:59 +01:00
2024-07-25 16:26:20 +02:00
2024-07-08 15:57:10 +02:00
2025-10-02 10:22:55 +02:00
2024-12-16 18:00:59 +01:00
2024-07-25 16:19:59 +02:00
2025-10-02 10:22:55 +02:00
2021-10-13 14:24:55 +02:00
2025-01-21 06:20:45 +01:00
2024-07-08 15:55:41 +02:00
2023-02-16 14:49:38 +01:00
2021-12-20 09:58:13 +01:00
2024-07-25 16:19:59 +02:00
2023-07-03 09:05:45 +02:00
2025-10-02 10:22:55 +02:00
2025-10-13 21:56:30 +02:00
2025-12-13 08:00:12 +01:00
2023-06-09 10:08:29 +02:00
2025-05-14 16:09:18 +02:00
2025-08-28 09:03:23 +02:00
2023-07-04 14:56:10 +02:00
2025-10-09 09:36:27 +02:00
2025-04-24 13:02:05 +02:00
2022-12-20 10:14:13 +01:00
2025-10-02 10:22:55 +02:00
2024-11-05 11:17:28 +01:00
2025-10-02 10:22:55 +02:00
2019-06-26 10:48:41 +02:00
2025-10-02 10:22:55 +02:00
2025-10-02 10:22:55 +02:00
2025-10-02 10:22:55 +02:00
2025-10-09 09:36:27 +02:00
2024-09-10 15:44:16 +02:00
2024-08-27 10:50:06 +02:00
2023-04-12 09:41:23 +02:00
2026-01-20 09:28:36 +01:00
2025-10-09 09:36:27 +02:00
2026-01-14 09:49:36 +01:00
2023-12-04 12:40:55 +01:00
2026-01-20 09:28:36 +01:00
2025-10-02 10:22:55 +02:00
2023-02-16 14:49:38 +01:00
2023-02-16 17:32:04 +01:00
2024-01-29 09:42:49 +01:00
2024-01-29 09:42:49 +01:00
2025-09-05 16:16:00 +02:00
2025-09-30 10:24:09 +02:00
2024-02-02 12:53:11 +01:00
2022-09-09 15:30:30 +02:00
2025-01-15 13:34:05 +01:00
2025-06-06 11:39:16 +02:00
2025-10-02 10:22:55 +02:00
2022-08-25 12:48:53 +02:00
2024-04-24 10:30:46 +02:00
2025-08-22 14:23:52 +02:00
2024-09-03 12:35:44 +02:00
2025-01-23 07:57:44 +01:00
2025-10-02 10:22:55 +02:00
2024-12-18 16:35:13 +01:00
2024-05-22 10:51:07 +02:00
2019-05-08 12:58:19 +02:00
2025-08-28 12:51:16 +02:00
2025-04-24 08:10:30 +02:00
2024-09-05 10:08:08 +02:00
2025-10-02 10:22:55 +02:00
2025-10-09 09:36:27 +02:00
2023-12-21 10:48:58 +01:00
2025-02-04 10:02:14 +01:00
2024-02-28 12:08:24 +01:00
2024-11-05 12:46:18 +01:00
2026-01-14 07:23:22 +01:00
2025-11-27 14:00:07 +01:00
2024-11-04 12:31:34 +01:00
2024-11-04 12:31:34 +01:00
2025-08-21 18:29:00 +02:00
2025-02-19 14:30:46 +01:00
2024-10-11 11:47:50 +02:00
2025-07-10 14:22:18 +02:00
2024-10-16 09:32:19 +02:00
2024-10-16 09:32:19 +02:00
2024-11-05 11:17:28 +01:00
2025-10-02 10:22:55 +02:00
2025-07-10 14:22:18 +02:00
2022-10-12 15:28:38 +02:00
2025-03-31 12:10:24 +02:00
2025-08-22 12:28:52 +02:00
2025-10-02 10:22:55 +02:00
2025-10-02 10:22:55 +02:00
2024-09-04 13:47:33 +02:00
2025-10-02 10:22:55 +02:00
2025-10-02 10:22:55 +02:00
2025-11-18 18:22:18 +01:00
2025-10-13 21:56:30 +02:00
2024-11-08 12:42:39 +01:00
2025-10-13 21:56:30 +02:00
2024-09-11 14:58:14 +02:00
2024-11-08 12:42:39 +01:00
2026-01-20 09:28:36 +01:00
2025-12-19 13:46:33 +01:00
2025-12-19 13:46:33 +01:00
2025-10-13 21:56:30 +02:00
2025-10-13 21:56:30 +02:00
2024-11-08 12:42:39 +01:00
2024-11-08 12:42:39 +01:00
2025-10-13 21:56:30 +02:00
2025-10-13 21:56:30 +02:00
2024-11-08 12:42:39 +01:00
2025-10-13 21:56:30 +02:00
2024-11-08 12:42:39 +01:00