<commit_before># Source: https://gist.github.com/jdcantrell/b0ad9a6bcbfc2551713f

require 'pry'

class CssCriticTestGenerator < Hologram::Plugin
  attr :output_dir, :tests

  HTML_HEADER = <<-eos
<html>
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width">
    <link rel="stylesheet" href="/build/css/screen.css">
  </head><commit_msg>Use correct resource files in tests<commit_after># Source: https://gist.github.com/jdcantrell/b0ad9a6bcbfc2551713f

require 'pry'

class CssCriticTestGenerator < Hologram::Plugin
  attr :output_dir, :tests

  HTML_HEADER = <<-eos
<html>
  <head>
    <meta name="viewport" content="width=device-width">
    <link rel="stylesheet" href="../dist/pivotal-ui/pivotal-ui.css">
    <link rel="stylesheet" href="../dist/style_guide/style_guide/github.css">
    <link rel="stylesheet" disabled href="../dist/syntax-highlighting/prism-default.css">
    <link rel="stylesheet" href="../dist/syntax-highlighting/prism-okaida.css">
    <script src="../dist/pivotal-ui/pivotal-ui.js"></script>
    <script src="../dist/style_guide/style_guide.js"></script>
  </head>
{'fraction_non_alphanumeric': 0.17365771812080538, 'fraction_numerical': 0.018456375838926176, 'mean_word_length': 4.680952380952381, 'pattern_counts': {'":': 0, '<': 28, '<?xml version=': 0, '>': 22, 'https://': 2, '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': '7572982', 'n_tokens_mistral': 445, 'n_tokens_neox': 423, 'n_words': 67}