Skip to content

Add LEP status indicator to autocomm students extract#3378

Open
anthonygwalters wants to merge 4 commits intomainfrom
claude/add-lep-flag-column-EjIOL
Open

Add LEP status indicator to autocomm students extract#3378
anthonygwalters wants to merge 4 commits intomainfrom
claude/add-lep-flag-column-EjIOL

Conversation

@anthonygwalters
Copy link
Copy Markdown
Member

Pull Request

Summary & Motivation

When merged, this pull request will add a new s_nj_stu_x__lep_tf column to the rpt_powerschool__autocomm_students model that identifies students with active Limited English Proficiency (LEP) status. This column returns 1 if a student has a LEP begin date but no end date (indicating current LEP enrollment), and 0 otherwise.

Self-review

General

  • If this is a same-day request, please flag that in the #data-team Slack
  • Update due date and assignee on the TEAMster Asana Project
  • Run Format on all modified files

dbt

  • Include a corresponding [model name].yml properties file for all models
    • Updated rpt_powerschool__autocomm_students.yml with the new column definition

SQL

  • All changes follow existing patterns in the codebase
  • No group by, order by, or distinct clauses added

Testing

No testing needed. This is a straightforward column addition using existing source data fields with a simple conditional logic pattern consistent with other columns in the model.

https://claude.ai/code/session_01YA7C22NH1pw1LpWcwXJTZK

claude added 2 commits March 5, 2026 14:15
…dents

Adds a derived LEP status flag to rpt_powerschool__autocomm_students that
sets s_nj_stu_x.lep_tf to 1 when a student has an active LEP enrollment
(lepbegindate is not null and lependdate is null), and explicitly 0 otherwise.
No new joins required — lepbegindate/lependdate already flow through
int_extracts__student_enrollments.

https://claude.ai/code/session_01YA7C22NH1pw1LpWcwXJTZK
Repositions the new LEP flag column to the end of the SELECT list to
avoid import issues with the nightly SFTP transmission to PowerSchool.

https://claude.ai/code/session_01YA7C22NH1pw1LpWcwXJTZK
@anthonygwalters anthonygwalters requested a review from a team as a code owner March 5, 2026 14:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants