Baltor Get started

Library / Skill

Calculate the share of seats held by women in elected bodies

baltor_women_representation_share

Calculate the share of seats held by women in declared parliamentary or local government bodies from seat counts, checking that members, vacancies and statutory seats reconcile and keeping elected and appointed seats apart.

Files, names only

  • LICENSE 1.0 KB
  • SKILL.md 4.4 KB
  • contracts/input.schema.json 2.7 KB
  • contracts/output.schema.json 10.3 KB
  • examples/example.expected.json 3.5 KB
  • examples/example.input.json 1.2 KB
  • references/provenance.json 4.8 KB
  • scripts/tool.py 8.7 KB
  • verification/test_tool.py 11.0 KB

Full files in your harness.

What it takes and gives

Command
python3 -B scripts/tool.py < examples/example.input.json
Input fields
as_of, target_share_pct, bodies
Test
python3 -B -m unittest discover -s verification -p 'test_*.py' -v
Files
SKILL.md, contracts/input.schema.json, contracts/output.schema.json, scripts/tool.py
Placed for
OpenCode

Limits and scope

Limits
This is a supporting calculation for SDG target 5.5 on caller-supplied seat counts, not an official estimate of indicator 5.5.1. It does not collect or verify membership data, distinguish seats changing during a term, weight bodies by population, or decide which local bodies count as deliberative local government; those choices belong to the caller.

Details

Kind
Skill
Licence
MIT
Declared effects
reads files, runs commands
Placed for
OpenCode
Source
docs/architecture/NORTH-STAR.md
Size
9 files, 47.7 KB
Identity
baltor_women_representation_share
Version
322a61216b8937ed56b8abc9f25a9aa4186cb1f82b1375ee3521ef6e01a49a27

The version is the SHA-256 of the item your harness downloads; every file in it names its own checksum.

Where it is shown

Related components

Something wrong with this item, its rights or its safety? Report it on the support page, or from your harness after a download.