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: test_helper.rb
    path of file: ./repos/ctf-scoreboard/test
    
    the code of the file until where you have to start completion: require 'simplecov'

# Generate Pretty Report for local viewing or CI
if ENV['CI'] || ENV['LOCAL_COVERAGE']
  SimpleCov.formatter = SimpleCov::Formatter::HTMLFormatter
  SimpleCov.minimum_coverage 10
    
def build_user_params(user_obj)
  params = {
    'full_name': user_obj.full_name,
    'email': user_obj.email,
    'affiliation': user_obj.affiliation,
    'year_in_school': user_obj.year_in_school,
    'state': user_obj.state,
    'password': user_obj.password,
    'password_confirmation': user_obj.password,
  }
end