Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new columns to teacher app export #37814

Merged
merged 1 commit into from
Nov 13, 2020
Merged

Conversation

molly-moen
Copy link
Contributor

Add the following columns to the teacher app export:

  • accepted (if accepted_status is one of accepted_no_cost_registration, accepted_notified_by_partner, registration_sent, paid, accepted_not_notified)
  • race
  • community_type (of school)

Links

Testing story

Followed steps from this PR to verify export.

Reviewer Checklist:

  • Tests provide adequate coverage
  • Privacy and Security impacts have been assessed
  • Code is well-commented
  • New features are translatable or updates will not break translations
  • Relevant documentation has been added or updated
  • User impact is well-understood and desirable
  • Pull Request is labeled appropriately
  • Follow-up work items (including potential tech debt) are tracked and linked

@molly-moen molly-moen requested review from tess323 and a team November 12, 2020 17:51
Copy link

@tess323 tess323 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@@ -25,6 +25,8 @@ def get_rows
if app.sanitize_form_data_hash[:principal_underrepresented_minority_percent]
urm_percent = app.sanitize_form_data_hash[:principal_underrepresented_minority_percent].to_f
end
accepted_statuses = %w(accepted_no_cost_registration accepted_notified_by_partner registration_sent paid accepted_not_notified)
accepted = accepted_statuses.include?(app.status) ? 1 : 0

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

are we using numbers here so they can easily count the total number of acceptances?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

0/1 was the request from programs, they are currently semi-manually computing this column and putting 0/1 in, so I would guess it's for counting?

@molly-moen molly-moen merged commit 3ff0a5b into staging Nov 13, 2020
@molly-moen molly-moen deleted the teacher-app-export-updates branch November 13, 2020 16:41
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.

None yet

3 participants