Repository navigation
refactor: Purge legacy alias formals via the migration registry - #2863
Merged
schochastics merged 23 commits intoDec 3, 2026
Merged
schochastics merged 23 commits into
schochastics merged 23 commits into
Conversation
Contributor
|
This is how benchmark results would change (along with a 95% confidence interval in relative change) if e79a7b8 is merged into claude/issue-2788-subagents-faw1t1-4:
|
krlmlr
force-pushed
the
claude/issue-2788-subagents-faw1t1-5
branch
from
September 3, 2026 09:57
e79a7b8 to
1733f27
Compare
`layout_with_fr(maxiter = )` folds into the registry as a rename to `niter` (the alias was silent before, now it soft-deprecates), `layout_with_kk(start = )` gains its missing soft-deprecation, `cluster_leiden()` joins the registry with `resolution_parameter` recovered as `resolution`, and the long-dead `neimode`/`father` formals and result aliases of `bfs()`/`dfs()` are removed. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RTPj4qNv2FWui6etixZeuR
krlmlr
force-pushed
the
claude/issue-2788-subagents-faw1t1-5
branch
from
September 10, 2026 09:03
1733f27 to
c6e2a30
Compare
…-2788-subagents-faw1t1-5
…and return fields Removing them changes the return value and edits the deprecated `graph.bfs()`/`graph.dfs()` wrappers; this belongs to the deprecation-advancement track (#1121), not the #2788 rename wave. Also regenerates migration blocks after merging the base branch. Part of #2788. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Contributor
|
This is how benchmark results would change (along with a 95% confidence interval in relative change) if bf02258 is merged into claude/issue-2788-subagents-faw1t1-4:
|
This was referenced Oct 15, 2026
This was referenced Oct 15, 2026
Merged
…-2788-subagents-faw1t1-5 # Conflicts: # R/layout.R # tests/testthat/test-community.R
…-2788-subagents-faw1t1-5
…-2788-subagents-faw1t1-5
Contributor
|
This is how benchmark results would change (along with a 95% confidence interval in relative change) if f43b624 is merged into claude/issue-2788-subagents-faw1t1-4:
Further explanation regarding interpretation and methodology can be found in the documentation. Last updated for commit f43b624. |
The `start` alias of `coords` was silent before and now soft-deprecates, but no test checked the deprecation or that the result is unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…-2788-subagents-faw1t1-5
…_parameter) resolution_parameter was already deprecated with deprecate_warn() in 2.1.0. Folding it into the generic 3.0.0 rename made the warning softer. Keep the deprecated() formal and the hand-written bridge instead, so positional legacy calls are recovered into resolution_parameter and still warn loudly. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…-2788-subagents-faw1t1-5 # Conflicts: # R/layout.R
…-2788-subagents-faw1t1-5
…r_leiden() Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…-2788-subagents-faw1t1-5
…-2788-subagents-faw1t1-5
…-2788-subagents-faw1t1-5
…-2788-subagents-faw1t1-5
…-2788-subagents-faw1t1-5
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.
Part of #2788 (PR 5 of the stack, on top of #2862); answers the survey's "migrate the existing hand-rolled alias formals into the registry" question for the aliases that are ready, so the signatures shrink to canonical names.
What this does
layout_with_fr(): the trailingmaxiter = deprecated()formal disappears; the registry now recoversmaxiter =as a rename toniter(which refactor: Rename iteration arguments ton_iter/max_iter#2945 then renames ton_iter, per the iterations decision). This alias was bridged silently before (no deprecation signal at all) — it now gets the standard 3.0.0 soft-deprecation.layout_with_kk():start(alias ofcoords) cannot ride the registry becausecoordsis a head formal, so the sentinel formal stays — but the bridge now emits the previously missingdeprecate_soft()(it was a silent alias too), and the@paramgains its deprecated badge.cluster_leiden(): gains its missing registry entry (it was the onlycluster_*()without one, still on strictcheck_dots_empty()). Theresolution_parameter = deprecated()formal and hand bridge are removed; the registry recovers it as a rename toresolution. Theoldentry reproduces the true v2.0.0 positional signature (verified against thev2.0.0tag, commit8102f30, whereresolution_parameterwas canonical slot 4), so both 2.0-era positional calls and 2.1-era keyword calls recover correctly.Deliberately left for a follow-up
bfs()/dfs()keep their hard-deprecatedneimode/fatherformals and theres$neimode/res$fatherreturn fields. An earlier version of this PR removed them, but that changes the return value and edits the deprecatedgraph.bfs()/graph.dfs()wrappers, so it moves to the deprecation-advancement track (write code to advance lifecycle deprecations #1121).make_lattice()/lattice()circular→periodic: these functions have no ellipsis migration yet; the alias should ride that migration when it happens (note the knowndim/dimvectorprefix hazard documented in the generator fixture).eigen_centrality()/centr_eigen()/centr_eigen_tmax()scale = deprecated(): dropped functionality (normalization is always on), not aliases — nothing to recover; removal is a later deprecation-advancement step (write code to advance lifecycle deprecations #1121).layout_with_fr()/layout_with_kk()zombie formals (coolexp,maxdelta,area,repulserad,sigma,initemp,niter-on-kk) — hard-stopped since 0.8.0; same advancement track. Theniter/maxiterrole swap between fr and kk is resolved by the iterations rename in refactor: Rename iteration arguments ton_iter/max_iter#2945.The #2788 stack
Each PR is based on the previous one and merges in this order:
algotoalgorithminpage_rank(),feedback_arc_set()andfeedback_vertex_set()#2859:algo→algorithmnodestonin generators andcentr_*_tmax()#2860:nodes→n(vertex counts)cluster_infomap()#2861: weights argumentsnormalized#2862: normalization flags →normalizedverticesandvertex#2864: selectors →vertices/vertexedges#2943: edge selectors →edgesindextovertices/edgesin the attribute accessors #2944: attribute accessors:index→vertices/edgesn_iter/max_iter#2945: iterations →n_iter/max_iterMu→mu)algorithmand measure selection tomeasure#2951: algorithm family →algorithm/measure(closes Algorithm-selection argument names: census ofmethod/algorithm/algo/impl/implementation#2932)🤖 Generated with Claude Code
https://claude.ai/code/session_01RTPj4qNv2FWui6etixZeuR
Generated by Claude Code