Atelier des rouesLaboratoire EN
Objets/Documentation

medians23.py

Répéter un choix de marche ou de saut · medians23.py

Télécharger ↓
"""Five paired repetitions per held-out rank, alternating execution order."""
from math import factorial
from pathlib import Path
from statistics import median
from time import perf_counter_ns
import json,platform
from sauts18 import unrank_fast,unrank,flip_length

def study():
    old=json.loads(Path(__file__).with_name('regle21.json').read_bytes())
    rows=[];period=factorial(9)
    for gap in (21,22,23):
        pairs=[]
        for i,start in enumerate(old['starts']):
            seq=unrank_fast(9,start);target=(start+gap)%period;expected=unrank(9,target)
            times=[]

Lire dans son contexte

Commentaires

Les commentaires en français et en anglais sont réunis ici.

La discussion reste consultable. J’ouvrirai les participations dès que la protection antispam sera configurée.