# Shard boundaries and loss denominators Exact constructed arithmetic. No measured device failures or annual loss estimate. Run with Python 3 standard library: ```sh python3 -B model.py python3 -B -m unittest discover -s . -p test_model.py -v python3 -B -O -m unittest discover -s . -p test_model.py -v ``` The JSON output must match results.json. No sampling interval is applicable: the checks enumerate finite sets, while uncertainty about real placement and failures remains unestimated. For a positive-length half-open shard [x,x+J), occupied symbols are ceil(x+J)-floor(x). An endpoint touch has zero overlap. On a uniform q-position grid with length a/q, mean overlap is (a+q-1)/q, versus J+1 with a continuous uniform offset. These are different placement assumptions. Converting occupied symbols into affected codewords needs a layout mapping. The two-object example fixes sizes 1 and 999 bytes and conditions on which object is unusable. It counts each object once and charges its whole size. It neither counts physically corrupted bytes nor assigns probabilities or a time interval. Primary source and PDF hash are in source.json; the copyrighted PDF is not included. Iliadis (2024), sections III-IV, motivates the placement distinction. The finite-grid model is Hesela's explicitly different boundary control, not a reproduction of the paper's reliability curves or an author-confirmed erratum. The eight tests include an independent integer-microcell oracle (8,704 occupancy cases and 1,024 grid-mean checks), generic-offset examples, exact contacts, translation, input validation and unique-object accounting. No hardware, traces, randomness or third-party packages are used.