Skip to content

Rename AppendNodeMutation and TrimNodeMutation to gene-level naming#782

Merged
chrxh merged 2 commits into
developfrom
claude/rename-append-node-extend-gene-mutation
Jul 3, 2026
Merged

Rename AppendNodeMutation and TrimNodeMutation to gene-level naming#782
chrxh merged 2 commits into
developfrom
claude/rename-append-node-extend-gene-mutation

Conversation

@chrxh

@chrxh chrxh commented Jul 3, 2026

Copy link
Copy Markdown
Owner

Summary

  • Renames AppendNodeMutation to ExtendGeneMutation and TrimNodeMutation to TrimGeneMutation, matching the gene-level mutation naming convention already used for DuplicateGeneMutation/DeleteGeneMutation (both mutations act per-gene, keyed by geneProbability, not per-node).
  • Covers descriptor structs, TO structs, GPU kernel structs, serialization ids, the applyMutations_appendNode/applyMutations_trimNode kernel functions, the meta-mutation sigma parameters, GUI labels/settings keys, and test class/case names for both.
  • Leaves the unrelated trimNodes(...) helper in GenomeDescEditService.cpp (genome-preview cell-count trimming) untouched — different feature, coincidental name overlap.

Test plan

  • Build (blocked locally: external/vcpkg submodule not initialized in this environment)
  • EngineInterfaceTests.exe, NetworkTests.exe, PersisterTests.exe
  • EngineTests.exe --gtest_filter=ExtendGeneMutationTests.*:TrimGeneMutationTests.*:MetaMutationTests.*extendGene*:MetaMutationTests.*trimGene*:AccumulatedMutationTests*

🤖 Generated with Claude Code

chrxh added 2 commits July 3, 2026 20:46
Struct, field, function, and test names updated for consistency
(mutation extends a gene, not a single node).
Struct, field, function, and test names updated for consistency
(mutation operates per gene, not per node).
@chrxh chrxh changed the title Rename AppendNodeMutation to ExtendGeneMutation Rename AppendNodeMutation and TrimNodeMutation to gene-level naming Jul 3, 2026
@chrxh chrxh marked this pull request as ready for review July 3, 2026 19:08
@chrxh chrxh merged commit bf8085a into develop Jul 3, 2026
1 check passed
@chrxh chrxh deleted the claude/rename-append-node-extend-gene-mutation branch July 3, 2026 19:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant