Baltor Get started

Library / Skill

Calculate the unadjusted gender pay gap in mean and median gross hourly earnings

baltor_gender_pay_gap

Calculate the unadjusted gender pay gap in mean and median gross hourly earnings from weighted unidentified employee records, overall and by declared breakdown groups, refusing mismatched pay and hours periods.

Files, names only

  • LICENSE 1.0 KB
  • SKILL.md 4.9 KB
  • contracts/input.schema.json 2.4 KB
  • contracts/output.schema.json 13.0 KB
  • examples/example.expected.json 2.2 KB
  • examples/example.input.json 1.0 KB
  • references/provenance.json 5.0 KB
  • scripts/tool.py 9.6 KB
  • verification/test_tool.py 11.1 KB

Full files in your harness.

What it takes and gives

Command
python3 -B scripts/tool.py < examples/example.input.json
Input fields
currency, earnings_period, hours_period, breakdowns, 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 5.1 (and indicator 8.5.1) on caller-supplied records, not an official pay gap statistic. The unadjusted gap does not control for occupation, hours, experience or any other characteristic, so it is not a measure of unequal pay for equal work or of discrimination.

Details

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

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.