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 validations on MCAS performance levels and other fields #1941

Open
kevinrobinson opened this issue Jul 24, 2018 · 3 comments
Open

Add validations on MCAS performance levels and other fields #1941

kevinrobinson opened this issue Jul 24, 2018 · 3 comments

Comments

@kevinrobinson
Copy link
Contributor

There are many values in there beyond normal academic scores taht I didn't expect, including: PRG, TRN, MED, ABS, INP. I didn't investigate how this impacts charts or tables of these scores in the product to understand how meaningful this is.

@kevinrobinson kevinrobinson changed the title Add validations on MCAS performance levels Add validations on MCAS performance levels and other fields Oct 9, 2018
@kevinrobinson
Copy link
Contributor Author

Relatedly, here's some older notes on MCAS validations from StudentAssessment. These were from July 2018 but are stale now. Just capturing them here since I'm removing them as code comments in #2160:

  # Notes on data quality for MCAS:
    # Looking at Somerville raw data July 2018:
    #   * ~40% of rows have no growth percentile.
    #   * ~5% of rows have no scale score.
    #   * Almost all rows have performance level (only 1 exception).
    # Looking at New Bedford raw data July 2018:
    #   * Zero rows have growth percentile.
    #   * 33% of rows have no scale score.
    #   * 16% of rows have no performance level.

This is

@kevinrobinson
Copy link
Contributor Author

Relatedly, here's some older notes on MCAS validations from StudentAssessment. These were from July 2018 but are stale now. Just capturing them here since I'm removing them as code comments in #2160:

  # Notes on data quality for MCAS:
    # Looking at Somerville raw data July 2018:
    #   * ~40% of rows have no growth percentile.
    #   * ~5% of rows have no scale score.
    #   * Almost all rows have performance level (only 1 exception).
    # Looking at New Bedford raw data July 2018:
    #   * Zero rows have growth percentile.
    #   * 33% of rows have no scale score.
    #   * 16% of rows have no performance level.

@kevinrobinson
Copy link
Contributor Author

This could use doing, but needs production access. Helpful tidbit:

  Assessment.all.each do |assessment|
      puts "\n\nAssessment: #{assessment.family}, #{assessment.subject}"
      records = StudentAssessment.where(assessment_id: assessment)
      puts "records=#{records.size}"
      fields = [:scale_score, :growth_percentile, :performance_level, :percentile_rank]
      fields.each do |field|
        all_values = records.map {|r| r.send(field) }
        values = all_values.compact.uniq
        puts "  #{field}: unique=#{values.size}, nils=#{all_values.select(&:nil?).size}  #{values.min} - #{values.max}"
      end
    end
    nil

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant