<commit_before>defmodule PanWeb.AlternateFeed do
  use PanWeb, :model

  schema "alternate_feeds" do
    field(:title, :string)
    field(:url, :string)
    belongs_to(:feed, PanWeb.Feed)

    timestamps()
  end

  def changeset(struct, params \\ %{}) do
    struct
    |> cast(params, [:title, :url])
    |> validate_required([:url])
  end
end<commit_msg>alternate_feed changeset misses feed_id<commit_after>defmodule PanWeb.AlternateFeed do
  use PanWeb, :model

  schema "alternate_feeds" do
    field(:title, :string)
    field(:url, :string)
    belongs_to(:feed, PanWeb.Feed)

    timestamps()
  end

  def changeset(struct, params \\ %{}) do
    struct
    |> cast(params, [:title, :url, :feed_id])
    |> validate_required([:url])
  end
end
{'fraction_non_alphanumeric': 0.13636363636363635, 'fraction_numerical': 0.0, 'mean_word_length': 3.770700636942675, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '804416', 'n_tokens_mistral': 270, 'n_tokens_neox': 258, 'n_words': 59}