<commit_before>{ mkDerivation, aeson, base, http-client, servant
, servant-client, http-client-tls, hspec-core, hspec
, stdenv, text, transformers, compiler, QuickCheck, semigroups
, quickcheck-instances, pkgs, http-types, string-conversions
}:
let
 isGhcjs = compiler == "ghcjs" || compiler == "ghcjsHEAD";
 phantomjs  = pkgs.nodePackags.phantomjs;
 ghcjs-base = pkgs.haskell.packages.ghcjs.ghcjs-base;
 ghc-deps = [
    aeson base http-client servant servant-client text
    transformers http-client-tls http-types string-conversions
    quickcheck-instances QuickCheck
   ];
 ghcjs-deps = [ hspec-core QuickCheck semigroups
                ghcjs-base aeson base text
                transformers hspec servant quickcheck-instances
                string-conversions ];
 ghcjs-testdeps = [ phantomjs ] ++ ghcjs-deps;
 ghc-testdeps   = [ base hspec http-client-tls transformers
                    quickcheck-instances
                  ];
 testDeps =
   if isGhcjs
     then ghcjs-testdeps
     else ghc-testdeps;
 exeDeps =
   if isGhcjs
     then [ base ghcjs-base ]
     else [ base http-client-tls http-client ];
 libDeps =
   if isGhcjs
     then ghcjs-deps
     else ghc-deps;
in mkDerivation {
  pname = "hackernews";
  version = "1.1.1.0";
  src = ./.;
  isExecutable = true;
  isLibrary = true;
  libraryHaskellDepends = libDeps;
  executableHaskellDepends = exeDeps;
  testHaskellDepends = testDeps;
  description = "API for Hacker News";
  license = stdenv.lib.licenses.mit;
}
<commit_msg>Jailbreak if ghcjs<commit_after>{ mkDerivation, aeson, base, http-client, servant
, servant-client, http-client-tls, hspec-core, hspec
, stdenv, text, transformers, compiler, QuickCheck, semigroups
, quickcheck-instances, pkgs, http-types, string-conversions
}:
let
 isGhcjs = compiler == "ghcjs" || compiler == "ghcjsHEAD";
 phantomjs  = pkgs.nodePackags.phantomjs;
 ghcjs-base = pkgs.haskell.packages.ghcjs.ghcjs-base;
 ghc-deps = [
    aeson base http-client servant servant-client text
    transformers http-client-tls http-types string-conversions
    quickcheck-instances QuickCheck
   ];
 ghcjs-deps = [ hspec-core QuickCheck semigroups
                ghcjs-base aeson base text
                transformers hspec servant quickcheck-instances
                string-conversions ];
 ghcjs-testdeps = [ phantomjs ] ++ ghcjs-deps;
 ghc-testdeps   = [ base hspec http-client-tls transformers
                    quickcheck-instances
                  ];
 testDeps =
   if isGhcjs
     then ghcjs-testdeps
     else ghc-testdeps;
 exeDeps =
   if isGhcjs
     then [ base ghcjs-base ]
     else [ base http-client-tls http-client ];
 libDeps =
   if isGhcjs
     then ghcjs-deps
     else ghc-deps;
in mkDerivation {
  pname = "hackernews";
  version = "1.1.1.0";
  src = ./.;
  isExecutable = true;
  isLibrary = true;
  jailbreak = isGhcjs;
  libraryHaskellDepends = libDeps;
  executableHaskellDepends = exeDeps;
  testHaskellDepends = testDeps;
  description = "API for Hacker News";
  license = stdenv.lib.licenses.mit;
}

{'fraction_non_alphanumeric': 0.09828496042216359, 'fraction_numerical': 0.002638522427440633, 'mean_word_length': 2.9389610389610388, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '3895983', 'n_tokens_mistral': 1081, 'n_tokens_neox': 1035, 'n_words': 230}