cacheSalt property

String get cacheSalt

Stable salt for record/replay caching, scoped per task+trial but independent of run name so that recordings made in run A can be replayed by run B. Format: taskId#trialIndex.

Pass this into RecordingLLMClient / ReplayLLMClient's trialSalt parameter from inside EvalEnvironment.prepare() to give each trial its own cache slot. Without it, trials of the same task collapse onto one cache entry and the framework silently destroys the non-determinism that pass^k / pass@k are supposed to measure.

Implementation

String get cacheSalt => '$taskId#$trialIndex';