From 14a4a455b705675076f959634c9ed2bb09b1e38f Mon Sep 17 00:00:00 2001 From: Andrew Morrissey <77601626+ASM-21@users.noreply.github.com> Date: Fri, 4 Dec 2026 04:40:43 +0000 Subject: [PATCH] Drop the single-utility cut from track 1 Track 1 reported one utility's queue next to the PJM-wide numbers. The data is public, but naming one utility as the worked example reads as insider framing next to the independence disclaimer. The PJM-wide and nine-region results are unchanged. Removes the cut from the README, FINDINGS, the track README, the run script, its output file, the claim table and the tests, and tightens the private-data guard so a bare utility abbreviation is caught too. Co-Authored-By: Claude Opus 5.5 --- FINDINGS.md | 6 ++---- README.md | 3 +-- interconnection-analytics/README.md | 4 ---- interconnection-analytics/run_analysis.py | 9 ++------- .../pjm_ppl_summary.json | 10 ---------- .../interconnection-analytics/pjm_summary.json | 6 ++++++ tests/test_claim_guard.py | 4 ++-- tests/test_interconnection_analytics.py | 6 +++--- tools/check_claims.py | 15 --------------- tools/check_no_private_data.py | 18 +++++------------- 10 files changed, 21 insertions(+), 60 deletions(-) delete mode 100644 outputs/interconnection-analytics/pjm_ppl_summary.json create mode 100644 outputs/interconnection-analytics/pjm_summary.json diff --git a/FINDINGS.md b/FINDINGS.md index 20d984b..9ed8693 100644 --- a/FINDINGS.md +++ b/FINDINGS.md @@ -37,8 +37,8 @@ as given is working on the wrong variable. These bound every number below. They are stated once here rather than repeated. 1. **Region.** Tracks 1, 4 and 6 are PJM-specific in their headline numbers. - Track 1 reports all nine US balancing areas but the PPL and PJM cuts are - the ones emphasized. Nothing here establishes behavior in other RTOs. + Track 1 reports all nine US balancing areas but the PJM cut is the one + emphasized. Nothing here establishes behavior in other RTOs. 2. **Synthetic models where stated.** Track 2's feeders and track 3's load shapes are parameterized archetypes, not measured circuits or metered customers. Their *relative* comparisons hold; their absolute levels do not @@ -99,8 +99,6 @@ and `realtime_backtest()`. **Claim.** In PJM, **68.0%** of mature-cohort requests withdraw against **23.8%** completing. No region in the dataset completes more than 29%. -PPL's own queue (**470 requests**, 49.5 GW) tracks the PJM pattern at -**67.7%** withdrawal and **15.5%** completion, so it is not an outlier. **Scope.** Mature cohorts only: requests entering within 5 years of the record end are excluded, because they have not had time to resolve and their inclusion diff --git a/README.md b/README.md index ec931ee..ca4ea4c 100644 --- a/README.md +++ b/README.md @@ -104,8 +104,7 @@ median, computed over completed projects, describes the minority that finished. Read before a cohort resolves, that median is also truncated: re-reading three fully resolved cohorts at earlier dates, it ran 1.55x to 2.06x low at the close of the entry window. Withdrawal is the modal outcome in every region: PJM sees -68.0% withdraw against 23.8% completing, and PPL's own queue (470 requests, -49.5 GW) tracks that closely at 67.7% and 15.5%. An earlier version reported a +68.0% withdraw against 23.8% completing. An earlier version reported a 5.2x understatement from a survival fit that treated withdrawals as censoring; it is retracted in FINDINGS.md. diff --git a/interconnection-analytics/README.md b/interconnection-analytics/README.md index cbb4444..fea850c 100644 --- a/interconnection-analytics/README.md +++ b/interconnection-analytics/README.md @@ -124,10 +124,6 @@ offshore wind at 3.0%. Some of that is real project risk and some is that newer technologies are concentrated in recent cohorts, which the maturity filter mitigates but cannot fully remove. -**PPL specifically:** 470 requests, 49.5 GW, 15.5% completion, 67.7% -withdrawal. Close to the PJM-wide pattern, so PPL's queue is not an outlier in -either direction. - ## Method notes - **Cohort framing throughout.** Outcomes are never pooled across entry years. diff --git a/interconnection-analytics/run_analysis.py b/interconnection-analytics/run_analysis.py index 38feb21..29a7e0e 100644 --- a/interconnection-analytics/run_analysis.py +++ b/interconnection-analytics/run_analysis.py @@ -188,20 +188,15 @@ def main() -> None: resources.to_csv(paths.output(TRACK, "by_resource.csv"), index=False) print(regions.round(3).to_string(index=False)) - print("\n[pjm/ppl cut]") + print("\n[pjm cut]") pjm = resolved[resolved.region == "PJM"] - ppl = resolved[resolved.utility == "PPL"] cut = { "pjm_projects": int(len(pjm)), "pjm_completion_rate": float((pjm.outcome == "operational").mean()), "pjm_withdrawal_rate": float((pjm.outcome == "withdrawn").mean()), "pjm_total_mw": float(pjm.capacity_mw.sum()), - "ppl_projects": int(len(ppl)), - "ppl_completion_rate": float((ppl.outcome == "operational").mean()), - "ppl_withdrawal_rate": float((ppl.outcome == "withdrawn").mean()), - "ppl_total_mw": float(ppl.capacity_mw.sum()), } - paths.output(TRACK, "pjm_ppl_summary.json").write_text(json.dumps(cut, indent=2)) + paths.output(TRACK, "pjm_summary.json").write_text(json.dumps(cut, indent=2)) for k, v in cut.items(): print(f" {k:24s} {v:,.3f}" if isinstance(v, float) else f" {k:24s} {v:,}") diff --git a/outputs/interconnection-analytics/pjm_ppl_summary.json b/outputs/interconnection-analytics/pjm_ppl_summary.json deleted file mode 100644 index bcc4474..0000000 --- a/outputs/interconnection-analytics/pjm_ppl_summary.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "pjm_projects": 8152, - "pjm_completion_rate": 0.14658979391560353, - "pjm_withdrawal_rate": 0.5992394504416094, - "pjm_total_mw": 876165.8212, - "ppl_projects": 470, - "ppl_completion_rate": 0.15531914893617021, - "ppl_withdrawal_rate": 0.676595744680851, - "ppl_total_mw": 49468.744000000006 -} \ No newline at end of file diff --git a/outputs/interconnection-analytics/pjm_summary.json b/outputs/interconnection-analytics/pjm_summary.json new file mode 100644 index 0000000..f55153a --- /dev/null +++ b/outputs/interconnection-analytics/pjm_summary.json @@ -0,0 +1,6 @@ +{ + "pjm_projects": 8152, + "pjm_completion_rate": 0.14658979391560353, + "pjm_withdrawal_rate": 0.5992394504416094, + "pjm_total_mw": 876165.8212 +} \ No newline at end of file diff --git a/tests/test_claim_guard.py b/tests/test_claim_guard.py index 3a11999..ebf6525 100644 --- a/tests/test_claim_guard.py +++ b/tests/test_claim_guard.py @@ -231,11 +231,11 @@ def test_catches_named_utility(private_sandbox: Path): """The failure mode this check exists for. In a sibling repo, writing this check found a real problem: a track named - the author's employer five times as its worked example, inside a repo whose + one specific utility five times as its worked example, inside a repo whose README disclaims employer affiliation. """ target = private_sandbox / "sometrack" / "analysis.py" - target.write_text('UTILITY = "PPL Electric" # worked example\n') + target.write_text('UTILITY = "Met-Ed" # worked example\n') result = run_private_guard(private_sandbox) assert result.returncode == 1 assert "names a specific utility" in result.stdout diff --git a/tests/test_interconnection_analytics.py b/tests/test_interconnection_analytics.py index 0bb9c9a..ed4fbb2 100644 --- a/tests/test_interconnection_analytics.py +++ b/tests/test_interconnection_analytics.py @@ -74,9 +74,9 @@ def test_capacity_decrease_requests_are_flagged(raw): assert additions.sum() > 1_000_000 # over a TW of cumulative requests -def test_ppl_is_present(raw): - """The utility this repo cares about most.""" - assert (raw.utility == "PPL").sum() > 100 +def test_pjm_is_well_populated(raw): + """PJM is the region the headline numbers rest on.""" + assert (raw.region == "PJM").sum() > 1000 def test_project_id_round_trips_through_parquet(raw, tmp_path): diff --git a/tools/check_claims.py b/tools/check_claims.py index 6477c8b..c5fdc3c 100644 --- a/tools/check_claims.py +++ b/tools/check_claims.py @@ -144,18 +144,6 @@ def t1_pjm_completion() -> float: return float(100 * g.loc[g.region == "PJM", "completion_rate"].iloc[0]) -def t1_ppl_projects() -> float: - return float(_json("interconnection-analytics", "pjm_ppl_summary")["ppl_projects"]) - - -def t1_ppl_withdrawal() -> float: - return float(100 * _json("interconnection-analytics", "pjm_ppl_summary")["ppl_withdrawal_rate"]) - - -def t1_ppl_completion() -> float: - return float(100 * _json("interconnection-analytics", "pjm_ppl_summary")["ppl_completion_rate"]) - - def t1_n_requests() -> float: return float(len(_parquet("interconnection-analytics", "resolved"))) @@ -520,9 +508,6 @@ class Claim: Claim(R_T1, "36,441", t1_n_requests, 36441, 0.0), Claim(R_T1, "68.0%", t1_pjm_withdrawal, 67.97, 0.05), Claim(R_T1, "23.8%", t1_pjm_completion, 23.79, 0.05), - Claim(R_T1, "470 requests", t1_ppl_projects, 470, 0.0), - Claim(R_T1, "67.7%", t1_ppl_withdrawal, 67.66, 0.05), - Claim(R_T1, "15.5%", t1_ppl_completion, 15.53, 0.05), Claim(R_FIND, "34.1%", t1_max_completion_pre2020, 34.11, 0.05), Claim(R_FIND, "38.4%", t1_max_completion_ceiling_pre2020, 38.37, 0.05), Claim(R_FIND, "1.55x to 2.06x", t1_backtest_min, 1.550, 0.005), diff --git a/tools/check_no_private_data.py b/tools/check_no_private_data.py index 5b84cdd..c5c3cc3 100644 --- a/tools/check_no_private_data.py +++ b/tools/check_no_private_data.py @@ -6,15 +6,13 @@ Three scans: -1. **Named utilities.** The author works in interconnection and tariff at a - Pennsylvania utility, and this repo analyzes interconnection screens and - PJM carbon signals. The adjacency has to be stated in the disclaimer and +1. **Named utilities.** The author works at a utility, and this repo + analyzes interconnection screens and PJM carbon signals. The adjacency has to be stated in the disclaimer and absent from the analysis. A specific utility named as a worked example reads as insider framing even when every input is public. - Two exceptions are legitimate and allowlisted: `interconnection-analytics` - reports a PPL cut of the public LBNL dataset, where "PPL" is a value in a - public data file, and the disclaimer itself. + The disclaimer itself is allowlisted. No track reports a single-utility + cut; zone names inside public data files under data/ are not scanned. 2. **Internal document markers.** Classification banners and the like. @@ -39,6 +37,7 @@ UTILITY_NAMES = [ "PPL Electric", "PPL Electric Utilities", + "PPL", "Met-Ed", "PECO", "PENELEC", @@ -51,14 +50,7 @@ "README.md": "disclaimer language only", "NOTICE.md": "attribution", "NOTICE": "attribution", - "FINDINGS.md": "PPL cut of the public LBNL dataset", - "interconnection-analytics/README.md": "PPL cut of the public LBNL dataset", - "interconnection-analytics/iqueue/ingest.py": "PPL is a value in the public LBNL utility column", - "interconnection-analytics/iqueue/analysis.py": "PPL is a value in the public LBNL utility column", - "interconnection-analytics/run_analysis.py": "PPL cut of the public LBNL dataset", - "tests/test_interconnection_analytics.py": "asserts the public dataset contains PPL rows", "tools/check_no_private_data.py": "this file defines the patterns", - "tools/check_claims.py": "claim table references the PPL figures", } INTERNAL_MARKERS = [