Repository navigation
refactor: Rename iteration arguments to n_iter/max_iter - #2945
Merged
schochastics merged 29 commits intoDec 3, 2026
Merged
schochastics merged 29 commits into
schochastics merged 29 commits into
Conversation
Contributor
|
This is how benchmark results would change (along with a 95% confidence interval in relative change) if 567ba3f is merged into claude/issue-2788-subagents-faw1t1-8:
|
This was referenced Oct 15, 2026
This was referenced Oct 15, 2026
Merged
…-2788-subagents-faw1t1-9
…-2788-subagents-faw1t1-9 # Conflicts: # R/community.R # R/glet.R # R/layout.R # tests/testthat/test-community.R # tests/testthat/test-layout.R
…-2788-subagents-faw1t1-9
Contributor
|
This is how benchmark results would change (along with a 95% confidence interval in relative change) if f9e3dae is merged into claude/issue-2788-subagents-faw1t1-8:
Further explanation regarding interpretation and methodology can be found in the documentation. Last updated for commit f9e3dae. |
…-2788-subagents-faw1t1-9
…-2788-subagents-faw1t1-9
layout_with_gem(), layout_with_lgl(), layout_as_bipartite() and layout_with_sugiyama() renamed `maxiter` to `max_iter` without a test that the legacy name still works and gives the same layout. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…-2788-subagents-faw1t1-9
…-2788-subagents-faw1t1-9
…-2788-subagents-faw1t1-9 # Conflicts: # R/community.R
…-2788-subagents-faw1t1-9 # Conflicts: # R/community.R # R/glet.R # R/layout.R
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…-2788-subagents-faw1t1-9
…-2788-subagents-faw1t1-9
…-2788-subagents-faw1t1-9
…-2788-subagents-faw1t1-9
…-2788-subagents-faw1t1-9
…-2788-subagents-faw1t1-9
…-2788-subagents-faw1t1-9
…-2788-subagents-faw1t1-9
…-2788-subagents-faw1t1-9
…-2788-subagents-faw1t1-9
…-2788-subagents-faw1t1-9
schochastics
added a commit
to schochastics/rigraph
that referenced
this pull request
Dec 4, 2026
) Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Co-authored-by: krlmlr <krlmlr@users.noreply.github.com> (cherry picked from commit a5e017a)
schochastics
added a commit
to schochastics/rigraph
that referenced
this pull request
Dec 4, 2026
) Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Co-authored-by: krlmlr <krlmlr@users.noreply.github.com> (cherry picked from commit a5e017a)
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 9 of the stack, on top of #2944). It implements the iterations decision: "Both n_iter and max_iter, depending on context: stop after equilibrium (max) or just do it (n)."
stepsstays wherever it means a walk length or a number of merges.What this does
layout_with_fr()niter(and its aliasmaxiter, see #2863)n_iterlayout_with_graphopt()nitern_iterlayout_with_dh()maxiter,fineitern_iter,n_fine_itermaxgraphlets(),graphlet_proj()nitern_iterkeeping_degseq()nitern_itercluster_leiden()n_iterationsn_iterlayout_with_kk()maxitermax_iterepsilonis reachedlayout_with_gem(),layout_with_lgl()maxitermax_iterlayout_with_sugiyama(),layout_as_bipartite()maxitermax_itermatch_vertices()iterationmax_iterAll of these except
keeping_degseq()andmatch_vertices()are tail arguments with a registry entry, so the rename is a pure registry change: legacy names are recovered under the standard single soft-deprecation. Forlayout_with_fr(), themaxiter = niteralias from #2863 now points atn_iteras well.keeping_degseq()andmatch_vertices()have no..., so they get a trailingdeprecated()sentinel with a bridge.The internal tkplot layout dialog builds its calls by argument name, so it now uses the new names. The deprecated
layout.*()wrappers are untouched and still forward the old names through the recovery.layout_with_kk()'s hard-stopped legacyniterformal (removed functionality since 0.8.0) is unrelated to this rename and stays as it is.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_iter← this PRMu→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