<commit_before>cask 'playgroundmdimporter' do
  version '0.1.0'
  sha256 '15724e51ec59e647b1688618f418b549006c58f5a1d8fc04866ee48114aa2c85'

  url "https://github.com/norio-nomura/PlaygroundMDImporter/releases/download/#{version}/Playground.mdimporter-#{version}.zip"
  appcast 'https://github.com/norio-nomura/PlaygroundMDImporter/releases.atom',
          checkpoint: '7220165f1235ccc639906c3a34b75e4a1b49bb3a2d8aa07b22b4fbdbf1bf3f65'
  name 'PlaygroundMDImporter'
  homepage 'https://github.com/norio-nomura/PlaygroundMDImporter'
  license :mit

  artifact 'Playground.mdimporter', target: "#{ENV['HOME']}/Library/Spotlight/Playground.mdimporter"
end<commit_msg>Add postflight to playgroundmdimporter (#23309)<commit_after>cask 'playgroundmdimporter' do
  version '0.1.0'
  sha256 '15724e51ec59e647b1688618f418b549006c58f5a1d8fc04866ee48114aa2c85'

  url "https://github.com/norio-nomura/PlaygroundMDImporter/releases/download/#{version}/Playground.mdimporter-#{version}.zip"
  appcast 'https://github.com/norio-nomura/PlaygroundMDImporter/releases.atom',
          checkpoint: '7220165f1235ccc639906c3a34b75e4a1b49bb3a2d8aa07b22b4fbdbf1bf3f65'
  name 'PlaygroundMDImporter'
  homepage 'https://github.com/norio-nomura/PlaygroundMDImporter'
  license :mit

  artifact 'Playground.mdimporter', target: "#{ENV['HOME']}/Library/Spotlight/Playground.mdimporter"

  postflight do
    system 'mdimport', '-r', "#{ENV['HOME']}/Library/Spotlight/Playground.mdimporter"
  end
end
{'fraction_non_alphanumeric': 0.12152070604209098, 'fraction_numerical': 0.12559402579769177, 'mean_word_length': 6.520408163265306, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '334391', 'n_tokens_mistral': 684, 'n_tokens_neox': 565, 'n_words': 58}