<commit_before><!DOCTYPE html>
<html>
	<head>
		<script src="/dist/frink.js"></script>
		<script>
			var n = amd;
			function ready() {
				return new Promise(function(resolve,reject){
					function completed() {
						document.removeEventListener("DOMContentLoaded", completed, false);
						window.removeEventListener("load", completed, false);
						resolve();
					}

					if (document.readyState === "complete") {
						// Handle it asynchronously to allow scripts the opportunity to delay ready
						setTimeout(callback);

					} else {

						// Use the handy event callback
						document.addEventListener("DOMContentLoaded", completed, false);

						// A fallback to window.onload, that will always work
						window.addEventListener("load", completed, false);
					}
				});
			}
			ready().then(function(){
				n.render(n.parse("<body><div>test</div></body>"),document.body);
				/*n.on(document.forms.test,"submit", evt => {
					evt.preventDefault();
					var err = n.validate(evt.target,null,{form:true});
					console.log(err)
					if(err.length) return false;
				});*/

			});

		</script>
	</head>
	<body>
	</body>
</html><commit_msg>added some data<commit_after><!DOCTYPE html>
<html>
	<head>
		<script src="/dist/frink.js"></script>
		<script>
			var n = amd;
			function ready() {
				return new Promise(function(resolve,reject){
					function completed() {
						document.removeEventListener("DOMContentLoaded", completed, false);
						window.removeEventListener("load", completed, false);
						resolve();
					}

					if (document.readyState === "complete") {
						// Handle it asynchronously to allow scripts the opportunity to delay ready
						setTimeout(callback);

					} else {

						// Use the handy event callback
						document.addEventListener("DOMContentLoaded", completed, false);

						// A fallback to window.onload, that will always work
						window.addEventListener("load", completed, false);
					}
				});
			}
			var html = `<body>
  <div class="d-flex px-3 flex-justify-between container-lg">
    <div class="d-flex flex-justify-between">
      <a class="header-logo-invertocat" href="https://github.com/" data-hotkey="g d"
      aria-label="Homepage" data-ga-click="Header, go to dashboard, icon:logo"></a>
    </div>

    <div class="HeaderMenu d-flex flex-justify-between flex-auto">
      <div class="d-flex">
        <div class="header-search scoped-search site-scoped-search js-site-search" class=
        "" role="search">
          <form accept-charset="UTF-8" action="/wilsonpage/fastdom/search" class=
          "js-site-search-form" data-scoped-search-url="/wilsonpage/fastdom/search"
          data-unscoped-search-url="/search" method="get">
            <div class="c1">
              <input name="utf8" type="hidden" value="&#10003;" />
            </div><label class=
            "form-control header-search-wrapper js-chromeless-input-container"><a href=
            "/wilsonpage/fastdom" class="header-search-scope no-underline">This
            repository</a> <input type="text" class=
            "form-control header-search-input js-site-search-focus js-site-search-field is-clearable"
            data-hotkey="s" name="q" value="" placeholder="Search" aria-label=
            "Search this repository" data-unscoped-placeholder="Search GitHub"
            data-scoped-placeholder="Search" autocapitalize="off" /> <input type="hidden"
            class="js-site-search-type-field" name="type" /></label>
          </form>
        </div>

        <ul class="d-flex pl-2 flex-items-center text-bold list-style-none" role=
        "navigation">
          <li><a href="/pulls" aria-label="Pull requests you created" class=
          "js-selected-navigation-item HeaderNavlink px-2" data-ga-click=
          "Header, click, Nav menu - item:pulls context:user" data-hotkey="g p"
          data-selected-links="/pulls /pulls/assigned /pulls/mentioned /pulls">Pull
          requests</a></li>

          <li><a href="/issues" aria-label="Issues you created" class=
          "js-selected-navigation-item HeaderNavlink px-2" data-ga-click=
          "Header, click, Nav menu - item:issues context:user" data-hotkey="g i"
          data-selected-links=
          "/issues /issues/assigned /issues/mentioned /issues">Issues</a></li>

          <li><a href="/marketplace" class=
          "js-selected-navigation-item HeaderNavlink px-2" data-ga-click=
          "Header, click, Nav menu - item:marketplace context:user" data-selected-links=
          " /marketplace">Marketplace</a></li>

          <li><a href="/explore" class="js-selected-navigation-item HeaderNavlink px-2"
          data-ga-click="Header, click, Nav menu - item:explore" data-selected-links=
          "/explore /trending /trending/developers /integrations /integrations/feature/code /integrations/feature/collaborate /integrations/feature/ship showcases showcases_search showcases_landing /explore">
          Explore</a></li>
        </ul>
      </div>

      <div class="d-flex">
        <ul class="user-nav d-flex flex-items-center list-style-none" id="user-links">
          <li class="dropdown js-menu-container js-header-notifications"><span class=
          "d-inline-block px-2"><a href="/notifications" aria-label=
          "You have unread notifications" class=
          "notification-indicator tooltipped tooltipped-s js-socket-channel js-notification-indicator"
          data-channel="notification-changed:660912" data-ga-click=
          "Header, go to notifications, icon:unread" data-hotkey="g n"> </a></span></li>

          <li class="dropdown js-menu-container">
            <div class="dropdown-menu dropdown-menu-sw c2">
              <a class="dropdown-item" href="/new" data-ga-click=
              "Header, create new repository">New repository</a> <a class="dropdown-item"
              href="/new/import" data-ga-click="Header, import a repository">Import
              repository</a> <a class="dropdown-item" href="https://gist.github.com/"
              data-ga-click="Header, create new gist">New gist</a> <a class=
              "dropdown-item" href="/organizations/new" data-ga-click=
              "Header, create new organization">New organization</a>

              <div class="dropdown-divider"></div>

              <div class="dropdown-header">
                <span title="wilsonpage/fastdom">This repository</span>
              </div><a class="dropdown-item" href="/wilsonpage/fastdom/issues/new"
              data-ga-click="Header, create new issue">New issue</a>
            </div>
          </li>

          <li class="dropdown js-menu-container">
            <img alt="@wshager" class="avatar float-left mr-1" src=
            "https://avatars3.githubusercontent.com/u/660912?s=40&amp;v=4" height="20"
            width="20" />

            <ul class="dropdown-menu dropdown-menu-sw">
              <li class="dropdown-header header-nav-current-user css-truncate">Signed in
              as <strong class="css-truncate-target">wshager</strong></li>

              <li><a class="dropdown-item" href="/wshager" data-ga-click=
              "Header, go to profile, text:your profile">Your profile</a></li>

              <li><a class="dropdown-item" href="/wshager?tab=stars" data-ga-click=
              "Header, go to starred repos, text:your stars">Your stars</a></li>

              <li><a class="dropdown-item" href="https://gist.github.com/" data-ga-click=
              "Header, your gists, text:your gists">Your Gists</a></li>

              <li><a class="dropdown-item" href="https://help.github.com" data-ga-click=
              "Header, go to help, text:help">Help</a></li>

              <li><a class="dropdown-item" href="/settings/profile" data-ga-click=
              "Header, go to settings, icon:settings">Settings</a></li>

              <li>
                <form accept-charset="UTF-8" action="/logout" class="logout-form" method=
                "post">
                  <div class="c1">
                    <input name="utf8" type="hidden" value="&#10003;" /><input name=
                    "authenticity_token" type="hidden" value=
                    "<KEY> />
                  </div><button type="submit" class="dropdown-item dropdown-signout"
                  data-ga-click="Header, sign out, icon:logout">Sign out</button>
                </form>
              </li>
            </ul>
          </li>
        </ul>

        <form accept-charset="UTF-8" action="/logout" class="sr-only right-0" method=
        "post">
          <div class="c1">
            <input name="utf8" type="hidden" value="&#10003;" /><input name=
            "authenticity_token" type="hidden" value=
            "<KEY> />
          </div><button type="submit" class="dropdown-item dropdown-signout"
          data-ga-click="Header, sign out, icon:logout">Sign out</button>
        </form>
      </div>
    </div>
  </div>
</body>`;
			ready().then(function(){
				var out = n.parse(html);
				var s = performance.now();
				n.render(out,document.body);
				console.log(performance.now() - s);
				n.render(out,document.body);
				n.render(out,document.body);
				/*n.on(document.forms.test,"submit", evt => {
					evt.preventDefault();
					var err = n.validate(evt.target,null,{form:true});
					console.log(err)
					if(err.length) return false;
				});*/

			});

		</script>
	</head>
	<body>
	</body>
</html>
{'fraction_non_alphanumeric': 0.15744091973600172, 'fraction_numerical': 0.005748350010645093, 'mean_word_length': 2.5042894442372248, 'pattern_counts': {'":': 0, '<': 151, '<?xml version=': 0, '>': 153, 'https://': 5, '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': '6767405', 'n_tokens_mistral': 3089, 'n_tokens_neox': 2770, 'n_words': 582}