Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

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

Đang mở
#729 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
72/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
typescript
Lĩnh vực
testing

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
TypeScript
Star
0
Fork
0
Merge trung bình
2 giờ 51 phút
Pull request đã merge (30 ngày)
109

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của Taleef7/workwell

Tất cả issue của Taleef7/workwell

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.