Sha256: 23c9b530845bb883338b8e7380938b4b5f8cd2731ff68b65b02c6b43052a1474

Contents?: true

Size: 419 Bytes

Versions: 8

Compression:

Stored size: 419 Bytes

Contents

csv << ["#{study_name} ID", "Study ID", "Method", "Event", "Item Bank", "Theta", "Standard Error", "Timestamp"]

assessments.each do |assessment|
  assessment.results.each do |result|
    csv << [
      assessment.stream_id,
      assessment.study_id,
      assessment.method_applied,
      assessment.event,
      result.name,
      result.theta,
      result.standard_error,
      result.updated_at,
    ]
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
study_engine-0.3.1 app/views/study_engine/admin/assessments/domain_results.csv.csvbuilder
study_engine-0.3.0 app/views/study_engine/admin/assessments/domain_results.csv.csvbuilder
study_engine-0.2.2 app/views/study_engine/admin/assessments/domain_results.csv.csvbuilder
study_engine-0.2.1 app/views/study_engine/admin/assessments/domain_results.csv.csvbuilder
study_engine-0.2.0 app/views/study_engine/admin/assessments/domain_results.csv.csvbuilder
study_engine-0.1.1 app/views/study_engine/admin/assessments/domain_results.csv.csvbuilder
study_engine-0.1.0 app/views/study_engine/admin/assessments/domain_results.csv.csvbuilder
study_engine-0.0.2 app/views/study_engine/admin/assessments/domain_results.csv.csvbuilder