Reproduction (Python 3.12, numba 0.68, networkx 3.7):

  python validate.py          # generator vs. known counts (A002851, girth-5/6 counts)
  python test_check.py        # cycle-length oracle vs. networkx.simple_cycles (762 tests)
  python par_driver.py 5  6  N 24 600    # S-free search, graphs containing a 5-cycle
  python par_driver.py 9  10 N 24 600    # ... containing a 9-cycle, no 5-cycle
  python par_driver.py 10 10 N 24 600    # ... containing a 10-cycle, no 5- or 9-cycle
Results are appended to log_root{5,9,10}.jsonl (one JSON line per n).
Note: "nodes" in the parallel logs counts nodes visited by all 24 workers,
including the replicated prefix above the split depth.
