Baltor Get started

Library / Skill

Calculate Foster-Greer-Thorbecke poverty measures

baltor_fgt_poverty_measures

Calculate the Foster-Greer-Thorbecke poverty headcount, poverty gap and squared poverty gap at a declared poverty line from weighted unit records, with exact period conversion and additive group decomposition.

Files, names only

  • LICENSE 1.0 KB
  • SKILL.md 4.6 KB
  • contracts/input.schema.json 3.5 KB
  • contracts/output.schema.json 11.4 KB
  • examples/example.expected.json 2.1 KB
  • examples/example.input.json 881 bytes
  • references/provenance.json 5.0 KB
  • scripts/tool.py 9.9 KB
  • verification/test_tool.py 10.5 KB

Full files in your harness.

What it takes and gives

Command
python3 -B scripts/tool.py < examples/example.input.json
Input fields
welfare_concept, weight_basis, welfare_unit, poverty_line, groups, rows
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 targets 1.1 and 1.2 on caller-supplied data, not an official poverty estimate. It does not compute poverty lines, purchasing power parities, price deflators, equivalence scales, survey design standard errors or imputations, and its result is only as representative as the supplied weights.

Details

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

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.