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: student_review_controller.rb
    path of file: ./repos/expertiza/app/controllers
    
    the code of the file until where you have to start completion: class Stude
    
  def list
    # we can assume the id is of the current user and for the participant
    # if the assignment has team reviewers, other controllers take care of getting the team from this object
    @participant = AssignmentParticipant.find(params[:id])
    return unless current_user_id?(@participant.user_id)

    @assignment = @participant.assignment
    # Find the current phase that the assignment is in.
    @topic_id = SignedUpTeam.topic_id(@participant.parent_id, @participant.user_id)
    @review_phase = @assignment.current_stage(@topic_id)
    # E-1973 calling get_reviewer on a participant will return either that participant
    # or there team, depending on if reviewers are teams. If the reviewer is not yet on a team, just set review_mappings
    # to an empty list to prevent errors
    if @participant.get_reviewer
      # ACS Removed the if condition(and corresponding else) which differentiate assignments as team and individual assignments
      # to treat all assignments as team assignments
      @review_mappings = ReviewResponseMap.where(reviewer_id: @participant.get_reviewer.id, team_reviewing_enabled: @assignment.team_reviewing_enabled)
    else
      @review_mappings = []
    end