← Back to story

PhiladelphiaIntervention cohortsMethodology recipe

The 53 Philly CSI schools: where they stand on PSSA right now

A reproducibility log: the data this analysis touched, the queries it ran, and how a third party would re-run it.

Summary

Grouped philly_schools by `essa_designation`, aggregated on `pssa_all_ela_proficiency` (subgroup=ALL, population_cut=acct) for mean + median + count + average econ_disadv per tier.

Data sources

  • Database tablephilly_schools

    One row per Philly school. PK is ulcs_code (SDP canonical, = id_eos in PSSA, = SRC_School_ID × 10). Carries aun_code + pa_code for PDE-side joins.

  • Database tablephilly_school_year_metrics

    Long-format facts. PK (school_ulcs, year, metric_key, subgroup, population_cut). Carries comparison_group_percentile + citywide_percentile (direction-adjusted).

  • External datasetFuture Ready PA Index (PDE)

Steps

  1. Per-tier aggregate.

    SELECT s.essa_designation::text,
           count(DISTINCT s.ulcs_code) AS n_schools,
           avg(m.value) AS avg_pssa,
           percentile_cont(0.5) WITHIN GROUP (ORDER BY m.value) AS median_pssa,
           avg(dem.value) AS avg_econ_disadv
    FROM philly_schools s
    JOIN philly_school_year_metrics m ON m.school_ulcs = s.ulcs_code
    JOIN philly_school_year_metrics dem ON dem.school_ulcs = s.ulcs_code AND dem.metric_key='pct_econ_disadv'
    WHERE m.metric_key='pssa_all_ela_proficiency' AND m.subgroup='ALL' AND m.population_cut='acct'
    GROUP BY s.essa_designation;

Caveats

Only 14 of the 53 CSI schools have a PSSA ELA all-grades Acct row in our DB (some are HS, where 'all-grades' isn't reported; some are charters whose SDP record is sparser). The story flags this coverage gap. The Master School List's `Federal Accountability Designation` column under-reports relative to Future Ready (Master List only flags CSI; Future Ready has the full DFLT/TSI/CSI/ATSI/ACSI breakdown for 302 schools).

Reproduce

Load Master School List + Future Ready Performance file, then run the SQL above. To get the full 53-school cohort, additionally backfill `essa_designation` from Future Ready (loader work pending).

The recipe lives at data/cities/philly/stories/recipes.ts in the repo.