reqlanOverviewIdeasFilesCode filesClustersFoldersAttributesGraphPrint

Printable idea sheet

rope-idea-cardinality

reqlan rq/core_analysis/rope.rq:38

Katz 0.047

rope idea cardinality is defined by a combination of the file position ( i. e. depth ), the number of ideas linked one directionally to the idea lower on the same branch, and the idea ' s position in a page, the idea ' s references, and the idea ' s katz_centrality.
Many cardinality signals may be combined.
Formula: `cardinality = depth_weight * depth + branch_factor * direction_links + position_weight * page_position + reference_weight * inbound_refs + katz_weight * katz_centrality`
Depth is the hop distance to the rope centre ( farther means lower ), `depth_gap = max_hops - hops`.
Implemented as fixed constants in `cardinality_raw` in rope.rs;
default: depth_weight = 0. 3, branch_factor = 1. 5, position_weight = 0. 2, reference_weight = 0. 2, katz_weight = 0. 3.

status
done
tests
rope.rs:rope_returns_cardinality_ranked_hops, rope.test.ts:rope API returns kind rope with cardinality candidates
todo
make each weight configurable

Interactive page: rope-idea-cardinality