<commit_before>class SkillsController < ApplicationController
  def index
    @new_skill = Skill.new
  end

  def new
  end

  def create
    skill = current_user.skills.build(skills_params)
    if skill.save
      respond_to do |format|
        format.html {redirect_to skill_path(skill)}<commit_msg>Replace current_user with temporary fix<commit_after>class SkillsController < ApplicationController
  def index
    @new_skill = Skill.new
  end

  def new
  end

  def create
    skill = User.first.skills.build(skills_params)
    if skill.save
      respond_to do |format|
        format.html {redirect_to skill_path(skill)}
{'fraction_non_alphanumeric': 0.06549520766773163, 'fraction_numerical': 0.0, 'mean_word_length': 3.415492957746479, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '653396', 'n_tokens_mistral': 195, 'n_tokens_neox': 194, 'n_words': 49}