MCPcopy Create free account
hub / github.com/antirez/ds4 / test_token_bytes_equal

Function test_token_bytes_equal

tests/ds4_test.c:664–672  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

662 "ds4-test: GLM MTP snapshot cycles=%d single=%d double=%d tokens=%d\n",
663 GLM_MTP_SNAPSHOT_CYCLES,
664 single_cycles,
665 double_cycles,
666 restored_total);
667 } else {
668 TEST_ASSERT(ds4_session_eval(restored, before[0].id,
669 err, sizeof(err)) == 0);
670 }
671 TEST_ASSERT(ds4_session_top_logprobs(restored, restored_after, 8) == 8);
672 for (int i = 0; i < 8; i++) {
673 if (restored_after[i].id != reference_after[i].id ||
674 fabsf(restored_after[i].logit - reference_after[i].logit) >
675 continued_logit_tolerance) {

Callers 1

test_logprob_vector_caseFunction · 0.85

Calls 1

ds4_token_textFunction · 0.85

Tested by

no test coverage detected