<commit_before>// INL HPC PAC (Proxy-Auto Configuration)
//
// Used within the MOOSE HPC connectivity instructions
// (mooseframework.org/help/inl/hpc_remote.html)
// to tunnel traffic to common HPC resources
// using a SOCKS proxy to hpclogin.inl.gov.
// See the link for more information.

function FindProxyForURL(url, host) {
  // For [*.hpc.inl.gov, hpcweb.inl.gov, moosebuild.inl.gov, hpcsc.inl.gov],
  // first attempt to use the SOCKS proxy. If no success,
  // attempt a direct connection (useful when on the INL VPN)
  if (shExpMatch(host, "*.hpc.inl.gov") ||
      dnsDomainIs(host, "hpcweb.inl.gov") ||
      dnsDomainIs(host, "moosebuild.inl.gov") ||
      dnsDomainIs(host, "hpcsc.inl.gov"))
    return "SOCKS5 localhost:5555; DIRECT";
  // For all other domains, use direct access (no proxy)
  return "DIRECT";
}<commit_msg>Use dnsDomainIs() for .hpc.inl.gov wildcard matching<commit_after>// INL HPC PAC (Proxy-Auto Configuration)
//
// Used within the MOOSE HPC connectivity instructions
// (mooseframework.org/help/inl/hpc_remote.html)
// to tunnel traffic to common HPC resources
// using a SOCKS proxy to hpclogin.inl.gov.
// See the link for more information.

function FindProxyForURL(url, host) {
  // For [*.hpc.inl.gov, hpcweb.inl.gov, moosebuild.inl.gov, hpcsc.inl.gov],
  // first attempt to use the SOCKS proxy. If no success,
  // attempt a direct connection (useful when on the INL VPN)
  if (dnsDomainIs(host, ".hpc.inl.gov") ||
      dnsDomainIs(host, "hpcweb.inl.gov") ||
      dnsDomainIs(host, "moosebuild.inl.gov") ||
      dnsDomainIs(host, "hpcsc.inl.gov"))
    return "SOCKS5 localhost:5555; DIRECT";
  // For all other domains, use direct access (no proxy)
  return "DIRECT";
}
{'fraction_non_alphanumeric': 0.133954571927781, 'fraction_numerical': 0.005824111822947, 'mean_word_length': 3.532981530343008, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '5485605', 'n_tokens_mistral': 632, 'n_tokens_neox': 612, 'n_words': 175}