voter

module
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 25, 2025 License: Unlicense

README

Voter

First-to-Ahead-by-K voting system for rapid consensus formation.

Quick Start

make build
./bin/voter create-project "tower-hanoi" "Tower of Hanoi Solver" 3 10
./bin/voter start-decision "tower-hanoi" "Move disk from A to B" "A->B" "A->C" "B->A" "B->C" "C->A" "C->B"
./bin/voter strategic-vote "tower-hanoi" "decision_1" "agent1" "consensus"
./bin/voter project-status "tower-hanoi"

Commands

  • create-project <name> <desc> <k> <agents> - Create voting project
  • start-decision <project> <desc> <options...> - Start decision with options
  • vote <project> <decision> <agent> <option> - Cast vote
  • strategic-vote <project> <decision> <agent> <strategy> - Strategic voting
  • simulate-voting <project> <decision> <agents> - Simulate multiple agents
  • project-status <project> - Show project status
  • list-projects - List all projects
  • project-stats - Show statistics

Strategies

  • random - Random selection
  • consensus - Follow momentum
  • optimal - Game-specific optimal

Testing

make test
make test-coverage

Sources for this idea

Annals of Operations Research

Solving a Million-Step LLM Task with Zero Errors

Directories

Path Synopsis
cmd
voter command
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL