Skip to content

ATS-PFM-ELG-012Monitor eligibility failures and delays: Capability Test Specification

Markdown

ATS-PFM-ELG-012

Monitor eligibility failures and delays: Capability Test Specification

Markdown
  • DocumentProposed

KindAcceptance test setProduct areaPlatformModuleEligibility, Responsibilities and AttentionRevision3

Read atservices-platform ad3f6a65react-console baf6dae3

Coverage

  • Rule covered
  • Transition gap: FND-PFM-ELG-064
  • Validation gap: FND-PFM-ELG-064
  • Permission gap: FND-PFM-ELG-064
  • Edge gap: FND-PFM-ELG-064
  • Failure covered
  • Boundary covered
  • Concurrency gap: FND-PFM-ELG-064
  • Invariant gap: FND-PFM-ELG-064
  • Interaction covered

Test Scenarios

10 scenarios proving CAP-PFM-ELG-012; 5 bound to an existing test.

01 Match uncertainty alarm seriesboundaryunittest
Proves
BR-CAP-PFM-ELG-012-01
Preconditions
Alarm resources have been synthesized.
Steps
Inspect the closed-policy inputs.
Expected
Counts use the service dimensions emitted by interactive evaluation.
Data
No fixtures beyond the described setup.
Bound to
services-platform:modules/eligibility/tests/unit/alarm-inputs.spec.ts#reads the evaluation counts under the API function’s service
Source
services-platform:modules/eligibility/tests/unit/alarm-inputs.spec.ts#reads the evaluation counts under the API function’s service
02 Include both circuit sourcesfailureunittest
Proves
BR-CAP-PFM-ELG-012-02
Preconditions
Synthesized circuit alarms are available.
Steps
Inspect their metric inputs.
Expected
Interactive and population refusals contribute to the sum.
Data
No fixtures beyond the described setup.
Bound to
services-platform:modules/eligibility/tests/unit/alarm-inputs.spec.ts#reads the circuit refusals under both services that evaluate: the API function’s and the population task’s
Source
services-platform:modules/eligibility/tests/unit/alarm-inputs.spec.ts#reads the circuit refusals under both services that evaluate: the API function’s and the population task’s
03 Locate queue and job alarm sourcesfailureunittest
Proves
BR-CAP-PFM-ELG-012-03
Preconditions
Synthesized delay and failure alarms are available.
Steps
Inspect queue identity and failure metric dimensions.
Expected
The queue exists in the service and the failure series uses population dimensions.
Data
No fixtures beyond the described setup.
Bound to
services-platform:modules/eligibility/tests/unit/alarm-inputs.spec.ts#watches the age of a queue the macroservice creates
services-platform:modules/eligibility/tests/unit/alarm-inputs.spec.ts#reads the population run’s failure under the service its task function records it as (DEF-ELIG-0675)
Source
services-platform:modules/eligibility/tests/unit/alarm-inputs.spec.ts#watches the age of a queue the macroservice creates
04 Reject nonexistent alarm inputsinvariantunittest
Proves
BR-CAP-PFM-ELG-012-04
Preconditions
Published emitter metric lists are available.
Steps
Compare all alarm inputs and introduce negative controls.
Expected
Every real input matches an emitter and its dimensions; controls fail the comparison.
Data
No fixtures beyond the described setup.
Bound to
services-platform:modules/eligibility/tests/unit/alarm-inputs.spec.ts#reads only metrics some code path emits, under the emitter’s dimensions
services-platform:modules/eligibility/tests/unit/alarm-inputs.spec.ts#finds a metric no emitter names, so the check below is not vacuous
Source
services-platform:modules/eligibility/tests/unit/alarm-inputs.spec.ts#reads only metrics some code path emits, under the emitter’s dimensions
05 Trace without personal payloadsruleapitest
Proves
BR-CAP-PFM-ELG-012-05
Preconditions
A batch and publication produce diagnostics.
Steps
Inspect the resulting log entries.
Expected
Evaluation lines identify plan and state and publication lines identify workspace and rule without personal or fact values.
Data
No fixtures beyond the described setup.
Bound to
services-platform:modules/eligibility/tests/integration/services/evaluate/hosted-evaluate.integration.spec.js#logs one eligibility.evaluate event per evaluation with the plan and the state
Source
services-platform:modules/eligibility/tests/integration/services/evaluate/hosted-evaluate.integration.spec.js#logs one eligibility.evaluate event per evaluation with the plan and the state
06 Observe read failure and circuit refusalinteractionapinegativeproposed
Proves
BR-CAP-PFM-ELG-008-04 BR-CAP-PFM-ELG-012-02
Preconditions
A batch has a failing provider entry and a healthy entry.
Steps
Evaluate the batch repeatedly through the circuit threshold and inspect results and diagnostics.
Expected
The failing entry is uncertain, the healthy entry remains answered and circuit diagnostics contain no fact payload.
Data
Run-owned records and a controlled clock where timing changes the result.
Source
services-platform:modules/eligibility/tests/integration/services/evaluate/crm-conditions.integration.spec.js#answers every evaluation indeterminate with the one reason read_failed; services-platform:modules/eligibility/tests/unit/alarm-inputs.spec.ts#reads the circuit refusals under both services that evaluate: the API function’s and the population task’s
07 Observe a failed history writeinteractionapinegativeproposed
Proves
BR-CAP-PFM-ELG-009-07 BR-CAP-PFM-ELG-012-05
Preconditions
A bound authorization evaluation can be forced to fail its decision insertion.
Steps
Inject the insertion failure, evaluate and inspect diagnostic output and history.
Expected
The authorization request does not report a successful retained decision; diagnostics omit subject facts.
Data
Run-owned records and a controlled clock where timing changes the result.
Source
services-platform:modules/eligibility/tests/integration/services/evaluate/hosted-evaluate.integration.spec.js#records a display decision after answering it, at a sample rate of one; services-platform:modules/eligibility/tests/integration/services/evaluate/hosted-evaluate.integration.spec.js#logs one eligibility.evaluate event per evaluation with the plan and the state
08 Observe aging role rechecksinteractionapiproposed
Proves
BR-CAP-PFM-ELG-010-03 BR-CAP-PFM-ELG-012-03
Preconditions
Publication has enqueued role rechecks.
Steps
Keep one request pending beyond the alarm threshold and inspect queue-age metrics.
Expected
The queue-age series used by the alarm reflects the overdue request.
Data
Run-owned records and a controlled clock where timing changes the result.
Source
services-platform:modules/eligibility/tests/integration/services/population/population-run.integration.spec.js#queues a reconcile for every subject the simulation found newly eligible when the version is published; services-platform:modules/eligibility/tests/unit/alarm-inputs.spec.ts#reads the population run’s failure under the service its task function records it as (DEF-ELIG-0675)
09 Observe a stopped population jobinteractionapinegativeproposed
Proves
BR-CAP-PFM-ELG-011-04 BR-CAP-PFM-ELG-012-03
Preconditions
A population run exceeds its permitted size or has a failing page.
Steps
Execute the run through failure settlement and inspect the run, dependent simulation and failure metric.
Expected
The run and dependent simulation fail and the population alarm receives the emitted failure series.
Data
Run-owned records and a controlled clock where timing changes the result.
Source
services-platform:modules/eligibility/tests/integration/services/population/population-run.integration.spec.js#records a retried page once: the second attempt from the old cursor changes nothing; services-platform:modules/eligibility/tests/unit/alarm-inputs.spec.ts#reads the population run’s failure under the service its task function records it as (DEF-ELIG-0675)
10 Read health without reading business recordspermissionapinegativeproposed
Proves
BR-CAP-PFM-ELG-012-06
Preconditions
An authorized workspace caller, a caller without health authority and an anonymous caller are available.
Steps
Request workspace health with each signed caller and public health anonymously.
Expected
Only the authorized workspace request succeeds locally; public health identifies the build without returning workspace records.
Data
Run-owned fixtures, separate caller contexts and a controlled clock where required.
Source
react-console:acceptance/eligibility/playwright/journeys/registry/ELIG-ACC-0005.spec.ts#ELIG-ACC-0005

The Markdown files under specs/ in rhythmsoftware/rhythm-v2-docs are the canonical source of truth. This reader is a generated, read-only projection of them.