<commit_before>defmodule Ello.V2.Manage.ArtistInviteController do
  use Ello.V2.Web, :controller
  alias Ello.Auth.{RequireUser}
  alias Ello.Core.Contest
  alias Ello.V2.{ArtistInviteView}

  plug RequireUser

  @doc """
  GET /v2/manage/artist_invites
  """
  def index(conn, _params) do
    artist_invites = Contest.my_artist_invites(standard_params(conn, %{
      preview: false
    }))
    conn
    |> api_render_if_stale(ArtistInviteView, :index, data: artist_invites)
  end
end<commit_msg>We don’t need the preview flag here<commit_after>defmodule Ello.V2.Manage.ArtistInviteController do
  use Ello.V2.Web, :controller
  alias Ello.Auth.{RequireUser}
  alias Ello.Core.Contest
  alias Ello.V2.{ArtistInviteView}

  plug RequireUser

  @doc """
  GET /v2/manage/artist_invites
  """
  def index(conn, _params) do
    artist_invites = Contest.my_artist_invites(standard_params(conn))
    conn
    |> api_render_if_stale(ArtistInviteView, :index, data: artist_invites)
  end
end
{'fraction_non_alphanumeric': 0.1017293997965412, 'fraction_numerical': 0.008138351983723296, 'mean_word_length': 4.318918918918919, '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': '3871329', 'n_tokens_mistral': 378, 'n_tokens_neox': 365, 'n_words': 67}