Atelier des rouesLab FR
Register/AT.EX29.01
Controlled experiment · AT.EX29.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 modest held-out test of a heuristic: adding returned-permutation length improves training loss but ties distance on the reserved set, at 5,400 ns regret for either rule. Zaks and Myrvold–Ruskey establish how to generate or unrank permutations, not which implementation is faster for this workload. The comparison could inform further model design; one Python session and an incompletely supplied data record leave stability and practical benefit unresolved.

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 learn two thresholds on 160 rank-distance pairs and test them on 160 others. My loss adds the median nanoseconds lost when the selected method is slower.

Result

In my Python 3.10.11 session length reduces training loss from 8,200 to 7,300 ns, but both rules have 5,400 ns held-out regret.

Prior work

Zaks

Next question

I will test the stability of the ranking across independent sessions.

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.