2026-11-20 · Long interviews read in parts, the researcher’s own themes and quotations
Context
A social-science interview runs from an hour and a quarter to two and a half hours. The first
slice of interview analysis (19 November) read a
transcript whole in one request, and refused before Start one too long for the model chosen: a
model on the computer stops near an hour, so the longest interviews could not be analysed on it
at all. The design left windows of whole turns and a consolidation step for the second slice,
on the pattern of the table of contents (Setup.merge, a Whole piece keyed by its parts), the
consolidation receiving findings whose quotations are already checked and grouping them by their
numbers.
Decision
- Parts are pieces.
PieceRef::Turns { number, first, last }, turns counted from 1 as the model is sent them. Each part is sent with its turns numbered as in the whole text (the samenumbered_linethe whole text is made of), and its quotations are looked for in the whole text by the same check as a text read at once: nothing in how a quotation is found changes. The step that brings the parts together is theWholepiece after them, keyed by the parts’ keys and by the parts that could not be read (CacheKey::combined, of which a table of contents’CacheKey::mergeis now one case, its keys unchanged). - How a set-up reads a long text is settled when the job is created, from the catalogue’s
max_input_tokensat four characters a token:Setup.windows(TurnWindows: the most the model reads, the most one part sends, seven tenths of that, and two turns repeated) andSetup.merge, the step on the set-up’s own model with its own instructions (Preset::consolidation_snapshot: what to do with the parts’ findings, then the prompt’s own instructions, then its fields with each field of cited entries answered as entries with the numbers of their quotations). Both are settled for every analysis whose fields cite the text on a model with a limit, aspages_capis, so that a workflow’s later step, whose text does not exist yet, reads a long one in parts too; whether a text is read in parts is decided when it is read. Neither enters a cache key: a transcript that fits is read whole, in one request, under the key it always had, and itsprovenance.jsonnames no step after parts. - Parts as even as the text allows: as many as the text needs at the share of the limit, the
turns spread evenly over them, each part repeating up to two turns of the one before (never
more than a third of a part, never the whole of it) so a passage across a cut is read whole in
one of them. A turn longer than a part is a part of its own without repetition. Only a text
one turn of which the model cannot read alone is refused (
job.text_too_long, and the estimate’stoo_long, as before). - Quotations by number, never by words. The step is sent each part’s answers and every
quotation the parts kept, numbered once (
Q1,Q2…): the same quotation found by two parts that overlap is the same anchor, and one number. The step answers each entry with numbers; Kalamu puts back each number’s evidence as the part kept it (consolidate::resolve), so the words, the turn, the speaker and the time are the transcript’s, found by Kalamu, before and after the step. Words written in place of a number, or a number past the last, are left out and counted with the quotations not found; a quotation lying inside another of the same entry is kept once, the longer; an entry left with none is left out and counted. An answer that gave numbers and not one Kalamu knows is refused and asked again, as one whose quotations are all missing is. Referring by identity was chosen over checking the words again after the step: a check would accept a quotation the step moved to words of the transcript no part chose, or cut differently, and would refuse an honest regrouping for a changed apostrophe. - A part that failed does not stop the others. Unlike a table of contents, which has nothing
to write without every page, the step runs once every part is read or failed, with at least
one read, and is told which turns were not read. Its stored record lists
turns_readandturns_not_read; the files name the part where it stands ([Not read: part 3 (turns 48–71, 01:02:10 to 01:20:00): …]); the review says it in a notice with Read it again, which puts the failed part back in the queue (retry_failed), and the step runs again under its new key. - One machine for both second steps.
merge_pagesbecamesecond_stepbehind a small trait (SecondStep: its key’s name, whether a failed part fails it, the sentence when nothing was read, and its input), implemented byCombinePagesand byBringTogether; the answer check of the latter is anAnswerChecklike the quotations’ and the timed lines’, which can now add to the stored record what the request carried (AnswerCheck::settings).process_piecetakes such an input with its check (Input::Checked). - The parts stand behind the whole. Reviews, exports, a project’s search and documents, the
dictionary, the agreement table and the list of what to check read the step’s answer and skip
the parts (
PieceRef::is_window); a change from the review reaches the step’s piece whatever index it names (windows::answered), so a comparison of a set-up that read in parts with one that read whole changes both. - The cost before Start prices every part (the characters sent, repeated turns included, the
instructions with each, an analysis’s answer each) and the step apart, as a table of contents’
second step is (
EstimateRow.parts, and amergerow). Never in an economy batch: no cited analysis is, and the step needs the parts’ answers.
The researcher’s own themes or interview guide
- A set-up option beside the question:
SetupOptions.themes, one theme per line, added to the request after the question (THEMES_INTRO, then a line each, list marks and repeats dropped), left out when empty so every earlier key stands; blank lines are no themes. It is the job’s, frozen with its set-up, so provenance records it with the options. - Kept with a research description as the question is (
Preset.themes, settled into a set-up that typed none; lines typed for the interview replace the kept ones). Prompts shows the same box under the question for an analysis whose entries quote the text. - Where a theme comes from is a field of the theme, a choice the model must answer, The
researcher’s guide or The interview (always the interview without a guide), so it is
checked like any choice, shown through
localiseFieldsin the interface language on the card as a plain chip, and written by every exporter as an entry’s field, with no exporter changed. A guide theme the interview does not take up is a list of its own, Guide themes not found: an entry with no quotation is dropped by the quotations’ check, so a cited field could not hold it, and a list keeps it from being padded with a weak quotation to survive. When a long interview is read in parts, the step that brings them together writes that list anew from every part’s, so a theme one part missed and another found is not reported. - Changing the default interview prompt’s fields changes the keys of new interview analyses made with it, as any change of a prompt does; jobs already made keep the fields they froze.
A quotation the researcher adds
- One more change to a cited field,
CitedEdit::AddQuotation { entry, start, end }, the passage’s characters in the frozen text, built on the review’s existing layer of changes (edit_cited, a toast’s Undo putting the correction back). The engine finds it withevidence_at: its spaces at either end left out, within one turn and one part, its words the text’s own, its speaker and times the turn’s; a passage across two turns is refused (cited.not_in_turn). - Marked as the researcher’s by
Evidence.added, left out when false so every quotation stored before reads the same. A correction’s quotations were all the model’s, exactly (keeps_evidence); one marked as added is now kept only when the text read holds it there exactly asevidence_atfinds it (keeps_evidence_in), so a toast’s Undo or a saved correction can carry it and nothing can alter it. The model’s answer is never changed. - In the review the selection’s menu holds one action, Add as a quotation, whose items are the entries it can go to, under their field’s name (the transcript pane had no selection menu in the analysis review; the text review’s Correct with a model… lives in another). The card draws it in the hand-blue rule with Added by you. Not offered in a comparison, where a passage would have to be added to several set-ups’ entries at once.
- In the files: the memo adds ` · added by the researcher
after who said it, the text and Word files, added by the researcherin the brackets, the quotations table a columnadded_by(modelorresearcher), the JSON“added”: true`.
Consequences
- An older build opening a job made by this one ignores
windowsand reads a long text whole, which its provider then refuses; no released build opens a newer database. - A model’s limit in the catalogue now decides how many requests a long interview costs, not whether it can be analysed: a wrong limit costs a part more or fewer, never a quotation.
- Exports of a long interview are those of a short one; the only new shape is a part not read.
Left
- Research profiles: a project’s question and themes reused over its interviews.
- Several interviews compared: themes across the interviews of a project, with the dictionary’s patterns.