socialranking
1.2.0Social Ranking Solutions for Power Relations on Coalitions
Overview
The notion of power index has been widely used in literature to evaluate the influence of individual players (e.g., voters, political parties, nations, stockholders, etc.) involved in a collective decision situation like an electoral system, a parliament, a council, a management board, etc., where players may form coalitions. Traditionally this ranking is determined through numerical evaluation. More often than not however only ordinal data between coalitions is known. The package 'socialranking' offers a set of solutions to rank players based on a transitive ranking between coalitions, including through CP-Majority, ordinal Banzhaf or lexicographic excellence solution summarized by Tahar Allouche, Bruno Escoffier, Stefano Moretti and Meltem Öztürk (2020, doi:10.24963/ijcai.2020/3).
Install
Health
- NOTE r-devel-linux-x86_64-debian-clang
- NOTE r-devel-linux-x86_64-debian-gcc
- NOTE r-devel-linux-x86_64-fedora-clang
- NOTE r-devel-linux-x86_64-fedora-gcc
- NOTE r-devel-windows-x86_64
- NOTE r-oldrel-macos-arm64
- NOTE r-oldrel-macos-x86_64
- NOTE r-oldrel-windows-x86_64
- NOTE r-patched-linux-x86_64
- NOTE r-release-linux-x86_64
- NOTE r-release-macos-arm64
- NOTE r-release-macos-x86_64
- NOTE r-release-windows-x86_64
- NOTE2026-04-250 OK · 12 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-03-302 OK · 11 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- NOTE2026-03-103 OK · 11 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
- Examples that run
- 100%
- Documented parameters
- 93%
- Return-value docs
- 96%
- References docs
- 39%
Downloads
Repository
Stars over time
Forks over time
Releases over time
Issues over time
Repository practices
5 development-tooling and community-health practices detected across 4 families in the upstream repository
Checks run against github.com/jassler/socialranking on 2026-07-19.
Dependencies
Nothing depends on this yet.
Code & Tests
- Cyclomatic complexity
- 2.0 median / 14 max
- Test cases
- 70 / 0.41 per code line
Test coverage
Line coverage
91%
Expression
89.5%
Tests / Examples
90.7% / 91% ex
Functions
115 66 exported
Complexity
2.6 avg / 14 max
Call network
115 nodes / 113 edges
Call graph
Open call graph →Lowest coverage
115 functions| Function | Cyclo | Coverage |
|---|---|---|
| %>=L1% exp | 3 | 0% |
| %>=L2% exp | 3 | 0% |
| %>=LP% exp | 3 | 0% |
| %>=LPS% exp | 3 | 0% |
| %>L1% exp | 2 | 0% |
| %>L2% exp | 2 | 0% |
People & History
7 releases. Pick two to compare their code metrics. R releases are shown for context.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- 1.2.0Latest
- RR 4.4.0 released · 2024-04-24
- 1.1.02023-11-29 · diff ↗
- 1.0.12023-08-23 · diff ↗
- RR 4.3.0 released · 2023-04-21
- 1.0.02023-03-13 · diff ↗
- 0.1.22022-10-28 · diff ↗
- 0.1.12022-04-25 · diff ↗
- RR 4.2.0 released · 2022-04-22
- 0.1.02022-03-30
- RR 4.1.0 released · 2021-05-18
Package metadata
- First published
- 2022-03-30
- Total releases
- 7 / 4 yrs
- License
- GPL-3 OSI
- Download size
- 896 KB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet