<commit_before>{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, opam, ocaml_batteries, topkg }:

stdenv.mkDerivation rec {
	name = "obandit-${version}";
	version = "0.2.1";
	src = fetchurl {
		url = "https://github.com/freuk/obandit/archive/v0.2.1-zenodo.tar.gz";
		sha256 = "1a8l4kvv811vy11gjj9nvz1px7s4zxrr3zi53zblvkibq56zzl7s";
	};

	unpackCmd = "tar xjf $src";

	buildInputs = [ ocaml findlib ocamlbuild topkg opam ];

  propagatedBuildInputs = [ ocaml_batteries ];

	inherit (topkg) buildPhase installPhase;

	meta = {
		license = stdenv.lib.licenses.isc;
		homepage = https://github.com/freuk/obandit;
		description = "OCaml module for multi-armed bandits";
		inherit (ocaml.meta) platforms;
	};
}<commit_msg>obandit ref for build fix<commit_after>{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, opam, ocaml_batteries, topkg }:

stdenv.mkDerivation rec {
	name = "obandit-${version}";
	version = "0.2.1";

  src = ./.;

	#src = fetchurl {
		#url = "https://github.com/freuk/obandit/archive/v0.2.1-zenodo.tar.gz";
		#sha256 = "1a8l4kvv811vy11gjj9nvz1px7s4zxrr3zi53zblvkibq56zzl7s";
	#};

	unpackCmd = "tar xjf $src";

	buildInputs = [ ocaml findlib ocamlbuild topkg opam ];

  propagatedBuildInputs = [ ocaml_batteries ];

	inherit (topkg) buildPhase installPhase;

	meta = {
		license = stdenv.lib.licenses.isc;
		homepage = https://github.com/freuk/obandit;
		description = "OCaml module for multi-armed bandits";
		inherit (ocaml.meta) platforms;
	};
}
{'fraction_non_alphanumeric': 0.13913639479095272, 'fraction_numerical': 0.037011651816312545, 'mean_word_length': 4.387453874538745, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, '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': '5846139', 'n_tokens_mistral': 650, 'n_tokens_neox': 609, 'n_words': 107}