You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: assessment_helper.rb
    path of file: ./repos/Autolab/app/helpers
    
    the code of the file until where you have to start completion: module AssessmentHelper
  def stats_table(data)
    out =
    '<table class="striped">
       <thead>
         <tr class="red darken-3 white-text">
           <th class="red darken-3 white-text">Problem</th>
           <th class="red darken-3 white-text">Mean</th>
           <th>Me
    
  def gradesheet_csv(asmt, as_seen_by)
    CSV.generate do |csv|
      # title row with the column names:
      title = ["Submission Time","Email","Total"]
      asmt.problems.each { |problem| title << problem.name }
      title += ["First name", "Last name", "Section", "Lecture"]
      csv << title

      asmt.course.course_user_data.each do |cud|
        # only for students who haven't dropped
        next unless cud.student?
        next if cud.dropped?

        # generate row for user
        csv << csv_row_for(asmt, cud, as_seen_by)
      end
    end
  end