<commit_before><map>
  <entry>
    <string>plugin_status</string>
    <string>ready</string>
  </entry>
  <entry>
    <string>plugin_identifier</string>
    <string>org.lockss.plugin.projmuse.ProjectMuse2017Plugin</string>
  </entry>
  <entry>
    <string>plugin_name</string>
    <string>Project Muse Journals Plugin</string>
  </entry>
  <entry>
    <string>plugin_version</string>
    <string>4</string>
  </entry>
  <entry>
    <string>plugin_feature_version_map</string>
    <map>
      <entry>
        <string>Poll</string>
        <string>2</string>
      </entry>
      <entry>
        <string>Substance</string>
        <string>1</string>
      </entry>
      <entry>
        <string>Metadata</string>
        <string>2</string>
      </entry>
    </map>
  </entry>
  <entry>
    <string>required_daemon_version</string>
    <!-- content validation w/ no store -->
    <string>1.72.0</string>
  </entry>
  <entry>
    <string>au_name</string>
    <string>"Project Muse Journals Plugin, Base URL %s, Resource ID %d", base_url, resource_id</string>
  </entry>
  <entry>
    <string>au_crawlrules</string>
    <list>
      <string>1,"^https?://%s/[^?]*\.(bmp|css|eot|gif|ico|jpe?g|js|png|svg|tif?f|ttf|woff.?)(\?v=.*)?$", url_host(base_url)</string>
      <string>1,"^https?://%s/lockss\?vid=\d+$", url_host(base_url)</string>
      <string>1,"^https?://%s/issue/\d+(/image/.+)?$", url_host(base_url)</string>
      <string>1,"^https?://%s/article/\d+(/(pdf|pdfimage|summary|(figure|image|inline)/.+))?$", url_host(base_url)</string>
    </list>
  </entry>
  <!-- Some volume numbers are now 4-digit years, but this works -->  
  <entry>
    <string>au_start_url</string>
    <list>
      <string>"%slockss?vid=%d", base_url, resource_id</string>
    </list>
  </entry>
  <entry>
    <string>plugin_config_props</string>
    <list>
      <org.lockss.daemon.ConfigParamDescr>
        <key>base_url</key>
        <displayName>Base URL</displayName>
        <description>Usually of the form http://&lt;journal-name&gt;.com/</description>
        <type>3</type>
        <size>40</size>
        <definitional>true</definitional>
        <defaultOnly>false</defaultOnly>
      </org.lockss.daemon.ConfigParamDescr>
      <org.lockss.daemon.ConfigParamDescr>
        <key>resource_id</key>
        <displayName>Resource ID</displayName>
        <description>Internal resource ID</description>
        <type>6</type>
        <size>8</size>
        <definitional>true</definitional>
        <defaultOnly>false</defaultOnly>
      </org.lockss.daemon.ConfigParamDescr>
    </list>
  </entry>
  <entry>
    <string>plugin_fetch_rate_limiter_source</string>
    <string>key:Project Muse</string>
  </entry>
  <entry>
    <string>au_substance_url_pattern</string>
    <list>
      <string>"%sarticle/\d+(/pdf)?$", base_url</string>
    </list>
  </entry>
  <entry>
    <string>text/html_filter_factory</string>
    <string>org.lockss.plugin.projmuse.ProjectMuse2017HtmlHashFilterFactory</string>
  </entry>
  <entry>
    <string>text/html_crawl_filter_factory</string>
    <string>org.lockss.plugin.projmuse.ProjectMuse2017HtmlCrawlFilterFactory</string>
  </entry>
  <entry>
    <string>application/pdf_filter_factory</string>
    <string>org.lockss.plugin.projmuse.ProjectMusePdfFilterFactory</string>
  </entry>
  <entry>
    <string>plugin_url_consumer_factory</string>
    <string>org.lockss.plugin.base.HttpToHttpsUrlConsumerFactory</string>
  </entry>
  <entry>
    <string>plugin_url_fetcher_factory</string>
    <string>org.lockss.plugin.base.HttpToHttpsUrlFetcherFactory</string>
  </entry>
  <entry>
    <string>au_url_normalizer</string>
    <string>org.lockss.plugin.BaseUrlHttpHttpsUrlNormalizer</string>
  </entry>
  <entry>
    <string>plugin_article_iterator_factory</string>
    <string>org.lockss.plugin.projmuse.ProjectMuse2017ArticleIteratorFactory</string>
  </entry>
  <entry>
    <string>plugin_article_metadata_extractor_factory</string>
    <string>org.lockss.plugin.projmuse.ProjectMuse2017ArticleIteratorFactory</string>
  </entry>
  <entry>
    <string>text/html_metadata_extractor_factory_map</string>
    <map>
      <entry>
        <string>*;DublinCore</string>
        <string>org.lockss.plugin.projmuse.ProjectMuse2017HtmlMetadataExtractorFactory</string>
      </entry>
    </map>
  </entry>
  <entry>
    <string>au_feature_urls</string>
    <map>
      <entry>
        <string>au_title</string>
        <string>"%sjournals/%s", base_url, journal_id</string>
      </entry>
      <entry>
        <string>au_volume</string>
        <string>"%slockss?vid=%s", base_url, resource_id</string>
      </entry>
      <entry>
        <string>au_issue</string>
        <list>
          <string>"%sissue/%s", base_url, issue_id</string>
        </list>
      </entry>
    </map>
  </entry>
  <entry>
    <string>au_def_new_content_crawl</string>
    <long>1209600000</long>
  </entry>
  <entry>
    <string>au_def_pause_time</string>
    <long>3000</long><commit_msg>Fix incorrect conversion of resource_id as string<commit_after><map>
  <entry>
    <string>plugin_status</string>
    <string>ready</string>
  </entry>
  <entry>
    <string>plugin_identifier</string>
    <string>org.lockss.plugin.projmuse.ProjectMuse2017Plugin</string>
  </entry>
  <entry>
    <string>plugin_name</string>
    <string>Project Muse Journals Plugin</string>
  </entry>
  <entry>
    <string>plugin_version</string>
    <string>5</string>
  </entry>
  <entry>
    <string>plugin_feature_version_map</string>
    <map>
      <entry>
        <string>Poll</string>
        <string>2</string>
      </entry>
      <entry>
        <string>Substance</string>
        <string>1</string>
      </entry>
      <entry>
        <string>Metadata</string>
        <string>2</string>
      </entry>
    </map>
  </entry>
  <entry>
    <string>required_daemon_version</string>
    <!-- content validation w/ no store -->
    <string>1.72.0</string>
  </entry>
  <entry>
    <string>au_name</string>
    <string>"Project Muse Journals Plugin, Base URL %s, Resource ID %d", base_url, resource_id</string>
  </entry>
  <entry>
    <string>au_crawlrules</string>
    <list>
      <string>1,"^https?://%s/[^?]*\.(bmp|css|eot|gif|ico|jpe?g|js|png|svg|tif?f|ttf|woff.?)(\?v=.*)?$", url_host(base_url)</string>
      <string>1,"^https?://%s/lockss\?vid=\d+$", url_host(base_url)</string>
      <string>1,"^https?://%s/issue/\d+(/image/.+)?$", url_host(base_url)</string>
      <string>1,"^https?://%s/article/\d+(/(pdf|pdfimage|summary|(figure|image|inline)/.+))?$", url_host(base_url)</string>
    </list>
  </entry>
  <!-- Some volume numbers are now 4-digit years, but this works -->  
  <entry>
    <string>au_start_url</string>
    <list>
      <string>"%slockss?vid=%d", base_url, resource_id</string>
    </list>
  </entry>
  <entry>
    <string>plugin_config_props</string>
    <list>
      <org.lockss.daemon.ConfigParamDescr>
        <key>base_url</key>
        <displayName>Base URL</displayName>
        <description>Usually of the form http://&lt;journal-name&gt;.com/</description>
        <type>3</type>
        <size>40</size>
        <definitional>true</definitional>
        <defaultOnly>false</defaultOnly>
      </org.lockss.daemon.ConfigParamDescr>
      <org.lockss.daemon.ConfigParamDescr>
        <key>resource_id</key>
        <displayName>Resource ID</displayName>
        <description>Internal resource ID</description>
        <type>6</type>
        <size>8</size>
        <definitional>true</definitional>
        <defaultOnly>false</defaultOnly>
      </org.lockss.daemon.ConfigParamDescr>
    </list>
  </entry>
  <entry>
    <string>plugin_fetch_rate_limiter_source</string>
    <string>key:Project Muse</string>
  </entry>
  <entry>
    <string>au_substance_url_pattern</string>
    <list>
      <string>"%sarticle/\d+(/pdf)?$", base_url</string>
    </list>
  </entry>
  <entry>
    <string>text/html_filter_factory</string>
    <string>org.lockss.plugin.projmuse.ProjectMuse2017HtmlHashFilterFactory</string>
  </entry>
  <entry>
    <string>text/html_crawl_filter_factory</string>
    <string>org.lockss.plugin.projmuse.ProjectMuse2017HtmlCrawlFilterFactory</string>
  </entry>
  <entry>
    <string>application/pdf_filter_factory</string>
    <string>org.lockss.plugin.projmuse.ProjectMusePdfFilterFactory</string>
  </entry>
  <entry>
    <string>plugin_url_consumer_factory</string>
    <string>org.lockss.plugin.base.HttpToHttpsUrlConsumerFactory</string>
  </entry>
  <entry>
    <string>plugin_url_fetcher_factory</string>
    <string>org.lockss.plugin.base.HttpToHttpsUrlFetcherFactory</string>
  </entry>
  <entry>
    <string>au_url_normalizer</string>
    <string>org.lockss.plugin.BaseUrlHttpHttpsUrlNormalizer</string>
  </entry>
  <entry>
    <string>plugin_article_iterator_factory</string>
    <string>org.lockss.plugin.projmuse.ProjectMuse2017ArticleIteratorFactory</string>
  </entry>
  <entry>
    <string>plugin_article_metadata_extractor_factory</string>
    <string>org.lockss.plugin.projmuse.ProjectMuse2017ArticleIteratorFactory</string>
  </entry>
  <entry>
    <string>text/html_metadata_extractor_factory_map</string>
    <map>
      <entry>
        <string>*;DublinCore</string>
        <string>org.lockss.plugin.projmuse.ProjectMuse2017HtmlMetadataExtractorFactory</string>
      </entry>
    </map>
  </entry>
  <entry>
    <string>au_feature_urls</string>
    <map>
      <entry>
        <string>au_title</string>
        <string>"%sjournals/%s", base_url, journal_id</string>
      </entry>
      <entry>
        <string>au_volume</string>
        <string>"%slockss?vid=%d", base_url, resource_id</string>
      </entry>
      <entry>
        <string>au_issue</string>
        <list>
          <string>"%sissue/%s", base_url, issue_id</string>
        </list>
      </entry>
    </map>
  </entry>
  <entry>
    <string>au_def_new_content_crawl</string>
    <long>1209600000</long>
  </entry>
  <entry>
    <string>au_def_pause_time</string>
    <long>3000</long>
{'fraction_non_alphanumeric': 0.16806554756195044, 'fraction_numerical': 0.011191047162270184, 'mean_word_length': 3.376475732400525, 'pattern_counts': {'":': 0, '<': 471, '<?xml version=': 0, '>': 471, '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': '3402154', 'n_tokens_mistral': 3662, 'n_tokens_neox': 3541, 'n_words': 421}