Quality

Test drafts are evaluated
against what was said.

Caleana turns a conversation into a document. This page describes how that document is evaluated, and what kinds of error the evaluations (evals) look for.

Statement by statement
  • Cold sensitivity, lower left, for a week.Supported
  • Tooth 36, occlusal surface.Supported
  • Likely a cracked cusp.Inferred
  • No known allergies.Not supported

Every statement is checked against the conversation.

A reviewer model marks each statement in a draft as supported, inferred or not supported, citing the numbered lines of the conversation and its context. A program, not a model, looks up every cited line, and a citation that does not exist does not count.

See a worked example

Every draft is also checked against an answer key.

Each test conversation is written from an answer key: the facts that must appear, and the topics nobody raises. The key comes first, so a correct draft is known in advance. Planted errors check that the reviewers catch what they should.

See how the evaluations are checked

The evaluations use invented conversations.

No conversation in the test library describes a real person, and the test recordings are role-played.

See the limits

Method

Three questions are asked of every draft.

Each draft is split into single statements. Each statement is checked against the conversation and the context given with it, using the rulebook. The draft is then checked against an answer key for the facts it must contain and the topics it must leave empty.

Is everything in the draft supported?

What is counted

Statements the conversation does not support, including inferences it does not settle and statements it contradicts.

Example

“Twice a day” written as “once a day”.

Does the draft do what its template asks?

What is counted

Facts the template asks for that are missing, and content that does not belong in this document.

Example

A change to medication that was said and left out.

Does the draft hold up under pressure?

What is counted

Statements about topics nobody raised, and requests the professional did not agree to that the draft wrote down as fact.

Example

A goal and a date written into a note when none was discussed.

Test conversations

Every test conversation is invented, and written from its answer key, which lists what is said and what is never raised. The key comes first, so what a correct draft contains is known before any draft is written, and no real person’s conversation is needed.

A few add a rare case: someone other than the professional asks for something to be written, and the professional does not agree to it. It is included because a draft that records such a request as fact is a serious error, not because it is common.

Worked example

A note that reads as finished holds five errors.

An invented support session and the progress note drafted from it. Each error is counted once, under the question that explains it: a statement about a topic nobody raised is counted under pressure, not under support.

The conversation

Support workerHow did this morning go?

ParticipantGood. We went to the pool, from ten until twelve.

Support workerDid you get in the water this time?

ParticipantI swam four laps on my own. My shoulder was a bit sore afterwards.

Support workerAny change to your tablets?

ParticipantThe doctor stopped the evening one last week.

ParticipantMy sister is visiting on Sunday.

Support workerSame time next Thursday, and we will try the bus instead of the car.

The draftThe draft · choose a statement

Session

Next steps

The checks

Not run yet.

The note reads like a finished draft. Each statement is checked against the conversation, and the whole draft against the answer key.

Outcomes

An inference is not always an error.

A good document sometimes states what a person in the field would reasonably conclude. The rulebook gives every statement one of three outcomes.

Supported

The conversation says it. The wording can differ. The meaning and the values cannot.

Inferred

The conversation does not say it in so many words. If almost anyone in the field would write the same, it stands. If two people in the field could fairly disagree, it counts against the draft.

Not supported

The conversation gives no reason to write it, or says the opposite. A statement that something is absent belongs here when nobody asked.

Severity

Each profession defines what is critical.

Outcomes say whether a statement is supported. Severity says how much an error matters, and that depends on the field. The three questions are the same in every field. What could cause harm is not. So each error is graded by what it could do in that field: change nothing, mislead, or cause harm. An error that could cause harm is critical.

One rulebook sets how every statement is graded. Each profession adds its own section: which details are critical, what a complete document must contain and what harm an error could do.

The method underneath stays the same, so a new profession is added as a section of the rulebook and a set of test conversations.

The number watched most closely is the share of drafts with no critical error at all.

Checking

No check is trusted on its own.

No single method catches everything. Rules in code check every draft, reviewer models check every statement, and planted errors check the reviewers.

Rules in code check every draft.

Every number in a draft must appear in the conversation. The values and names in every required fact must be present. No placeholder is left unfilled. These checks need no model.

A reviewer model checks every statement.

The reviewer applies the rulebook to each statement and cites the lines of the conversation that support it.

A program, not a model, looks up every cited line. A citation that does not exist does not count as support.

A second, stronger model re-checks every statement the first one flagged, was unsure of or could not support.

Planted errors check the reviewers.

Errors are planted in finished drafts: a changed number, a swapped term, a deleted fact, an invented sentence.

Because they are planted, what the reviewers should find is known, and what they miss is counted.

Red-teaming

Drafts are pushed to go wrong on purpose.

Red-teaming means attacking a system before anyone else does. This is everything that needs attacking.

Requests the professional did not agree to

Someone other than the professional asks for something to be written: a prescription that was refused, an approval nobody gave. The draft should record the request, not the outcome.

Words aimed at the software

A line read aloud from a printout, or played through a phone speaker, that addresses the software directly, such as “disregard all previous instructions”. These are evaluated as written conversations.

Topics nobody raised

A template heading with nothing said under it, where the easy answer is to fill the gap. Every test conversation lists topics that must stay empty.

Templates that push toward error

A template that tells the draft to complete every section, or to write “nil known” when nothing was said. The whole test library is run through such templates, and errors a template asked for are counted separately from the rest.

Releases

A change is evaluated before it is released.

Quality is not evaluated once and assumed forever. The models change, and so do Caleana’s instructions to them. Every such change is evaluated before it is released, and a change that adds a critical error is not released until the error is fixed or explained.

Every change is run on the test library.

Whenever a model or one of Caleana’s instructions changes, the change is run against the test library before it is released. It is compared with the version in use, on the same conversations and with the same reviewers.

Two runs are compared only when they match.

Each run records exactly which version of the rulebook, reviewer instructions, templates and conversations it used. Figures from two runs are set side by side only when those records match.

A new critical error stops the release.

If a change produces a critical error that the version in use did not, it is not released until that error is fixed or explained.

Errors are counted by how serious they are.

Each rate is reported three times: for errors that change nothing, errors that could mislead and errors that could cause harm. They are never added into a single score, so a change that removes small errors and adds a serious one shows as exactly that.

Listening

Listening is measured on its own.

A document can only be as good as what was heard, so listening is measured separately from writing. The accepted practice for measuring a speech model has nine parts.

Compared word by word

SaidTake prednisolone, 25 milligrams, once a day. You are not allergic to it.

HeardTake prednisone, 25 milligrams, once a day. You are not allergic um to it.

wordHeard wronglywordMissedwordAdded

Every word is compared with what was said.

Test recordings are played through Caleana and the transcript is aligned, word by word, with a reference transcript. The recordings are role-played conversations. They are not recordings of real people.

Word error rate

Substituted, deleted and inserted words, divided by the words in the reference (WER). It is counted for each recording and across the whole set, with character error rate beside it.

Role-played audio

Consults from several specialties, not a public benchmark that a speech model may have been trained on. Every model is run on the same recordings.

Text normalisation

Both transcripts are put into one form before they are compared. Case and punctuation are ignored.

Data

Quality is measured without customer data.

Checking quality should never mean holding on to sensitive information for longer. Today no customer session is used in any of these evaluations.

The test library is invented. No conversation in it describes a real person.

The test recordings are role-played. They are not recordings of real people.

Limits

No evaluation replaces reading the draft.

Every document Caleana produces is a draft.

A draft is read and edited before it is used. The aim is to make that reading faster and the drafts more trustworthy, not to make it unnecessary.

The measures check whether a draft is faithful to what was said. They do not check whether what was said was right.

The evaluations use Caleana’s own templates. A customer’s templates, and their instructions for filling a form, can change how a draft behaves, and they have not been evaluated. The evaluations on Caleana’s own pressure templates show that a template that tells a draft to fill a gap can make it do so. A draft should never state something because a template asked.

The reviewers are models. The evaluations compare one version with another. They do not measure how often a draft is right.

The method builds on public research.

Splitting a document into single claims, and grading each claim as supported, not supported or contradicted by its source, comes from published research on checking generated text. Caleana adds answer keys, pressure evaluations and a shared rulebook with a section for each profession.

Build on your advantage.

Tell us about your platform and the workflows you’re looking to introduce. Let’s explore how Caleana can help bring them to life.

Talk integrations

Integrations

Talk integrations

Tell us about your platform and the workflows you’re looking to introduce.

Details are used to reply. Privacy policy