<commit_before>{ lib
, buildPythonPackage
, fetchPypi
, xgboost
, dask
, distributed
, pytest
, scikitlearn
}:

buildPythonPackage rec {
  version = "0.1.11";
  pname = "dask-xgboost";

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

  checkInputs = [ pytest scikitlearn ];
  propagatedBuildInputs = [ xgboost dask distributed ];

  checkPhase = ''
    py.test dask_xgboost/tests/test_core.py
  '';

  doCheck = false;

  meta = with lib; {
    homepage = "https://github.com/dask/dask-xgboost";
    description = "Interactions between Dask and XGBoost";
    license = licenses.bsd3;
    maintainers = [ maintainers.costrouc ];
  };
}<commit_msg>pythonPackages.dask-xgboot: cleanup, add imports check<commit_after>{ lib
, buildPythonPackage
, fetchPypi
, xgboost
, dask
, distributed
}:

buildPythonPackage rec {
  version = "0.1.11";
  pname = "dask-xgboost";

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

  propagatedBuildInputs = [ xgboost dask distributed ];

  doCheck = false;
  pythonImportsCheck = [ "dask-xdgboost" ];

  meta = with lib; {
    homepage = "https://github.com/dask/dask-xgboost";
    description = "Interactions between Dask and XGBoost";
    license = licenses.bsd3;
    maintainers = [ maintainers.costrouc ];
  };
}
{'fraction_non_alphanumeric': 0.11362032462949895, 'fraction_numerical': 0.056457304163726185, 'mean_word_length': 3.856164383561644, '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': '133839', 'n_tokens_mistral': 581, 'n_tokens_neox': 536, 'n_words': 96}