<commit_before>{ stdenv
, buildPythonPackage
, fetchPypi
, nose
, six
}:

buildPythonPackage rec {
  version = "0.8.1";
  pname = "parsimonious";

  src = fetchPypi {
    inherit pname version;
    sha256 = "3add338892d580e0cb3b1a39e4a1b427ff9f687858fdd61097053742391a9f6b";
  };

  checkInputs = [ nose ];
  propagatedBuildInputs = [ six ];

  meta = with stdenv.lib; {
    homepage = "https://github.com/erikrose/parsimonious";
    description = "Fast arbitrary-lookahead parser written in pure Python";
    license = licenses.mit;
  };

}<commit_msg>parsimonious: excluding unpredictable tests<commit_after>{ stdenv
, buildPythonPackage
, fetchPypi
, nose
, six
}:

buildPythonPackage rec {
  version = "0.8.1";
  pname = "parsimonious";

  src = fetchPypi {
    inherit pname version;
    sha256 = "3add338892d580e0cb3b1a39e4a1b427ff9f687858fdd61097053742391a9f6b";
  };

  checkInputs = [ nose ];
  propagatedBuildInputs = [ six ];

  # performance tests tend to fail sometimes
  NOSE_EXCLUDE = "test_benchmarks";

  meta = with stdenv.lib; {
    homepage = "https://github.com/erikrose/parsimonious";
    description = "Fast arbitrary-lookahead parser written in pure Python";
    license = licenses.mit;
  };

}
{'fraction_non_alphanumeric': 0.10837438423645321, 'fraction_numerical': 0.08045977011494253, 'mean_word_length': 3.975510204081633, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '2557052', 'n_tokens_mistral': 502, 'n_tokens_neox': 434, 'n_words': 87}