Kandryn
Government

Carry program rules into the systems that coordinate services.

A referral, an eligibility decision, an authorization and a first service are different milestones. A request to report on waiting time only becomes implementable once the program defines which milestones count.

Written for: Program director, service operations manager, business analyst, reporting engineer.

No organization, policy, rule or record named here is real. Kandryn ships none of them. It works with the documented rules your own team supplies.

What the team is trying to get right

A program director needs a dependable view of how long participants wait for the service the program is accountable for. The number goes into performance reviews, capacity planning and, often, a report somebody outside the agency reads. What the director owns is not a query. It is a definition: the interval the program has committed to managing, from the event the program controls to the moment a participant is served.

What it costs to get wrong

A measure built on the wrong starting event is not visibly broken. It returns a number, the number looks plausible, and it is used. If it begins at referral rather than authorization, it absorbs the eligibility process, and a program that improved its scheduling can appear to have got worse because eligibility slowed down. The report then drives a decision about staffing or capacity that the data never supported.

Where the meaning lives

Four sources, each contributing something the others do not. Kandryn reads the ones your team supplies and connects them to the request. It ships none of these rules, and it has no library of them.

SourceWhat it contributes
Program reporting guideThe definition: which event starts the interval, which ends it, and which cases belong in the population at all.
The work item and its acceptance criteriaThe population and the shape of the output the director asked for.
Case event historyThe dated milestones the calculation runs on, and the gaps where a milestone is missing.
The existing report implementationHow cases are already grouped and filtered, so a new measure does not contradict a published one.

Why the ticket alone is not enough

Show how long participants wait for their first service.

The request, as written

That sentence has two defensible readings, and they produce different software.

  1. Referral to first service, the whole journey as a participant experiences it.
  2. Authorization to first service, the part the service team schedules and controls.
The documented rule resolves it

The program measures the wait from service authorization to first service.

What still needs a person

The rule settles which events bound the interval. It does not settle what to do with a participant who was authorized and is still waiting, and it does not settle which episode counts when a case is authorized more than once. Those stay with the program owner, and the useful thing a proposal can do is surface them rather than quietly choose.

What Kandryn does with it

The work item it starts from
The request for a service-wait measure, with its acceptance criteria and the population it names.
The background it follows
The parent initiative above the ticket, and the passages of the program reporting guide that mention the measure.
The repository it reads
The files the change planner selects as relevant: the existing report, the case event model, and the tests around them.
What it proposes
A calculation over the milestone events, and acceptance examples written in dates rather than in code, so the program owner can check them.
What reviewers get back
The proposed change on its own branch, and the run record of which material informed it, as identifiers and counts.

When does the wait for service begin?

A referral arrives May 1. Eligibility is confirmed May 4. Service is authorized May 6. The first service occurs May 10. Under the program rule the measure begins at authorization.

Sample
Request
Show how long participants wait for their first service.
Source
Program reporting guide (sample), service measures section
Operating rule
The measure begins at service authorization.
  1. May 1Referral received
  2. May 4Eligibility confirmed
  3. May 6Service authorized counts
  4. May 10First service delivered counts
Four milestones on one case. Two of them bound the measure.

4 elapsed days from authorization. Measured from referral instead, the same case reads 9.

Whole days between two dates, so May 6 to May 10 is four days, not five. The program owner confirms the convention before the measure is published.

Business review

Does this measure represent the population and the start event the program intended?

Engineering review

Does the calculation use the authorization and first-service events, and how does it display an authorized case that is still waiting?

Where it gets hard

The cases a first implementation usually misses. Two of them have a right answer. At least one does not, and belongs to whoever owns the rule.

  • A case is authorized and the first service has not happened yet.

    There is no completed interval. Show the case as open, keep it out of the average, and count it separately so a growing backlog is visible rather than hidden by exclusion.

  • A case has more than one authorization episode.

    Which authorization pairs with which service is a program decision, not a code decision. A proposal should ask rather than pick the earliest or the latest by default.

    Question for the domain owner
  • A first service is recorded with no authorization on file.

    Exclude it from the measure and report the count of excluded cases, so a data-quality problem reads as a data-quality problem rather than as a shorter wait.

When the rule changes

What changes
The program revises the measure for a later reporting period, moving the start event or narrowing the population.
What your team does
The program owner supplies the revised definition and the date it applies from. Kandryn does not learn that a definition changed, and it does not watch for policy updates.
What the next run sees
The revised document is uploaded to the project and the repository index refreshes after the next Kandryn commit. The next run selects the current material and can propose a change that carries acceptance examples for both periods.

Kandryn does not detect changes outside your project. It refreshes its repository index after a Kandryn commit and selects relevant material for each run. Your team maintains its own source policies, requirements and documents.

How to judge whether it helped

The request to bring
One measure, on one existing report, with a definition the program owner can point at in writing.
Who needs to be there
A program owner who can settle the definition, and a reporting engineer who knows the case event model.

What to measure

Agree these before the run and compare them with how the same work goes today. They are things to measure, not results we are promising.

  • Time from the request landing to a proposal the program owner can read.
  • How much back and forth it took to agree what the measure meant.
  • Corrections the reviewers asked for before accepting the change.

Discuss a program reporting rule.

Bring the request, the rule behind it, and one example of the result you expect. We will walk through the context Kandryn identifies, the change it proposes, and what your reviewers would inspect before deciding.

Discuss a pilotSee the pilot guide
Request access

Queue the work tonight. Read the pull requests in the morning.

Request accessSee the pilot guide