Testing
A test set is a list of texts with the answers you expect. Run a version of a prism on it and the Test tab says how often that version agrees with your team. Run a second version and it says whether the change made the prism better, question by question, and whether chance could explain the difference.
Only admins have the Test tab.
Test sets
Section titled “Test sets”With no test set yet, Test opens on "Check your prism against answers your team already agreed on." and a Choose a file button.
From a file
Section titled “From a file”- Click Download a template (CSV) for a file with a column for each field, a Reference column and a column for each question, named by its short name. Fill in one row per text. An answer cell takes the option's name, such as Billing, or Yes or No. A blank cell leaves that question unchecked for that text.
- Click Choose a file, or drop the file on it. CSV, TSV and JSON files work.
- The app matches the file's columns to the prism by name and says how many it matched, such as "We matched 5 columns." Change shows each match: a column for each field, the Reference (the row number without one), an optional Context for each text, one column of Your answers for each question, and an optional Group by. When a field has no column, the matches are open until you choose one.
- Click Save as test set, name the set and click Save test set. Saving runs nothing.
New test set from a file, in the ... menu at the right of the toolbar, makes another set the same way.
Add texts to a set
Section titled “Add texts to a set”Add texts with your answers, in the same ... menu, adds a file's texts to the set in view. A text whose reference is already in the set replaces that one, and the rest are added.
From a result
Section titled “From a result”Any result that kept its text can become a text of a set. Open it in Results and click Add to test set. Your answers start from what the result says, and you correct the wrong ones. See Add to a test set.
Limits
Section titled “Limits”- A test set holds at most 1,000 texts and 5 MB of them.
- Each text needs its own reference within the set.
- A test set keeps its texts until you delete it, whatever the prism keeps of the text. If the prism keeps no text, the app asks you to confirm first.
Run a version
Section titled “Run a version”A toolbar under the prism's header holds the test set, a Run version N button for the latest saved version, and, once the set has two runs on the same texts, against with the run the one in view is read against. Hover Run version N for what the run costs, such as "40 texts, one model call each". Any saved version can run, live or not. With unsaved changes on Questions, the button runs the saved version.
Before the first run, the tab shows what the set can tell you: how many texts have your answer on each question, and which answers are rare.
The app sends eight texts at a time and the page says how many have an answer so far. The figures show once every text has an answer.
- Keep the tab open. Leaving the Test tab stops the run after the texts already sent.
- A run that stopped shows Run the N remaining texts under the toolbar. Failed texts are asked again. A text that has an answer is never asked twice.
- One run answers at a time.
- Test texts count against a per-account limit each minute. When the account reaches it, the app waits and goes on.
What a run says
Section titled “What a run says”The page opens on one sentence, such as "Version 5 agrees with your team on 89% of answers, up from 84% on version 4. It differs most on Urgency.". An answer agrees when the version gave the answer your team gave. An Unsure answer does not agree.
With one run, a line under the sentence says how to compare:
- For a version that is not live, Run version N runs the live version on the same texts.
- When the live version ran only before you changed the texts or your answers, the line says "Version 4's run used answers you have since changed." and Run version 4 again runs it on the set as it is now.
- For the live version, change the questions, save, and run the new version.
With a second run on the same texts, a second sentence gives the verdict, such as "Version 5 is better on Team and no worse elsewhere.", "Keep version 4 live: version 5 is worse on Urgency." or "No clear change from version 4 to version 5.". When a version read against the live one is better beyond chance on some question and no question got or leans worse, Publish version 5 sits beside it and opens the publish dialog.
against, in the toolbar, picks the run to read against. It starts on the live version's newest run on the same texts.
By question
Section titled “By question”The right column has one line per question: its name, a thin band and the share of its texts that agree, such as 91%. The band has up to five parts:
- Agrees, in blue: the version gave your team's answer.
- Unsure, in amber: the version's answer was Unsure and is not your team's.
- Differs, an outline: the version gave another answer.
- Failed and Not run, when a run stopped part way: texts with your answer that the run has no answer for.
A question no text has your answer on says No answers from your team yet. A question one version does not ask says Not asked in version N. A share from fewer than 10 texts is grey.
One question is open at a time, and the page starts on the one that differs most. Click another to open it. The open question shows its text and the band in full, with a count on each part. Click a part to list its texts on the left.
With two runs, a thin line under the band is the other run, and a sentence reads it, such as "Thin line: version 4, where 103 agreed. 6 more agree now. Leaning better.". It ends on the verdict:
- Better or Worse: more answers were fixed than newly wrong, or the reverse, by more than chance explains 1 time in 20.
- Leaning better or Leaning worse: the split is likely but not settled. The Leaning edge sets how likely: under Settings, Account for the account, or under Advanced in a prism's Prism settings.
- No clear change: the flips are close to even, or too few to read.
The same line gives the flips behind the verdict, such as "8 fixed and 2 newly wrong, a change of +5.0 pts (95% range 0.0 to +10.4).", how many flips near a cutoff were left out, and, for a leaning question, about how many more texts with your answers could settle it. The info button at the top of the column explains the method.
Only answers that flipped between the two runs count: wrong in one, right in the other. A flip where both answers sat within 5 points of the cutoff that decided them is left out, because asking the same text again can land either way. Those flips count only when a question's flips near a cutoff lean one way by more than chance explains. Reading two runs of the same version against each other shows how much the model's answers move when asked again.
A Choice or Scale
Section titled “A Choice or Scale”An open Choice or Scale lists Agrees, Unsure and Differs as rows with their counts and shares. Click a row to list its texts.
Where it differs most often lists up to five pairs of your team's answer and the version's, with how often each happened, and with two runs how often it happened in the other run.
For a Choice, Precision and recall per option opens a row per option. Precision: of the texts a run gave this answer, how many your team gave it too. Recall: of the texts your team gave this answer, how many the run gave it.
Cutoffs
Section titled “Cutoffs”An open Yes / No question shows its cutoffs over the run in view. Every text with your answer is a square, placed between 0 and 100 by how far the run put it towards Yes. Texts your team answered Yes sit above the line and texts your team answered No below it. A square is solid where the run agrees, amber where it is Unsure and hollow where it differs.
The two cutoffs, such as No below 35 and Yes from 65, are handles: drag one, or focus it and move it with the arrow keys. The cutoffs can meet, which leaves no Unsure, but not cross. As a handle moves, the squares, the band, the counts under the picture, the precision and recall of Yes and the texts on the left all follow, and a line says what changed, such as "Yes from moved to 58, from 65. 2 more agree, 3 fewer unsure, 1 more differs.". Put it back returns to the version's own cutoffs.
When one cutoff can move so that more texts agree and none newly differs, a line offers it, such as "Yes from 61 would make 2 more agree, with no new difference." with Try 61. It needs at least 10 texts with your answer.
Save as version N saves the new cutoffs as the next version and scores it from the answers of the run in view. The model is not called: only the cutoffs changed, so it would give the same answers. The tab then shows the new version against the live one and says it was scored from the earlier version's answers with no model calls.
The button is off until a handle moves. It is also off, with the reason beside it, while the prism has unsaved edits or when the run in view is not of the latest saved version.
The texts behind a question
Section titled “The texts behind a question”The left column lists the texts of the open question's chosen part, such as "7 texts differ on Urgency". Each is one line: its reference, how it starts, and the two answers, such as "Your team No, version 5 Yes". A percentage shows only on an Unsure answer. With two runs, the texts that agreed in the other run and no longer do come first, or, under Agrees, the ones that were fixed.
Click a text to open it in place: its fields, your team's answer and each version's on the open question, and a picture of where the version put it. j and k move through the list, Enter opens a text and Esc closes it.
Change your team's answers shows every question with your team's answer and each version's. Change an answer from its select. It saves at once, and Undo puts the old answer back. Later runs use the new answer, and runs made before it are scored with it while the text is unchanged.
Runs and files
Section titled “Runs and files”The ... menu at the right of the toolbar leads further:
- Runs lists the set's runs, newest first, with their version, date and how many texts they answered. Show opens a run. A run made before your latest change to the texts or answers says so, and Delete the N older runs deletes those runs. It cannot be undone.
- Copy the comparison as markdown copies the verdict and a table of every question's agreement, change and flips.
- Download evaluation (CSV) and Download misses (CSV) save the run in view, with each text named by its id.
- Delete test set deletes the set, its texts and every run. It cannot be undone.
Kept-back texts
Section titled “Kept-back texts”A set of 50 texts or more keeps about one text in five back. The app chooses these texts by their id, so a text stays kept back or not when the set changes.
Kept-back texts are scored but never listed, and they are not part of a question's band or share. They show only as one line at the foot of the open question, such as "Kept back, 28 texts: 86% to 93% agree". When you fix answers, rewrite questions or move a cutoff to win back the texts you can see, a prism can learn those texts and still miss new ones. The kept-back texts are the check on that: if a change helps the listed texts but not the kept-back ones, it may not help real texts.
Test verdicts elsewhere
Section titled “Test verdicts elsewhere”Publish dialog. When you publish a version, the dialog looks for the newest pair of finished runs, on the same texts of one set, of the live version and the one you are publishing. If it finds them, it says what was measured, with See it in Test. When the new version is worse or leans worse, the box is red and the dialog focuses Keep version N. Without such a pair, it says the version is not tested and links to Test first.
Home. Home lists under Next steps a run that stopped before every text had an answer, and a saved version that waits to be tested or compared.
Test answers are not results
Section titled “Test answers are not results”A test run's answers are kept with the run, not as results.
- They don't show in Results, in exports or in the API.
- Results retention does not delete them. They stay until you delete the test set or its older runs.