code wiki / (root) / sketch_epsilon_greedy_test.nx

sketch_epsilon_greedy_test.nx

buildroot/runtime/sketch_epsilon_greedy_test.nx

5084 B152 linesdepth 5pulls 5 transitivereach 0 importersview sourcekind gate/prooftopic sketch
docsdependenciesstructsconstsfunctions

about

sketch_epsilon_greedy_test.nx -- epsilon-greedy bandit verification.

dependencies 3 imports · 0 importers

syscalls.nx sketch_epsilon_greedy.nx sketch_types.nx sketch_epsilon_greedy_test.nx

imports: syscalls.nxsketch_epsilon_greedy.nxsketch_types.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main nx_eg_alloc nx_eg_select nx_eg_current_epsilon_ppm nx_eg_bitlen nx_eg_rng_below nx_eg_rng_next nx_eg_best_arm_by_mean nx_eg_rng_below ↻ reward_for nx_eg_update nx_eg_best_arm nx_eg_best_arm_by_mean ↻ nx_eg_mean_ppm iabs nx_eg_count nx_eg_current_epsilon_ppm ↻ nx_eg_query nx_eg_mean_ppm ↻ nx_eg_isqrt nx_approx_new

structs

none

consts

none

functions

7func iabs(x: i64) -> i64 {
called by 1: main
12func reward_for(arm: i64, pull_idx: i64) -> i64 {
called by 1: main
22func main() -> i64 {