Library / Skill
Calculate intentional homicide victims per 100,000 population by year and sex
baltor_homicide_rate
Calculate intentional homicide victims per 100,000 population by year and sex with exact Poisson bounds and a pooled multi-year rate, counting victims rather than incidents or offenders and keeping attempts and conflict deaths out.
LICENSE1.0 KBSKILL.md4.5 KBcontracts/input.schema.json3.2 KBcontracts/output.schema.json13.8 KBexamples/example.expected.json3.1 KBexamples/example.input.json865 bytesreferences/provenance.json4.7 KBscripts/tool.py11.0 KBverification/test_tool.py9.1 KB
Full files in your harness.
What it takes and gives
- Command
python3 -B scripts/tool.py < examples/example.input.json- Input fields
- confidence_level, years
- 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 16.1 on caller-supplied counts, not an official national estimate. Whether a death meets the classification, how police and health sources are reconciled, and how undercounting is handled are the caller's decisions.
Details
- Kind
- Skill
- Licence
- MIT
- Declared effects
- reads files, runs commands
- Placed for
- OpenCode
- Source
- docs/architecture/NORTH-STAR.md
- Size
- 9 files, 51.2 KB
- Identity
baltor_homicide_rate- Version
1b8c270ffd30938b996a7649ab2b4b4f887b1729ff0a6df058af8679e92e526f
The version is the SHA-256 of the item your harness downloads; every file in it names its own checksum.
Where it is shown
- Calculators for public statisticsDeterministic skills
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.