Repository navigation
Update kimera to 0.1.4 - #8
Merged
Merged
Conversation
0.1.4 stops mutating guard-style memoization (`return @x if @x`, `return if @_walked` then `@_walked = true`), whose mutants only recompute an equal value. On the full run that clears nine of the ten survivors 0.1.2 reported, in Boundaries, CognitiveScore, Roster, Branches, Ownership and Refs. The tenth, `>= => >` on the fragment prefilter in Duplication::Clusters, is unrelated to memoization and still survives; it is the prefilter change left for its own PR. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01YKVbSpFtuu6QSkB9ZYT1tK
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumps kimera from 0.1.2 to 0.1.4. The Gemfile now requires
>= 0.1.4, and the lockfile changes only the kimera lines. It staysBUNDLED WITH 4.0.16.0.1.4 no longer mutates guard-style memoization (
return @x if @x,return if @_walkedthen@_walked = true). Those mutants only recompute an equal value, so they always survived.Full
kimera cirun:The nine that are gone were in Boundaries, CognitiveScore, Roster, Branches, Ownership and Refs. The one left is
>= => >on the fragment prefilter inDuplication::Clusters(line 22). It has nothing to do with memoization and was already there before this bump. It's the prefilter design question left for its own change, so this PR doesn't touch it. The PR gate (--since) doesn't look at that line.🤖 Generated with Claude Code
https://claude.ai/code/session_01YKVbSpFtuu6QSkB9ZYT1tK
Generated by Claude Code