Baltor Get started

Library / Skill

Score minimum dietary diversity for women and young children

baltor_dietary_diversity

Score minimum dietary diversity for women (10 food groups, at least 5) or for children aged 6 to 23 months (8 food groups, at least 5) from weighted unidentified food-group recall records, keeping unknown answers apart from foods not consumed.

Files, names only

  • LICENSE 1.0 KB
  • SKILL.md 4.9 KB
  • contracts/input.schema.json 6.2 KB
  • contracts/output.schema.json 11.1 KB
  • examples/example.expected.json 3.1 KB
  • examples/example.input.json 2.7 KB
  • references/provenance.json 5.4 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
scheme, 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 target 2.2 on caller-supplied records, not an official estimate or an assessment of any individual's diet. The caller applies the recall protocol, the classification of foods into groups, the minimum-quantity rule for counting a food group in the women's indicator, and age and sex eligibility.

Details

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

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.