Repository navigation
refactor: Rename normalization flags to normalized - #2862
schochastics merged 18 commits into
Conversation
|
This is how benchmark results would change (along with a 95% confidence interval in relative change) if f27a205 is merged into claude/issue-2788-subagents-faw1t1-3:
|
f27a205 to
691dc3d
Compare
|
This is how benchmark results would change (along with a 95% confidence interval in relative change) if 691dc3d is merged into claude/issue-2788-subagents-faw1t1-3:
|
`power_centrality(rescale = )`, `hits_scores(scale = )` and `tk_coords(norm = )` unify on `normalized`, matching the nine functions that already use that name. Legacy spellings are soft-deprecated. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RTPj4qNv2FWui6etixZeuR
691dc3d to
d690ad3
Compare
…-2788-subagents-faw1t1-4
Part of #2788. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
|
This is how benchmark results would change (along with a 95% confidence interval in relative change) if 404b0db is merged into claude/issue-2788-subagents-faw1t1-3:
|
…-2788-subagents-faw1t1-4 # Conflicts: # R/centrality.R # R/tkplot.R
…-2788-subagents-faw1t1-4
…-2788-subagents-faw1t1-4
|
This is how benchmark results would change (along with a 95% confidence interval in relative change) if 2034c65 is merged into claude/issue-2788-subagents-faw1t1-3:
Further explanation regarding interpretation and methodology can be found in the documentation. Last updated for commit 2034c65. |
…-2788-subagents-faw1t1-4
…-2788-subagents-faw1t1-4 # Conflicts: # R/centrality.R # R/tkplot.R
…-2788-subagents-faw1t1-4
…-2788-subagents-faw1t1-4
…-2788-subagents-faw1t1-4
…-2788-subagents-faw1t1-4
…-2788-subagents-faw1t1-4
Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: David Schoch <david@schochastics.net> Co-authored-by: schochastics <schochastics@users.noreply.github.com> (cherry picked from commit 2d7e265) R-side fix: snapshot the deprecation through expect_snapshot_igraph(), so the flavor's package name is normalized.
Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: David Schoch <david@schochastics.net> Co-authored-by: schochastics <schochastics@users.noreply.github.com> (cherry picked from commit 2d7e265) R-side fix: snapshot the deprecation through expect_snapshot_igraph(), so the flavor's package name is normalized.
Part of #2788 (PR 4 of the stack, on top of #2861); executes the "normalized" row of the survey — nine functions already spell this flag
normalized, and these are the three stragglers.What this does
power_centrality():rescale→normalized(pure registry rename; the arg sits after...).tk_coords():norm→normalized(pure registry rename). The retirednorm =and its abbreviationsn/no/norare recovered with the soft-deprecation; since refactor: Renamealgotoalgorithminpage_rank(),feedback_arc_set()andfeedback_vertex_set()#2859 an abbreviation shared by an old name and its own new name counts as that argument, not as ambiguous.hits_scores():scale→normalized. This function uses the strictcheck_dots_empty()style (no registry entry), so the rename keeps a trailingscale = deprecated()sentinel with an in-body bridge: soft-deprecation, value forwarded, and an error when both spellings are supplied. The soft-deprecatedhub_score()/authority_score()keep their frozenscaleformals and forward tonormalized; same forbonpow()(rescale) andtkplot.getcoords()(norm), each with a local deprecated-badge@paramwhere@inheritParamsno longer covers the old name.Deliberately untouched
eigen_centrality(scale = ),centr_eigen(scale = ),centr_eigen_tmax(scale = )— already-neutereddeprecated()formals (normalization is always on); nothing to rename.rescaleinplot.igraph()and the embedding functions'scaled— different semantics.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 →normalized← this PRverticesandvertex#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