Three functions have cyclomatic complexity 13, exceeding the current lint limit of 10 (configured in ruff.toml):
- \star()\ in \elsim/methods/star.py:162\ — STAR voting algorithm
- \simulate_batch()\ in \examples/distributions_by_dispersion.py:40\
- \simulate_batch()\ in \examples/distributions_by_n_cands.py:40\
Decide whether to refactor to reduce complexity or raise the limit.
Three functions have cyclomatic complexity 13, exceeding the current lint limit of 10 (configured in ruff.toml):
Decide whether to refactor to reduce complexity or raise the limit.