# Fill & Refill calculator, V1 frozen methodology Status: **frozen, 10 October 2026, rev 4.** Formulas, constants, the refusal list and the validation cases do not change during implementation. If an actual technical problem is found, report it before changing anything. This document is a specification. It is not page copy and it is not a user interface. `docs/chlorine-v1.md` section 9 is incorporated by reference and is not restated. Two sentences from that section are binding on this calculator, because the handoff runs both ways: - Above **90 ppm**, cyanuric acid comes down only by replacing water. This calculator is that replacement. It does not offer a second removal method. - The free-chlorine target that belongs to a CYA reading is computed only by the chlorine calculator. This spec does not re-derive it. That 90 ppm is the CDC Model Aquatic Health Code's own operating limit, set in the code language at 5.7.3.1.3.2: "The CYA concentration at all AQUATIC VENUES shall remain at or below 90 ppm (mg/L)." Section 9 adopted that figure and describes it correctly. It is a requirement in the code, not a rationale in the annex, and this spec does not treat the site's threshold and the MAHC's as two different numbers that coincide. The annex separately discusses the toxicology of the same figure; that discussion is the reasoning behind the limit, not a competing claim. NSW Health's 30 mg/L sunlight curve (refusal 7) is a different subject entirely and does not amend either. Checked against primary and agency documents on **9 October 2026**. Rate schedules and drought rules in section 7 are valid only as of that date. Rev 4's corrections were re-derived arithmetically on **10 October 2026** and required no new citation; one rev 3 citation was withdrawn rather than replaced. ## Changes from rev 3 Rev 3's findings, scope, cost model and geometry stand. Three of these corrections are defects in rev 3 itself rather than new research, and they are listed first. 1. **The constituent blend equation was wrong for continuous overflow.** Rev 3 used `f_volume = V_fill / V` for both procedures. `V_out / V` is a throughput ratio, not a mixing fraction; it exceeds 1 beyond a 63 percent reduction and gives the pool's own water a negative weight. It returned a **negative concentration** on a plausible case. Section 4.4 replaced with a procedure-specific `f_eff`; case E22 added. **This defect never reached the shipped calculator**, which implements no constituent blend. 2. **The predicted CYA must not be written to shared state.** Rev 3 section 2 required the resulting CYA to be written back to the key the chlorine calculator reads. That key holds a measurement, and a prediction written into it is consumed as one. New refusal 17; section 2 handoff and E19 changed; case E24 added. **This defect did reach the shipped calculator** and is the one live code change in rev 4. 3. **The North Carolina citation is withdrawn.** Rev 3 quoted 15A NCAC 18A .2500 as "A hydrostatic relief valve shall be provided for in-ground swimming pools." The rule continues "which extend more than two feet below the grade of surrounding land surface unless a gravity drainage system is provided," so the quote turned a conditional requirement into an absolute one. The document is also titled "RULES GOVERNING PUBLIC SWIMMING POOLS", is scoped by G.S. 130A-280 to public swimming pools, and contains the word "residential" zero times, so it was never evidence about a home pool. Removed from finding 1.3 rather than repaired, because nothing in the spec depended on it. New refusal 18 names the failure class. 4. **"Exact" in section 4.4.1 is now scoped to the modelled solid.** The arithmetic is exact for vertical walls, constant width and one straight slope. Benches, ledges, steps, spa spillovers and varying widths are not modelled, and the direction of the error for those is not established. Two decimal places is the precision of the arithmetic, not of the pool. 5. **A CYA reading at the top of the test's scale is refused.** `f` increases with the current reading, so a capped reading understates the water and under-drains. New input flag in section 3, new refusal 16, case E23. 6. **The zero-CYA fill assumption is scoped to potable mains or potable well water**, and the direction of the error is stated: any CYA in the fill means **more** water is needed, not less, so the assumption is optimistic rather than conservative. Non-potable, trucked, reclaimed and unknown sources are refused rather than approximated (section 4.4 assumption 2). 7. Section 4.6 gains one sentence: the resulting CYA is a prediction to be verified by a retest. Gap 12 records the one citation rev 4 wants and does not have. ## Changes from rev 2 Rev 2's findings, equations, scope and refusal list were reviewed against their sources and stand. These are the corrections. 1. **90 ppm recharacterised.** Rev 2 called it an annex toxicological sentence and separated it from section 9's threshold. It is code language, and section 9 is correct. Header and refusal 7 corrected. 2. **The waterline-drop formula is now exact.** `f x averageDepthFt` is correct only while the water surface area stays constant, and it **understates** the drop once the level falls below the shallow-end floor. Rev 2's prism test (`shape == rectangle`) does not hold in this codebase, where every pool carries a shallow and a deep end. Section 4.4 replaced; cases E20 and E21 added. 3. National Plasterers Council citation moved to an archived snapshot. The live site does not serve. 4. E3's cost string and E7's units string corrected. Both were below tolerance and did not affect any displayed figure. 5. Top-off display rounding stated rather than implied by an example. 6. Tallman warranty clause (g) added to finding 1.3. 7. Vinyl liner gap partly closed, and scoped (finding 1.3). 8. Fiberglass "one manufacturer" replaced with a two-warranty census (finding 1.3). 9. Long Beach billing unit resolved; Coachella Valley schedule completed (finding 1.1). 10. ISPSC hydrostatic-valve definition and the North Carolina contrast added to finding 1.3. *(The North Carolina half is withdrawn in rev 4. The ISPSC definition stands.)* 11. Riverside and trucked water recorded in section 8 as audited negatives rather than unexamined gaps. --- ## 1. Findings Four findings determine what this calculator is allowed to do. ### 1.1 A flat Southern California water rate does not exist, and a wholesaler rate is not a substitute Retail price is set by the reader's water retailer, not by the region. - **Metropolitan Water District of Southern California does not bill households.** It sells wholesale water. MWDOC's published table, effective **1 January 2026**, lists Metropolitan's volumetric full-service treated rate at **$1,528 per acre-foot**, and states that an acre-foot is approximately **325,850 gallons**. That figure is a wholesale commodity component. It is not the number on a residential bill, and this spec does not convert it into a recommended dollars-per-HCF. - Retail structures observed the same day are not interchangeable: - **LADWP Schedule A** (single-family, in-city) bills in **HCF**, and the department states "one HCF equals 748 gallons." July–December 2026 total commodity charges are tiered (**$11.794 / $14.278 / $15.024 / $15.024** per HCF for tiers 1–4). The tier-1 block is an allotment, not "the first N HCF of a pool fill." - **City of San Diego**, rates effective **1 January 2026**, bills single-family domestic customers in **HCF** and states "Each HCF equals **748.05** gallons." Commodity tiers on that page: **$8.51** (0–10 HCF), **$9.50** (11–22), **$11.89** (above 22), plus a monthly meter base fee (**$35.53** for a 5/8- or 3/4-inch meter). A separate city page proposes a unitary rate from **1 January 2027**. That proposal is not in effect and is not used. - **IRWD**, residential rates effective **1 July 2026**, bills in **CCF** and states "1 CCF = 748 gallons." The price depends on a **household water budget** (people, landscaped area, weather), not on a fixed block: **$2.18 / $2.92 / $8.03 / $19.32** per CCF at 0–40%, 41–100%, 101–140%, and 141%+ of that budget. $19.32 is 6.6 times $2.92. - **EMWD** bills a **billing unit of 748 gallons** on water-budget tiers. For the listed Perris / Moreno Valley service area, rates effective for bills dated on or after **1 January 2026** are **$1.55 / $4.51 / $7.68 / $14.85** per billing unit. - **Long Beach Utilities**, volumetric rates effective **1 October 2025**, uses tiered **billing units** (non-exempt single-family: first 6 at **$3.474**, next 7 at **$6.652**, over 13 at **$9.706**). The rate page itself does not define the unit. The city's rate ordinance does: Ordinance 17-0019, section 12.A, "'Billing unit' means one hundred (100) cubic feet of water and equals 748 gallons." The **prices** in that 2017 ordinance are superseded by the current schedule; only the definition is taken from it. Long Beach also distinguishes customers exempt and non-exempt from the Utility Users Tax, which changes the first-tier price. - **Riverside Public Utilities Schedule WA-1A** prices **per 100 cubic feet**. Effective **1 July 2026**, single-family quantity rates are tiered (first 8, then 9–35, then over 35). Winter tier 3 is **$3.57**; summer tier 3 (service in June–October) is **$4.61**. The schedule does not print a gallons conversion, and an audit of the utility's rate pages and FAQs found none published anywhere. See section 8. - **CVWD** bills a budget-based commodity charge per **CCF**, effective **1 July 2025**: **$1.09** (Excellent, up to 8 ccf), **$1.36** (Efficient, to 100% of the water budget), **$4.18** (Inefficient, 101–175%), **$4.90** (Excessive, 176–300%), **$7.49** (Wasteful, 300% or more). Tier 1 is described by the district as designed for indoor residential need. Budgets are built from an indoor and an outdoor component. - **A monthly or daily meter charge is not part of the fill.** It is owed whether or not the pool is filled. V1 does not add it. - Six of the seven retailers surveyed bill in a 100-cubic-foot unit, and three of them (IRWD, EMWD, CVWD) price it against a **household-specific water budget** rather than a fixed block. A marginal rate is therefore not a property of the region or even of the retailer; for those three it is a property of the household. - Because a large fill can cross a tier or a water budget, **one marginal rate prices the fill honestly only when the reader asserts that this rate applies to every unit of this fill.** Otherwise the reader must enter the blocks remaining on their own bill. V1 does not look up, store, or update agency tariffs. The survey above is evidence for that refusal, not a rate table for the calculator. ### 1.2 Cyanuric acid leaves with the water that leaves. The two ways of replacing water are different maths, and different risks No standard reviewed here lists filtration, sunlight, or ordinary oxidation as the control that removes cyanuric acid. The CDC 2024 MAHC (5th edition, posted 16 December 2024) treats **draining and refilling** as the way an aquatic venue lowers CYA: section 6.5.3.2.1 adds dilution credits for that procedure, and the annex states that if CYA is above 15 ppm the venue "will need to be partially drained and refilled to reduce the CYA concentration" before the diarrheal-stool remediation protocol (the protocol itself is for water at **≤15 ppm CYA**). A 2024 review (Frontiers in Public Health, PMC10801151) says both "cyanuric acid does not decompose easily or remove naturally from the water" and "previous studies have shown that UV radiation decomposes cyanuric acid." Those sentences are not reconciled in the review, and the review is not an experiment. **V1 does not credit sunlight, a filter, or a waiting period with any CYA removal.** Removal equals the water exchanged in the procedure the reader selects, and nothing else. **Batch** (drain a volume, then refill with CYA-free water), which is the procedure a homeowner performs with a pump and a hose: ``` f = 1 - (C_target / C_current) C_fill = 0 V_drain = V * f C_final = C_current * (1 - f) ``` **Continuous** (fill while water overflows, perfect mixing, level held constant): ``` V_out = V * ln(C_current / C_target) C_final = C_current * exp(-V_out / V) ``` Worked on 20,000 gal from 100 ppm to 40 ppm: batch replaces **12,000 gal**; continuous replaces **18,325.81 gal**, **1.53 times** as much water. They must not be averaged or presented as one result. The gap widens with the size of the reduction: a cut from 100 ppm to 20 ppm costs 16,000 gal batch against 32,188.76 gal continuous, slightly more than double. The risks are also different. Batch **lowers the waterline** and unloads the shell. Continuous overflow at a constant level **does not.** Recommending batch because it "uses less water" without saying that it is the procedure that creates the uplift exposure would be a false economy. V1 shows the procedure the reader selects, and the water and the hazard that belong to that procedure. ### 1.3 No authority states a safe drawdown for a pool whose groundwater and relief valve the owner cannot see. V1 will not invent one Uplift is the weight of groundwater acting upward on the floor. It exceeds the weight of the shell once the pool is emptied far enough, on a site-specific water table. A hydrostatic relief valve, when present and free, is a spring-loaded inlet in the main-drain sump that lets groundwater into the pool once external head exceeds internal head. The International Swimming Pool and Spa Code defines one as "A relief valve to allow rising groundwater to enter an empty pool to prevent flotation." It is not a guarantee: it can be absent, silted, or slower than the recharge around the shell. Not every pool has one. What was found, and what was not: - **No** CDC MAHC, ANSI/PHTA/ICC, IAPMO, California, or Southern California municipal provision retrieved in two independent passes states a maximum percentage or a maximum depth a homeowner may drain without a professional. The ISPSC defines the valve but mandates it nowhere for residential pools; ANSI/PHTA/ICC-5 requires freeze protection but publishes no drainage limit; ISPSC 321.1 governs where draining water may go, not how much may be removed. - **A reader here cannot assume their pool has a working relief valve**, because no Southern California provision retrieved in two passes requires one. That is the whole of what this spec claims. Rev 3 supported it with a North Carolina contrast; that citation is **withdrawn in rev 4** as misquoted and mis-scoped, and is not replaced. The claim never rested on it: an absence in Southern California is established by searching Southern California, not by finding a mandate somewhere else. See refusal 18. - A Florida engineer's worked example (one 16x32 gunite pool, water table at grade, about 8 inches below the tile line) is **one geometry in one water table.** It is not used. - **Fiberglass: the warranty position is common, not unique.** Two manufacturers state it in their own warranty documents. Tallman Pools (page rev. 30 April 2026): "DRAINING YOUR POOL WITHOUT PRIOR WRITTEN AUTHORIZATION FROM THE MANUFACTURER WILL RESULT IN THIS WARRANTY BEING VOIDED" and "THE POOL IS DESIGNED TO REMAIN FULL OF WATER AT ALL TIMES." Latham's 2026 fiberglass warranty: "Failing to maintain the water level above the skimmer outlet will void the warranty in its entirety." San Juan Pools' warranty page states the mechanism as well as the consequence: "THE FIBERGLASS POOL SHELL MAY CRACK OR BUCKLE IF THE WATER LEVEL FALLS BELOW THE SKIMMER OUTLET." Thursday Pools and Leisure Pools say the same in maintenance guidance rather than in a warranty. V1 may therefore say the position is common among fiberglass manufacturers. It still tells the reader to read **their own** warranty, because the warranty that matters is theirs. - **Tallman also names the failure signature**, which is worth more to a reader than the prohibition: "A crack with visible protrusions on the interior surface of the Pool indicates that hydrostatic pressure beneath the Pool has exceeded the internal water pressure, typically as a result of the Pool being drained." That is a manufacturer attributing a specific, visible symptom to draining. - **Vinyl liner: partly answered, and the answer is not a limit this calculator adopts.** Latham publishes, in consumer guidance on its own site: "If you drain your pool completely, your liner can shrink or tear" and "As a rule, never drain your vinyl liner pool beyond more than half its total volume." That is a manufacturer's rule of thumb in a marketing article dated 15 August 2023, credited to an editorial team, and restated in different words on other pages of the same site. It is quoted and attributed as Latham's guidance for vinyl liners. **It is not promoted into a general drawdown limit and does not modify refusal 5**, which requires a sourced engineering sentence, not content marketing. **Whether refilling reverses liner shrinkage is still unestablished.** No manufacturer statement either way was found in two passes. V1 does not say it is reversible and does not say it is not. - **New cementitious finishes** are a different problem from uplift. The National Plasterers Council says a fill, once started, must not be interrupted, because "any interruption in the fill can cause an unsightly discoloration, or bowl ring, at the level where the water was stopped," and that "the interior finish be fully submersed as soon as practical, to avoid an increase in shrinkage cracking, or the potential for debonding of the interior finish from the substrate." That is finish guidance for a **new** interior, not a safe-drawdown number for an old shell. V1 therefore computes a drain volume and **never** returns "safe," "unsafe below X inches," or a maximum percent. ### 1.4 A measured drop in inches is a net water loss, not an evaporation model, and there is no numeric leak threshold to publish Gallons from a vertical drop are geometry: ``` gallons = surfaceAreaFt2 * dropInches * 7.48052 / 12 ``` `7.48052` is the site's fixed gallons per cubic foot. One inch over one square foot is **0.6233766667 gallons**. The result is the volume that left the basin between two readings. It includes evaporation, splash-out, backwash, and any leak that occurred in the same interval. It is the same class of measurement as the heating calculator's overnight thermometer drop: true for those hours, not a weather model, not a forecast. DWR's CIMIS reference evapotranspiration (ETo) is **grass-reference** evapotranspiration from the ASCE Penman-Monteith equation. It is not pool evaporation. No factor converting ETo to a residential pool is frozen here, and no "typical Southern California inches per week" is published, because publishing one would become the model this finding rejects. The bucket test (a bucket of pool water set in the pool, levels marked, pump off, no swimmers, compared after a day) is the discriminator between "the whole surface lost water" and "the pool lost more than an isolated bucket." It has error sources (rain, an auto-fill, a sheltered bucket, splash, a bucket that leaks). It belongs on the planned `/pool-losing-water/` page. **This calculator does not run it and does not emit "call a leak company" at any rate of loss.** No primary source supplied a defensible gallons-per-day cutoff for this climate. --- ## 2. Scope V1 computes three operations. A figure from one is never displayed as a result of another. | Operation | Computes | Does not compute | |---|---|---| | **Initial fill** | Gallons to fill the empty pool (the handed-off volume). Duration, if a measured fill rate is supplied. Commodity cost, if the reader supplies a price that they assert applies, or the tier blocks remaining on their bill | Whether the pool should have been emptied. A plaster cure schedule. A water-truck quote | | **Top-off** | Gallons from a measured drop in inches and the handed-off surface area. Duration and commodity cost on the same terms as a fill | An evaporation forecast. A leak diagnosis. Splash separated from evaporation | | **Partial drain and refill** | For the procedure the reader selects (batch or continuous): volume of pool water to remove, volume of fill water, resulting CYA if a current and a target reading are supplied. Commodity cost of the **fill water** on the same price rules. A hazard statement on every batch result | A safe depth. A permit. A destination for the drained water. A new calcium, alkalinity, or TDS number, unless the reader typed both the pool reading and the fill-water reading. A chlorine dose. That last item is `chlorine-v1.md` | Server rendering follows the heating calculator. With JavaScript off, the page shows one **labeled example** (validation case E1 below) and states that the prices and the flow in the example were typed in, not looked up. A missing price never becomes a regional average. A missing flow never becomes a hose assumption. `pp.pool`, when present, supplies `gallons`, `surfaceAreaFt`, `averageDepthFt`, `shallowFt`, `deepFt`, and, when the chlorine calculator has written it, the current CYA. This calculator does not ask for volume or surface area again and does not write a second volume. Handoff. It runs one way in rev 4: - **In.** Current CYA, if the chlorine calculator stored it, prefills the partial-drain current-CYA field. The reader can overwrite it. A prefilled value is still a reading, not a default the page invents. - **Out. Nothing is written.** The resulting CYA is displayed and goes no further. It is a **prediction about water that has not been replaced yet**, and the key the chlorine calculator reads holds a **measurement**. A prediction placed in that key is consumed as one — by the chlorine calculator, and by this page's own prefill on the reader's next visit, which would then show a CYA the pool has never had. The reader performs the drain, retests, and enters the new reading themselves. No free-chlorine number is written either. **Changed in rev 4**: rev 3 required the write. See refusal 17 and case E24. --- ## 3. Required inputs Absent means the dependent output is omitted, not guessed. | Input | Unit | Source | If absent | |---|---|---|---| | Operation | initial fill / top-off / partial drain | Reader | Nothing is computed | | Volume | US gallons | `pp.pool.gallons`, else reader | No fill gallons, no dilution, no duration, no cost | | Surface area | square feet | `pp.pool.surfaceAreaFt` | Top-off gallons are refused. Initial fill and dilution do not need it | | Shallow and deep end depth | feet | `pp.pool.shallowFt`, `pp.pool.deepFt` | The exact waterline drop is not computed. See 4.4 for the fallback and its label | | Measured fill rate | gallons per minute, of the hose arrangement that will actually be used | Reader, timed (method below) | Duration is omitted. Gallons are still shown | | Commodity price | dollars per billing unit, **or** up to four blocks of (units remaining at this price, price) | Reader, from the bill in front of them | Gallons and, if measured, duration. **No money** | | Gallons in one billing unit | gallons | Reader, the sentence printed on their bill | Required whenever a price is entered. Not defaulted to 748. See the San Diego / LADWP disagreement in finding 1.1 | | Price applies to every unit of this fill | yes / no | Reader | If no, the flat price is refused and only the block form is accepted | Top-off adds: | Input | Unit | If absent | |---|---|---| | Drop | inches, positive | No top-off result | | Interval the drop was measured over | hours | Gallons are still computed. A rate in gallons per day is **not** computed, so the page cannot be read as an evaporation forecast | Partial drain adds: | Input | Unit | If absent | |---|---|---| | Procedure | batch / continuous. **Default is batch** when the control is untouched. Continuous is opt-in | Untouched means batch. A blank that is not the default control (API with the field omitted) refuses the dilution. The two procedures are never combined | | Current CYA | ppm, greater than 0 | Dilution fraction is refused. A reader-entered drain volume can still be costed as a fill of that volume, with the hazard statement, but it is not described as achieving a CYA target | | That reading was the highest the test can show | yes / no. **Default is no** | Untouched means the figure is a measurement. **Yes** makes it a lower bound and the dilution is refused (refusal 16). The top of the scale is the reader's kit's, not a constant in this spec: it is commonly 100 ppm on a turbidity tube and higher on some strips | | Fill source | potable mains or potable well / anything else | Untouched means potable. Anything else refuses the dilution (section 4.4 assumption 2). The hazard text and the geometry are still shown | | Target CYA | ppm, strictly less than current, strictly greater than 0 | Same as above. Target 0 is a full drain and is refused | | Shell | cementitious / vinyl / fiberglass / unknown | The result is still computed. The hazard text is the unknown-shell text, which does not name a safe depth for any shell | Optional, never defaulted: | Input | Effect | |---|---| | Fill-water concentration of one constituent the reader has tested (calcium, alkalinity, or TDS), plus the pool's current reading of **that same** constituent | One blend result for that constituent. No other constituent is inferred | | A delivered-water price the reader already has in writing (dollars per load and gallons per load) | A second cost line, equal to the number of loads implied by the fill volume. V1 has no market price for trucked water | ### Measurement protocol for fill rate The reader times the arrangement they will use: same bib, same hose, same nozzle removed or left as it will be, no second hose opened during the test unless that second hose will run during the fill. 1. Use a container of known volume. A 5-gallon bucket is enough. The volume is an input, not a constant. 2. Time a fill of that container from empty to the mark, in seconds. Repeat **three** times without changing the arrangement. 3. If the slowest time is more than **10 percent** above the fastest, the test is invalid. Something changed (a kink, an irrigation station, a pressure drop). Do not average an invalid test. 4. If valid, the rate is the container volume divided by the **median** time. 5. The rate is not portable to a different hose, a longer hose, or two hoses on the same supply. Two open hoses are not the sum of two tests run one at a time, because the supply pressure falls when both are open. Measure the arrangement that will actually run. ``` gpm = (container_gallons / median_seconds) * 60 ``` --- ## 4. Method ### 4.1 Constants | Constant | Value | Where it is used | |---|---|---| | Gallons per cubic foot | **7.48052** | Geometry only: inch-drop, waterline drop, and any cubic-foot conversion. Already fixed on this site | | Gallons per HCF or CCF | **no site constant** | Whatever the reader's bill prints. LADWP, IRWD, EMWD and the Long Beach rate ordinance print **748**. San Diego's water-rate page prints **748.05**. Riverside publishes no conversion at all. 100 x 7.48052 = **748.052**, which matches none of those bill sentences exactly. Do not "correct" a bill to 748.052 | Fixed meter charges, sewer charges, taxes, and drought penalties are **excluded** unless the reader has typed them into a block price on purpose. V1 will not peel them out of a number the reader says is their commodity rate, and it will not add them on its own. ### 4.2 Initial fill Assumption: the pool is empty, and the handed-off volume is the volume of water the basin holds at the operating level. Evaporation during a multi-day fill is ignored. For a 20,000-gallon fill that omission is well under a percent per day of typical surface loss; it is still an omission, and the result is not called an as-built meter reading. ``` V_fill = V hours = V_fill / (gpm * 60) only if gpm was measured ``` Cost: section 4.5, applied to `V_fill`. A new cementitious finish is not a separate equation. The NPC sentences in finding 1.3 are attached to an initial-fill result as a warning, not as a maximum duration. The calculator does not say the plaster succeeded or failed. Cross-connection, not a flow equation: a hose end held under water can siphon pool water back toward the house if supply pressure drops. The operational control is an air gap (hose end above the rising surface). V1 does not compute a backflow risk score. ### 4.3 Top-off Assumption: the surface area is the free surface at the operating level, walls are vertical over the small drop being measured, and the drop is a true vertical measurement (a ruler at the tile, not a guess from a step). A sloped waterline or a stained tile read wrong dominates the error. V1 does not correct for it. ``` V_top = surfaceAreaFt2 * dropInches * 7.48052 / 12 ``` `V_top` is **net water lost during the measurement interval.** Cost and duration, if inputs exist, use `V_top` and sections 4.2 and 4.5. No gallons-per-day figure is shown. **Display rounding for top-off is two decimal places of a gallon**, not the nearest gallon. A quarter-inch drop on a small pool is tens of gallons, and rounding that to a whole number discards a digit the reader can actually act on. The nearest-gallon rule in 4.4 applies to partial-drain volumes only. ### 4.4 Partial drain **Common assumptions, named here because the equations are false without them.** 1. CYA is uniform and dissolved. The water that remains at the start of a batch drain is still at `C_current`. 2. **The fill is potable water from the mains or a potable well, and is assumed to carry zero CYA.** Cyanuric acid enters a pool from stabilised chlorine products or from a direct addition of the acid, not from a drinking-water supply. This spec **assumes** a potable supply contains none; it does not cite a water quality report for that, and section 8 gap 4 already records that the LADWP constituent table was never extracted. **The direction of the error is stated rather than hoped about.** With a fill concentration `c > 0`, the batch fraction needed is `(C0 - Ct) / (C0 - c)`, which is **larger** than `1 - Ct/C0`. Assuming zero therefore **understates** the water required, which is the same wrong direction as a drop figure that reads low. It is an optimistic assumption, not a conservative one, and that is precisely why it is confined to the one source where it is defensible. The assumption is **false, and the dilution is refused rather than approximated**, when the fill is trucked pool water, water pumped from another pool, reclaimed or recycled water, or any source whose chemistry the reader cannot state. V1 offers no box for a non-zero fill CYA: nobody can fill it from a water bill, and a guess there propagates straight into the drain volume. For those sources the reader still gets **the hazard text of section 4.6** and no dilution figure. The waterline drop is refused too, for the same reason as in refusal 16: it is computed from `f`. **Precedence.** When the fill source is unsupported *and* the reading is capped, this assumption is reported, not refusal 16. The source invalidates the equation; a capped reading only invalidates one of its inputs. An implementation must test the source first so that the reader is told the more fundamental thing. 3. No CYA is destroyed or created during the procedure (finding 1.2). 4. The volume refilled equals the volume removed. Splash and evaporation during the job are ignored, as in 4.2. 5. Test-kit error is not given an uncertainty band. CYA readings are coarse. Results are displayed to the nearest **1 ppm** and the nearest **1 gallon** only after the exact value is computed. The spec's validation cases keep the exact value. **Batch is the default**, because that is the procedure a homeowner performs: pump water out, then fill. Continuous overflow is selectable. It is not the default, because it is a different equation and a different hazard, and a silent default would hide which one the number belongs to. **Order on a batch result.** The hazard text in section 4.6 is printed **before** any gallon figure. Then, and only then, the volumes. #### 4.4.1 The implied waterline drop This figure is part of the hazard statement, so it must not read low. It is computed exactly **for the solid this spec models**, and labelled where even that is unavailable. **What is modelled**: vertical walls, a constant width, and a single straight slope from the shallow-end floor to the deep-end floor. Nothing else. A pool with a tanning ledge, a bench, a Baja shelf, steps, a spa spillover, a varying width, or more than one slope **is not this solid**, and the figure for such a pool is an approximation whose direction is not established — a bench near the waterline removes volume from the top of the pool and makes the real drop *larger* than this, while a deep-end hopper narrower than the pool makes it *smaller*. Neither is modelled, so neither is claimed. Everywhere below, **"exact" means exact arithmetic on the modelled solid.** It is never a claim that the solid is the reader's pool. The result is displayed to two decimal places because that is the precision of the arithmetic, not the precision of the pool, and the hazard text's job is to stop a reader reading either as a clearance. The water surface area of a pool with vertical walls stays constant as the level falls, but only until the level reaches the shallow-end floor. Below that the wetted area shrinks and the level falls faster per gallon removed. `f x averageDepthFt` is exact above that point and **understates the drop below it**, which is the wrong direction for a hazard figure. **When `shallowFt` and `deepFt` are both present** (vertical walls, floor sloping between them): ``` avg = (shallowFt + deepFt) / 2 if f <= shallowFt / avg: dropFt = f * avg else: dropFt = deepFt - sqrt( 2 * (deepFt - shallowFt) * avg * (1 - f) ) ``` Surface area cancels out of both branches and is not needed. The first branch is the constant-area case. The second is the wedge remaining once the shallow end is dry. The two agree exactly at the boundary `f = shallowFt / avg`. A flat-bottomed pool is the case `shallowFt == deepFt`, where `shallowFt / avg` is 1, the first branch always applies, and the result is `f x averageDepthFt`. That equality, not `pp.pool.shape`, is the test for a constant-area prism. Shape is a name, not a geometry: a rectangular pool with a deep end is not a prism, and in this codebase almost every pool has a shallow and a deep end. **When either depth is missing**, fall back to `dropFt = f * averageDepthFt` and label it: > Vertical-wall assumption. If this pool has a deep end, the waterline will fall further > than this. **When `averageDepthFt` is also missing**, print no foot figure at all. Do not back one out of gallons and surface area. The foot figure never gates the gallons. It is printed first, and the gallons follow. > If the walls are vertical, the waterline falls by dropFt feet. That is geometry. > It is not a clearance. This calculator has no depth that is safe and no depth that > is forbidden. Four feet is not a limit. Worked, so the sentence cannot drift: volume 20,000 gal, shallow 3 ft, deep 7 ft (`averageDepthFt` 5), CYA 100 to 20, so `f = 0.8`. Since `0.8 > 3/5`, the second branch applies and `dropFt = 7 - sqrt(2 x 4 x 5 x 0.2) = 4.1716`. The page says the waterline falls by **4.17 feet**, says that 4.17 feet is not a pass and not a fail, and **then** prints 16,000 gallons. The same pool with a flat 5-foot floor gives 4.00 feet and the same 16,000 gallons. Same volume, same average depth, different waterline: that is why the depths are read rather than the shape name. **Batch equations.** The drained water all leaves at `C_current`. Fill water CYA is 0. ``` f = 1 - (C_target / C_current) V_drain = V * f V_fill = V_drain C_final = C_target dropFt = see 4.4.1 ``` If `f` is not strictly between 0 and 1, refuse (section 5). **Continuous** has no `dropFt`. Do not print one. Perfect mixing, constant volume, water leaves at the current concentration, which is falling the whole time. ``` V_out = V * ln(C_current / C_target) V_fill = V_out C_final = C_target ``` Level is assumed constant, so this procedure has **no drawdown**. The uplift warning attached to batch is not attached to continuous. A different warning is: the water leaving is chemically treated water, and where it may go is not decided by this calculator (refusal 8). **Other constituents**, only when the reader supplies both readings for the same one. One blend equation serves both procedures, but the fraction it takes is **not** the volume ratio, and rev 3 was wrong to say it was: ``` C_new = C_pool * (1 - f_eff) + C_fill * f_eff batch: f_eff = V_drain / V continuous: f_eff = 1 - exp( -V_out / V ) ``` `V_out / V` is a **throughput ratio**, not a mixing fraction. The error it causes has two regimes, and the mild one is the more dangerous. **Below a 63.2 percent reduction** (`1 - 1/e`), the ratio is still under 1 and rev 3's `f_volume = V_fill / V` returns a number that *looks* fine. On E11's pool run continuously it gives **291.63 ppm** where the correct answer is **260.0** — wrong by 31.6 ppm, and still sitting between the 200 ppm pool and the 300 ppm source, so no range check and no reading eye would catch it. **Above that threshold** the ratio passes 1 and the pool's own water takes a negative weight. On a 10,000 gallon pool at 300 ppm filled from a 100 ppm source with 16,094 gallons of throughput, rev 3's form returns **-21.88 ppm**, a negative concentration. The exponential form returns **140.0**. Case E22 pins both regimes, because an implementation could be fixed for the obvious one and still be wrong for the quiet one. The defect reached this document and the Python mirror; it never reached the shipped block, which implements no constituent blend at all. Where the continuous volume is the one this section computes, `exp(-V_out / V)` is `C_target / C_current` by construction, so `f_eff` collapses to the batch `f` and the two procedures blend **identically**. That is worth stating plainly: **the two procedures differ in how much water they use, not in the chemistry of the water they leave behind.** The identity is a check on an implementation rather than a licence to use the batch fraction. If a reader ever supplies a throughput that is not the volume this spec derives, the exponential is the form that stays correct and the ratio is the form that goes negative. Direction is not assumed. If fill water is harder than the pool, hardness rises; if softer, it falls. Southern California imported water is a blend of sources that changes by retailer and by year (LADWP's 2025 report: 44 percent Los Angeles Aqueduct, 52 percent MWD). **No hardness, alkalinity, or TDS number from that blend is frozen in this spec**, because the 2025 LADWP report's constituent table was not extracted and a regional average would be the wrong tap anyway. Chlorine, cyanuric acid's effect on the chlorine target, and any salt residual are not run through this blend in V1. The new CYA is handed to the chlorine calculator. Salt is mentioned in exactly one place: discharge rules. The County of San Diego's 5 June 2026 bulletin says saltwater pools are prohibited from draining to the storm drain. That is a legal constraint on where water may go, not a chemistry output. ### 4.5 Commodity cost Let `U` be the gallons the reader says are in one billing unit. ``` units = V_priced / U ``` `V_priced` is `V_fill` for an initial fill, `V_top` for a top-off, and `V_fill` for a partial drain (the drained water is not bought; the refill is). **Flat assertion.** Allowed only when the reader says this price applies to every unit: ``` cost = units * price_per_unit ``` **Blocks.** At most **four** blocks. Each block has three fields: | Field | Type | Meaning | |---|---|---| | `units_remaining` | number, or omitted | How many billing units are left in this tier on the current bill. Required unless `open_ended` is true | | `price_per_unit` | dollars | The price printed for that tier | | `open_ended` | boolean | True only on the **last** block. Consumes every unit not yet assigned. `units_remaining` is ignored | Blocks are consumed in the order entered. ``` units_left = V_priced / U cost = 0 for each block in order: if block.open_ended: cost += units_left * block.price_per_unit units_left = 0 stop take = min(block.units_remaining, units_left) cost += take * block.price_per_unit units_left -= take if units_left > 0: refuse the cost ``` A fill that spans three tiers is three blocks. Example: 5 units left at the first price, 10 at the second, and an open-ended third at the third price. The calculator does not know the household's remaining allowance. The reader types those three numbers. If they know only "I have 5 HCF left at tier 1" and do not mark an open-ended remainder, the cost is refused once those 5 are used up. The gallons are still shown. Display money is **round half up** to the cent. Validation cases below give the unrounded value so an implementation can be checked before rounding. Absolute tolerance before cent-rounding: **$0.0001** and **0.001 gallon**. ### 4.6 What a partial-drain result must say, every time On every batch result, in this substance if not in this wording: - This is a volume and a concentration, not a statement that the pool can be lowered. - No maximum drawdown is known for a pool whose water table and relief valve have not been examined. No model code or Southern California regulation publishes one. - Fiberglass manufacturers commonly treat draining, or letting the level fall below the skimmer, as voiding the structural warranty. The reader must read their own warranty. - One manufacturer attributes a specific visible symptom to draining: a crack with visible protrusions on the interior surface indicates hydrostatic pressure beneath the pool has exceeded the internal water pressure. - For vinyl liners, Latham's own guidance is not to drain beyond half the total volume, and that a complete drain can shrink or tear the liner. Whether refilling reverses shrinkage is not established in any source this spec found. - The resulting CYA is the figure the procedure is **designed to reach**, not a reading. Retest after the refill. Nothing on this page changes the CYA reading the chlorine calculator is holding, because that one is a measurement and this one is a prediction (refusal 17). - The refill will move every dissolved constituent toward whatever is in the tap, not only CYA. Calcium, alkalinity, and TDS are computed only if the reader supplies both numbers. - The drained water is a discharge. Legal destination and the chlorine ceiling are local, and the ceilings in force in this region do not agree (refusal 8). This result is not a permit. On a continuous result, omit the drawdown sentences and keep the discharge sentences. When `C_target` is below **30 ppm**, add the NSW Health warning and do not block the arithmetic. See refusal 7, which was considered and rejected as a hard stop. --- ## 5. Refusals 1. **Full drain.** A target of 0 ppm, a requested replacement of 100 percent of the volume, or an operation described as emptying the pool produces no drain volume, no cost, and no duration. Reason: finding 1.3. An initial fill of a pool that is **already** empty is operation 1, and it does not contain advice to have emptied it. A 90 percent batch drain is **not** reclassified as a full drain. There is no sourced line at which "partial" becomes "full," and drawing one would be the safe-drawdown number refusal 5 exists to prevent. The hazard text in section 4.6 is the control. 2. **Cost without the reader's rate and the reader's billing unit.** No tariff is embedded. No MWD acre-foot rate is converted. No "Southern California average" is substituted. A fixed meter charge is never added. Sources: finding 1.1. 3. **An assumed hose flow.** Published casual figures for a garden hose disagree because pressure, diameter, length, and fittings are not controlled. The timed-container protocol in section 3 is the input. No duration is shown without it. 4. **A modelled evaporation rate in place of a measured drop.** ETo is not pool evaporation. No regional inches-per-week value is an input. Sources: finding 1.4. 5. **Any safe drawdown fraction, depth, or "OK to drain" flag.** No authoritative source stated one for an unexamined residential pool, across two independent search passes covering ISPSC, ANSI/PHTA/ICC, IAPMO, the California Building Standards Code and Southern California municipal codes. A single-site engineering example is not generalised. An unknown relief valve is not treated as a working one. Latham's half-volume rule of thumb for vinyl liners is quoted as that manufacturer's guidance and is **not** adopted as a limit: it appears in a marketing article, not in an engineering document, and refusal 5 requires the latter. 6. **A partial drain presented as affecting only CYA.** The blend equation is available only for a constituent the reader measured in both the pool and the fill. Otherwise the result says the other constituents move and does not name their new values. No default Southern California hardness is used. The LADWP source blend (44 percent aqueduct / 52 percent MWD in 2025) shows why a default would be wrong even inside one city: the tap is not one water. 7. **A hard floor on the CYA target, below which the arithmetic is refused.** Considered, and rejected. There is no level at which sunlight protection "stops." NSW Health (fact sheet last updated **21 April 2017**) states that without cyanuric acid about **65 percent** of free chlorine remains after one hour of strong sun; loss is reduced to about **12 percent** at 10 mg/L, **5 percent** at 20 mg/L, **3 percent** at 30 mg/L, and **2 percent** at 40 mg/L, and that "further addition [of] cyanuric acid does not produce any substantial benefit." That is a diminishing curve from a state health department, last updated in 2017, not a US residential code minimum. The MAHC annex's **15 ppm** figure is the ceiling for a **public-venue Cryptosporidium remediation**, because a 3-log oocyst inactivation "was achieved with 16 ppm CYA and was not achieved with 50 ppm CYA." It is not the level at which chlorine becomes unprotected from sunlight. A 2024 review's paraphrase of an "American standard" of 10 / 30–50 / 150 mg/L was **not** found in the MAHC and is not used. V1 therefore **warns**, and does not refuse, when the target is under 30 ppm. That warning is the NSW curve. It is not a second CYA policy. **On 90 ppm.** The MAHC sets it as a requirement in the code language: 5.7.3.1.3.2, "The CYA concentration at all AQUATIC VENUES shall remain at or below 90 ppm (mg/L)." The annex's separate observation that 90 ppm "should be considered protective from a toxicological perspective" is the reasoning behind that limit, not a different claim about a coincidentally equal number. `chlorine-v1.md` section 9 adopts the MAHC figure and states that above 90 ppm CYA comes down only by replacing water. This calculator is that replacement. It reads the current CYA the chlorine page stored and shows the resulting CYA as a prediction. It does **not** write that prediction back into shared state (refusal 17), and it does not restate the chlorine target. The reader drains, retests, and enters the measurement. A target still above 90 ppm gets the section 9 sentence: the only way this CYA comes down further is more water replacement. The MAHC remains a model code for public aquatic venues and is not law for a home pool. **300 ppm** is the 5th edition's immediate-remediation trigger (5.7.3.1.3.3, "shall remain closed until immediate remediation has occurred") and appears again at 6.6.3.1 as an imminent health hazard when bathers are present. It is a warning here, not a refusal. 8. **A legal discharge destination, or a single dechlorination ceiling.** Local rules retrieved the same week do not match, and they are not averaged: - City of La Cañada Flintridge pool-drainage fact sheet: "Chlorine residual in the discharge shall not exceed **0.1 mg/L**." - San Luis Obispo County fact sheet: residual chlorine shall not exceed **0.1 mg/L**, pH between 7.0 and 8.0, and the sewer agency must be contacted before a sewer discharge. - City of Pasadena: dechlorinate to chlorine **< 1 mg/L**, pH **7.2–8.0**; backwash, diatomaceous earth, and acid-wash water are prohibited to the storm drain. - County of San Diego bulletin, **5 June 2026**: storm-drain discharge only if dechlorinated to **less than 1 ppm** chlorine or bromine, pH **7.2–8**, no algae or suspended solids; **saltwater pools are prohibited** from the storm drain; the bulletin tells residents to call their local stormwater department because cities differ. V1 states that the water is a regulated discharge, that chlorine ceilings in published local fact sheets include both 0.1 mg/L and 1 mg/L, and that the reader has to follow the agency that owns the pipe. It does not choose the pipe. 9. **A sewer credit subtracted from the cost.** Some agencies have an adjustment process. It is not common enough, and not uniform enough, to price. - **Los Angeles Sanitation** (SSC mailer, rates starting January 2026): a customer "may qualify" for an adjustment if they "refilled an empty swimming pool" during the winter rainy-season window, and some requests must be in within **30 days** of the bill. The SSC itself is computed from **winter** water use and then held roughly constant. A summer fill may never enter the sewer charge. The credit is an application, not a formula. - **EMWD** residential sewer blocks are based on **household size**, not on metered water used for a fill. - **San Diego** single-family sewer, rates effective 1 January 2026, uses a base fee plus **$5.92 per HCF** tied to winter water-use history, with a cap, not a line item for pool gallons. V1 does not subtract sewer. It does not claim the fill is free of sewer charges either. 10. **Enzyme, bacterial, melamine, or ultraviolet CYA removal as a term in the equation.** Guo et al., *Journal of Industrial Microbiology and Biotechnology* (2022) 49:kuab084, is a laboratory procedure for a cell-free cyanuric acid hydrolase. It is not a measured performance for a product a homeowner pours in a pool, and no such product trial from a party other than a vendor was verified here. Melamine precipitation is a real reaction and not a homeowner procedure this calculator will dose. Vendor "CYA reducer" claims are tier 5 until an independent measurement exists. The dilution equations assume they remove **zero** CYA. 11. **A leak verdict.** No gallons-per-day threshold. The bucket test is out of scope, on `/pool-losing-water/`. 12. **A stored drought rule.** The State Water Resources Control Board's conservation page, as retrieved **9 October 2026**, states: "As of June 5, 2024, the State Water Board's statewide water conservation emergency regulations have expired" and "there are no current statewide water conservation emergency regulations." It also says local suppliers may be stricter. That page has a short shelf life. V1 does not encode "pools may be filled in California." A shortage stage, when one is declared, can change the price (budget penalties) and sometimes the permission. Both stay on the retailer's side of the bill the reader is asked to type in. 13. **Water-truck competitiveness.** No sourced Southern California delivered price was verified in two passes. Operators surveyed publish a quote request rather than a price sheet. A secondary aggregator's "$200 to $600 average cost per truckload" is not a vendor's published price and is not used. A price the reader has in writing may be applied as arithmetic (section 3). A comparison to "typical truck rates" is refused. 14. **Summing hose tests that were not run together**, inside the calculator. The input is one measured rate for the real arrangement. The calculator does not multiply by a hose count. 15. **Extending a tier schedule past the blocks the reader entered**, unless the last block is explicitly open-ended. 16. **A dilution computed from a CYA reading that was at the top of the test's scale.** A capped reading is a **lower bound, not a measurement.** Because `f = 1 - C_target / C_current` increases with `C_current`, a lower bound on the reading produces a lower bound on `f`, and that **understates the water** — the one direction a hazard-adjacent figure must never err in. A reader whose true level is 160 ppm, reported as "100, that is as high as it goes", is told to replace 12,000 gallons of a 20,000 gallon pool and finishes at **64 ppm** while the page claims 40. V1 refuses `f`, the drain volume, the fill volume, the final CYA and the cost. The hazard text and the geometry are unaffected and still shown, because they never depended on the reading. The reader is told that a number is obtainable by testing a 1:1 mix of pool water and CYA-free water and doubling the result, which is **arithmetic and needs no citation**; the kit maker's own sample volumes and scale top are not quoted here (gap 12). The top of the scale is the reader's kit's, not a constant in this spec. Case E23. **What survives the refusal is the hazard text of section 4.6, and only that.** Those bullets — uplift, the unknown relief valve, the warranty positions, the discharge rules — never took a CYA reading as an input, and a reader planning a drain needs them whether or not a volume can be produced. The **waterline drop is refused with the rest**, because 4.4.1 takes `f` and `f` is exactly what a capped reading destroys. An earlier draft of this refusal said the geometry was unaffected; that was wrong. 17. **Writing a predicted figure into state another calculator reads as a measurement.** The resulting CYA of a partial drain is a prediction about water that has not been replaced. The key `docs/chlorine-v1.md` section 9 reads holds a reading the owner took with a test kit. Putting a prediction there makes every downstream consumer treat it as one, including this page's own prefill, which would greet the reader on their next visit with a CYA their pool has never had and no indication that the page itself invented it. The figure is displayed, labelled as the target of the procedure, and goes no further. **Rev 3 required the opposite and the shipped calculator did it.** The general rule this refusal states: *a computed value may be displayed anywhere, and may be stored only where the thing reading it knows it is computed.* Case E24. 18. **A provision written for public aquatic venues, presented as bearing on a home pool.** This spec cites public-venue documents throughout — the MAHC above all — and that is legitimate **only while the scope is said out loud each time**, as refusal 7 does for 90 ppm and 300 ppm. It stops being legitimate when a public-pool rule is used as evidence about what is required, permitted or normal for a residential pool. Rev 3 did exactly that with North Carolina's 15A NCAC 18A .2500, a document titled "RULES GOVERNING PUBLIC SWIMMING POOLS", scoped by G.S. 130A-280 to public swimming pools, in which the word "residential" does not appear. The quote was also truncated before the condition that governs it. Two failures in one citation, both in the direction of sounding more authoritative than the source was. The citation is withdrawn, not repaired. **Any future jurisdictional claim must name the scope of the document in the same sentence as the quote**, and must quote the sentence to its end. --- ## 6. Validation inputs and expected outputs Geometry constant: `7.48052`. Money in the "display" column is round-half-up to the cent. Tests should assert the unrounded value to the digits shown, then the display. Absolute tolerance before cent-rounding: **$0.0001** and **0.001 gallon**. Do not require bit-identical floats. These prices are **inputs to the test**, as if a reader had typed them. They are not lookups the implementation may perform. Where a price happens to equal a published tariff, that is stated so nobody "helps" by refreshing it from the web. ### E1 — labeled server example (initial fill, flat assertion) Reader asserts that **$11.794 per HCF** applies to every unit, and that one HCF is **748 gallons**. Volume **20,000**. Measured rate **7.5 gpm**. ``` units = 20000 / 748 = 26.737967914438503 HCF cost = 26.737967914438503 * 11.794 = 315.3475935828877 display $315.35 hours = 20000 / (7.5 * 60) = 44.44444444444444 display 44.44 h ``` The example label must say the rate and the flow were entered, not that LADWP bills a 20,000-gallon fill at tier 1. (Tier 1 does not contain 26.7 HCF.) ### E2 — the same fill walked across blocks the reader typed Blocks, in order, open-ended on the last: - 5 HCF at $11.794 - 10 HCF at $14.278 - the rest at $15.024 Same 748 gal/HCF, same 20,000 gal. These three prices equal LADWP Schedule A in-city July–December 2026 tiers 1–3. The **block sizes do not.** A real tier-1 allotment is not 5 HCF. The test is of the arithmetic. ``` units = 26.737967914438503 remainder = 26.737967914438503 - 5 - 10 = 11.737967914438503 cost = 5*11.794 + 10*14.278 + 11.737967914438503*15.024 = 378.1012299465241 display $378.10 ``` Difference from E1: **$62.75**. That difference is why refusal 2 exists. ### E3 — billing-unit disagreement, no averaging Same 20,000 gal. Reader says one unit is **748.05 gallons** (the sentence on San Diego's water-rate page) and asserts **$8.51** per unit for every unit (San Diego's first tier only; a real bill would leave that tier. This case isolates the unit conversion). ``` units = 20000 / 748.05 = 26.73618073658178 cost = 26.73618073658178 * 8.51 = 227.52489806831093 display $227.52 ``` The same gallons at 748 gal/unit would be 26.737967914438503 units. The implementation must use **748.05** in this case, not 748 and not 748.052. ### E4 — price absent E1 with the price fields blank. Output is 20,000 gal and 44.444... h. **No dollar figure anywhere**, and no substituted rate. ### E5 — flow absent E1 with no measured gpm. Output includes gallons and $315.35. **No hours.** ### E6 — top-off Surface **450** sq ft, drop **0.25** in. Price absent. Flow absent. ``` V = 450 * 0.25 * 7.48052 / 12 = 70.129875 gal display 70.13 gal ``` Two decimals, per 4.3. No gallons per day, even if the reader also says the drop took 24 hours. The interval is stored only so the page can say "over the period you measured." It is not a rate. ### E7 — top-off with a price the reader asserts E6 plus **$8.51 per HCF**, **748 gallons** per HCF, asserted for every unit. ``` units = 70.129875 / 748 = 0.09375651737967915 cost = 0.09375651737967915 * 8.51 = 0.7978679629010695 display $0.80 ``` ### E8 — top-off refused Drop 0.25 in, volume 20,000 present, **surface area absent.** No gallons. Do not back-calculate area from `averageDepthFt`. ### E9 — batch CYA Volume 20,000. Current 100 ppm. Target 40 ppm. Procedure batch. ``` f = 1 - 40/100 = 0.6 V_drain = V_fill = 12000 gal C_final = 40 ppm ``` Hazard text of section 4.6 is required. No calcium number. ### E10 — continuous, same target ``` V_out = V_fill = 20000 * ln(100/40) = 20000 * ln(2.5) ln(2.5) = 0.9162907318741551 V_fill = 18325.814637483102 gal display 18,326 gal ``` No drawdown sentence. Discharge sentences still required. The two results must not be shown as a range or an average. ### E11 — blend, reader supplied both calcium readings E9, plus pool calcium **200** ppm and fill-water calcium **300** ppm. ``` batch: f_eff = V_drain / V = 12000 / 20000 = 0.6 C_new = 200 * 0.4 + 300 * 0.6 = 260 ppm ``` No alkalinity and no TDS are produced from this input. **Changed in rev 4** in wording only. The fraction was called `f_volume`, and for batch the arithmetic is identical, because `V_drain / V` genuinely is the mixing fraction there. E22 is the case that separates the two. ### E12 — batch target under 30 ppm still computes Current 80, target 20, volume 20,000, batch. ``` f = 1 - 20/80 = 0.75 V_fill = 15000 C_final = 20 ``` Result is shown, with the NSW warning in section 4.6. It is not refused. ### E13 — refusals that produce no dilution | Input | Result | |---|---| | Target 0 | Refusal 1. No volume, no cost | | Target 100, current 100 | No dilution. `f` is not strictly positive | | Target 120, current 100 | Refused. This is not a dilution calculator | | Procedure omitted | No dilution result | | "Empty the pool" | Refusal 1 | ### E14 — blocks that do not cover the volume Volume requires 26.737967914438503 HCF. Reader entered only "5 HCF at $11.794" and did not mark an open-ended remainder. **Cost is refused.** Gallons are still shown. ### E15 — full-drain request does not fall through to an initial-fill price Operation = partial drain, target 0, volume 20,000, a price is present. Output is the refusal, **not** 20,000 gallons at that price. Pricing an empty pool is a different operation, chosen explicitly, and even then it does not say the draining was appropriate. ### E16 — fill-rate protocol Container **5** gallons. Times **48.0 s, 50.0 s, 49.0 s**. Slowest is 4.17 percent above fastest, so the test is valid. Median **49.0 s**. ``` gpm = (5 / 49) * 60 = 6.122448979591836 ``` Times **40 s, 50 s, 48 s**: slowest is 25 percent above fastest. **Invalid.** No gpm. ### E17 — handed-off volume `pp.pool.gallons = 18432` and the reader is not shown a volume field they must retype. Surface area, when the key is present, is used for E6-style maths and is not retyped. Nothing in this spec writes `gallons` back. ### E18 — the drop is printed before the gallons, and does not gate them Batch. Volume 20,000. `shallowFt = 3`, `deepFt = 7`, so `averageDepthFt = 5`. Current CYA 100, target 20. No price. No flow. ``` f = 1 - 20/100 = 0.8 avg = (3 + 7) / 2 = 5 shallowFt / avg = 0.6, and f = 0.8 > 0.6, so the wedge branch applies dropFt = 7 - sqrt(2 * (7-3) * 5 * (1 - 0.8)) = 7 - sqrt(8) = 4.171572875253810 V_drain = V_fill = 16000 C_final = 20 ``` Order of the result: hazard text, including "4.17 feet" and the sentence that 4.17 feet is not a limit, then 16,000 gallons. The gallons are not omitted and not labeled safe. Same inputs with `shallowFt` or `deepFt` missing: still 16,000 gallons, and the foot figure is the fallback `0.8 * 5 = 4.0` carrying the label "vertical-wall assumption; if this pool has a deep end the waterline will fall further than this." Same inputs with `averageDepthFt` also absent: 16,000 gallons, and **no** foot figure. ### E19 — chlorine handoff, inbound only `pp.pool` already holds CYA 100 from the chlorine calculator. Partial drain, batch, target 40, volume 20,000. The current-CYA field is prefilled with 100, and the page says where that 100 came from, because a prefilled value is still the reader's own reading and not a default the page invented. The result displays CYA **40** and **writes nothing**. Not the 40, and not a free-chlorine target. The chlorine calculator goes on applying section 9 to the last CYA the reader actually measured, until the reader measures again. **Changed in rev 4.** Rev 3 required this case to write 40 back, and the shipped calculator did. See E24 and refusal 17. ### E20 — the two branches agree at the boundary Same pool as E18 (`shallowFt = 3`, `deepFt = 7`, `avg = 5`), CYA 100 to 40, so `f = 0.6`. Here `f == shallowFt / avg` exactly, the boundary case. ``` first branch : dropFt = 0.6 * 5 = 3.0 second branch: dropFt = 7 - sqrt(2 * 4 * 5 * 0.4) = 3.0 ``` Both must return **3.0**. An implementation whose branches disagree at the boundary has the inequality the wrong way round. ### E21 — a flat-bottomed pool is the prism case `shallowFt = 5`, `deepFt = 5`, `averageDepthFt = 5`, volume 20,000, CYA 100 to 20, `f = 0.8`. ``` shallowFt / avg = 1, so f <= 1 always holds and the first branch applies dropFt = 0.8 * 5 = 4.0 V_drain = 16000 ``` Identical gallons and identical `averageDepthFt` to E18, but the waterline falls **4.00 ft** here against **4.17 ft** there. That 2.06-inch difference is the whole reason the depths are read instead of `pp.pool.shape`. ### E22 — the continuous blend is not the volume ratio E10's pool (20,000 gal, CYA 100 to 40, continuous, `V_out = 18325.814637483102`), plus E11's calcium readings: pool **200** ppm, fill **300** ppm. ``` f_eff = 1 - exp( -18325.814637483102 / 20000 ) = 1 - exp( -0.9162907318741551 ) = 1 - 0.4 = 0.6 C_new = 200 * 0.4 + 300 * 0.6 = 260.0 ppm ``` **Identical to E11**, because `exp(-V_out / V)` is `C_target / C_current` by construction. The two procedures move different amounts of water and leave the same chemistry behind. The rev 3 form must be shown to fail, not merely left unused: ``` f_volume = V_out / V = 0.9162907318741551 wrong = 200 * 0.0837092681258449 + 300 * 0.9162907318741551 = 291.6290731874155 ppm ``` **This is the regime that matters most, because nothing about 291.63 looks wrong.** It lies between the 200 ppm pool and the 300 ppm source, so it is a concentration those two waters could genuinely produce — just not at this throughput. It is wrong by **31.63 ppm** and a range check passes it. An implementation that only guards against absurd output ships this. A second case drives it unambiguously negative, which is the regime that is easy to catch. Pool **10,000** gal, constituent **300** ppm in the pool and **100** ppm in the fill, continuous throughput **16,094** gal (a 1.609 throughput ratio, past the 63.2 percent threshold): ``` exp(-16094/10000) = 0.20000758263055718 f_eff = 0.7999924173694428 C_new = 300 * 0.20000758263055718 + 100 * 0.7999924173694428 = 140.00151652611143 ppm display 140 ppm rev 3 form: f_volume = 1.6094 C_new = 300 * (-0.6094) + 100 * 1.6094 = -21.879999999999995 ppm ``` A concentration below zero is not a rounding problem. Any implementation that can return it has a throughput ratio where the mixing fraction belongs. Both the 260.0 and the 140.0 must be produced, and both wrong values must be absent — **including the plausible one**, which is the whole reason this case asserts 291.63 by name instead of only testing that the output is physically possible. ### E23 — a reading at the top of the scale is a lower bound, not a number Volume 20,000. The reader reports CYA as **100, flagged as the highest the test can show**, and a target of 40. ``` f at a true 100 ppm : 1 - 40/100 = 0.60 -> 12,000 gal f at a true 160 ppm : 1 - 40/160 = 0.75 -> 15,000 gal removing 12,000 gal from a pool that is really at 160 ppm: 160 * (1 - 0.6) = 64.0 ppm, while the page claims 40 ``` A 3,000 gallon shortfall and a 24 ppm miss, in the direction of doing too little. **Refused** (refusal 16): no `f`, no drain volume, no fill volume, no final CYA, no cost, and **no waterline drop** — 4.4.1 takes `f`, so the drop goes with it. The **hazard text of 4.6 is still shown**, because none of those bullets ever took a reading as an input and a reader planning a drain needs them regardless. That is the whole of what survives: warnings yes, numbers no. With the same inputs and the flag **not** set, this is E9 and computes normally. The flag is the only difference, which is the point: nothing on the page can detect a capped reading, so the reader has to say so. ### E24 — the predicted CYA is not written to shared state `pp.pool` holds CYA **80**, written by the chlorine calculator from a reading the owner took. Partial drain, batch, target **40**, volume 20,000. ``` f = 1 - 40/80 = 0.5 V_drain = V_fill = 10000 gal C_final displayed = 40 ppm pp.pool.cya after the result = 80 <- unchanged ``` Every number on screen is correct, and the stored reading must still be **80**. 80 is what the pool measured; 40 is what the procedure is designed to reach, in water that has not been replaced yet. An implementation that writes 40 here fails this case while displaying nothing wrong, which is exactly how it survived rev 3 and shipped. The second half of the case: reload the page. The current-CYA field must prefill with **80**, offering the reader their own reading, not the page's prediction of what it will become. --- ## 7. Sources Checked **9 October 2026** unless a document's own date is the relevant one. Tier is the hierarchy in the research brief. ### Tier 1 — standards, model code, regulation, tariffs | Document | Used for | Date on the document | |---|---|---| | CDC, *Model Aquatic Health Code*, 5th edition, code language, posted 16 December 2024. https://www.cdc.gov/model-aquatic-health-code/media/pdfs/2024/11/5th-Ed-MAHC-Code-508.pdf | The 90 ppm operating limit is 5.7.3.1.3.2. 300 ppm immediate remediation is 5.7.3.1.3.3, and the imminent-hazard listing is 6.6.3.1. Dilution credits for drain-and-refill are 6.5.3.2.1. Public venues, not a residential permit | 12 December 2024 posting | | CDC, MAHC 5th edition annex. https://www.cdc.gov/model-aquatic-health-code/media/pdfs/2024/11/5th-Ed-MAHC-Annex-508.pdf | "If the CYA concentration is above 15 ppm, the AQUATIC VENUE will need to be partially drained and refilled." 3-log inactivation "was achieved with 16 ppm CYA and was not achieved with 50 ppm CYA." The toxicological reasoning behind the 90 ppm limit set in the code | 2024 edition | | CDC MAHC edition page. https://www.cdc.gov/model-aquatic-health-code/php/our-work/index.html | Confirms the 300 ppm change is in the 5th edition | Page marked 16 September 2026 | | ICC, *International Swimming Pool and Spa Code*, 2024, section 321.1 and definitions. https://codes.iccsafe.org/s/ISPSC2024V1.0/chapter-3-general-compliance/ISPSC2024V1.0-Ch03-Sec321.1 | Hydrostatic valve defined as "A relief valve to allow rising groundwater to enter an empty pool to prevent flotation." 321.1 governs where draining water may go. **No** residential installation mandate and **no** drawdown limit | 2024 edition | | SWRCB, emergency conservation regulation page. https://www.waterboards.ca.gov/conservation/regs/emergency_regulation.html | Statewide emergency conservation regulations expired; none current as of the page's 5 June 2024 statement. Local rules may be stricter | Retrieved 9 October 2026; the page's own "as of" date is 5 June 2024 | | LADWP Schedule A. https://www.ladwp.com/account/customer-service/water-rates/schedule-residential | "one HCF equals 748 gallons." In-city total commodity charge per HCF, July–December 2026: tier 1 $11.794, tier 2 $14.278, tier 3 $15.024, tier 4 $15.024 | Page retrieved 9 October 2026; the table is the department's | | LADWP Schedule A adjustment factors. https://www.ladwp.com/account/understanding-your-rates/water-rate-adjustment-factors | Confirms July–December 2026 factors are the current half-year | Retrieved 9 October 2026 | | City of San Diego, water billing rates. https://www.sandiego.gov/public-utilities/customer-support/water-billing-rates | Effective 1 January 2026. "Each HCF equals 748.05 gallons." Tiers $8.51 / $9.50 / $11.89. Base fee $35.53 | Retrieved 9 October 2026 | | City of San Diego, sewer billing rates. https://www.sandiego.gov/public-utilities/customer-support/sewer-billing-rates | Effective 1 January 2026. Single-family sewer $5.92 per HCF on winter-based use; the page also uses "HCF = 748 Gallons" in one note, which **disagrees with 748.05** on the water page. Reported, not reconciled | Retrieved 9 October 2026 | | IRWD residential water rates. https://www.irwd.com/get-help/understanding-your-bill/usage-rates/residential/ | Effective 1 July 2026. "1 CCF = 748 gallons." $2.18 / $2.92 / $8.03 / $19.32 by percent of a monthly budget | Retrieved 9 October 2026 | | EMWD water budgets and tiered rates. https://www.emwd.org/water-budgets-and-tiered-rates | "each unit equals 748 gallons." 2026 tier prices by service area, including $1.55 / $4.51 / $7.68 / $14.85 | Retrieved 9 October 2026 | | Long Beach Utilities water rates. https://www.lbutilities.org/customer-service/Understanding-Your-Bill-Landing/rates-fees/water-rates | Tier prices effective 1 October 2025, and the exempt / non-exempt distinction. The page does **not** define the billing unit | Retrieved 9 October 2026 | | City of Long Beach Ordinance 17-0019, section 12.A. https://www.longbeach.gov/globalassets/city-clerk/media-library/documents/public-notices/ordinances/ord-17-0019--final- | "'Billing unit' means one hundred (100) cubic feet of water and equals 748 gallons." **Definition only.** The tier prices in this 2017 ordinance ($0.000 / $3.825 / $5.581) are superseded by the current schedule above | Ordinance 17-0019, 2017 | | Riverside Schedule WA-1A (PDF). https://riversideca.gov/utilities/sites/riversideca.gov.utilities/files/images/about-rpu/wa-schedules/Water%20Schedule%20SFR%20%28WA-1A%29.pdf | Per 100 cubic feet. July 1, 2026 quantity rates and the $33.36 customer charge for a 5/8- or 3/4-inch meter. Summer is June–October. Publishes no gallons conversion | Schedule effective 1 October 2023, with later rows dated through 2027 | | CVWD domestic water rates (PDF). http://www.cvwd.org/DocumentCenter/View/897/Domestic-Water-Rates-PDF | Effective 1 July 2025. Budget-based tiers per CCF: $1.09 Excellent (up to 8 ccf), $1.36 Efficient (to 100% of budget), $4.18 Inefficient (101–175%), $4.90 Excessive (176–300%), $7.49 Wasteful (300%+). Tier 1 "is designed to meet indoor water needs of residential customers" | Effective 1 July 2025 | | MWDOC, water rates and charges. https://www.mwdoc.com/your-water/water-rates-and-charges/ | MWD full-service treated volumetric rate **$1,528/AF** on 1 January 2026. Acre-foot "approximately 325,850 gallons." This is wholesale | Retrieved 9 October 2026 | | Calleguas MWD, 2026 adopted water rates (PDF). https://www.calleguas.com/wp-content/uploads/2026/01/2026-Water-Rates-Adopted.pdf | Independently prints MWD Tier 1 treated **$1,528/AF** effective 1 January 2026. Used only to confirm the wholesale figure | January 2026 | | LA Sanitation, sewer service charge adjustments. https://sanitation.lacity.gov/services/sewer-service-charge | Pool refill is on the "may qualify" list | Retrieved 9 October 2026 | | LA Sanitation SSC mailer. https://sanitation.lacity.gov/documents/sewer-service-charge-mailer-en-2025 | "You refilled an empty swimming pool… during the winter rainy season." 30-day note. January 2026 rate $9.28/HCF for the SSC itself | Mailer: current rates starting January 2026 | | LADWP, how the residential SSC is calculated. https://www.ladwp.com/account/understanding-your-rates/residential-sewer-service-charge | SSC follows rainy-season water use, not each period's consumption | Retrieved 9 October 2026 | | EMWD, about block sewer rates. https://www.emwd.org/how-can-we-help/rates-and-fees/wastewater-sewer-blocks-and-rates-0/about-block-sewer-rates | Sewer blocks follow household size | Retrieved 9 October 2026 | | La Cañada Flintridge, pool drainage fact sheet (PDF). https://lcf.ca.gov/wp-content/uploads/2025/06/Pool-Drainage-Guidelines-Factsheet.pdf | Chlorine residual "shall not exceed 0.1 mg/L" | File path dated June 2025 | | San Luis Obispo County, pool drainage fact sheet. https://www.slocounty.ca.gov/departments/public-works/forms-documents/stormwater/pool-drainage-factsheet | 0.1 mg/L chlorine, pH 7.0–8.0, prior contact required | Retrieved 9 October 2026 | | City of Pasadena, pool discharge requirements (PDF). https://www.cityofpasadena.net/public-works/wp-content/uploads/sites/29/Pool-Discharge-Requirements.pdf | Chlorine < 1 mg/L, pH 7.2–8.0 | Retrieved 9 October 2026 | | County of San Diego bulletin, 5 June 2026. https://content.govdelivery.com/accounts/CASAND/bulletins/41964ab | Less than 1 ppm chlorine or bromine, pH 7.2–8, saltwater pools prohibited from the storm drain, local rules vary | 5 June 2026 | | DWR, Spatial CIMIS ETo. https://data.ca.gov/@california-department-of-water-resources/spatial-cimis-eto-maps-daily-reference-evapotranspiration-for-california | ETo is grass-reference, ASCE Penman-Monteith, millimetres per day. Not a pool factor | Dataset page retrieved 9 October 2026 | ### Tier 2 — peer-reviewed and government technical | Document | Used for | |---|---| | Review, "Study on the health risk of cyanuric acid in swimming pool water," *Frontiers in Public Health* (2024), PMC10801151. https://pmc.ncbi.nlm.nih.gov/articles/PMC10801151/ | The sentence that CYA "does not decompose easily or remove naturally from the water," the contradictory UV sentence, and the list of removal ideas (drain-and-replace, melamine, enzymes). **Not** used for its paraphrase of an "American standard" of 10 / 30–50 / 150 mg/L, which was checked against the 5th edition MAHC and not found there | | Guo et al., *J Ind Microbiol Biotechnol* (2022) 49:kuab084. https://doi.org/10.1093/jimb/kuab084 | A laboratory hydrolase procedure exists. **Paywalled; returns 403 to an automated check and the full text was not read.** Cited only to establish that the laboratory work exists, never for a performance figure. Under the brief's access rule this citation cannot carry a published claim on its own, and refusal 10 does not rest on it | | NSW Health, "Stabiliser (cyanurate) use in outdoor swimming pools." https://www.health.nsw.gov.au/environment/factsheets/Pages/stabiliser-cyanurate.aspx | The 0 / 10 / 20 / 30 / 40 mg/L sunlight-loss sentences and "does not produce any substantial benefit." Last updated 21 April 2017. A state fact sheet, not a US code, and old enough that the warning must carry the date | | LADWP 2025 Drinking Water Quality Report, covering 1 January–31 December 2025, announced 23 July 2026. https://www.ladwp.com/who-we-are/water-system/las-drinking-water-quality-report | Source split only: 44 percent Los Angeles Aqueduct, 52 percent MWD. Constituent concentrations were not extracted. No hardness number is taken from this report | ### Tier 3 — manufacturer, quoted | Document | Used for | |---|---| | Tallman Pools limited warranty, page rev. 30 April 2026. https://dealers.tallmanpools.com/documents/TallmanPoolsWarrantySample.pdf | "DRAINING YOUR POOL WITHOUT PRIOR WRITTEN AUTHORIZATION FROM THE MANUFACTURER WILL RESULT IN THIS WARRANTY BEING VOIDED." "THE POOL IS DESIGNED TO REMAIN FULL OF WATER AT ALL TIMES." Clause (g): "A crack with visible protrusions on the interior surface of the Pool indicates that hydrostatic pressure beneath the Pool has exceeded the internal water pressure, typically as a result of the Pool being drained." Publicly accessible despite the dealer subdomain | | Latham fiberglass warranty, rev. 4/26. https://www.lathampool.com/wp-content/uploads/2026/04/2026-Fiberglass-Latham-Warranty.pdf | "Failing to maintain the water level above the skimmer outlet will void the warranty in its entirety." Second independent warranty supporting the fiberglass statement | | San Juan Pools warranty. https://sanjuanpools.com/posts/warranty | "THE FIBERGLASS POOL SHELL MAY CRACK OR BUCKLE IF THE WATER LEVEL FALLS BELOW THE SKIMMER OUTLET." States the mechanism, not only the warranty consequence | ### Tier 4 — trade, and manufacturer marketing | Document | Used for | |---|---| | National Plasterers Council, filling the pool and initial start-up. Live site did not serve on 9 October 2026; archived snapshot 14 December 2025 used instead. https://web.archive.org/web/20251214044220/https://www.nationalplastererscouncil.com/app-on-filling-the-pool-and-initial-start-up/ | "Any interruption in the fill can cause an unsightly discoloration, or bowl ring, at the level where the water was stopped." "The interior finish be fully submersed as soon as practical, to avoid an increase in shrinkage cracking, or the potential for debonding of the interior finish from the substrate." New cementitious finishes only. Not a drawdown limit | | Latham, consumer guidance article, 15 August 2023, credited to the Latham Editorial Team. https://www.lathampool.com/blog/plan/new-york-pool-options/ | "If you drain your pool completely, your liner can shrink or tear." "As a rule, never drain your vinyl liner pool beyond more than half its total volume." **Tier 4, not tier 3:** this is a marketing article templated across per-state landing pages, not a manual or a warranty. Quoted and attributed as Latham's own guidance. Does not modify refusal 5 | | Thursday Pools, fiberglass pool maintenance guide. https://thursdaypools.com/fiberglass-pools/fiberglass-pool-maintenance/ | "Lowering the water level below the skimmer voids the structural warranty." Corroboration only; maintenance guidance rather than a warranty document | | Leisure Pools swimming pool handbook, hosted by a third-party retailer rather than the manufacturer. https://www.1stdirectpools.com/static/version1727861490/frontend/HelloBrave/1stDirectPools/en_GB/guides/Leisure-Pools-Swimming-Pool-Handbook.pdf | "DO NOT EMPTY YOUR SWIMMING POOL… to do so will void your Lifetime Structural Warranty." Corroboration only; not served from Leisure Pools' own domain | ### Tier 5 Forums were not used to settle any number. No competitor calculator was used as a source. Commercial "CYA reducer" claims were not accepted. A cost-aggregator's truckload price range was not accepted. ### Explicitly not used - **North Carolina Administrative Code 15A NCAC 18A .2500** (https://www.dph.ncdhhs.gov/media/1809/open). **Cited in rev 3, withdrawn in rev 4.** Rev 3 quoted it as "A hydrostatic relief valve shall be provided for in-ground swimming pools." The sentence does not end there: it continues "which extend more than two feet below the grade of surrounding land surface unless a gravity drainage system is provided." The quote therefore reported a conditional requirement as an absolute one. Separately, the document is titled "RULES GOVERNING PUBLIC SWIMMING POOLS", G.S. 130A-280 scopes the article to public swimming pools, and the word "residential" appears in it zero times, so it was never evidence about a home pool in the first place. Both failures ran in the direction of sounding more authoritative than the source was. The claim it was attached to — that a reader here cannot assume their pool has a relief valve — survives on the Southern California search that established the absence, and needed no contrast. See refusal 18. - Any single-site "safe drawdown" calculated for a Florida shell. - MWD's $1,528/AF converted into a residential commodity rate. - The Frontiers review's unverified "American standard" CYA band. - A regional evaporation rate derived from CIMIS zones. The zone map exists (DWR / UC Davis, 1999). A pool factor does not, in this spec. - HomeGuide's "$200 to $600 average cost per truckload." Secondary aggregation, not a vendor's published price. - Latham's half-volume vinyl rule as a general drawdown limit. Quoted as that manufacturer's guidance only. --- ## 8. Known gaps 1. **Free-chlorine targets stay in `chlorine-v1.md` section 9.** This spec does not paste that formula. The handoff is defined here anyway, and in rev 4 it runs **one way only**: read the stored CYA in, display the resulting CYA, write nothing back (refusal 17). Section 9 recomputes when the reader retests and enters a measurement. Section 9's rule that above 90 ppm CYA comes down only by replacing water is the reason this calculator exists; it is not re-derived here. NSW Health at 30 mg/L does not modify it. 2. **Riverside publishes no gallons equivalent.** Audited: the schedule, the rate pages and the consumer FAQs were checked and none states a conversion. This is a confirmed absence, not an unexamined gap. It is not a reason to invent 748 for a reader served by them. 3. **Long Beach's definition comes from a 2017 ordinance.** The definition is almost certainly still operative, but it was not confirmed against a later ordinance. The prices in that document are definitely superseded. 4. **LADWP 2025 hardness, alkalinity, and TDS ranges** were not extracted from the water quality report. V2 may quote them as a footnote about why fill water and pool water differ. V1 must not acquire a default blend. 5. **Whether vinyl liner shrinkage reverses on refill** has no manufacturer sentence, after two independent passes. Latham states the damage ("shrink or tear") but says nothing about reversal. Do not add a reversible or irreversible claim without one. 6. **No homeowner drawdown limit exists in any standard examined.** Two passes covered CDC MAHC, ANSI/PHTA/ICC-5 and -16, ISPSC (2012 through 2024), IAPMO USPSHTC and UPC, the California Building Standards Code and Southern California municipal codes. The ISPSC defines the relief valve without mandating it residentially. A later find of a sentence stating a limit would be the first thing allowed to change refusal 5, and it would have to be quoted, not paraphrased, and come from an engineering document rather than consumer marketing. 7. **Trucked water has no verified regional price.** Audited: operators publish a quote request, not a price sheet. Confirmed absence. 8. **Local drought stages** can be declared after this date without a statewide emergency. The drought section should be re-read on a schedule. It must not grow into a table of city ordinances inside the calculator. 9. **The MAHC dilution-credit table** (the numeric log-reduction table added with 6.5.3.2.1) was not transcribed. V1's batch formula is the mass balance for a complete drain of a uniform solution, not a claim that it reproduces that table's log credits. If those credits ever need to be shown, they have to be copied from the annex, not implied. 10. **New-plaster water chemistry** (NPC also says not to fill with soft or reverse-osmosis water, and a startup card exists) is out of scope beyond the interruption warning. Balance targets during a plaster startup are not this calculator. 11. **The National Plasterers Council website was not serving** on 9 October 2026 from two independent networks. The citation uses an archived snapshot. If the site returns, the live URL should be restored and the quotes re-checked against it. 12. **No test-kit maker's own wording for the off-scale CYA dilution procedure is quoted.** Refusal 16's 1:1-and-double is arithmetic and needs no source, and the refusal stands on arithmetic alone. But before that procedure appears in page copy **as a procedure**, a manufacturer's instruction should be quoted, because the sample volumes, the water to dilute with, and where the scale actually tops out are theirs and not ours. Until then the calculator refuses and explains the direction of the error, which needs no citation. The common 100 ppm turbidity-tube ceiling is named in section 3 as common, not as a constant. 13. **Benches, ledges, steps, spa spillovers and varying widths are not in the waterline model** (section 4.4.1). The direction of the error is not established, and no source was sought for it in rev 4, because the hazard text already refuses to treat the figure as a clearance. A V2 wanting a drop figure for those shapes needs a volume-by-depth curve, which is a different input than this calculator asks for. 14. **Closed.** For one working session this gap read: the resulting CYA was not displayed by the shipped block, because in rev 3 the value existed only to feed the shared-state write. The reader never saw the figure at all, and it reappeared later as a prefill that looked like their own reading. Rev 4 removes the write and **adds the display**, as "Predicted CYA after replacement: X ppm" followed by a sentence that calls it a planning figure, states the zero-CYA condition it depends on, and tells the reader to retest and enter the measurement themselves. It is rendered as a secondary note rather than as one of the three headline figures, because it is a plan and the gallons are a result. Refusals 16 and the assumption-2 source test are reachable controls in the same release. Nothing in section 8 is outstanding on the CYA handoff.