<commit_before># Top-level class for Deployments.
class Deployment
  # A GitHub DeploymentStatus.
  class Status
    include ApiClient

    attr_accessor :description, :number, :nwo, :output, :completed, :environment_url
    alias_method :completed?, :completed

    def initialize(nwo, number)
      @nwo         = nwo
      @number      = number
      @completed   = false
      @description = "Deploying from Heaven v#{Heaven::VERSION}"
    end

    class << self
      def deliveries
        @deliveries ||= []
      end
    end

    def url
      "#{Octokit.api_endpoint}repos/#{nwo}/deployments/#{number}"
    end

    def payload
      {
        "target_url" => output,
        "description" => description,<commit_msg>Deployment status has a new desc. and uses `log_url`<commit_after># Top-level class for Deployments.
class Deployment
  # A GitHub DeploymentStatus.
  class Status
    include ApiClient

    attr_accessor :description, :number, :nwo, :output, :completed, :environment_url
    alias_method :completed?, :completed

    def initialize(nwo, number)
      @nwo         = nwo
      @number      = number
      @completed   = false
      @description = "Deploying from Heaven v#{Heaven::VERSION} (TailorDev Edition)"
    end

    class << self
      def deliveries
        @deliveries ||= []
      end
    end

    def url
      "#{Octokit.api_endpoint}repos/#{nwo}/deployments/#{number}"
    end

    def payload
      {
        "log_url" => output,
        "description" => description,
{'fraction_non_alphanumeric': 0.10278514588859416, 'fraction_numerical': 0.0, 'mean_word_length': 2.5093023255813955, 'pattern_counts': {'":': 0, '<': 7, '<?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': '6414668', 'n_tokens_mistral': 468, 'n_tokens_neox': 447, 'n_words': 121}