MCPcopy Create free account
hub / github.com/Luce-Org/lucebox-hub / approx_eq

Function approx_eq

server/test/test_bandit_integration.cpp:46–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44
45TEST_CASE(BanditIntegrationFixture, isolated_sessions) {
46 HttpServerSessions sessions;
47 sessions.update("high_accept", 0.95f);
48 sessions.update("low_accept", 0.50f);
49
50 float k_high = sessions.get_keep_ratio("high_accept");
51 float k_low = sessions.get_keep_ratio("low_accept");

Calls

no outgoing calls

Tested by

no test coverage detected