feat: rank growth events with grounded evidence
This commit is contained in:
@@ -46,13 +46,17 @@ func TestEstimatedTokenReservationCoversEveryRetryAndTurn(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
func TestDeterministicOnlyCompletionIsReady(t *testing.T) {
|
||||
func TestDeterministicOnlyCompletionReflectsCandidateAvailability(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
||||
status, failure := deterministicCompletion()
|
||||
status, failure := deterministicCompletion(true)
|
||||
if status != StatusReady || failure != "" {
|
||||
t.Fatalf("deterministicCompletion() = (%q, %q), want (%q, empty)", status, failure, StatusReady)
|
||||
}
|
||||
status, failure = deterministicCompletion(false)
|
||||
if status != StatusPartial || failure != "INSUFFICIENT_EVENT_CANDIDATES" {
|
||||
t.Fatalf("deterministicCompletion(false) = (%q, %q), want (%q, INSUFFICIENT_EVENT_CANDIDATES)", status, failure, StatusPartial)
|
||||
}
|
||||
}
|
||||
|
||||
func TestServiceFingerprintChangesWithDatasetAndConfiguration(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user