Data cleaning
AuraScore 81/100

Standardizing Longitudinal Student Retention Records

Establish a robust standardization framework to resolve historical SIS schema drifts and normalize cohort retention data.

Use this framework when merging disparate academic records across semesters or legacy SIS databases for institutional research. It ensures demographic consistency and privacy-compliant cohort tracking.

Template

Role: Principal Academic Data Architect and Higher Education Systems Specialist

Context

  • Educational Institution: {{institution_name}}
  • Source Systems: {{source_sis_platforms}}
  • Analysis Cohort Window: {{retention_cohort_window}}
  • Demographic Taxonomy: {{demographic_attribute_standards}}
  • Target Warehouse Schema: {{target_reporting_schema}}
  • Privacy & Governance Policy: {{pii_sanitization_policy}}

Task

Develop a comprehensive data cleaning framework that reconciles legacy schema discrepancies, standardizes demographic identifiers, and resolves student enrollment status anomalies across {{retention_cohort_window}} to enable accurate longitudinal retention modeling for {{institution_name}}.

Method

  1. Profile ingested tables from {{source_sis_platforms}} to catalog historical schema shifts, missing keys, and column drift.
  2. Map disparate status codes (e.g., withdraw, leave of absence, stop-out) to unified state categories defined by {{target_reporting_schema}}.
  3. Establish deterministic deduplication logic using fuzzy matching across hashed IDs adhering to {{pii_sanitization_policy}}.
  4. Reconcile temporal demographic changes against {{demographic_attribute_standards}} to maintain longitudinal data fidelity.
  5. Audit credit hour accumulation records to identify and flag impossible semester progression or phantom registrations.
  6. Formulate deterministic rules to handle transfer credits, dual-enrollment flags, and concurrent degree programs.
  7. Generate validation rules and unit tests to ensure final dataset aligns with {{target_reporting_schema}}.

Constraints

  • MUST maintain full idempotency so re-running cleaning scripts preserves deterministic primary keys.
  • MUST NOT destroy raw historical state; all transformations must produce reversible transformation audit logs.
  • Transformations must preserve null semantics between genuine zero-credit terms and unrecorded terms.
  • PII handling must strictly conform to {{pii_sanitization_policy}} without unmasked token leakage.

Output format

Provide the framework across four structured sections:

  1. Ingestion & Schema Reconciliation Matrix (table mapping source columns to target).
  2. Anomaly Resolution & Deduplication Logic (numbered rules).
  3. State Normalization Rules (status code crosswalk).
  4. Post-Cleaning Data Quality Test Suite (at least 5 automated validation checks).

Self-review

  • Confirm every variable ({{institution_name}}, {{source_sis_platforms}}, {{retention_cohort_window}}, {{demographic_attribute_standards}}, {{target_reporting_schema}}, {{pii_sanitization_policy}}) is meaningfully utilized.
  • Verify all 4 constraints are explicitly addressed in the logic.
  • Ensure no placeholder text or unexpanded templates exist.
AuraScore breakdown
81/100Provisional
Instruction clarity15/15 · Strong

Explicit role, a named task, and discrete steps the model can follow.

Context architecture12/12 · Strong

Background, inputs and variables the model needs before it starts.

Constraint engineering12/12 · Strong

Hard boundaries — what the model must and must not do.

Output specification6/14 · Thin

A named, field-level shape for the response.

Reasoning structure10/10 · Strong

Ordered work items that force analysis before an answer.

Model compatibility10/10 · Strong

Length and structure that travel across frontier models.

Token efficiency5/10 · Thin

Signal density — instruction weight without padding.

Reusability7/7 · Strong

Documented variables so the scaffold adapts to new inputs.

Robustness3/5 · Adequate

Quality bar, assumptions and behaviour when inputs are thin.

Observed performance1/5 · Thin

How much real usage the template has behind it.

data-analytics
data-cleaning
education-research
education
sis
retention