<commit_before>(ns desdemona.tasks.swift)

(defn add-swift-output
  "Adds a Swift output task to a job"
  [job task opts]
  (-> job
      (update :catalog conj (merge {:onyx/name task
                                    :onyx/plugin :desdemona.plugins.swift/write-batch
                                    :onyx/type :output
                                    :onyx/medium :swift
                                    :onyx/doc "Write segments to Swift"}
                                   opts))))<commit_msg>Kibit<commit_after>(ns desdemona.tasks.swift)

(defn add-swift-output
  "Adds a Swift output task to a job"
  [job task opts]
  (update job :catalog conj (merge {:onyx/name task
                                    :onyx/plugin :desdemona.plugins.swift/write-batch
                                    :onyx/type :output
                                    :onyx/medium :swift
                                    :onyx/doc "Write segments to Swift"}
                                   opts)))
{'fraction_non_alphanumeric': 0.08608608608608609, 'fraction_numerical': 0.0, 'mean_word_length': 1.1141649048625792, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 10, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6789406', 'n_tokens_mistral': 275, 'n_tokens_neox': 250, 'n_words': 67}