From 004dbb39b4d658265077816d5022e80db41b8529 Mon Sep 17 00:00:00 2001 From: hided62 Date: Mon, 27 Jul 2026 10:07:34 +0000 Subject: [PATCH] compare: add staged tax rate fixtures --- .../monthly_process_income_staged_rate.json | 76 +++++++++++++++++++ ...nthly_process_semi_annual_staged_rate.json | 65 ++++++++++++++++ 2 files changed, 141 insertions(+) create mode 100644 hwe/compare/fixtures/monthly_process_income_staged_rate.json create mode 100644 hwe/compare/fixtures/monthly_process_semi_annual_staged_rate.json diff --git a/hwe/compare/fixtures/monthly_process_income_staged_rate.json b/hwe/compare/fixtures/monthly_process_income_staged_rate.json new file mode 100644 index 00000000..acb6a65a --- /dev/null +++ b/hwe/compare/fixtures/monthly_process_income_staged_rate.json @@ -0,0 +1,76 @@ +{ + "action": "ProcessIncome", + "args": ["gold"], + "environment": { + "year": 190, + "month": 7, + "startyear": 190 + }, + "setup": { + "resetCities": true, + "resetGenerals": true, + "deleteOtherGenerals": true, + "keepGeneralIds": [1], + "resetNations": true, + "deleteOtherNations": true, + "keepNationIds": [1], + "general": [ + { + "id": 1, + "values": { + "nation": 1, + "city": 1, + "officer_level": 5, + "npc": 0, + "gold": 1000, + "rice": 1000, + "dedication": 100 + } + } + ], + "nation": [ + { + "id": 1, + "values": { + "name": "갑국", + "capital": 1, + "gold": 10000, + "rice": 20000, + "level": 1, + "rate": 35, + "rate_tmp": 10 + } + } + ], + "city": [ + { + "id": 1, + "values": { + "name": "갑성", + "nation": 1, + "level": 4, + "supply": 1, + "pop": 10000, + "pop_max": 20000, + "agri": 1000, + "agri_max": 2000, + "comm": 1000, + "comm_max": 2000, + "secu": 1000, + "secu_max": 2000, + "trust": 80, + "def": 500, + "def_max": 1000, + "wall": 500, + "wall_max": 1000 + } + } + ] + }, + "observe": { + "generalIds": [1], + "nationIds": [1], + "cityIds": [1], + "nationEnvironmentKeys": ["prev_income_gold", "prev_income_rice"] + } +} diff --git a/hwe/compare/fixtures/monthly_process_semi_annual_staged_rate.json b/hwe/compare/fixtures/monthly_process_semi_annual_staged_rate.json new file mode 100644 index 00000000..b0f4f86a --- /dev/null +++ b/hwe/compare/fixtures/monthly_process_semi_annual_staged_rate.json @@ -0,0 +1,65 @@ +{ + "action": "ProcessSemiAnnual", + "resource": "gold", + "environment": { + "year": 193, + "month": 1, + "startyear": 190 + }, + "setup": { + "resetCities": true, + "resetGenerals": true, + "nation": [ + { + "id": 1, + "values": { + "name": "반기검증국", + "gold": 100001, + "rice": 7777, + "rate": 50, + "rate_tmp": 20, + "type": "che_중립" + } + } + ], + "city": [ + { + "id": 1, + "values": { + "nation": 1, + "supply": 1, + "pop": 10000, + "pop_max": 50000, + "agri": 1001, + "agri_max": 5000, + "comm": 1001, + "comm_max": 5000, + "secu": 1001, + "secu_max": 2000, + "trust": 55, + "def": 1001, + "def_max": 5000, + "wall": 1001, + "wall_max": 5000, + "dead": 123 + } + } + ], + "general": [ + { + "id": 1, + "values": { + "nation": 1, + "city": 1, + "gold": 10001, + "rice": 8888 + } + } + ] + }, + "observe": { + "generalIds": [1], + "cityIds": [1], + "nationIds": [1] + } +}