<commit_before>require Logger, as: L
require Bottler.Helpers, as: H

defmodule Bottler.Rollback do

  @moduledoc """
    Simply move the _current_ link to the previous release and restart to
    apply. It's also possible to deploy a previous release, but this is
    quite faster.

    Be careful because the _previous release_ may be different on each server.
    It's up to you to keep all your servers rollback-able (yeah).
  """

  @doc """
    Move the _current_ link to the previous r8elease and restart to apply.
    Returns `{:ok, details}` when done, `{:error, details}` if anything fails.
  """
  def rollback(config) do<commit_msg>Add missing alias<commit_after>require Logger, as: L
require Bottler.Helpers, as: H

defmodule Bottler.Rollback do
  alias Bottler.SSH

  @moduledoc """
    Simply move the _current_ link to the previous release and restart to
    apply. It's also possible to deploy a previous release, but this is
    quite faster.

    Be careful because the _previous release_ may be different on each server.
    It's up to you to keep all your servers rollback-able (yeah).
  """

  @doc """
    Move the _current_ link to the previous r8elease and restart to apply.
    Returns `{:ok, details}` when done, `{:error, details}` if anything fails.
  """
  def rollback(config) do
{'fraction_non_alphanumeric': 0.077217125382263, 'fraction_numerical': 0.0015290519877675841, 'mean_word_length': 3.513793103448276, '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': '776730', 'n_tokens_mistral': 388, 'n_tokens_neox': 378, 'n_words': 177}