<commit_before>{ reflex-platform ? import ../.. { hideDeprecated = true; } }:

let pkgs = reflex-platform.nixpkgs;
    inherit (pkgs) nodejs;
    shellHook = linkNodeModulesHook + ''
      export PATH=node_modules/.bin:$PATH
    '';
    inherit (pkgs) fetchzip fetchFromGitHub;
    dep = reflex-platform.thunkSet ./dep;
    yarn2nix = import (dep.yarn2nix) { inherit pkgs; };
    inherit (yarn2nix) mkYarnPackage linkNodeModulesHook defaultYarnFlags;
    nodePkgs = {
      webdriver-ts = mkYarnPackage {
        name = "webdriver-ts";
        src = dep.js-framework-benchmark + /webdriver-ts;
        preInstall = "yarn --offline run build-prod";
        inherit shellHook;
      };
      webdriver-ts-results = mkYarnPackage {
        name = "webdriver-ts-results";
        src = dep.js-framework-benchmark + /webdriver-ts-results;
        preInstall = "yarn --offline run build-prod";
        inherit shellHook;
      };
      vanillajs-keyed = mkYarnPackage {
        name = "vanillajs-keyed";
        src = dep.js-framework-benchmark + /frameworks/keyed/vanillajs;
        preInstall = "yarn --offline run build-prod";
        inherit shellHook;
      };
      js-framework-benchmark = mkYarnPackage {
        name = "js-framework-benchmark";
        src = dep.js-framework-benchmark;<commit_msg>benchmark remove yarn2nix preInstall hooks<commit_after>{ reflex-platform ? import ../.. { hideDeprecated = true; } }:

let pkgs = reflex-platform.nixpkgs;
    inherit (pkgs) nodejs;
    shellHook = linkNodeModulesHook + ''
      export PATH=node_modules/.bin:$PATH
    '';
    inherit (pkgs) fetchzip fetchFromGitHub;
    dep = reflex-platform.thunkSet ./dep;
    yarn2nix = import (dep.yarn2nix) { inherit pkgs; };
    inherit (yarn2nix) mkYarnPackage linkNodeModulesHook defaultYarnFlags;
    nodePkgs = {
      webdriver-ts = mkYarnPackage {
        name = "webdriver-ts";
        src = dep.js-framework-benchmark + /webdriver-ts;
        inherit shellHook;
      };
      webdriver-ts-results = mkYarnPackage {
        name = "webdriver-ts-results";
        src = dep.js-framework-benchmark + /webdriver-ts-results;
        inherit shellHook;
      };
      vanillajs-keyed = mkYarnPackage {
        name = "vanillajs-keyed";
        src = dep.js-framework-benchmark + /frameworks/keyed/vanillajs;
        inherit shellHook;
      };
      js-framework-benchmark = mkYarnPackage {
        name = "js-framework-benchmark";
        src = dep.js-framework-benchmark;
{'fraction_non_alphanumeric': 0.1170514378290806, 'fraction_numerical': 0.0028351559335763467, 'mean_word_length': 2.5488505747126435, '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': '4800183', 'n_tokens_mistral': 809, 'n_tokens_neox': 783, 'n_words': 150}