WOS Sim
← Back to Runs

Compare Runs

A (baseline)
f9ef633e-49e0c8b2ac822/06/2026, 06:31:52
B (current)
1fca16e0-35d0c8b2ac822/06/2026, 07:25:35
Avg Error A0.21%
Avg Error B0.20%
Δ Avg Error-0.00%
Improved1
Regressed0
Added0
Retired0

Testcase Delta

179 / 179
FileCase#AdjA%B%Δ%Status
testcases/emulator_verified/renee_solo_nc.jsonrenee_solo_nc0-0.48%0.00%-0.48%improved
testcases/emulator_verified/ambusher_no_marksmen.jsonambusher_no_marksmen01.64%1.43%-0.21%unchanged
testcases/1-testcases_no-heroes_t6_single-type_nc.jsondaut_viper_1010.00%0.00%0.00%unchanged
testcases/1-testcases_no-heroes_t6_single-type_nc.jsondaut_viper_1120.00%0.00%0.00%unchanged
testcases/1-testcases_no-heroes_t6_single-type_nc.jsondaut_viper_1230.00%0.00%0.00%unchanged
testcases/1-testcases_no-heroes_t6_single-type_nc.jsondaut_viper_1340.00%0.00%0.00%unchanged
testcases/1-testcases_no-heroes_t6_single-type_nc.jsondaut_viper_1450.00%0.00%0.00%unchanged
testcases/1-testcases_no-heroes_t6_single-type_nc.jsondaut_viper_156+0.013%0.00%0.00%0.00%unchanged
testcases/1-testcases_no-heroes_t6_single-type_nc.jsondaut_viper_167+0.008%0.00%0.00%0.00%unchanged
testcases/1-testcases_no-heroes_t6_single-type_nc.jsondaut_viper_178-0.003%0.00%0.00%0.00%unchanged
testcases/1-testcases_no-heroes_t6_single-type_nc.jsondaut_viper_189+0.017%0.00%0.00%0.00%unchanged
testcases/1-testcases_no-heroes_t6_single-type_nc.jsondaut_viper_19100.00%0.00%0.00%unchanged
testcases/1-testcases_no-heroes_t6_single-type_nc.jsondaut_viper_2011-0.006%0.00%0.00%0.00%unchanged
testcases/1-testcases_no-heroes_t6_single-type_nc.jsondaut_viper_2112+0.013%0.00%0.00%0.00%unchanged
testcases/1-testcases_no-heroes_t6_single-type_nc.jsondaut_viper_22130.00%0.00%0.00%unchanged
testcases/1-testcases_no-heroes_t6_single-type_nc.jsondaut_viper_23140.00%0.00%0.00%unchanged
testcases/1-testcases_no-heroes_t6_single-type_nc.jsondaut_viper_2415-0.008%0.00%0.00%0.00%unchanged
testcases/1-testcases_no-heroes_t6_single-type_nc.jsondaut_viper_25160.00%0.00%0.00%unchanged
testcases/1-testcases_no-heroes_t6_single-type_nc.jsondaut_viper_2617-0.002%0.00%0.00%0.00%unchanged
testcases/1-testcases_no-heroes_t6_single-type_nc.jsondaut_viper_900.00%0.00%0.00%unchanged
testcases/2-testcases_no-heroes_t6_mixed_nc.jsondaut_viper_10+0.05%-0.32%-0.32%0.00%unchanged
testcases/2-testcases_no-heroes_t6_mixed_nc.jsondaut_viper_21+0.05%-0.06%-0.06%0.00%unchanged
testcases/2-testcases_no-heroes_t6_mixed_nc.jsondaut_viper_32+0.05%-0.38%-0.38%0.00%unchanged
testcases/2-testcases_no-heroes_t6_mixed_nc.jsondaut_viper_43+0.05%-0.45%-0.45%0.00%unchanged
testcases/2-testcases_no-heroes_t6_mixed_nc.jsondaut_viper_54+0.043%0.00%0.00%0.00%unchanged
testcases/2-testcases_no-heroes_t6_mixed_nc.jsondaut_viper_65+0.05%-0.07%-0.07%0.00%unchanged
testcases/3-testcases_mixed-heroes-not-verified.jsondaut_viper_10+0.05%0.19%0.19%0.00%unchanged
testcases/3-testcases_mixed-heroes-not-verified.jsondaut_viper_210.00%0.00%0.00%unchanged
testcases/3-testcases_mixed-heroes-not-verified.jsondaut_viper_32-0.42%-0.42%0.00%unchanged
testcases/3-testcases_mixed-heroes-not-verified.jsondaut_viper_430.02%0.02%0.00%unchanged
testcases/3-testcases_mixed-heroes-not-verified.jsondaut_viper_540.64%0.64%0.00%unchanged
testcases/3-testcases_mixed-heroes-not-verified.jsondaut_viper_750.17%0.17%0.00%unchanged
testcases/4-testcases_no-heroes_infantry_fc5.jsonNitro_Beast_30_10-0.22%-0.22%0.00%unchanged
testcases/emulator_verified/ahmose_solo_nc.jsonahmose_solo0-0.05%0.06%0.06%0.00%unchanged
testcases/emulator_verified/alonso_attacker_600_all.jsonalonso_attacker_600_all0-0.14%-0.14%0.00%unchanged
testcases/emulator_verified/alonso_attacker_900_inf_lancer.jsonalonso_attacker_900_inf_lancer00.04%0.04%0.00%unchanged
testcases/emulator_verified/alonso_attacker_900_inf_lancer.jsonalonso_attacker_900_inf_lancer10.02%0.02%0.00%unchanged
testcases/emulator_verified/alonso_minxxx_defender.jsonalonso_minxxx_defender00.14%0.14%0.00%unchanged
testcases/emulator_verified/alonso_norah_combo.jsonalonso_norah_combo0-0.02%-0.02%0.00%unchanged
testcases/emulator_verified/alonso_norah_combo.jsonalonso_norah_combo1-0.26%-0.26%0.00%unchanged
testcases/emulator_verified/alonso_norah_combo.jsonalonso_norah_combo2-0.19%-0.19%0.00%unchanged
testcases/emulator_verified/alonso_solo.jsonalonso_solo02.97%2.97%0.00%unchanged
testcases/emulator_verified/alonso_solo_v2.jsonalonso_solo_v201.58%1.58%0.00%unchanged
testcases/emulator_verified/alonso_solo_v2.jsonalonso_solo_v21-1.59%-1.59%0.00%unchanged
testcases/emulator_verified/alonso_vs_alonso.jsonalonso_vs_alonso0-0.17%-0.17%0.00%unchanged
testcases/emulator_verified/alonso_vs_alonso_inf_lancer.jsonalonso_vs_alonso_inf_lancer0-0.04%-0.04%0.00%unchanged
testcases/emulator_verified/alonso_wip_attacker.jsonalonso_wip_attacker0-0.03%-0.03%0.00%unchanged
testcases/emulator_verified/attdef_jasser_patrick_minxxx_attacks_nc.jsonattdef_jasser_patrick_minxxx_attacks0+0.05%0.00%0.00%0.00%unchanged
testcases/emulator_verified/attdef_jasser_patrick_nc.jsonattdef_jasser_patrick00.00%0.00%0.00%unchanged
testcases/emulator_verified/attdef_jasser_patrick_swap_nc.jsonattdef_jasser_patrick_swap00.00%0.00%0.00%unchanged
testcases/emulator_verified/attdef_jasser_patrick_wip_attacks_nc.jsonattdef_jasser_patrick_wip_attacks0-0.05%0.00%0.00%0.00%unchanged
testcases/emulator_verified/attdef_jasser_patrick_wip_attacks_nc.jsonattdef_jasser_patrick_wip_attacks1-0.05%0.00%0.00%0.00%unchanged
testcases/emulator_verified/attdef_test_minxxx_attacks_nc.jsonattdef_test_minxxx_attacks_nc0-0.05%0.08%0.08%0.00%unchanged
testcases/emulator_verified/attdef_test_wip_attacks_nc.jsonattdef_test_wip_attacks_nc00.00%0.00%0.00%unchanged
testcases/emulator_verified/bahiti_norah_combo_nc.jsonbahiti_norah_combo_nc0-2.99%-2.99%0.00%unchanged
testcases/emulator_verified/bahiti_solo.jsonbahiti_solo00.32%0.32%0.00%unchanged
testcases/emulator_verified/bahiti_solo_nc.jsonbahiti_solo_nc00.04%0.04%0.00%unchanged
testcases/emulator_verified/determinism_test_normal_nc.jsondeterminism_test_normal00.00%0.00%0.00%unchanged
testcases/emulator_verified/determinism_test_swapped_nc.jsondeterminism_test_swapped00.00%0.00%0.00%unchanged
testcases/emulator_verified/flint_reina_zinman_combo.jsonflint_reina_zinman_combo0-0.15%-0.15%0.00%unchanged
testcases/emulator_verified/flint_solo_nc.jsonflint_solo0+0.05%-0.02%-0.02%0.00%unchanged
testcases/emulator_verified/flint_zinman_combo_nc.jsonflint_zinman_combo_nc00.00%0.00%0.00%unchanged
testcases/emulator_verified/greg_mia_combo.jsongreg_mia_combo0-1.97%-1.97%0.00%unchanged
testcases/emulator_verified/greg_mia_combo.jsongreg_mia_combo1-0.05%1.06%1.06%0.00%unchanged
testcases/emulator_verified/greg_mia_defender_current.jsongreg_mia_defender_current0-0.09%-0.09%0.00%unchanged
testcases/emulator_verified/greg_mia_nohero_control_current.jsongreg_mia_nohero_control_current00.00%0.00%0.00%unchanged
testcases/emulator_verified/greg_mia_nohero_control_current.jsongreg_mia_nohero_control_current1+0.05%0.00%0.00%0.00%unchanged
testcases/emulator_verified/greg_only_defender_current.jsongreg_only_defender_current00.00%0.00%0.00%unchanged
testcases/emulator_verified/greg_only_defender_current.jsongreg_only_defender_current10.01%0.01%0.00%unchanged
testcases/emulator_verified/greg_only_defender_current.jsongreg_only_defender_current2-0.02%-0.02%0.00%unchanged
testcases/emulator_verified/greg_solo.jsongreg_solo00.16%0.16%0.00%unchanged
testcases/emulator_verified/gwen_norah_combo_nc.jsongwen_norah_combo_nc00.64%0.64%0.00%unchanged
testcases/emulator_verified/gwen_solo_nc.jsongwen_solo0-0.05%0.24%0.24%0.00%unchanged
testcases/emulator_verified/hector_patrick_combo.jsonhector_patrick_combo0-0.05%-0.05%0.00%unchanged
testcases/emulator_verified/hector_solo.jsonhector_solo00.12%0.12%0.00%unchanged
testcases/emulator_verified/jasser_solo_nc.jsonjasser_solo0+0.05%0.00%0.00%0.00%unchanged
testcases/emulator_verified/jessie_solo_nc.jsonjessie_solo0-0.05%0.00%0.00%0.00%unchanged
testcases/emulator_verified/ling_xue_solo_nc.jsonling_xue_solo0+0.05%0.00%0.00%0.00%unchanged
testcases/emulator_verified/ling_xue_solo_nc.jsonling_xue_solo1+0.05%-0.02%-0.02%0.00%unchanged
testcases/emulator_verified/logan_bahiti_combo_nc.jsonlogan_bahiti_combo_nc00.55%0.55%0.00%unchanged
testcases/emulator_verified/logan_gwen_combo_nc.jsonlogan_gwen_combo_nc0-0.05%0.13%0.13%0.00%unchanged
testcases/emulator_verified/logan_lynn_combo.jsonlogan_lynn_combo00.08%0.08%0.00%unchanged
testcases/emulator_verified/logan_lynn_combo.jsonlogan_lynn_combo10.03%0.03%0.00%unchanged
testcases/emulator_verified/logan_lynn_combo.jsonlogan_lynn_combo20.00%0.00%0.00%unchanged
testcases/emulator_verified/logan_reina_bahiti_combo_nc.jsonlogan_reina_bahiti_combo_nc0-0.50%-0.50%0.00%unchanged
testcases/emulator_verified/logan_solo_minxxx_nc.jsonlogan_solo_minxxx00.00%0.00%0.00%unchanged
testcases/emulator_verified/logan_solo_v2_nc.jsonlogan_solo_v200.00%0.00%0.00%unchanged
testcases/emulator_verified/lumak_bokan_solo_nc.jsonlumak_bokan_solo0+0.05%0.00%0.00%0.00%unchanged
testcases/emulator_verified/lumak_bokan_solo_nc.jsonlumak_bokan_solo1+0.05%0.00%0.00%0.00%unchanged
testcases/emulator_verified/lynn_solo.jsonlynn_solo0-0.08%-0.08%0.00%unchanged
testcases/emulator_verified/mia_only_defender_current.jsonmia_only_defender_current0-0.07%-0.07%0.00%unchanged
testcases/emulator_verified/mia_only_defender_current.jsonmia_only_defender_current1-0.21%-0.21%0.00%unchanged
testcases/emulator_verified/mia_solo.jsonmia_solo0-0.27%-0.27%0.00%unchanged
testcases/emulator_verified/mia_solo.jsonmia_solo10.22%0.22%0.00%unchanged
testcases/emulator_verified/mia_solo.jsonmia_solo2-0.32%-0.32%0.00%unchanged
testcases/emulator_verified/mia_solo.jsonmia_solo30.04%0.04%0.00%unchanged
testcases/emulator_verified/mia_solo.jsonmia_solo40.21%0.21%0.00%unchanged
testcases/emulator_verified/molly_lynn_combo.jsonmolly_lynn_combo00.00%0.00%0.00%unchanged
testcases/emulator_verified/molly_solo.jsonmolly_solo0-0.07%-0.07%0.00%unchanged
testcases/emulator_verified/natalia_solo.jsonnatalia_solo0+0.05%-1.06%-1.06%0.00%unchanged
testcases/emulator_verified/norah_greg_combo.jsonnorah_greg_combo0-0.04%-0.04%0.00%unchanged
testcases/emulator_verified/norah_hector_zinman_combo.jsonnorah_hector_zinman_combo00.08%0.08%0.00%unchanged
testcases/emulator_verified/norah_s2_inf_only_A.jsonnorah_s2_inf_only_A0+0.05%-0.35%-0.35%0.00%unchanged
testcases/emulator_verified/norah_s2_inf_only_B_nc.jsonnorah_s2_inf_only_B0+0.05%0.00%0.00%0.00%unchanged
testcases/emulator_verified/norah_s2_splash_A.jsonnorah_s2_splash_A00.23%0.23%0.00%unchanged
testcases/emulator_verified/norah_s2_splash_B_nc.jsonnorah_s2_splash_B00.00%0.00%0.00%unchanged
testcases/emulator_verified/norah_s2_splash_C_nc.jsonnorah_s2_splash_C00.00%0.00%0.00%unchanged
testcases/emulator_verified/norah_s2_splash_D.jsonnorah_s2_splash_D00.12%0.12%0.00%unchanged
testcases/emulator_verified/norah_solo.jsonnorah_solo0-0.28%-0.28%0.00%unchanged
testcases/emulator_verified/norah_zinman_combo_nc.jsonnorah_zinman_combo_nc00.39%0.39%0.00%unchanged
testcases/emulator_verified/patrick_solo_nc.jsonpatrick_solo0+0.001%-0.02%-0.02%0.00%unchanged
testcases/emulator_verified/philly_bahiti_combo.jsonphilly_bahiti_combo0-0.13%-0.13%0.00%unchanged
testcases/emulator_verified/philly_bahiti_combo.jsonphilly_bahiti_combo10.24%0.24%0.00%unchanged
testcases/emulator_verified/philly_solo.jsonphilly_solo00.24%0.24%0.00%unchanged
testcases/emulator_verified/philly_solo.jsonphilly_solo10.03%0.03%0.00%unchanged
testcases/emulator_verified/reina_attacker_wip.jsonreina_attacker_wip00.01%0.01%0.00%unchanged
testcases/emulator_verified/reina_bahiti_combo_nc.jsonreina_bahiti_combo_nc01.12%1.12%0.00%unchanged
testcases/emulator_verified/reina_logan_combo_simulator.jsonreina_logan_combo_simulator00.14%0.14%0.00%unchanged
testcases/emulator_verified/reina_solo_wip.jsonreina_solo_wip0-0.02%-0.02%0.00%unchanged
testcases/emulator_verified/seo_yoon_solo_nc.jsonseo_yoon_solo0-0.05%0.10%0.10%0.00%unchanged
testcases/emulator_verified/sergey_norah_zinman_combo_nc.jsonsergey_norah_zinman_combo_nc0-1.44%-1.44%0.00%unchanged
testcases/emulator_verified/sergey_reina_combo_nc.jsonsergey_reina_combo_nc0-0.35%-0.35%0.00%unchanged
testcases/emulator_verified/sergey_solo_nc.jsonsergey_solo0-0.05%0.00%0.00%0.00%unchanged
testcases/emulator_verified/simple_001_nc.jsonsimple_00100.00%0.00%0.00%unchanged
testcases/emulator_verified/troop_check_nc.jsontroop_check00.00%0.00%0.00%unchanged
testcases/emulator_verified/type_triangle_A_nc.jsontype_triangle_A_nc0+0.05%0.00%0.00%0.00%unchanged
testcases/emulator_verified/type_triangle_B_nc.jsontype_triangle_B_nc00.00%0.00%0.00%unchanged
testcases/emulator_verified/wayne_mixed_solo.jsonwayne_mixed_solo0-0.23%-0.23%0.00%unchanged
testcases/emulator_verified/wayne_mixed_solo.jsonwayne_mixed_solo1-2.01%-2.01%0.00%unchanged
testcases/emulator_verified/wayne_reina_combo.jsonwayne_reina_combo0-0.37%-0.37%0.00%unchanged
testcases/emulator_verified/wayne_reina_wuming_combo.jsonwayne_reina_wuming_combo00.18%0.18%0.00%unchanged
testcases/emulator_verified/wayne_s1_solo.jsonwayne_s1_solo00.36%0.36%0.00%unchanged
testcases/emulator_verified/wayne_s2_solo.jsonwayne_s2_solo00.43%0.43%0.00%unchanged
testcases/emulator_verified/wos425_wip_nohero_control_nc.jsonwos425_wip_nohero_control_nc00.00%0.00%0.00%unchanged
testcases/emulator_verified/wos425_wip_patrick_health_nc.jsonwos425_wip_patrick_health_nc00.00%0.00%0.00%unchanged
testcases/emulator_verified/wos425_wip_philly_defense.jsonwos425_wip_philly_defense0-0.02%-0.02%0.00%unchanged
testcases/emulator_verified/wos425_wip_sergey_damage_taken_nc.jsonwos425_wip_sergey_damage_taken_nc00.00%0.00%0.00%unchanged
testcases/emulator_verified/wos425_wip_sergey_patrick_combo_nc.jsonwos425_wip_sergey_patrick_combo_nc00.00%0.00%0.00%unchanged
testcases/emulator_verified/wos425_wip_sergey_philly_combo.jsonwos425_wip_sergey_philly_combo0-0.01%-0.01%0.00%unchanged
testcases/emulator_verified/wos427_wip_sergey_philly_840.jsonwos427_wip_sergey_philly_8400-0.28%-0.28%0.00%unchanged
testcases/emulator_verified/wu_ming_solo_nc.jsonwu_ming_solo00.00%0.00%0.00%unchanged
testcases/emulator_verified/zinman_solo_nc.jsonzinman_solo0+0.05%0.00%0.00%0.00%unchanged
testcases/heroes_unittests/Flint_tc.jsondaut_viper_10+0.05%-0.05%-0.05%0.00%unchanged
testcases/heroes_unittests/Flint_tc.jsondaut_viper_21-0.05%0.27%0.27%0.00%unchanged
testcases/heroes_unittests/Hector_tc.jsondaut_viper_100.00%0.00%0.00%unchanged
testcases/heroes_unittests/Jessie_tc_nc.jsondaut_viper_10+0.05%-0.06%-0.06%0.00%unchanged
testcases/heroes_unittests/Jessie_tc_nc.jsondaut_viper_21+0.05%-0.07%-0.07%0.00%unchanged
testcases/heroes_unittests/Jessie_tc_nc.jsondaut_viper_32-0.025%0.00%0.00%0.00%unchanged
testcases/heroes_unittests/Jessie_tc_nc.jsondaut_viper_43-0.017%0.00%0.00%0.00%unchanged
testcases/heroes_unittests/Jessie_tc_nc.jsondaut_viper_540.00%0.00%0.00%unchanged
testcases/heroes_unittests/Jessie_tc_nc.jsondaut_viper_65+0.05%-0.06%-0.06%0.00%unchanged
testcases/heroes_unittests/Jessie_tc_nc.jsondaut_viper_76+0.05%-0.05%-0.05%0.00%unchanged
testcases/heroes_unittests/Jessie_tc_nc.jsondaut_viper_870.00%0.00%0.00%unchanged
testcases/heroes_unittests/Mia_tc.jsondaut_viper_100.17%0.17%0.00%unchanged
testcases/heroes_unittests/Mia_tc.jsondaut_viper_21+0.05%-0.77%-0.77%0.00%unchanged
testcases/heroes_unittests/Mia_tc.jsondaut_viper_32-0.10%-0.10%0.00%unchanged
testcases/heroes_unittests/Mia_tc.jsondaut_viper_43-0.13%-0.13%0.00%unchanged
testcases/heroes_unittests/Mia_tc.jsondaut_viper_54-0.11%-0.11%0.00%unchanged
testcases/heroes_unittests/Molly_tc.jsondaut_viper_10+0.05%-0.06%-0.06%0.00%unchanged
testcases/heroes_unittests/Molly_tc.jsondaut_viper_21+0.05%-0.07%-0.07%0.00%unchanged
testcases/heroes_unittests/Molly_tc.jsondaut_viper_32-0.025%0.00%0.00%0.00%unchanged
testcases/heroes_unittests/Molly_tc.jsondaut_viper_430.33%0.33%0.00%unchanged
testcases/heroes_unittests/Molly_tc.jsondaut_viper_54-0.02%-0.02%0.00%unchanged
testcases/heroes_unittests/Reina_tc.jsondaut_viper_10+0.05%-0.18%-0.18%0.00%unchanged
testcases/heroes_unittests/Reina_tc.jsondaut_viper_210.00%0.00%0.00%unchanged
testcases/heroes_unittests/Reina_tc.jsondaut_viper_42-0.46%-0.46%0.00%unchanged
testcases/heroes_unittests/Reina_tc.jsondaut_viper_530.01%0.01%0.00%unchanged
testcases/heroes_unittests/Seo-yoon_tc_nc.jsondaut_viper_10+0.05%-0.06%-0.06%0.00%unchanged
testcases/heroes_unittests/Seo-yoon_tc_nc.jsondaut_viper_32-0.025%0.00%0.00%0.00%unchanged
testcases/heroes_unittests/Seo-yoon_tc_nc.jsondaut_viper_43+0.05%-0.04%-0.04%0.00%unchanged
testcases/heroes_unittests/Seo-yoon_tc_nc.jsondaut_viper_54+0.05%-0.06%-0.06%0.00%unchanged
testcases/heroes_unittests/Seo-yoon_tc_nc.jsondaut_viper_61+0.05%-0.07%-0.07%0.00%unchanged
testcases/heroes_unittests/Seo-yoon_tc_nc.jsondaut_viper_65-0.006%0.04%0.04%0.00%unchanged
testcases/heroes_unittests/Seo-yoon_tc_nc.jsondaut_viper_76-0.004%0.04%0.04%0.00%unchanged
testcases/heroes_unittests/Zinman_tc.jsondaut_viper_10-0.05%0.00%0.00%0.00%unchanged
testcases/heroes_unittests/Zinman_tc.jsondaut_viper_21-0.025%0.00%0.00%0.00%unchanged
testcases/heroes_unittests/Zinman_tc.jsondaut_viper_32-0.05%0.00%0.00%0.00%unchanged
testcases/emulator_verified/hector_renee_wayne.jsondeterminism_test_normal0-0.44%retired
testcases/emulator_verified/hector_renee_wayne.jsonhector_renee_wayne0-0.45%added

Code / Config Changes

Code Changes (Run A → Run B)

Index: simulator/config/hero_definitions/Renee.json
===================================================================
--- simulator/config/hero_definitions/Renee.json prev run
+++ simulator/config/hero_definitions/Renee.json this run
@@ -74,9 +74,9 @@
"target": "enemy"
},
"effects": {
"Dreamslice/1": {
- "type": "type.all.damage.up",
+ "type": "active.hero.damage.up",
"value": [
15,
30,
45,
Index: simulator/src/config.test.ts
===================================================================
--- simulator/src/config.test.ts prev run
+++ simulator/src/config.test.ts this run
@@ -4,8 +4,9 @@
import { test } from "node:test";
import { tmpdir } from "node:os";
import { fileURLToPath } from "node:url";
+import { loadSimulatorConfig } from "./config";
import { loadSimulatorConfigFromDir } from "./config-node";
import type { SkillFile } from "./types";
test("loadSimulatorConfig warns for non-per-unit turn triggers with trigger-relative effect selectors", () => {
Index: testcases/emulator_verified/hector_renee_wayne.json
===================================================================
--- testcases/emulator_verified/hector_renee_wayne.json prev run
+++ testcases/emulator_verified/hector_renee_wayne.json this run
@@ -1,8 +1,8 @@
[
{
- "test_id": "determinism_test_normal",
- "description": "Determinism test: WIP attacks minxxx. No heroes. WIP 1700 infantry_t6 vs minxxx 300 infantry_t6. Expect ~47% attacker casualties.",
+ "test_id": "hector_renee_wayne",
+ "description": "WIP attacks minxxx with attacker heroes Hector 2/3/2, Renee 3/3/3, and Wayne 2/2/2. Attacker fields 1700 infantry_t6 only; defender has no heroes and fields 300 infantry_t6 only. Game report result: attacker 1597 survivors, defender wiped.",
"attacker": {
"name": "[BBQ]XxWIPxX",
"heroes": {
"Hector": {
@@ -84,5 +84,5 @@
"defender": 0
}
]
}
-]
\ No newline at end of file
+]
Show raw per-run patches
Run A dirty state patch
diff --git a/shared/fighters_data/fighters_stats.json b/shared/fighters_data/fighters_stats.json
--- a/shared/fighters_data/fighters_stats.json
+++ b/shared/fighters_data/fighters_stats.json
@@ -4,6 +4,11 @@
"lanc": [1400.98, 1432.28, 1756.8, 1722.5],
"mark": [1400.98, 1431.28, 1806.4, 1785.4]
},
+ "custom": {
+ "inf": [1370.6, 1380.5, 1706.7, 1864.7],
+ "lanc": [1370.6, 1380.5, 1820.4, 1669.3],
+ "mark": [1370.6, 1380.5, 1910.9, 1732.9]
+ },
"daut": {
"inf": [
9.94,
diff --git a/simulator/config/hero_definitions/Ahmose.json b/simulator/config/hero_definitions/Ahmose.json
--- a/simulator/config/hero_definitions/Ahmose.json
+++ b/simulator/config/hero_definitions/Ahmose.json
@@ -24,7 +24,7 @@
}
},
"ViperFormation/2": {
- "type": "active.hero.defense.up",
+ "type": "active.hero.damageTaken.down",
"value": [
10,
15,
@@ -46,7 +46,7 @@
"same_effect_stacking": "max"
},
"ViperFormation/3": {
- "type": "active.hero.defense.up",
+ "type": "active.hero.damageTaken.down",
"value": [
10,
25,
@@ -75,7 +75,7 @@
},
"effects": {
"PrayerOfFlame/1": {
- "type": "active.hero.lethality.up",
+ "type": "active.hero.damage.up",
"value": [
20,
40,
@@ -113,12 +113,12 @@
]
},
"duration": {
- "type": "attack",
+ "type": "turn",
"value": 1
}
},
"BladeOfLight/2": {
- "type": "active.hero.defense.down",
+ "type": "active.hero.damageTaken.up",
"value": [
5,
10,
@@ -127,12 +127,11 @@
25
],
"units": {
- "applies_to": "target"
+ "applies_to": "trigger.source"
},
"duration": {
"type": "turn",
- "value": 1,
- "delay": 1
+ "value": 1
},
"same_effect_stacking": "add"
}
diff --git a/simulator/config/hero_definitions/Bradley.json b/simulator/config/hero_definitions/Bradley.json
--- a/simulator/config/hero_definitions/Bradley.json
+++ b/simulator/config/hero_definitions/Bradley.json
@@ -28,7 +28,7 @@
},
"effects": {
"PowerShot/1": {
- "type": "active.hero.lethality.up",
+ "type": "type.all.damage.up",
"value": [
6,
12,
@@ -43,7 +43,7 @@
}
},
"PowerShot/2": {
- "type": "active.hero.lethality.up",
+ "type": "type.all.damage.up",
"value": [
5,
10,
@@ -67,7 +67,7 @@
},
"effects": {
"TacticalAssistance/1": {
- "type": "active.hero.lethality.up",
+ "type": "active.hero.damage.up",
"value": [
6,
12,
diff --git a/simulator/config/hero_definitions/Edith.json b/simulator/config/hero_definitions/Edith.json
--- a/simulator/config/hero_definitions/Edith.json
+++ b/simulator/config/hero_definitions/Edith.json
@@ -25,7 +25,7 @@
}
},
"StrategicBalance/2": {
- "type": "active.hero.lethality.up",
+ "type": "active.hero.damage.up",
"value": [
4,
8,
diff --git a/simulator/config/hero_definitions/Flint.json b/simulator/config/hero_definitions/Flint.json
--- a/simulator/config/hero_definitions/Flint.json
+++ b/simulator/config/hero_definitions/Flint.json
@@ -10,7 +10,7 @@
},
"effects": {
"Pyromaniac/1": {
- "type": "active.hero.lethality.up",
+ "type": "active.hero.damage.up",
"value": [
20,
40,
diff --git a/simulator/config/hero_definitions/Greg.json b/simulator/config/hero_definitions/Greg.json
--- a/simulator/config/hero_definitions/Greg.json
+++ b/simulator/config/hero_definitions/Greg.json
@@ -17,7 +17,7 @@
},
"effects": {
"SwordOfJustice/1": {
- "type": "active.hero.lethality.up",
+ "type": "active.hero.damage.up",
"value": [
8,
16,
diff --git a/simulator/config/hero_definitions/Gwen.json b/simulator/config/hero_definitions/Gwen.json
--- a/simulator/config/hero_definitions/Gwen.json
+++ b/simulator/config/hero_definitions/Gwen.json
@@ -10,7 +10,7 @@
},
"effects": {
"EagleVision/1": {
- "type": "active.hero.defense.down",
+ "type": "active.hero.damageTaken.up",
"value": [
5,
10,
diff --git a/simulator/config/hero_definitions/Hector.json b/simulator/config/hero_definitions/Hector.json
--- a/simulator/config/hero_definitions/Hector.json
+++ b/simulator/config/hero_definitions/Hector.json
@@ -40,7 +40,7 @@
},
"effects": {
"Rampant/1": {
- "type": "active.hero.lethality.up",
+ "type": "active.hero.damage.up",
"value": [
100,
125,
@@ -65,7 +65,7 @@
}
},
"Rampant/2": {
- "type": "active.hero.lethality.up",
+ "type": "active.hero.damage.up",
"value": [
20,
40,
diff --git a/simulator/config/hero_definitions/Jeronimo.json b/simulator/config/hero_definitions/Jeronimo.json
--- a/simulator/config/hero_definitions/Jeronimo.json
+++ b/simulator/config/hero_definitions/Jeronimo.json
@@ -47,7 +47,7 @@
},
"effects": {
"EXpertSwordsmanship/1": {
- "type": "active.hero.lethality.up",
+ "type": "active.hero.damage.up",
"value": [
6,
12,
diff --git a/simulator/config/hero_definitions/Norah.json b/simulator/config/hero_definitions/Norah.json
--- a/simulator/config/hero_definitions/Norah.json
+++ b/simulator/config/hero_definitions/Norah.json
@@ -26,7 +26,7 @@
}
},
"CombinedArms/2": {
- "type": "active.hero.lethality.up",
+ "type": "active.hero.damage.up",
"value": [
3,
6,
@@ -96,7 +96,7 @@
},
"effects": {
"Momentum/1": {
- "type": "active.hero.lethality.up",
+ "type": "active.hero.damage.up",
"value": [
5,
10,
diff --git a/simulator/config/hero_definitions/Renee.json b/simulator/config/hero_definitions/Renee.json
--- a/simulator/config/hero_definitions/Renee.json
+++ b/simulator/config/hero_definitions/Renee.json
@@ -7,11 +7,13 @@
"description": "Troops place Dream Marks on targets every two turns, dealing extra Lancer damage once next turn",
"trigger": {
"type": "turn",
- "every": 2
+ "every": 2,
+ "source": "self.lancer",
+ "target": "enemy"
},
"effects": {
"NightmareTrace/1": {
- "type": "extra_skill_attack",
+ "type": "active.hero.damage.up",
"value": [
40,
80,
@@ -20,23 +22,15 @@
200
],
"units": {
- "applies_to": [
- "lancer"
- ],
- "applies_vs": "any"
+ "applies_to": "lancer",
+ "applies_vs": "target"
},
"duration": {
"type": "attack",
"value": 1,
"delay": 1
},
- "same_effect_stacking": "max",
- "trigger_damage_jobs": [
- {
- "source": "use.source",
- "target": "use.target"
- }
- ]
+ "same_effect_stacking": "max"
}
}
},
@@ -44,11 +38,13 @@
"description": "Dream Marks highlight enemy vulnerabilities, increasing damage dealt by Lancers to marked targets",
"trigger": {
"type": "turn",
- "every": 2
+ "every": 2,
+ "source": "self.lancer",
+ "target": "enemy"
},
"effects": {
"Dreamcatcher/1": {
- "type": "active.hero.lethality.up",
+ "type": "active.hero.damage.up",
"value": [
30,
60,
@@ -57,10 +53,8 @@
150
],
"units": {
- "applies_to": [
- "lancer"
- ],
- "applies_vs": "any"
+ "applies_to": "lancer",
+ "applies_vs": "target"
},
"duration": {
"type": "turn",
@@ -76,11 +70,12 @@
"trigger": {
"type": "turn",
"every": 2,
- "source": "self.any"
+ "source": "self.lancer",
+ "target": "enemy"
},
"effects": {
"Dreamslice/1": {
- "type": "active.hero.defense.down",
+ "type": "type.all.damage.up",
"value": [
15,
30,
@@ -89,8 +84,8 @@
75
],
"units": {
- "applies_to": "target",
- "applies_vs": "any"
+ "applies_to": "any",
+ "applies_vs": "target"
},
"duration": {
"type": "turn",
diff --git a/simulator/config/hero_definitions/Wayne.json b/simulator/config/hero_definitions/Wayne.json
--- a/simulator/config/hero_definitions/Wayne.json
+++ b/simulator/config/hero_definitions/Wayne.json
@@ -28,7 +28,7 @@
"type": "attack",
"value": 1
},
- "same_effect_stacking": "max",
+ "same_effect_stacking": "add",
"trigger_damage_jobs": [
{
"source": "use.source",
@@ -123,8 +123,7 @@
100
],
"units": {
- "applies_to": "trigger.source",
- "applies_vs": "trigger.target"
+ "applies_to": "trigger.source"
},
"duration": {
"type": "attack",
diff --git a/simulator/config/hero_definitions/WuMing.json b/simulator/config/hero_definitions/WuMing.json
--- a/simulator/config/hero_definitions/WuMing.json
+++ b/simulator/config/hero_definitions/WuMing.json
@@ -48,7 +48,7 @@
},
"effects": {
"CrescentUplift/1": {
- "type": "active.hero.lethality.up",
+ "type": "active.hero.damage.up",
"value": [
4,
8,
Run B dirty state patch
diff --git a/shared/fighters_data/fighters_stats.json b/shared/fighters_data/fighters_stats.json
--- a/shared/fighters_data/fighters_stats.json
+++ b/shared/fighters_data/fighters_stats.json
@@ -4,6 +4,11 @@
"lanc": [1400.98, 1432.28, 1756.8, 1722.5],
"mark": [1400.98, 1431.28, 1806.4, 1785.4]
},
+ "custom": {
+ "inf": [1370.6, 1380.5, 1706.7, 1864.7],
+ "lanc": [1370.6, 1380.5, 1820.4, 1669.3],
+ "mark": [1370.6, 1380.5, 1910.9, 1732.9]
+ },
"daut": {
"inf": [
9.94,
diff --git a/simulator/config/hero_definitions/Ahmose.json b/simulator/config/hero_definitions/Ahmose.json
--- a/simulator/config/hero_definitions/Ahmose.json
+++ b/simulator/config/hero_definitions/Ahmose.json
@@ -24,7 +24,7 @@
}
},
"ViperFormation/2": {
- "type": "active.hero.defense.up",
+ "type": "active.hero.damageTaken.down",
"value": [
10,
15,
@@ -46,7 +46,7 @@
"same_effect_stacking": "max"
},
"ViperFormation/3": {
- "type": "active.hero.defense.up",
+ "type": "active.hero.damageTaken.down",
"value": [
10,
25,
@@ -75,7 +75,7 @@
},
"effects": {
"PrayerOfFlame/1": {
- "type": "active.hero.lethality.up",
+ "type": "active.hero.damage.up",
"value": [
20,
40,
@@ -113,12 +113,12 @@
]
},
"duration": {
- "type": "attack",
+ "type": "turn",
"value": 1
}
},
"BladeOfLight/2": {
- "type": "active.hero.defense.down",
+ "type": "active.hero.damageTaken.up",
"value": [
5,
10,
@@ -127,12 +127,11 @@
25
],
"units": {
- "applies_to": "target"
+ "applies_to": "trigger.source"
},
"duration": {
"type": "turn",
- "value": 1,
- "delay": 1
+ "value": 1
},
"same_effect_stacking": "add"
}
diff --git a/simulator/config/hero_definitions/Bradley.json b/simulator/config/hero_definitions/Bradley.json
--- a/simulator/config/hero_definitions/Bradley.json
+++ b/simulator/config/hero_definitions/Bradley.json
@@ -28,7 +28,7 @@
},
"effects": {
"PowerShot/1": {
- "type": "active.hero.lethality.up",
+ "type": "type.all.damage.up",
"value": [
6,
12,
@@ -43,7 +43,7 @@
}
},
"PowerShot/2": {
- "type": "active.hero.lethality.up",
+ "type": "type.all.damage.up",
"value": [
5,
10,
@@ -67,7 +67,7 @@
},
"effects": {
"TacticalAssistance/1": {
- "type": "active.hero.lethality.up",
+ "type": "active.hero.damage.up",
"value": [
6,
12,
diff --git a/simulator/config/hero_definitions/Edith.json b/simulator/config/hero_definitions/Edith.json
--- a/simulator/config/hero_definitions/Edith.json
+++ b/simulator/config/hero_definitions/Edith.json
@@ -25,7 +25,7 @@
}
},
"StrategicBalance/2": {
- "type": "active.hero.lethality.up",
+ "type": "active.hero.damage.up",
"value": [
4,
8,
diff --git a/simulator/config/hero_definitions/Flint.json b/simulator/config/hero_definitions/Flint.json
--- a/simulator/config/hero_definitions/Flint.json
+++ b/simulator/config/hero_definitions/Flint.json
@@ -10,7 +10,7 @@
},
"effects": {
"Pyromaniac/1": {
- "type": "active.hero.lethality.up",
+ "type": "active.hero.damage.up",
"value": [
20,
40,
diff --git a/simulator/config/hero_definitions/Greg.json b/simulator/config/hero_definitions/Greg.json
--- a/simulator/config/hero_definitions/Greg.json
+++ b/simulator/config/hero_definitions/Greg.json
@@ -17,7 +17,7 @@
},
"effects": {
"SwordOfJustice/1": {
- "type": "active.hero.lethality.up",
+ "type": "active.hero.damage.up",
"value": [
8,
16,
diff --git a/simulator/config/hero_definitions/Gwen.json b/simulator/config/hero_definitions/Gwen.json
--- a/simulator/config/hero_definitions/Gwen.json
+++ b/simulator/config/hero_definitions/Gwen.json
@@ -10,7 +10,7 @@
},
"effects": {
"EagleVision/1": {
- "type": "active.hero.defense.down",
+ "type": "active.hero.damageTaken.up",
"value": [
5,
10,
diff --git a/simulator/config/hero_definitions/Hector.json b/simulator/config/hero_definitions/Hector.json
--- a/simulator/config/hero_definitions/Hector.json
+++ b/simulator/config/hero_definitions/Hector.json
@@ -40,7 +40,7 @@
},
"effects": {
"Rampant/1": {
- "type": "active.hero.lethality.up",
+ "type": "active.hero.damage.up",
"value": [
100,
125,
@@ -65,7 +65,7 @@
}
},
"Rampant/2": {
- "type": "active.hero.lethality.up",
+ "type": "active.hero.damage.up",
"value": [
20,
40,
diff --git a/simulator/config/hero_definitions/Jeronimo.json b/simulator/config/hero_definitions/Jeronimo.json
--- a/simulator/config/hero_definitions/Jeronimo.json
+++ b/simulator/config/hero_definitions/Jeronimo.json
@@ -47,7 +47,7 @@
},
"effects": {
"EXpertSwordsmanship/1": {
- "type": "active.hero.lethality.up",
+ "type": "active.hero.damage.up",
"value": [
6,
12,
diff --git a/simulator/config/hero_definitions/Norah.json b/simulator/config/hero_definitions/Norah.json
--- a/simulator/config/hero_definitions/Norah.json
+++ b/simulator/config/hero_definitions/Norah.json
@@ -26,7 +26,7 @@
}
},
"CombinedArms/2": {
- "type": "active.hero.lethality.up",
+ "type": "active.hero.damage.up",
"value": [
3,
6,
@@ -96,7 +96,7 @@
},
"effects": {
"Momentum/1": {
- "type": "active.hero.lethality.up",
+ "type": "active.hero.damage.up",
"value": [
5,
10,
diff --git a/simulator/config/hero_definitions/Renee.json b/simulator/config/hero_definitions/Renee.json
--- a/simulator/config/hero_definitions/Renee.json
+++ b/simulator/config/hero_definitions/Renee.json
@@ -7,11 +7,13 @@
"description": "Troops place Dream Marks on targets every two turns, dealing extra Lancer damage once next turn",
"trigger": {
"type": "turn",
- "every": 2
+ "every": 2,
+ "source": "self.lancer",
+ "target": "enemy"
},
"effects": {
"NightmareTrace/1": {
- "type": "extra_skill_attack",
+ "type": "active.hero.damage.up",
"value": [
40,
80,
@@ -20,23 +22,15 @@
200
],
"units": {
- "applies_to": [
- "lancer"
- ],
- "applies_vs": "any"
+ "applies_to": "lancer",
+ "applies_vs": "target"
},
"duration": {
"type": "attack",
"value": 1,
"delay": 1
},
- "same_effect_stacking": "max",
- "trigger_damage_jobs": [
- {
- "source": "use.source",
- "target": "use.target"
- }
- ]
+ "same_effect_stacking": "max"
}
}
},
@@ -44,11 +38,13 @@
"description": "Dream Marks highlight enemy vulnerabilities, increasing damage dealt by Lancers to marked targets",
"trigger": {
"type": "turn",
- "every": 2
+ "every": 2,
+ "source": "self.lancer",
+ "target": "enemy"
},
"effects": {
"Dreamcatcher/1": {
- "type": "active.hero.lethality.up",
+ "type": "active.hero.damage.up",
"value": [
30,
60,
@@ -57,10 +53,8 @@
150
],
"units": {
- "applies_to": [
- "lancer"
- ],
- "applies_vs": "any"
+ "applies_to": "lancer",
+ "applies_vs": "target"
},
"duration": {
"type": "turn",
@@ -76,11 +70,12 @@
"trigger": {
"type": "turn",
"every": 2,
- "source": "self.any"
+ "source": "self.lancer",
+ "target": "enemy"
},
"effects": {
"Dreamslice/1": {
- "type": "active.hero.defense.down",
+ "type": "active.hero.damage.up",
"value": [
15,
30,
@@ -89,8 +84,8 @@
75
],
"units": {
- "applies_to": "target",
- "applies_vs": "any"
+ "applies_to": "any",
+ "applies_vs": "target"
},
"duration": {
"type": "turn",
diff --git a/simulator/config/hero_definitions/Wayne.json b/simulator/config/hero_definitions/Wayne.json
--- a/simulator/config/hero_definitions/Wayne.json
+++ b/simulator/config/hero_definitions/Wayne.json
@@ -28,7 +28,7 @@
"type": "attack",
"value": 1
},
- "same_effect_stacking": "max",
+ "same_effect_stacking": "add",
"trigger_damage_jobs": [
{
"source": "use.source",
@@ -123,8 +123,7 @@
100
],
"units": {
- "applies_to": "trigger.source",
- "applies_vs": "trigger.target"
+ "applies_to": "trigger.source"
},
"duration": {
"type": "attack",
diff --git a/simulator/config/hero_definitions/WuMing.json b/simulator/config/hero_definitions/WuMing.json
--- a/simulator/config/hero_definitions/WuMing.json
+++ b/simulator/config/hero_definitions/WuMing.json
@@ -48,7 +48,7 @@
},
"effects": {
"CrescentUplift/1": {
- "type": "active.hero.lethality.up",
+ "type": "active.hero.damage.up",
"value": [
4,
8,
diff --git a/simulator/src/config.test.ts b/simulator/src/config.test.ts
--- a/simulator/src/config.test.ts
+++ b/simulator/src/config.test.ts
@@ -5,6 +5,7 @@
import { tmpdir } from "node:os";
import { fileURLToPath } from "node:url";
+import { loadSimulatorConfig } from "./config";
import { loadSimulatorConfigFromDir } from "./config-node";
import type { SkillFile } from "./types";
diff --git a/testcases/emulator_verified/hector_renee_wayne.json b/testcases/emulator_verified/hector_renee_wayne.json
--- a/testcases/emulator_verified/hector_renee_wayne.json
+++ b/testcases/emulator_verified/hector_renee_wayne.json
@@ -1,7 +1,7 @@
[
{
- "test_id": "determinism_test_normal",
- "description": "Determinism test: WIP attacks minxxx. No heroes. WIP 1700 infantry_t6 vs minxxx 300 infantry_t6. Expect ~47% attacker casualties.",
+ "test_id": "hector_renee_wayne",
+ "description": "WIP attacks minxxx with attacker heroes Hector 2/3/2, Renee 3/3/3, and Wayne 2/2/2. Attacker fields 1700 infantry_t6 only; defender has no heroes and fields 300 infantry_t6 only. Game report result: attacker 1597 survivors, defender wiped.",
"attacker": {
"name": "[BBQ]XxWIPxX",
"heroes": {
@@ -85,4 +85,4 @@
}
]
}
-]
\ No newline at end of file
+]