<commit_before>defmodule Larica.Router do
  use Larica.Web, :router

  pipeline :browser do
    plug :accepts, ["html"]
    plug :fetch_session
    plug :fetch_flash
    plug :protect_from_forgery
    plug :put_secure_browser_headers
  end

  pipeline :api do
    plug :accepts, ["json"]
  end

  scope "/", Larica do
    pipe_through :browser # Use the default browser stack

    get "/", PageController, :index
  end

  scope "/api/v1", as: :api_v1 do
    pipe_through :api 
    resources "/recipes", Larica.API.V1.RecipeController, except: [:delete]
  end

  # Other scopes may use custom stacks.
  # scope "/api", Larica do
  #   pipe_through :api
  # end
end
<commit_msg>Update router scope<commit_after>defmodule Larica.Router do
  use Larica.Web, :router

  pipeline :browser do
    plug :accepts, ["html"]
    plug :fetch_session
    plug :fetch_flash
    plug :protect_from_forgery
    plug :put_secure_browser_headers
  end

  pipeline :api do
    plug :accepts, ["json"]
  end

  scope "/", Larica do
    pipe_through :browser # Use the default browser stack

    get "/", PageController, :index
  end

  scope "/api", Larica.API, as: :api do
    scope "/v1", V1, as: :api_v1 do
      pipe_through :api
      resources "/recipes", RecipeController, except: [:delete]
    end
  end

  # Other scopes may use custom stacks.
  # scope "/api", Larica do
  #   pipe_through :api
  # end
end

{'fraction_non_alphanumeric': 0.09949892627057981, 'fraction_numerical': 0.004294917680744453, 'mean_word_length': 3.040462427745665, 'pattern_counts': {'":': 0, '<': 3, '<?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': '7006502', 'n_tokens_mistral': 474, 'n_tokens_neox': 460, 'n_words': 148}