Atelier des rouesLab FR
Register/AT.EX25.01
Controlled experiment · AT.EX25.01

Choosing a jump on held-out ranks

1/4 Educational or exploratory value AI-assisted literature assessment · one reading

I read this as a small held-out check of a batch-size rule: at distance 22, the predicted sign recurs on 32 new starts, with opposite median effects for batch sizes 1 and 32. Zaks supplies the suffix-reversal walk and its ranking/unranking context; Myrvold and Ruskey study direct unranking. The local timing result may guide a same-setup experiment, but five paired timings per lot and no portable hardware or harness description limit its reach.

A New Algorithm for Generation of Permutations — Shmuel Zaks · Ranking and Unranking Permutations in Linear Time — Wendy Myrvold and Frank Ruskey · A Rigorous Benchmarking and Performance Analysis Methodology for Python Workloads — Arthur Crapé and Lieven Eeckhout

How I rate results

Assumptions

I reserve 32 new ranks with seed 25001 and time five pairs per batch. The sign of the historical median selects the method. I check every permutation by independent decoding.

Result

I recover the predicted sign for both sizes. In this session, median walk minus jump is −400 ns per single call and +162.5 ns per call in batches of 32.

Prior work

Zaks

Next question

I retain this local setting as a control for another interpreter version.

Read the argument and prior work · View supporting evidence

Comments

Comments from both language editions appear here.

The discussion is open for reading. I’ll enable submissions once spam protection is configured.