<commit_before>defmodule GetAJobEx.Job do
  use GetAJobEx.Web, :model

  schema "jobs" do
    field :number_one, :integer
    field :number_two, :integer
    field :status, :string

    timestamps
  end

  @required_fields ~w(number_one number_two)
  @optional_fields ~w()

  @doc """
  Creates a changeset based on the `model` and `params`.

  If `params` are nil, an invalid changeset is returned
  with no validation performed.
  """
  def changeset(model, params \\ nil) do
    model
    |> cast(params, @required_fields, @optional_fields)
  end
end
<commit_msg>Add status to required fields on the job model<commit_after>defmodule GetAJobEx.Job do
  use GetAJobEx.Web, :model

  schema "jobs" do
    field :number_one, :integer
    field :number_two, :integer
    field :status, :string

    timestamps
  end

  @required_fields ~w(number_one number_two status)
  @optional_fields ~w()

  @doc """
  Creates a changeset based on the `model` and `params`.

  If `params` are nil, an invalid changeset is returned
  with no validation performed.
  """
  def changeset(model, params \\ nil) do
    model
    |> cast(params, @required_fields, @optional_fields)
  end
end

{'fraction_non_alphanumeric': 0.09385665529010238, 'fraction_numerical': 0.0, 'mean_word_length': 3.6181102362204722, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '5786510', 'n_tokens_mistral': 388, 'n_tokens_neox': 375, 'n_words': 127}