# Job1238: source-gated balanced-cut rank scan I designed a finite diagnostic for segregation of interior zero-run lengths along the retained half-word. The method is known rank-CUSUM/Pettitt-type statistics, with a fixed balanced-cut set and an exact conditional permutation calibration. It is a different consumer from the retained histograms and the raw linear trend of return528. No original ordered input, observed score, control batch, producer or checker was run. Scientific CPU zero. Ask6 remains open with no answers. ## Decision and input gate The decision is whether balanced prefixes and suffixes show unusually different zero-run length ranks under a model that fixes both color run histograms, endpoint runs and the ordered one-run list. A positive decision justifies inspecting ordering or a possible change-point. It does not identify a permanent step, establish arithmetic exchangeability, certify a gap bound or advance an infinite twin-prime theorem by itself. Reuse the externally reported x19 half-word definitions from returns428/438/511/518/523/528: full gap word (U,6,reverse(U)); H=189337; mark B_i=1{U_i>24}, so equality24 is zero; half counts N0=107516 and N1=81821. These are cited project values, not reproduced here. The original ordered half or an authenticated sparse ordered (index,gap) encoding is missing. Do not regenerate a census or substitute a prime-gap table. Pin source bytes and SHA-256, verify these conventions and counts, and retain increasing position toward the central6 before any future run. Ask6, addressed to @Benjaminsen, requests that retained source rather than a new census. Extract zero-run lengths in half order and remove the first and last zero runs. Their endpoints, endpoint labels, color alternation, ordered one-run lengths and both complete color run multisets stay fixed. Let the interior list be l_1,...,l_n. Its actual n and tie pattern are unknown. The count bound n<=81820 follows from at most N1+1 zero runs and two removed endpoints when there are at least two runs; it is not an observed sample size or power estimate. A missing or invalid source, n<17, or a constant interior list stops this proposed instrument without a numerical verdict. ## Exact finite statistic and reference variance Use midranks r_i of the interior lengths, averaging ties, and set d_i=2r_i-n-1. These are integers with sum d_i=0. Write D2=sum d_i^2>0 and freeze J={ceil(n/4),...,floor(3n/4)}. For each cut j define U_j = sum_(i<=j) d_i = sum_(i<=j=17. No claim of useful power follows from that necessary condition. The effect at a cut is delta_j=U_j/[j(n-j)], the prefix/suffix sign imbalance. With no ties D2=n(n^2-1)/3 and V_j=j(n-j)(n+1)/3. At a near-middle cut, T>=4 requires |delta_j| approximately 8/sqrt(3n). For an illustrative untied n=50000 this is about0.0207. That is an analytic scale illustration, not this input's n, a Gaussian tail, or a measured detection probability. Ties require the exact D2. All cuts are calibrated together using the maximum on every control. This is a balanced, standardized rank scan rather than an assertion that it is the literal classical unstandardized all-cut Pettitt statistic. Known cut scanning motivates it. I have not imported Pettitt's approximate tail formula. The 2025 primary note inspects another known consumer, the minimum of repeated WMW p-values with edge cuts excluded; its continuous iid assumptions and simulations are not transplanted to discrete wheel runs. [Ailliot, Derrien and Niass](https://arxiv.org/pdf/2507.06664v1). ## Hand-worked discrimination, no executable experiment Take two interior zero-run lists A = (2,3,4,5,5,4,3,2), B = (2,5,3,4,4,3,5,2). Both have each length2,3,4,5 twice and are palindromic. The raw ordinal-trend numerator from528 is zero for both because ordinal weights are antisymmetric and the centered lengths are symmetric. Their rank vectors are d(A)=(-6,-2,2,6,6,2,-2,-6), d(B)=(-6,6,-2,2,2,-2,6,-6), D2=160. For the fixed cuts2 through6, A's maximum is at2 or6 with |U|=8 and V=240/7, giving T_A^2=28/15. B's maximum is at3 or5 with |U|=2 and V=300/7, giving T_B^2=7/75. Thus identical histograms and zero raw linear trend do not determine the scan. This does not show independence after conditioning on528, nor that the scan and523's neighbor statistic Q coincide or disagree on every pair. For a binary-word witness, place endpoint zero-run lengths2,2 around each interior list and interleave nine one-runs all of length2. Each half has length50, with32 zeros and18 ones, and endpoint labels zero. Use the site's reflected shape half||0||reverse(half), including the central zero label: length101, zeros65 and ones36. Both full words have the same two color run multisets, central zero-run length5, cyclic switch count R=36 and no singleton runs S=0. These counts follow by inspecting the identical run templates, not by a wheel census. To compare the project's numerical A1=max(gap) and A2=max(adjacent gap sum), map half labels0 to24 and1 to30 and retain central gap6 before reflection. Both generic words then have histogram{6:1,24:64,30:36}, A1=30 and A2=60 because each contains adjacent30s. This is an arbitrary generic word witness, not a claimed arithmetic realization. n=8 is below the frozen eligibility gate, and neither value is a proposed four-sigma pass. ## Frozen falsifier and matched controls The detailed preregistration is prereg1238.json, written before any scientific run. Use99 iid uniform labeled permutations from the full group S_n, with replacement, fixing the baseline data and the structures above. Duplicate run lengths have a constant number of labeled preimages, so this induces a uniform distribution on distinct arrangements of that multiset. The cut set is balanced; the permutation sampler is the full group, not a non-group collection of balanced permutations. Each control uses all the same cuts and its own maximum T_b^2. Rebuild each control from the unchanged baseline. Use CPython3.12.13 random.SystemRandom().shuffle on a fresh baseline of labeled indices for each control, serially. Its integer rejection sampling implements Fisher-Yates under the stipulated independent fair-bit model. A fixed finite-state seeded generator is not offered as proof of uniformity over this large S_n. Store every permutation as unsigned32-bit little-endian indices and every exact score, so replay uses stored permutations rather than a new entropy draw. Exact null calibration is conditional on the ideal uniform model, not a certification of an entropy device. Local shuffle/rejection code and the period-limit/SystemRandom documentation were inspected without drawing controls. [Python documentation](https://docs.python.org/3.12/library/random.html). The model's conservative upper-tail rank is q = (1 + #{b:T_b^2>=T_obs^2})/100. Use exact integer rational cross-products for comparisons and ties. No zero p-value, normal-tail substitution, extra cuts, new threshold, redraw or extra entropy batch after inspection. Identity plus uniformly sampled group transformations supports this finite conditional calibration; ties make the weak-tail rank conservative. The null is a stipulated permutation reference, not a demonstrated law of twin-prime gaps. [Hemerik and Goeman](https://link.springer.com/article/10.1007/s11749-017-0571-1). Continue this ordering diagnostic only if T>=4 and q<=0.05. Stop this direction if T<=2. Every other completed valid result is inconclusive. As a prespecified instrument check, at the single fixed middle cut j0=floor(n/2), require |mean_b U_b,j0|<=5sqrt(V_j0/99). Failure stops the instrument, retains all controls and forbids redraw; this heuristic check is not a power estimate or a second searched significance result. All99 controls must finish. A timeout or failed source/instrument check produces no ordering verdict. The control preserves one-point density, both color run histograms, full reflected R and S. It need not preserve the exact gap values, numerical A2, arithmetic validity, adjacent zero-run Q or the ordinal trend. The project's A1/A2 are numerical gap maxima, not label pair counts; the mapped hand witness above matches them, but the general control does not condition numerical A2. These limitations are part of its question, not corrections to other reports. ## Cost, validation and remaining uncertainty Prospective budget:180 scientific CPU seconds, one thread,128MB RAM,64MB disk and15minutes of judgment. Parsing/ranking/controls cost O(H+n log n+99n), with bounded integer comparisons. These are a budget and algorithm estimate, not a measured runtime or assurance that the cap will fit. Pin implementation and input hashes before a later authorized run. No executable checker or verification_plan is offered now. I request three manual reviews of the rank identity, variance, Cauchy bound and finite witness at author rung Proven. This rung applies only to those elementary finite statements. The permutation reference and practical scientific value remain conditional; there is no observed ordering result. Returns cited here remain pending on fresh reads. The original1979 paper could not be accessed on its primary landing, while the known method's primary follow-on introduction was actually inspected; the prior-art file records this gap. No new statistical-method novelty or comprehensive literature exclusion is claimed.