﻿# TruLens conversation evaluation: a shared ID does not reload every historical turn

Understand TruLens context-bounded conversation evaluation, ordered record provenance and the difference between grouping traces and managing application memory.

Author: Retrivium editorial team
Updated: 2026-11-04
Canonical URL: https://retrivium.ai/journal/fg2-trulens-conversation-id-recording-context-batch/
Language: en

## Define the transcript being judged

A conversation-level result needs an identifiable ordered transcript. TruLens [conversation evaluation](https://www.trulens.org/component_guides/instrumentation/conversation_evaluation/) groups records under a conversation identifier and describes how a successful recording context creates an evaluation batch. Do not assume the identifier alone means every historical turn stored under that name will be loaded into the current judgment. Record which turns belong to the evaluated batch before interpreting a coherence or requirement-satisfaction score.

## Keep observability identity separate from memory

The [conversation-ID guide](https://www.trulens.org/component_guides/instrumentation/conversation_id/) explains propagation and grouping. That observability identity does not itself supply the application's conversational memory. An application may use its own session history mechanism, with a separately configured relationship to the recorded ID. Check both contracts. A correctly grouped trace can still describe a model that never received an earlier instruction, so a memory failure may originate in the application input rather than the evaluator's transcript display.

## Inspect context-bounded evaluation behavior

Current documentation states that reusing the same conversation identifier in another recording context creates a separate online evaluation batch. Earlier contexts are not automatically reloaded for that judgment. Preserve the contributing record-root identities and ordering. If the goal is to assess a longer historical conversation, use the appropriate explicit workflow for that population rather than extending a score's interpretation beyond the actual records supplied to the evaluator.

## Match metric scope to the requirement

The [selector documentation](https://www.trulens.org/component_guides/evaluation/feedback_selectors/selecting_components/) distinguishes ways to select observed data. Turn-level relevance and whole-conversation consistency answer different questions. Averaging individually acceptable answers does not detect every contradiction or forgotten constraint across turns. For example, an application can answer each local question fluently while abandoning an earlier required output format. Keep those objectives separate and verify the complete transcript is supplied when the criterion depends on interaction history.

## Verify grouping with a repeated identifier

Build a diagnostic conversation split across recording contexts, then inspect which records each online judgment used. Also check a record without conversation identity and an application session with intentionally missing history. The guides to [conversation isolation](/journal/fg2-promptfoo-conversation-id-history-isolation/) and [logical span groups](/journal/fg2-trulens-span-groups-logical-hop-localization/) provide related controls. Accept the setup when batch membership, ordering and application memory can be explained independently, preserving the difference between displaying related turns and evaluating the intended complete interaction.
