Library / Skill
Calculate social protection coverage shares for declared population groups
baltor_social_protection_coverage
Calculate social protection coverage shares for declared population groups from scheme beneficiary counts with explicit person denominators, refusing non-person count units and giving bounds when people may receive more than one benefit.
LICENSE1.0 KBSKILL.md4.8 KBcontracts/input.schema.json3.5 KBcontracts/output.schema.json6.7 KBexamples/example.expected.json1.5 KBexamples/example.input.json1.1 KBreferences/provenance.json4.7 KBscripts/tool.py9.3 KBverification/test_tool.py10.7 KB
Full files in your harness.
What it takes and gives
- Command
python3 -B scripts/tool.py < examples/example.input.json- Input fields
- reference_date, groups, schemes
- 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 1.3 (indicator 1.3.1) on caller-supplied data, not an official coverage estimate. It does not estimate denominators, deduplicate registers, impute missing schemes, judge benefit adequacy or decide which schemes count as social protection.
Details
- Kind
- Skill
- Licence
- MIT
- Declared effects
- reads files, runs commands
- Placed for
- OpenCode
- Source
- docs/architecture/NORTH-STAR.md
- Size
- 9 files, 43.4 KB
- Identity
baltor_social_protection_coverage- Version
76d6ee982eed61f3ea22d9be7d133623af1c82499b0f9d29a0e3e3a957a6d8cf
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.