Objects/Documentation
reserve25.py
Choosing a jump on held-out ranks · reserve25.py
Download ↓"""Held-out starts at the single/batched crossover."""
from random import Random
from math import factorial
from pathlib import Path
import json
from lot24 import study as timed
def study():
root=Path(__file__).parent
previous=json.loads((root/'lot24.json').read_bytes())
blocked=set(previous['starts'])
for p in root.glob('distances20*.json'):
data=json.loads(p.read_bytes())
if isinstance(data,dict):blocked.update(data.get('starts',[]))
rng=Random(25001);starts=[]
while len(starts)<32: