Document LoadData vote loading and migrate monitoring README to Markdown.
Record v3 vote-results.json as the tally source of truth, warn on old-school txt/ini, and refuse v2 raw_board_votes.json. Point whatif and the STV tests at the same loaders.
Co-authored-by: Grok grok@x.ai
版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9
京公网安备 11010802047560号
Welcome to Apache Steve http://steve.apache.org/
Apache Steve is software to conduct a vote using the STV (Single Transferable Vote) and other voting algorithms. The tool grew out of the voting system used to elect the Apache Software Foundation Board of Directors.
Read more about STV at http://en.wikipedia.org/wiki/Single_transferable_vote
STV tally and what-if
Meek STV lives in
monitoring/stv_tool.py. v3 tallies (steve.vtypes.stv) and the what-if CLI both call that module.Load a vote file with
LoadData.from_path(a file, not a directory):vote-results.json(v3 tally JSON)raw_board_votes.txt(+ siblingboard_nominations.ini)raw_board_votes.json(v2 export)What-if scenarios (seats, drop a candidate, runoff-only set) are
whatif.py. The positional argv is fixed forwhatif.rb:Names may be first, last, or compacted full name (case-insensitive). A leading
-on a name removes that candidate; otherwise only the named candidates run. Warnings for legacy files go to stderr so they do not breakwhatif.rbgrepping ofelectedlines.whatif.rbstill consumesraw_board_votes.txt. Do not point it at v2 JSON. Prefervote-results.jsonfor new tallies.See also
monitoring/README.md.Getting Started
Getting Started documentation can be found at: http://steve.apache.org/demo.html Otherwise, come to the #steve channel on the Slack workspace at the-asf.slack.com, and we’d be glad to help you.
Documentation
Documentation may be found at http://steve.apache.org/documentation.html
Contributions to the documentation are very welcome.
Mailing Lists
Discussion about Steve takes place on the following mailing lists:
Notification on all code changes are sent to the following mailing list:
The mailing lists are open to anyone and publicly archived.
You can subscribe the mailing lists by sending a message to
<LIST>-subscribe@steve.apache.org(for exampledev-subscribe@steve.apache.org). To unsubscribe, send a message to<LIST>-unsubscribe@steve.apache.org. For more instructions, send a message to<LIST>-help@steve.apache.org.Issue Tracker
If you encounter errors in Steve or want to suggest an improvement or a new feature, please visit the Steve issue tracker at https://github.com/apache/steve/issues