Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Compare the steward's expected stratifier results (cms125, cms130, cms137), in the gate and end to end

Open
#729 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
72/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
typescript
Domain
testing

Research direction

Start with the official-cases gate run by pnpm test:official-cases and inspect how it reads group.stratifier beside populationCountsByRate. Then read src/test-support/madie-end-to-end.ts and the cms125, cms130, and cms137 cases. Done means both checks compare the steward’s per-stratum expectations with fqm-execution results and persisted official.strata values.

Written by the indexing model from the issue text.

Description

cql-engine pilot-trust

Why

The MADiE decks for cms125, cms130 and cms137 carry the steward's expected stratifier results (for example, age-band breakdowns) alongside the population vectors. Neither check compares them:

  • The official-cases gate (pnpm test:official-cases) compares population vectors only.
  • The end-to-end test from #727 compares populations, statuses, cases and rates, and leaves stratifiers out, as decided there.

evidence_json.official.strata is persisted on stratified outcomes (DATA_MODEL_CONTRACTS §5) and feeds MeasureReport and QRDA. So a stratifier the engine gets wrong would reach an export with nothing checking it.

Proposal

  • Gate: read each case's expected group.stratifier results next to populationCountsByRate, and compare them with fqm-execution's per-stratum results.
  • End to end: check the persisted official.strata per patient against the same expectations, reusing src/test-support/madie-end-to-end.ts.

Scope

cms125, cms130, cms137, which are the Maui measures whose decks declare stratifiers.

Dominant language
TypeScript
Stars
0
Forks
0
Avg merge
3h 6m
Merged PRs (30d)
113

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Taleef7/workwell

All issues in Taleef7/workwell

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.