From 922a5a28b2463ffc59faeb001520db1d69ba26c6 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Sat, 26 Sep 2026 15:22:58 +0000 Subject: [PATCH 1/2] Pin evilution 1.1.0 for a mutation-testing trial Add the gem beside mutineer, exact and not required at load time, so a branch can run it against this suite without changing what the library loads. Co-authored-by: meganemura --- Gemfile | 6 ++++++ Gemfile.lock | 24 ++++++++++++++++++++++++ 2 files changed, 30 insertions(+) diff --git a/Gemfile b/Gemfile index 812014f..8ba57e2 100644 --- a/Gemfile +++ b/Gemfile @@ -19,3 +19,9 @@ gem "simplecov", "1.0.3" # Mutation testing only; `bundle exec mutineer run` reads it. Pinned exact, # and never required at load time, so the library and its tests do not see it. gem "mutineer", "1.0.2", require: false + +# Trial of evilution beside mutineer. Pinned exact, development-only, and +# never required at load time, the same way mutineer is. 1.1.0 is the newest +# release that has been public for seven days; 1.2.0 is newer and is not +# taken here. +gem "evilution", "1.1.0", require: false diff --git a/Gemfile.lock b/Gemfile.lock index 82667b2..05a3b66 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -8,13 +8,20 @@ GEM remote: https://rubygems.org/ specs: ast (2.4.3) + bigdecimal (4.1.3) + diff-lcs (2.0.0) erb (6.0.7) + evilution (1.1.0) + diff-lcs (>= 1.5, < 3) + mcp (>= 0.8, < 2) + prism (>= 1.5, < 2) ffi (1.17.4) ffi (1.17.4-aarch64-linux-gnu) ffi (1.17.4-aarch64-mingw-ucrt) ffi (1.17.4-arm64-darwin) ffi (1.17.4-x64-mingw-ucrt) ffi (1.17.4-x86_64-linux-gnu) + hana (1.3.7) io-console (0.8.2) irb (1.18.0) pp (>= 0.6.0) @@ -22,9 +29,16 @@ GEM rdoc (>= 4.0.0) reline (>= 0.4.2) json (2.21.2) + json_schemer (2.5.0) + bigdecimal + hana (~> 1.3) + regexp_parser (~> 2.0) + simpleidn (~> 0.2) language_server-protocol (3.17.0.6) lint_roller (1.1.0) logger (1.7.0) + mcp (1.6.0) + json_schemer (>= 2.4) minitest (5.27.0) mutineer (1.0.2) parallel (2.1.0) @@ -70,6 +84,7 @@ GEM rubocop-ast (>= 1.47.1, < 2.0) ruby-progressbar (1.13.0) simplecov (1.0.3) + simpleidn (0.3.0) standard (1.56.0) language_server-protocol (~> 3.17.0.2) lint_roller (~> 1.0) @@ -96,6 +111,7 @@ PLATFORMS x86_64-linux DEPENDENCIES + evilution (= 1.1.0) hegeltest! irb minitest (~> 5.16) @@ -106,20 +122,27 @@ DEPENDENCIES CHECKSUMS ast (2.4.3) sha256=954615157c1d6a382bc27d690d973195e79db7f55e9765ac7c481c60bdb4d383 + bigdecimal (4.1.3) sha256=61ebe1e5e559bdc3cc6f2c0ee7f427321fc838f59611c294356eb04d6e21cf66 + bundler (4.0.18) sha256=02d9a17429de1847b4e0c9f27a9ee4b20c0a74c0a641b4e77195d6019e3618ac + diff-lcs (2.0.0) sha256=708a5d52ec2945b50f8f53a181174aa1ef2c496edf81c05957fe956dabb363d5 erb (6.0.7) sha256=c5ca6dc25b0ef974a44dc8f59fe847577122483b1968a38dec305c60bf91ee92 + evilution (1.1.0) sha256=094bebf5bdf889b29f616ea759de68f8368b02b6e39ddd72ae7ac9fe545fca16 ffi (1.17.4) sha256=bcd1642e06f0d16fc9e09ac6d49c3a7298b9789bcb58127302f934e437d60acf ffi (1.17.4-aarch64-linux-gnu) sha256=b208f06f91ffd8f5e1193da3cae3d2ccfc27fc36fba577baf698d26d91c080df ffi (1.17.4-aarch64-mingw-ucrt) sha256=21dcf607bfd2098fffe214db4f721544b0c424afffb86e04bc058293131cc9e7 ffi (1.17.4-arm64-darwin) sha256=19071aaf1419251b0a46852abf960e77330a3b334d13a4ab51d58b31a937001b ffi (1.17.4-x64-mingw-ucrt) sha256=f6ff9618cfccc494138bddade27aa06c74c6c7bc367a1ea1103d80c2fcb9ed35 ffi (1.17.4-x86_64-linux-gnu) sha256=9d3db14c2eae074b382fa9c083fe95aec6e0a1451da249eab096c34002bc752d + hana (1.3.7) sha256=5425db42d651fea08859811c29d20446f16af196308162894db208cac5ce9b0d hegeltest (0.1.1) io-console (0.8.2) sha256=d6e3ae7a7cc7574f4b8893b4fca2162e57a825b223a177b7afa236c5ef9814cc irb (1.18.0) sha256=de9454a0703a54704b9811a5ef31a60c86949fbf4013fcf244fabc7c775248e3 json (2.21.2) sha256=1f1d3b7cf2b3ba1a69beca0bb6db13d5438b80bff3cd54cdaaa620b9b07c1c6a + json_schemer (2.5.0) sha256=2f01fb4cce721a4e08dd068fc2030cffd0702a7f333f1ea2be6e8991f00ae396 language_server-protocol (3.17.0.6) sha256=5ef2c0c138f8267e1bc631d3328347d354f96724b0af22f2c79516120443b7f0 lint_roller (1.1.0) sha256=2c0c845b632a7d172cb849cc90c1bce937a28c5c8ccccb50dfd46a485003cc87 logger (1.7.0) sha256=196edec7cc44b66cfb40f9755ce11b392f21f7967696af15d274dde7edff0203 + mcp (1.6.0) sha256=73fe3be93df68cffd6e73c852e7a1182a0a5eacdaff586b864bfeac22ae6f7be minitest (5.27.0) sha256=2d3b17f8a36fe7801c1adcffdbc38233b938eb0b4966e97a6739055a45fa77d5 mutineer (1.0.2) sha256=70a401228734d383d439a3e3ccc6115e91afce8caa455f2b018748dd32213c34 parallel (2.1.0) sha256=b35258865c2e31134c5ecb708beaaf6772adf9d5efae28e93e99260877b09356 @@ -139,6 +162,7 @@ CHECKSUMS rubocop-performance (1.26.1) sha256=cd19b936ff196df85829d264b522fd4f98b6c89ad271fa52744a8c11b8f71834 ruby-progressbar (1.13.0) sha256=80fc9c47a9b640d6834e0dc7b3c94c9df37f08cb072b7761e4a71e22cff29b33 simplecov (1.0.3) sha256=38ef0514f16ae7562f0d0f4df02610071115103d301b6de7dacbcc000082e39b + simpleidn (0.3.0) sha256=12ca730bed2f3db04d11e9bfd1bca3e11fb37f55b21eb2e9793fb5814bf54d03 standard (1.56.0) sha256=ae2af4d9669589162ac69ed5ef59dcf9f346d4afc81f7e62b84339310dfcb787 standard-custom (1.0.2) sha256=424adc84179a074f1a2a309bb9cf7cd6bfdb2b6541f20c6bf9436c0ba22a652b standard-performance (1.9.0) sha256=49483d31be448292951d80e5e67cdcb576c2502103c7b40aec6f1b6e9c88e3f2 From 9751adfc49e660b068bc14df6c14e0e93ddd2027 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Sat, 26 Sep 2026 15:55:20 +0000 Subject: [PATCH 2/2] Add a trial evilution config for this Minitest suite The default integration is rspec, and five source files do not match evilution's test_.rb lookup. The config sets minitest, fork isolation, and those five mappings. A run still needs RUBYOPT=-Itest. Co-authored-by: meganemura --- .evilution.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .evilution.yml diff --git a/.evilution.yml b/.evilution.yml new file mode 100644 index 0000000..2149256 --- /dev/null +++ b/.evilution.yml @@ -0,0 +1,23 @@ +# Trial configuration for running evilution against this Minitest suite. +# The default integration is rspec, so this file sets minitest. isolation +# fork is what auto selects for a project with a gemspec; in_process does +# not rerun Minitest after the first mutant. The mappings cover source files +# whose tests are not named test_.rb under a mirrored directory. +# A run still needs RUBYOPT=-Itest, because every test file requires +# "test_helper" and evilution does not put test/ on the load path. +schema_version: 1 +integration: minitest +isolation: fork +timeout: 15 +spec_mappings: + lib/hegel/lib_hegel/real.rb: + - test/hegel/test_lib_hegel.rb + - test/hegel/test_lib_hegel_real_error_paths.rb + lib/hegel/state_machine.rb: + - test/hegel/test_stateful.rb + lib/hegel/stateful/pool.rb: + - test/hegel/test_stateful.rb + lib/hegel/syntax/methods.rb: + - test/hegel/test_generators.rb + lib/hegel/test_case.rb: + - test/hegel/test_runner.rb