This repository is the official implementation of the paper Learning Spectrum-Matched Gap Sequences for Shellsort (NeurIPS 2026). The action space is a bounded geometric set of candidate next gaps.