{
  "llm": {
    "conf": 0,
    "error": "",
    "grade": "benign",
    "interpretation": "legitimate ML library",
    "model": "Qwen/Qwen3.8-27B",
    "outcome": "suspicious"
  },
  "ml": {
    "analyzed_at": "2026-11-20T11:57:05Z",
    "files": [
      {
        "lvl": 255,
        "prob": 0.010106772,
        "id": 0
      },
      {
        "lvl": -1,
        "id": 1
      },
      {
        "lvl": -1,
        "id": 2
      },
      {
        "lvl": -1,
        "id": 3
      },
      {
        "lvl": -1,
        "id": 4
      },
      {
        "lvl": -1,
        "id": 5
      },
      {
        "lvl": -1,
        "id": 6
      },
      {
        "lvl": -1,
        "id": 7
      }
    ],
    "lvl": 255,
    "mods": [
      {
        "cls": 0
      }
    ],
    "prob": 0.010106772,
    "v": "7",
    "version": "v20.20"
  },
  "path": "linear_tree-0.3.5-py3-none-any.whl",
  "raw": {
    "files": [
      {
        "depth": 0,
        "facts": {
          "metrics": {
            "archive": {
              "compressed_size": 19813,
              "compression.method_counts.deflate": 9,
              "compression.ratio": 0.17,
              "crc_collision_count": 0,
              "directory_count": 0,
              "double_extension_count": 0,
              "duplicate_member_count": 0,
              "entry_comment_count": 0,
              "eocd_signature_count": 1,
              "executable_count": 0,
              "extra_field_size": 0,
              "file_count": 9,
              "format.regular_count": 9,
              "hidden_file_count": 0,
              "homoglyph_filename_count": 0,
              "local_header_signature_count": 9,
              "max_filename_length": 41,
              "member_count": 9,
              "misplaced_executable_count": 0,
              "nested_archive_count": 0,
              "noise_file_count": 0,
              "path_traversal_count": 0,
              "rtlo_filename_count": 0,
              "script_count": 4,
              "security.encrypted_count": 0,
              "security.setgid_count": 0,
              "security.setuid_count": 0,
              "security.sticky_count": 0,
              "security.symlink_count": 0,
              "security.world_writable_count": 0,
              "symlink_escape_count": 0,
              "timing.mtime_dominant_count": 5,
              "timing.mtime_dominant_ratio": 0.56,
              "timing.mtime_outlier_count": 4,
              "timing.mtime_spread_seconds": 31442454,
              "timing.mtime_unique_count": 5,
              "timing.mtime_unique_ratio": 0.56,
              "timing.sentinel_mtime_count": 0,
              "uncompressed_size": 119065,
              "unicode_filename_count": 0,
              "zip_bomb_ratio": 8.78
            },
            "binary": {
              "peak_region_bytes": 20480,
              "peak_region_entropy": 7.81
            },
            "consistency": {
              "metadata_identity_mismatch": 0,
              "self_dependency": 0
            },
            "file": {
              "entropy": 7.96,
              "size": 21061
            },
            "whl": {
              "native_extension_count": 0
            }
          }
        },
        "id": 0,
        "ident": {
          "name": {
            "value": "linear_tree",
            "source": "whl.distribution",
            "verified": false
          },
          "urls": [
            {
              "url": "https://github.com/cerlymarco/linear-tree",
              "kind": "homepage",
              "source": "whl.homepage"
            }
          ],
          "trust": "unsigned",
          "emails": [
            "cerlymarco@gmail.com"
          ],
          "authors": [
            {
              "name": "Marco Cerliani",
              "role": "author",
              "email": "cerlymarco@gmail.com",
              "source": "whl.authors"
            }
          ],
          "version": {
            "value": "0.3.5",
            "source": "whl.version",
            "verified": false
          },
          "description": {
            "value": "A python library to build Model Trees with Linear Models at the leaves.",
            "source": "whl.description",
            "verified": false
          }
        },
        "mol": "K(Am)H₃(CmDbPo)Md₂(Pa₄Pt₂)",
        "path": "linear_tree-0.3.5-py3-none-any.whl",
        "risk": 11,
        "sha": "a87766a40cf27eefed0866e3f7bd086f91fb0e0a73e49b5169f6b7606ade7361",
        "size": 21061,
        "traits": [
          {
            "conf": 0.8,
            "crit": 3,
            "desc": "Source has 6+ code-like string candidates",
            "from": [
              {
                "file": 5
              }
            ],
            "id": "metadata/lang/source/literal/embedded-source::embedded-code-candidates-6"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "Python execution API call syntax",
            "from": [
              {
                "file": 5
              }
            ],
            "id": "metadata/lang/source/syntax/call/invocation::python-execution-api-call-syntax"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Declares Markdown package description",
            "from": [
              {
                "file": 2
              }
            ],
            "id": "metadata/package/description/presence::pkginfo-markdown-description"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Declares Python runtime dependencies",
            "from": [
              {
                "file": 2
              }
            ],
            "id": "metadata/package/ecosystem::pkginfo-requires-dist"
          },
          {
            "conf": 0.94,
            "crit": 3,
            "desc": "Wheel name differs from first top-level module",
            "id": "metadata/package/name/convention::wheel-dist-name-top-level-mismatch"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Declares supported Python versions",
            "from": [
              {
                "file": 2
              }
            ],
            "id": "metadata/package/runtime::pkginfo-requires-python"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Python comment contains a URL",
            "from": [
              {
                "file": 5
              }
            ],
            "id": "micro-behaviors/communications/url/reference::python-comment-url-reference"
          },
          {
            "conf": 0.3,
            "crit": 3,
            "desc": "Python not-in membership check",
            "from": [
              {
                "file": 5
              }
            ],
            "id": "micro-behaviors/data/collection/membership::not-in-membership-check"
          },
          {
            "conf": 0.6,
            "crit": 3,
            "desc": "SQL SELECT syntax reference",
            "from": [
              {
                "file": 5
              }
            ],
            "id": "micro-behaviors/data/db/read/records::sql-select"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "Module built on the numeric Python stack",
            "from": [
              {
                "file": 5,
                "line": 2,
                "off": 23
              },
              {
                "file": 6,
                "line": 1,
                "off": 7
              },
              {
                "file": 7,
                "line": 1,
                "off": 7
              }
            ],
            "id": "micro-behaviors/data/manipulation::numeric-computation-library",
            "uses": [
              10,
              16,
              17
            ]
          },
          {
            "conf": 0.85,
            "crit": 3,
            "desc": "Dense NumPy array construction and reduction",
            "from": [
              {
                "file": 5,
                "line": 334,
                "off": 12190
              },
              {
                "file": 6,
                "line": 11,
                "off": 395
              },
              {
                "file": 7,
                "line": 219,
                "off": 8913
              }
            ],
            "id": "micro-behaviors/data/manipulation::numpy-array-operations",
            "uses": [
              11,
              12,
              13,
              14,
              15
            ]
          },
          {
            "conf": 0.85,
            "crit": 3,
            "desc": "NumPy array operation (arange)",
            "from": [
              {
                "file": 5
              }
            ],
            "id": "micro-behaviors/data/manipulation::numpy-array-operations--arange"
          },
          {
            "conf": 0.85,
            "crit": 3,
            "desc": "NumPy array operation (array)",
            "from": [
              {
                "file": 5
              }
            ],
            "id": "micro-behaviors/data/manipulation::numpy-array-operations--array"
          },
          {
            "conf": 0.85,
            "crit": 3,
            "desc": "NumPy array operation (mean)",
            "from": [
              {
                "file": 6
              }
            ],
            "id": "micro-behaviors/data/manipulation::numpy-array-operations--mean"
          },
          {
            "conf": 0.85,
            "crit": 3,
            "desc": "NumPy array operation (sum)",
            "from": [
              {
                "file": 5
              }
            ],
            "id": "micro-behaviors/data/manipulation::numpy-array-operations--sum"
          },
          {
            "conf": 0.85,
            "crit": 3,
            "desc": "NumPy array operation (zeros)",
            "from": [
              {
                "file": 5
              }
            ],
            "id": "micro-behaviors/data/manipulation::numpy-array-operations--zeros"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Imports the NumPy array library",
            "from": [
              {
                "file": 5
              }
            ],
            "id": "micro-behaviors/data/manipulation::numpy-import"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Imports a SciPy scientific module",
            "from": [
              {
                "file": 5
              }
            ],
            "id": "micro-behaviors/data/manipulation::scipy-import"
          },
          {
            "atk": "T1059.006",
            "conf": 0.85,
            "crit": 3,
            "desc": "Python eval() built-in function",
            "from": [
              {
                "file": 5
              }
            ],
            "id": "micro-behaviors/process/interpreter/eval/python-builtins::eval-builtin",
            "mbc": "E1059"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "Evaluates a subscripted value as Python",
            "from": [
              {
                "file": 5
              }
            ],
            "id": "micro-behaviors/process/interpreter/eval/python-builtins::python-eval-subscripted-value"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "GitHub service URL reference",
            "from": [
              {
                "file": 5
              }
            ],
            "id": "well-known/app/development/code-forge/github::github-service-url"
          },
          {
            "conf": 1.0,
            "crit": 2,
            "desc": "File uses a Python artifact extension",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "metadata/file/extension/identity::py"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports deepcopy from copy",
            "from": [
              {
                "file": 5
              }
            ],
            "id": "metadata/import/python/copy/deepcopy::deepcopy"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports copy",
            "from": [
              {
                "file": 5
              }
            ],
            "id": "metadata/import/python/copy::copy"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports update_wrapper from functools",
            "from": [
              {
                "file": 5
              }
            ],
            "id": "metadata/import/python/functools/update_wrapper::update_wrapper"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports functools",
            "from": [
              {
                "file": 5
              }
            ],
            "id": "metadata/import/python/functools::functools"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports Image from IPython.display",
            "from": [
              {
                "file": 5
              }
            ],
            "id": "metadata/import/python/ipython/display/image::image"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports IPython.display",
            "from": [
              {
                "file": 5
              }
            ],
            "id": "metadata/import/python/ipython/display::ipython/display"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports effective_n_jobs from joblib",
            "from": [
              {
                "file": 5
              }
            ],
            "id": "metadata/import/python/joblib/effective_n_jobs::effective_n_jobs"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports Parallel from joblib",
            "from": [
              {
                "file": 5
              }
            ],
            "id": "metadata/import/python/joblib/parallel::parallel"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports joblib",
            "from": [
              {
                "file": 5
              }
            ],
            "id": "metadata/import/python/joblib::joblib"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports numbers",
            "from": [
              {
                "file": 5
              }
            ],
            "id": "metadata/import/python/numbers::numbers"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports numpy as np",
            "from": [
              {
                "file": 5
              }
            ],
            "id": "metadata/import/python/numpy::np"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports pydot",
            "from": [
              {
                "file": 5
              }
            ],
            "id": "metadata/import/python/pydot::pydot"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ._classes._LinearBoosting from ._classes",
            "from": [
              {
                "file": 7
              }
            ],
            "id": "metadata/import/python/relative/1/_classes/_linearboosting::_linearboosting"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ._classes._LinearForest from ._classes",
            "from": [
              {
                "file": 7
              }
            ],
            "id": "metadata/import/python/relative/1/_classes/_linearforest::_linearforest"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ._classes._LinearTree from ._classes",
            "from": [
              {
                "file": 7
              }
            ],
            "id": "metadata/import/python/relative/1/_classes/_lineartree::_lineartree"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ._classes._predict_branch from ._classes",
            "from": [
              {
                "file": 7
              }
            ],
            "id": "metadata/import/python/relative/1/_classes/_predict_branch::_predict_branch"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ._classes",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "metadata/import/python/relative/1/_classes::relative/1/_classes"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ._criterion.crossentropy from ._criterion",
            "from": [
              {
                "file": 5
              }
            ],
            "id": "metadata/import/python/relative/1/_criterion/crossentropy::crossentropy"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ._criterion.hamming from ._criterion",
            "from": [
              {
                "file": 5
              }
            ],
            "id": "metadata/import/python/relative/1/_criterion/hamming::hamming"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ._criterion.mae from ._criterion",
            "from": [
              {
                "file": 5
              }
            ],
            "id": "metadata/import/python/relative/1/_criterion/mae::mae"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ._criterion.mse from ._criterion",
            "from": [
              {
                "file": 5
              }
            ],
            "id": "metadata/import/python/relative/1/_criterion/mse::mse"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ._criterion.poisson from ._criterion",
            "from": [
              {
                "file": 5
              }
            ],
            "id": "metadata/import/python/relative/1/_criterion/poisson::poisson"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ._criterion.rmse from ._criterion",
            "from": [
              {
                "file": 5
              }
            ],
            "id": "metadata/import/python/relative/1/_criterion/rmse::rmse"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ._criterion.SCORING from ._criterion",
            "from": [
              {
                "file": 5
              }
            ],
            "id": "metadata/import/python/relative/1/_criterion/scoring::scoring"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ._criterion",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "metadata/import/python/relative/1/_criterion::relative/1/_criterion"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports .lineartree",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "metadata/import/python/relative/1/lineartree::relative/1/lineartree"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports scipy.sparse as sp",
            "from": [
              {
                "file": 5
              }
            ],
            "id": "metadata/import/python/scipy/sparse::sp"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports BaseEstimator from sklearn.base",
            "from": [
              {
                "file": 5
              }
            ],
            "id": "metadata/import/python/sklearn/base/baseestimator::baseestimator"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ClassifierMixin from sklearn.base",
            "from": [
              {
                "file": 7
              }
            ],
            "id": "metadata/import/python/sklearn/base/classifiermixin::classifiermixin"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports is_regressor from sklearn.base",
            "from": [
              {
                "file": 5
              }
            ],
            "id": "metadata/import/python/sklearn/base/is_regressor::is_regressor"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports RegressorMixin from sklearn.base",
            "from": [
              {
                "file": 7
              }
            ],
            "id": "metadata/import/python/sklearn/base/regressormixin::regressormixin"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports TransformerMixin from sklearn.base",
            "from": [
              {
                "file": 5
              }
            ],
            "id": "metadata/import/python/sklearn/base/transformermixin::transformermixin"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports sklearn.base",
            "from": [
              {
                "file": 5
              }
            ],
            "id": "metadata/import/python/sklearn/base::sklearn/base"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports config_context from sklearn",
            "from": [
              {
                "file": 5
              }
            ],
            "id": "metadata/import/python/sklearn/config_context::config_context"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports DummyClassifier from sklearn.dummy",
            "from": [
              {
                "file": 5
              }
            ],
            "id": "metadata/import/python/sklearn/dummy/dummyclassifier::dummyclassifier"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports sklearn.dummy",
            "from": [
              {
                "file": 5
              }
            ],
            "id": "metadata/import/python/sklearn/dummy::sklearn/dummy"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports RandomForestRegressor from sklearn.ensemble",
            "from": [
              {
                "file": 5
              }
            ],
            "id": "metadata/import/python/sklearn/ensemble/randomforestregressor::randomforestregressor"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports sklearn.ensemble",
            "from": [
              {
                "file": 5
              }
            ],
            "id": "metadata/import/python/sklearn/ensemble::sklearn/ensemble"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports get_config from sklearn",
            "from": [
              {
                "file": 5
              }
            ],
            "id": "metadata/import/python/sklearn/get_config::get_config"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports DecisionTreeRegressor from sklearn.tree",
            "from": [
              {
                "file": 5
              }
            ],
            "id": "metadata/import/python/sklearn/tree/decisiontreeregressor::decisiontreeregressor"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports sklearn.tree",
            "from": [
              {
                "file": 5
              }
            ],
            "id": "metadata/import/python/sklearn/tree::sklearn/tree"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports _check_sample_weight from sklearn.utils.validation",
            "from": [
              {
                "file": 7
              }
            ],
            "id": "metadata/import/python/sklearn/utils/validation/_check_sample_weight::_check_sample_weight"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports check_is_fitted from sklearn.utils.validation",
            "from": [
              {
                "file": 5
              }
            ],
            "id": "metadata/import/python/sklearn/utils/validation/check_is_fitted::check_is_fitted"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports has_fit_parameter from sklearn.utils.validation",
            "from": [
              {
                "file": 5
              }
            ],
            "id": "metadata/import/python/sklearn/utils/validation/has_fit_parameter::has_fit_parameter"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports sklearn.utils.validation",
            "from": [
              {
                "file": 5
              }
            ],
            "id": "metadata/import/python/sklearn/utils/validation::sklearn/utils/validation"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports sklearn",
            "from": [
              {
                "file": 5
              }
            ],
            "id": "metadata/import/python/sklearn::sklearn"
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "Declares Python package summary",
            "from": [
              {
                "file": 2
              }
            ],
            "id": "metadata/package/description/presence::pkginfo-summary-field"
          },
          {
            "conf": 0.8,
            "crit": 2,
            "desc": "Python doctest prompt",
            "from": [
              {
                "file": 7
              }
            ],
            "id": "metadata/package/documentation/docstring::python-doctest-prompt"
          },
          {
            "conf": 1.0,
            "crit": 2,
            "desc": "Declares Python Core Metadata version",
            "from": [
              {
                "file": 2
              }
            ],
            "id": "metadata/package/ecosystem::pkginfo-core-metadata"
          },
          {
            "conf": 0.92,
            "crit": 2,
            "desc": "Wheel contains a Python-code member",
            "id": "metadata/package/files/wheel-sdist::wheel-python-code-member"
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "Declares Python package name",
            "from": [
              {
                "file": 2
              }
            ],
            "id": "metadata/package/name/presence::pkginfo-name-field"
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "Declares Python package version",
            "from": [
              {
                "file": 2
              }
            ],
            "id": "metadata/package/version::pkginfo-version-field"
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"the\"",
            "from": [
              {
                "file": 5
              }
            ],
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-1"
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"and\"",
            "from": [
              {
                "file": 5
              }
            ],
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-2"
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"that\"",
            "from": [
              {
                "file": 5
              }
            ],
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-3"
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"have\"",
            "from": [
              {
                "file": 5
              }
            ],
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-4"
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"for\"",
            "from": [
              {
                "file": 5
              }
            ],
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-5"
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"with\"",
            "from": [
              {
                "file": 5
              }
            ],
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-6"
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"this\"",
            "from": [
              {
                "file": 5
              }
            ],
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-7"
          }
        ],
        "type": "whl"
      },
      {
        "ctx": [
          {
            "col": 1,
            "line": 1,
            "ln": 0,
            "s": "MIT License\r\n\r\nCopyright (c) 2021 Marco Cerliani\r\n\r\nPermission is hereby granted, free of charge, to any person obtaining a copy\r\nof this software and associated documentation files (the \"Software\"), to deal\r\nin the Software without restriction, including without limitation the rights\r\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\r\ncopies of the Software, and to permit persons to whom the Software is\r\nfurnished to do so, subject to the following conditions:\r\n\r\nThe above copyright notice and this permission notice shall be included in all\r\ncopies or substantial portions of the Software.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\r\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\r\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\r\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\r\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\r\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\r\nSOFTWARE.\r\n"
          }
        ],
        "depth": 1,
        "facts": {
          "metrics": {
            "binary": {
              "peak_region_bytes": 1024,
              "peak_region_entropy": 5.13
            },
            "file": {
              "entropy": 5.13,
              "size": 1092
            }
          }
        },
        "id": 1,
        "path": "linear_tree-0.3.5-py3-none-any.whl!!linear_tree-0.3.5.dist-info/LICENSE",
        "pid": 0,
        "risk": 1,
        "sha": "bce95e0a4448f048dc065ba8643bd8c24e1c9a48acd46743c7393b54aaaf4414",
        "sid": 10796093216,
        "size": 1092,
        "traits": [
          {
            "conf": 0.8,
            "crit": 2,
            "desc": "Contains common English function words",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english",
            "spans": [
              [
                183,
                0
              ]
            ],
            "uses": [
              3,
              4,
              5,
              6,
              7
            ]
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "MIT license permission grant sentence",
            "id": "metadata/package/license::mit-license-grant-text",
            "spans": [
              [
                52,
                0
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "Permission or access term",
            "id": "metadata/permission/prose::permission-permission-term-english",
            "spans": [
              [
                52,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"the\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-1",
            "spans": [
              [
                183,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"and\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-2",
            "spans": [
              [
                147,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"for\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-5",
            "spans": [
              [
                782,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"with\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-6",
            "spans": [
              [
                1026,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"this\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-7",
            "spans": [
              [
                133,
                0
              ]
            ]
          }
        ],
        "type": "text"
      },
      {
        "ctx": [
          {
            "col": 1,
            "line": 1,
            "ln": 0,
            "s": "Metadata-Version: 2.1\nName: linear-tree\nVersion: 0.3.5\nSummary: A python library to build Model Trees with Linear Models at the leaves.\nHome-page: https://github.com/cerlymarco/linear-tree\nAuthor: Marco Cerliani\nAuthor-email: cerlymarco@gmail.com\nLicense: MIT\nPlatform: UNKNOWN\nRequires-Python: \u003e=3\nDescription-Content-Type: text/markdown\nRequires-Dist: scikit-learn (\u003e=0.24.2)\nRequires-Dist: numpy\nRequires-Dist: scipy\n\n# linear-tree\nA python library to build Model Trees with Linear Models at the leaves"
          },
          {
            "col": 106,
            "line": 132,
            "ln": 7396,
            "s": "ts.png)\n\nImpact of the features automatically generated with Linear Boosting:\n\n![linear_boost_importances](https://raw."
          }
        ],
        "depth": 1,
        "facts": {
          "metrics": {
            "binary": {
              "peak_region_bytes": 6999,
              "peak_region_entropy": 4.9
            },
            "consistency": {
              "metadata_identity_mismatch": 0,
              "self_dependency": 0
            },
            "file": {
              "entropy": 4.82,
              "size": 8023
            },
            "references": {
              "declared_count": 3,
              "security_hold_count": 0,
              "unavailable_browser_script_count": 0,
              "unavailable_command_count": 0,
              "unavailable_vsix_url_count": 0,
              "unresolved_count": 0,
              "unresolved_extension_count": 0,
              "unresolved_required_extension_count": 0
            }
          }
        },
        "id": 2,
        "mol": "Md(Pa₃)",
        "path": "linear_tree-0.3.5-py3-none-any.whl!!linear_tree-0.3.5.dist-info/METADATA",
        "pid": 0,
        "refs": [
          {
            "kind": "dependency",
            "off": 354,
            "to": "pkg:pypi/scikit-learn?version_requirement=%3E%3D0.24.2"
          },
          {
            "kind": "dependency",
            "off": 393,
            "sha256": "5cddc243c75114ba845f01b1f87aca1572dbf7b6c2d88636ed3e1d2bccd7f1bf",
            "to": "pkg:pypi/numpy"
          },
          {
            "kind": "dependency",
            "off": 414,
            "to": "pkg:pypi/scipy"
          }
        ],
        "risk": 4,
        "sha": "92ad4bc7901dd57821a37859a0805d0eed2347af1957d0b406651d4f65def95f",
        "sid": 10795866739,
        "size": 8023,
        "supp": [
          {
            "by": [
              {
                "id": "value"
              }
            ],
            "crit": "notable",
            "id": "metadata/package/description/presence::pkginfo-no-summary",
            "kind": "unless"
          }
        ],
        "traits": [
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Declares Markdown package description",
            "id": "metadata/package/description/presence::pkginfo-markdown-description",
            "spans": [
              [
                299,
                39
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Declares Python runtime dependencies",
            "id": "metadata/package/ecosystem::pkginfo-requires-dist",
            "spans": [
              [
                339,
                38
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Declares supported Python versions",
            "id": "metadata/package/runtime::pkginfo-requires-python",
            "spans": [
              [
                278,
                20
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "Declares Python package summary",
            "id": "metadata/package/description/presence::pkginfo-summary-field",
            "spans": [
              [
                55,
                0
              ]
            ]
          },
          {
            "conf": 1.0,
            "crit": 2,
            "desc": "Declares Python Core Metadata version",
            "id": "metadata/package/ecosystem::pkginfo-core-metadata"
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "Declares Python package name",
            "id": "metadata/package/name/presence::pkginfo-name-field",
            "spans": [
              [
                22,
                0
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "Declares Python package version",
            "id": "metadata/package/version::pkginfo-version-field",
            "spans": [
              [
                40,
                0
              ]
            ]
          }
        ],
        "type": "pkg_info"
      },
      {
        "depth": 1,
        "facts": {
          "metrics": {
            "binary": {
              "peak_region_bytes": 11,
              "peak_region_entropy": 2.85
            },
            "file": {
              "entropy": 2.85,
              "size": 11
            }
          }
        },
        "id": 3,
        "path": "linear_tree-0.3.5-py3-none-any.whl!!linear_tree-0.3.5.dist-info/top_level.txt",
        "pid": 0,
        "risk": 1,
        "sha": "e7843f90963bad884524170f2f6582316ccc2a10fb5323f20c9b79799a0836fb",
        "sid": 10796093219,
        "size": 11,
        "traits": [
          {
            "conf": 1.0,
            "crit": 2,
            "desc": "Text, document, or config extension",
            "id": "metadata/file/extension/identity::doc-or-config-extension"
          },
          {
            "conf": 1.0,
            "crit": 2,
            "desc": "JSON, text, or markdown filename extension",
            "id": "metadata/file/extension/identity::json-txt-md-basename"
          }
        ],
        "type": "text"
      },
      {
        "depth": 1,
        "facts": {
          "imp": [
            [
              "",
              "._classes"
            ],
            [
              "",
              "._criterion"
            ],
            [
              "",
              ".lineartree"
            ]
          ],
          "metrics": {
            "ast": {
              "call_count": 0,
              "max_depth": 4,
              "node_count": 31
            },
            "binary": {
              "peak_region_bytes": 75,
              "peak_region_entropy": 3.94
            },
            "file": {
              "entropy": 3.94,
              "size": 75
            },
            "identifiers": {
              "all_lowercase_ratio": 1,
              "avg_entropy": 2.66,
              "avg_length": 9.33,
              "count": 3,
              "length_stddev": 0.94,
              "max_length": 10,
              "min_length": 8,
              "reuse_ratio": 1,
              "underscore_prefix_count": 2,
              "unique": 3
            },
            "imports": {
              "count": 3,
              "relative": 3,
              "relative_ratio": 1,
              "third_party_count": 3,
              "third_party_ratio": 1
            },
            "text": {
              "avg_line_length": 24.33,
              "char_entropy": 3.94,
              "identifier_density": 1,
              "import_density": 100,
              "last_line_length": 25,
              "line_length_stddev": 0.94,
              "lines": 3,
              "max_line_length": 25,
              "max_whitespace_run": 1,
              "normalized_import_count": 1.73,
              "normalized_unique_identifiers": 1.89,
              "space_count": 9,
              "top_char": 114,
              "top_char_null": 0,
              "top_char_ratio": 0.13,
              "unique_chars": 18,
              "whitespace_ratio": 0.15
            }
          }
        },
        "id": 4,
        "path": "linear_tree-0.3.5-py3-none-any.whl!!lineartree/__init__.py",
        "pid": 0,
        "risk": 1,
        "sha": "75086c2d8a5b3bb7c1f87237179d019e1c6eff188383d04165fac8c4a6195638",
        "sid": 10796093212,
        "size": 75,
        "supp": [
          {
            "by": [
              {
                "id": "basename"
              }
            ],
            "crit": "notable",
            "id": "metadata/file/size::small-no-imports",
            "kind": "unless"
          }
        ],
        "traits": [
          {
            "conf": 1.0,
            "crit": 2,
            "desc": "File uses a Python artifact extension",
            "id": "metadata/file/extension/identity::py"
          },
          {
            "conf": 1.0,
            "crit": 2,
            "desc": "Python source, stub, or bytecode extension",
            "id": "metadata/file/extension/identity::python-artifact-extension"
          },
          {
            "conf": 1.0,
            "crit": 2,
            "desc": "Python source file extension (.py only)",
            "id": "metadata/file/extension/identity::python-source-extension"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ._classes",
            "id": "metadata/import/python/relative/1/_classes::relative/1/_classes",
            "spans": [
              [
                5,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ._criterion",
            "id": "metadata/import/python/relative/1/_criterion::relative/1/_criterion",
            "spans": [
              [
                29,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports .lineartree",
            "id": "metadata/import/python/relative/1/lineartree::relative/1/lineartree",
            "spans": [
              [
                55,
                0
              ]
            ]
          }
        ],
        "type": "python"
      },
      {
        "analysis_gaps": [
          "flow-graph-limited",
          "flow-call-unavailable",
          "flow-query-incomplete"
        ],
        "ctx": [
          {
            "col": 1,
            "line": 1,
            "ln": 0,
            "s": "import numbers\r\nimport numpy as np\r\nimport scipy.sparse as sp\r\n\r\nfrom copy import deepcopy\r\nfrom joblib import Parallel, effective_n_jobs  # , delayed\r\n\r\nfrom sklearn.dummy import DummyClassifier\r\nfrom sklearn.tree import DecisionTreeRegressor\r\nfrom sklearn.ensemble import RandomForestRegressor\r\n\r\nfrom sklearn.base import is_regressor\r\nfrom sklearn.base import BaseEstimator, TransformerMixin\r\nfrom sklearn.utils.validation import has_fit_parameter, check_is_fitted\r\n\r\nfrom ._criterion import SCORING\r\nfrom ._criterion import mse, rmse, mae, poisson\r\nfrom ._criterion import hamming, crossentropy\r\n\r\nimport sklearn\r\n_sklearn_v1 = eval(sklearn.__version__.split('.')[0]) \u003e 0\r\n\r\n\r\nCRITERIA = {\"mse\": mse,\r\n            \"rmse\": rmse,\r\n            \"mae\": mae,\r\n            \"poisson\": poisson,\r\n        "
          },
          {
            "col": 12,
            "line": 32,
            "ln": 882,
            "s": "##############################################################\r\n### remove when https://github.com/joblib/joblib/issues/1071 is fixed ###\r\n#########################################################################\r\nfrom sklearn import get_config, config_context\r\nfrom functools import update_wrapper\r\nimport functools\r\n\r\n# from sklearn.utils.fixes\r\ndef delayed(function):\r\n    \"\"\"Decorator used to capture the arguments of a function.\"\"\"\r\n    @functools.wraps(function)\r\n    def delayed_function(*args, **"
          },
          {
            "col": 3,
            "line": 55,
            "ln": 1754,
            "s": "  def __call__(self, *args, **kwargs):\r\n        with config_context(**self.config):\r\n            return self.function(*args, **kwargs)\r\n############"
          },
          {
            "col": 23,
            "line": 94,
            "ln": 3281,
            "s": "plit_t, split_col, left_node, right_node\r\n\r\n    for col, _bin in zip(split_feat, bins):\r\n\r\n        for q in _bin:\r\n\r\n            # create 1D bool mask for right/left children\r\n            mask = (X[:, col"
          },
          {
            "col": 2,
            "line": 184,
            "ln": 6740,
            "s": "       mask = np.repeat(True, X.shape[0])\r\n\r\n    for node in branch_history:\r\n        mask = np.logical_and(_map_node(X, *node), mask)\r\n\r\n    return mask\r\n\r\n"
          },
          {
            "col": 5,
            "line": 206,
            "ln": 7356,
            "s": "    self.classes = classes\r\n\r\n\r\nclass _LinearTree(BaseEstimator):\r\n    \"\"\"Base class for Linear Tree meta-estimator.\r\n\r\n    Warning: This class should not be used directly. Use derived classes\r\n    instead.\r\n    \"\"\"\r\n    def __init__"
          },
          {
            "col": 43,
            "line": 239,
            "ln": 8551,
            "s": "ven node (in a specific partition of\r\n        X and y).\r\n\r\n        Parameters\r\n        ----------\r\n        X : array-like of shape (n_samples, n_fe"
          },
          {
            "col": 43,
            "line": 258,
            "ln": 9262,
            "s": "samples are equally weighted.\r\n            Note that if the base estimator does not support sample weighting,\r\n            the sample weights are st"
          },
          {
            "col": 26,
            "line": 281,
            "ln": 10244,
            "s": "support_sample_weight,\r\n                [bins[i] for i in feat],\r\n                loss\r\n            )\r\n            for feat in split_feat)\r\n\r\n        # extract results from parallel loops\r\n        _losses, split_t, split_co"
          },
          {
            "col": 50,
            "line": 288,
            "ln": 10482,
            "s": "\n        left_node, right_node = [], []\r\n        for job_res in all_results:\r\n            _losses.append(job_res[0])\r\n            split_t.append(job_res[1])\r\n  "
          },
          {
            "col": 22,
            "line": 333,
            "ln": 12126,
            "s": "f.n_features_in_ = X.shape\r\n        self.feature_importances_ = np.zeros((self.n_features_in_,))\r\n\r\n        # extract quantiles\r\n        bins = np.linspace(0, 1, self.max_bins)[1:-1]\r\n        bins = n"
          },
          {
            "col": 42,
            "line": 377,
            "ln": 13766,
            "s": "\r\n        mask = start.copy()\r\n\r\n        i = 1\r\n        while len(queue) \u003e 0:\r\n\r\n            if weights is None:\r\n                split_t, split_col, left_node, right_node ="
          },
          {
            "col": 25,
            "line": 516,
            "ln": 19434,
            "s": "near models are accepted as base_estimator. \"\r\n                \"Select one from linear_model class of scikit-learn.\")\r\n\r\n        if self.categorical_features is not None:\r\n            cat_features = np.unique(self.catego"
          },
          {
            "col": 19,
            "line": 551,
            "ln": 21032,
            "s": "      n_feat - 1))\r\n        else:\r\n            split_features = np.arange(n_feat)\r\n        self._split_features = split_features\r\n\r\n        if self.linear_features is not None:\r\n            linear_feat"
          },
          {
            "col": 1,
            "line": 576,
            "ln": 22075,
            "s": "        self._grow(X, y, sample_weight)\r\n\r\n        normalizer = np.sum(self.feature_importances_)\r\n        if normalizer \u003e 0:\r\n            self.feature_importances_ /= normalizer\r\n\r\n        return s"
          },
          {
            "col": 1,
            "line": 607,
            "ln": 23161,
            "s": "                - 'th' (^): threshold value used for splitting in the\r\n                  selected column;\r\n                - 'loss': loss computed at node level. "
          },
          {
            "col": 18,
            "line": 708,
            "ln": 26756,
            "s": "= np.zeros(X.shape[0], dtype='int64')\r\n\r\n        for L in self._leaves.values():\r\n\r\n            mask = _predict_branch(X, L.threshold)\r\n            if (~m"
          },
          {
            "col": 7,
            "line": 756,
            "ln": 28083,
            "s": "      p = L.parent\r\n            paths_id = [n]\r\n\r\n            while p is not None:\r\n                n = self._nodes[p].id\r\n                p = self._nodes[p].parent\r\n            "
          },
          {
            "col": 15,
            "line": 771,
            "ln": 28607,
            "s": "nstalling graphviz make sure to add it to the system path.\r\n\r\n        Parameters\r\n        ---------"
          },
          {
            "col": 30,
            "line": 786,
            "ln": 29154,
            "s": "e representing the Linear Tree. Splitting nodes have\r\n            a rectangular shape while leaf nodes have a circular one.\r\n        \"\"\"\r\n        import pydot\r\n\r\n        summary = self.summary(feature_names=feature_names, max_depth=max_depth)\r\n        gr"
          },
          {
            "col": 48,
            "line": 792,
            "ln": 29445,
            "s": "type='graph')\r\n\r\n        # create nodes\r\n        for n in summary:\r\n            if 'col' in summary[n]:\r\n                if isinstance(summary[n]['col'], "
          },
          {
            "col": 7,
            "line": 808,
            "ln": 30053,
            "s": "          for c in summary[n]['children']:\r\n                    if c not in summary:\r\n                        graph.add_node(pydot.Node(c, label=\"...\",\r\n                                                  shape='re"
          },
          {
            "col": 9,
            "line": 846,
            "ln": 31648,
            "s": "have a circular one.\r\n        \"\"\"\r\n        from IPython.display import Image\r\n\r\n        graph = self.model_to_dot(feature_names=feature_names, max_depth=max_depth)\r\n\r\n     "
          },
          {
            "col": 27,
            "line": 1096,
            "ln": 40463,
            "s": " dict(map(reversed, enumerate(self.classes_)))\r\n            y = np.array([class_to_int[i] for i in y])\r\n            y = self._inv_sigmoid(y)\r\n\r\n        self.base_estimator_ = deepcopy(self.base_estima"
          }
        ],
        "depth": 1,
        "facts": {
          "funcs": [
            [
              "delayed",
              1230
            ],
            [
              "delayed_function",
              1356
            ],
            [
              "__init__",
              1604
            ],
            [
              "__call__",
              1756
            ],
            [
              "_partition_columns",
              2119
            ],
            [
              "_parallel_binning_fit",
              2711
            ],
            [
              "_map_node",
              6396
            ],
            [
              "_predict_branch",
              6617
            ],
            [
              "__init__",
              6918
            ],
            [
              "__init__",
              7577
            ],
            [
              "_parallel_args",
              8330
            ],
            [
              "_split",
              8382
            ],
            [
              "_grow",
              11336
            ],
            [
              "_fit",
              16427
            ],
            [
              "summary",
              22284
            ],
            [
              "apply",
              25861
            ],
            [
              "decision_path",
              27019
            ],
            [
              "model_to_dot",
              28387
            ],
            [
              "plot_model",
              30721
            ],
            [
              "__init__",
              32076
            ],
            [
              "_fit",
              32912
            ],
            [
              "transform",
              36205
            ],
            [
              "__init__",
              37549
            ],
            [
              "_sigmoid",
              38538
            ],
            [
              "_inv_sigmoid",
              38927
            ],
            [
              "_fit",
              39324
            ],
            [
              "apply",
              42003
            ],
            [
              "decision_path",
              42577
            ]
          ],
          "imp": [
            [
              "",
              "eval"
            ],
            [
              "",
              "sklearn.__version__.split"
            ],
            [
              "",
              "functools.wraps"
            ],
            [
              "",
              "_FuncWrapper"
            ],
            [
              "",
              "get_config"
            ],
            [
              "",
              "update_wrapper"
            ],
            [
              "",
              "config_context"
            ],
            [
              "",
              "self.function"
            ],
            [
              "",
              "len"
            ],
            [
              "",
              "min"
            ],
            [
              "",
              "effective_n_jobs"
            ],
            [
              "",
              "np.full"
            ],
            [
              "",
              "np.cumsum"
            ],
            [
              "",
              "np.split"
            ],
            [
              "",
              "zip"
            ],
            [
              "",
              "mask.sum"
            ],
            [
              "",
              "np.ix_"
            ],
            [
              "",
              "np.ix_"
            ],
            [
              "",
              "deepcopy"
            ],
            [
              "",
              "deepcopy"
            ],
            [
              "",
              "hasattr"
            ],
            [
              "",
              "np.unique"
            ],
            [
              "",
              "np.unique"
            ],
            [
              "",
              "len"
            ],
            [
              "",
              "DummyClassifier"
            ],
            [
              "",
              "len"
            ],
            [
              "",
              "DummyClassifier"
            ],
            [
              "",
              "model_left.fit"
            ],
            [
              "",
              "feval"
            ],
            [
              "",
              "model_right.fit"
            ],
            [
              "",
              "feval"
            ],
            [
              "",
              "model_left.fit"
            ],
            [
              "",
              "model_right.fit"
            ],
            [
              "",
              "model_left.fit"
            ],
            [
              "",
              "model_right.fit"
            ],
            [
              "",
              "feval"
            ],
            [
              "",
              "weights.sum"
            ],
            [
              "",
              "feval"
            ],
            [
              "",
              "weights.sum"
            ],
            [
              "",
              "round"
            ],
            [
              "",
              "np.repeat"
            ],
            [
              "",
              "np.logical_and"
            ],
            [
              "",
              "_map_node"
            ],
            [
              "",
              "_partition_columns"
            ],
            [
              "",
              "Parallel"
            ],
            [
              "",
              "Parallel"
            ],
            [
              "",
              "self._parallel_args"
            ],
            [
              "",
              "delayed"
            ],
            [
              "",
              "delayed"
            ],
            [
              "",
              "_losses.append"
            ],
            [
              "",
              "split_t.append"
            ],
            [
              "",
              "split_col.append"
            ],
            [
              "",
              "left_node.append"
            ],
            [
              "",
              "right_node.append"
            ],
            [
              "",
              "np.argmin"
            ],
            [
              "",
              "np.zeros"
            ],
            [
              "",
              "np.linspace"
            ],
            [
              "",
              "np.quantile"
            ],
            [
              "",
              "list"
            ],
            [
              "",
              "np.unique"
            ],
            [
              "",
              "np.unique"
            ],
            [
              "",
              "enumerate"
            ],
            [
              "",
              "has_fit_parameter"
            ],
            [
              "",
              "deepcopy"
            ],
            [
              "",
              "model.fit"
            ],
            [
              "",
              "model.fit"
            ],
            [
              "",
              "hasattr"
            ],
            [
              "",
              "round"
            ],
            [
              "",
              "Node"
            ],
            [
              "",
              "np.repeat"
            ],
            [
              "",
              "start.copy"
            ],
            [
              "",
              "len"
            ],
            [
              "",
              "self._split"
            ],
            [
              "",
              "self._split"
            ],
            [
              "",
              "len"
            ],
            [
              "",
              "queue.pop"
            ],
            [
              "",
              "Node"
            ],
            [
              "",
              "Node"
            ],
            [
              "",
              "hasattr"
            ],
            [
              "",
              "queue.pop"
            ],
            [
              "",
              "queue.extend"
            ],
            [
              "",
              "len"
            ],
            [
              "",
              "_predict_branch"
            ],
            [
              "",
              "start.copy"
            ],
            [
              "",
              "isinstance"
            ],
            [
              "",
              "ValueError"
            ],
            [
              "",
              "ValueError"
            ],
            [
              "",
              "int"
            ],
            [
              "",
              "np.ceil"
            ],
            [
              "",
              "max"
            ],
            [
              "",
              "isinstance"
            ],
            [
              "",
              "ValueError"
            ],
            [
              "",
              "ValueError"
            ],
            [
              "",
              "int"
            ],
            [
              "",
              "np.ceil"
            ],
            [
              "",
              "max"
            ],
            [
              "",
              "ValueError"
            ],
            [
              "",
              "ValueError"
            ],
            [
              "",
              "hasattr"
            ],
            [
              "",
              "ValueError"
            ],
            [
              "",
              "np.unique"
            ],
            [
              "",
              "issubclass"
            ],
            [
              "",
              "ValueError"
            ],
            [
              "",
              "ValueError"
            ],
            [
              "",
              "len"
            ],
            [
              "",
              "ValueError"
            ],
            [
              "",
              "np.unique"
            ],
            [
              "",
              "issubclass"
            ],
            [
              "",
              "ValueError"
            ],
            [
              "",
              "ValueError"
            ],
            [
              "",
              "np.arange"
            ],
            [
              "",
              "np.unique"
            ],
            [
              "",
              "issubclass"
            ],
            [
              "",
              "ValueError"
            ],
            [
              "",
              "ValueError"
            ],
            [
              "",
              "np.isin.any"
            ],
            [
              "",
              "np.isin"
            ],
            [
              "",
              "ValueError"
            ],
            [
              "",
              "np.setdiff1d"
            ],
            [
              "",
              "np.arange"
            ],
            [
              "",
              "self._grow"
            ],
            [
              "",
              "np.sum"
            ],
            [
              "",
              "check_is_fitted"
            ],
            [
              "",
              "ValueError"
            ],
            [
              "",
              "len"
            ],
            [
              "",
              "len"
            ],
            [
              "",
              "ValueError"
            ],
            [
              "",
              "len"
            ],
            [
              "",
              "np.arange"
            ],
            [
              "",
              "self._nodes.items"
            ],
            [
              "",
              "len"
            ],
            [
              "",
              "round"
            ],
            [
              "",
              "round"
            ],
            [
              "",
              "self._leaves.items"
            ],
            [
              "",
              "len"
            ],
            [
              "",
              "round"
            ],
            [
              "",
              "hasattr"
            ],
            [
              "",
              "check_is_fitted"
            ],
            [
              "",
              "self._validate_data"
            ],
            [
              "",
              "np.zeros"
            ],
            [
              "",
              "self._leaves.values"
            ],
            [
              "",
              "_predict_branch"
            ],
            [
              "",
              "check_is_fitted"
            ],
            [
              "",
              "self._validate_data"
            ],
            [
              "",
              "np.zeros"
            ],
            [
              "",
              "self._leaves.values"
            ],
            [
              "",
              "_predict_branch"
            ],
            [
              "",
              "paths_id.append"
            ],
            [
              "",
              "np.ix_"
            ],
            [
              "",
              "sp.csr_matrix"
            ],
            [
              "",
              "self.summary"
            ],
            [
              "",
              "pydot.Dot"
            ],
            [
              "",
              "isinstance"
            ],
            [
              "",
              "msg.format"
            ],
            [
              "",
              "graph.add_node"
            ],
            [
              "",
              "pydot.Node"
            ],
            [
              "",
              "graph.add_node"
            ],
            [
              "",
              "pydot.Node"
            ],
            [
              "",
              "graph.add_node"
            ],
            [
              "",
              "pydot.Node"
            ],
            [
              "",
              "graph.add_edge"
            ],
            [
              "",
              "pydot.Edge"
            ],
            [
              "",
              "self.model_to_dot"
            ],
            [
              "",
              "Image"
            ],
            [
              "",
              "graph.create_png"
            ],
            [
              "",
              "hasattr"
            ],
            [
              "",
              "ValueError"
            ],
            [
              "",
              "ValueError"
            ],
            [
              "",
              "range"
            ],
            [
              "",
              "deepcopy"
            ],
            [
              "",
              "estimator.fit"
            ],
            [
              "",
              "estimator.predict_proba"
            ],
            [
              "",
              "estimator.predict"
            ],
            [
              "",
              "hasattr"
            ],
            [
              "",
              "resid.mean"
            ],
            [
              "",
              "DecisionTreeRegressor"
            ],
            [
              "",
              "tree.fit"
            ],
            [
              "",
              "self._trees.append"
            ],
            [
              "",
              "np.abs"
            ],
            [
              "",
              "tree.predict"
            ],
            [
              "",
              "np.max"
            ],
            [
              "",
              "self._leaves.append"
            ],
            [
              "",
              "pred_tree.reshape"
            ],
            [
              "",
              "np.concatenate"
            ],
            [
              "",
              "deepcopy"
            ],
            [
              "",
              "self.base_estimator_.fit"
            ],
            [
              "",
              "hasattr"
            ],
            [
              "",
              "hasattr"
            ],
            [
              "",
              "check_is_fitted"
            ],
            [
              "",
              "self._validate_data"
            ],
            [
              "",
              "zip"
            ],
            [
              "",
              "np.abs"
            ],
            [
              "",
              "tree.predict"
            ],
            [
              "",
              "pred_tree.reshape"
            ],
            [
              "",
              "np.concatenate"
            ],
            [
              "",
              "np.exp"
            ],
            [
              "",
              "np.exp"
            ],
            [
              "",
              "y.clip"
            ],
            [
              "",
              "np.log"
            ],
            [
              "",
              "hasattr"
            ],
            [
              "",
              "ValueError"
            ],
            [
              "",
              "is_regressor"
            ],
            [
              "",
              "ValueError"
            ],
            [
              "",
              "hasattr"
            ],
            [
              "",
              "dict"
            ],
            [
              "",
              "map"
            ],
            [
              "",
              "enumerate"
            ],
            [
              "",
              "np.array"
            ],
            [
              "",
              "self._inv_sigmoid"
            ],
            [
              "",
              "deepcopy"
            ],
            [
              "",
              "self.base_estimator_.fit"
            ],
            [
              "",
              "self.base_estimator_.predict"
            ],
            [
              "",
              "RandomForestRegressor"
            ],
            [
              "",
              "self.forest_estimator_.fit"
            ],
            [
              "",
              "hasattr"
            ],
            [
              "",
              "hasattr"
            ],
            [
              "",
              "check_is_fitted"
            ],
            [
              "",
              "self.forest_estimator_.apply"
            ],
            [
              "",
              "check_is_fitted"
            ],
            [
              "",
              "self.forest_estimator_.decision_path"
            ],
            [
              "",
              "._criterion"
            ],
            [
              "._criterion",
              "._criterion.SCORING"
            ],
            [
              "._criterion",
              "._criterion.crossentropy"
            ],
            [
              "._criterion",
              "._criterion.hamming"
            ],
            [
              "._criterion",
              "._criterion.mae"
            ],
            [
              "._criterion",
              "._criterion.mse"
            ],
            [
              "._criterion",
              "._criterion.poisson"
            ],
            [
              "._criterion",
              "._criterion.rmse"
            ],
            [
              "sklearn.base",
              "BaseEstimator"
            ],
            [
              "sklearn.tree",
              "DecisionTreeRegressor"
            ],
            [
              "sklearn.dummy",
              "DummyClassifier"
            ],
            [
              "",
              "IPython.display"
            ],
            [
              "IPython.display",
              "Image"
            ],
            [
              "joblib",
              "Parallel"
            ],
            [
              "sklearn.ensemble",
              "RandomForestRegressor"
            ],
            [
              "sklearn.base",
              "TransformerMixin"
            ],
            [
              "sklearn.utils.validation",
              "check_is_fitted"
            ],
            [
              "sklearn",
              "config_context"
            ],
            [
              "",
              "copy"
            ],
            [
              "copy",
              "deepcopy"
            ],
            [
              "joblib",
              "effective_n_jobs"
            ],
            [
              "",
              "functools"
            ],
            [
              "sklearn",
              "get_config"
            ],
            [
              "sklearn.utils.validation",
              "has_fit_parameter"
            ],
            [
              "sklearn.base",
              "is_regressor"
            ],
            [
              "",
              "joblib"
            ],
            [
              "",
              "numbers"
            ],
            [
              "",
              "numpy"
            ],
            [
              "",
              "pydot"
            ],
            [
              "",
              "scipy.sparse"
            ],
            [
              "",
              "sklearn"
            ],
            [
              "",
              "sklearn.base"
            ],
            [
              "",
              "sklearn.dummy"
            ],
            [
              "",
              "sklearn.ensemble"
            ],
            [
              "",
              "sklearn.tree"
            ],
            [
              "",
              "sklearn.utils.validation"
            ],
            [
              "functools",
              "update_wrapper"
            ]
          ],
          "mbr": [
            "Cl.id",
            "Cl.model",
            "Cl.n_samples",
            "Cl.threshold",
            "Cl.w_loss",
            "Cr.id",
            "Cr.model",
            "Cr.n_samples",
            "Cr.w_loss",
            "L.classes",
            "L.id",
            "L.loss",
            "L.model",
            "L.n_samples",
            "L.parent",
            "L.threshold",
            "N.children",
            "N.id",
            "X.shape",
            "_losses.append",
            "_self._linear_features",
            "_self._min_samples_leaf",
            "_self._min_samples_split",
            "_self.base_estimator",
            "_self.criterion",
            "bins.T",
            "cat_features.dtype",
            "cat_features.dtype.type",
            "estimator.fit",
            "estimator.predict",
            "estimator.predict_proba",
            "functools.wraps",
            "graph.add_edge",
            "graph.add_node",
            "graph.create_png",
            "largs.classes",
            "largs_left.classes",
            "largs_right.classes",
            "left_node.append",
            "linear_features.dtype",
            "linear_features.dtype.type",
            "mask.sum",
            "model.fit",
            "model_left.fit",
            "model_right.fit",
            "msg.format",
            "np.abs",
            "np.arange",
            "np.argmin",
            "np.array",
            "np.ceil",
            "np.concatenate",
            "np.cumsum",
            "np.exp",
            "np.float32",
            "np.full",
            "np.isin",
            "np.isin.any",
            "np.ix_",
            "np.linspace",
            "np.log",
            "np.logical_and",
            "np.max",
            "np.quantile",
            "np.repeat",
            "np.setdiff1d",
            "np.split",
            "np.sum",
            "np.unique",
            "np.zeros",
            "numbers.Integral",
            "paths_id.append",
            "pred_tree.reshape",
            "pydot.Dot",
            "pydot.Edge",
            "pydot.Node",
            "queue.extend",
            "queue.pop",
            "resid.mean",
            "resid.ndim",
            "right_node.append",
            "self._categorical_features",
            "self._grow",
            "self._inv_sigmoid",
            "self._leaves",
            "self._leaves.append",
            "self._leaves.items",
            "self._leaves.values",
            "self._linear_features",
            "self._min_samples_leaf",
            "self._min_samples_split",
            "self._nodes",
            "self._nodes.items",
            "self._parallel_args",
            "self._split",
            "self._split_features",
            "self._trees",
            "self._trees.append",
            "self._validate_data",
            "self.base_estimator",
            "self.base_estimator_",
            "self.base_estimator_.coef_",
            "self.base_estimator_.fit",
            "self.base_estimator_.intercept_",
            "self.base_estimator_.predict",
            "self.bootstrap",
            "self.categorical_features",
            "self.ccp_alpha",
            "self.children",
            "self.classes",
            "self.classes_",
            "self.coef_",
            "self.config",
            "self.criterion",
            "self.feature_importances_",
            "self.forest_estimator_",
            "self.forest_estimator_.apply",
            "self.forest_estimator_.decision_path",
            "self.forest_estimator_.feature_importances_",
            "self.forest_estimator_.fit",
            "self.function",
            "self.id",
            "self.intercept_",
            "self.linear_features",
            "self.loss",
            "self.max_bins",
            "self.max_depth",
            "self.max_features",
            "self.max_leaf_nodes",
            "self.max_samples",
            "self.min_impurity_decrease",
            "self.min_samples_leaf",
            "self.min_samples_split",
            "self.min_weight_fraction_leaf",
            "self.model",
            "self.model_to_dot",
            "self.n_estimators",
            "self.n_features_in_",
            "self.n_features_out_",
            "self.n_jobs",
            "self.n_samples",
            "self.node_count",
            "self.oob_score",
            "self.parent",
            "self.random_state",
            "self.split_features",
            "self.summary",
            "self.threshold",
            "self.w_loss",
            "sklearn.__version__",
            "sklearn.__version__.split",
            "sp.csr_matrix",
            "split_col.append",
            "split_features.dtype",
            "split_features.dtype.type",
            "split_t.append",
            "start.copy",
            "tree.fit",
            "tree.predict",
            "weights.sum",
            "y.clip"
          ],
          "metrics": {
            "ast": {
              "call_count": 247,
              "max_array_length": 5,
              "max_concat_chain": 2,
              "max_depth": 21,
              "max_member_depth": 3,
              "member_count": 161,
              "node_count": 7881,
              "op.add": 18,
              "op.bnot": 13,
              "op.div": 7,
              "op.floordiv": 1,
              "op.land": 2,
              "op.lor": 6,
              "op.mod": 1,
              "op.mul": 6,
              "op.sub": 34,
              "op_density.add": 0,
              "op_density.bnot": 0,
              "op_density.div": 0,
              "op_density.floordiv": 0,
              "op_density.land": 0,
              "op_density.lor": 0,
              "op_density.mod": 0,
              "op_density.mul": 0,
              "op_density.sub": 0
            },
            "binary": {
              "peak_region_bytes": 17793,
              "peak_region_entropy": 4.76
            },
            "binds": {
              "count": 198
            },
            "comments": {
              "chars": 1066,
              "count": 27,
              "lines": 27,
              "to_code_ratio": 0.02,
              "url_count": 1
            },
            "file": {
              "entropy": 4.38,
              "size": 43393
            },
            "functions": {
              "avg_length_lines": 38.46,
              "avg_name_length": 9.46,
              "avg_nesting_depth": 0.04,
              "avg_param_name_length": 7.65,
              "avg_params": 4.54,
              "code_ratio": 0.92,
              "count": 25,
              "density": 2.39,
              "high_entropy_names": 5,
              "length_stddev": 38.63,
              "many_params_count": 5,
              "max_length_lines": 136,
              "max_nesting_depth": 1,
              "max_params": 17,
              "min_length_lines": 2,
              "nested": 1,
              "over_100_lines": 2,
              "single_char_params": 24
            },
            "identifiers": {
              "all_lowercase_ratio": 0.89,
              "all_uppercase_ratio": 0.02,
              "avg_entropy": 2.47,
              "avg_length": 8.2,
              "count": 1895,
              "double_underscore_count": 3,
              "has_digit_ratio": 0.01,
              "high_entropy_count": 16,
              "high_entropy_ratio": 0.06,
              "length_stddev": 4.68,
              "max_length": 24,
              "min_length": 1,
              "numeric_suffix_count": 2,
              "reuse_ratio": 0.15,
              "sequential_names": 11,
              "single_char_count": 11,
              "single_char_ratio": 0.04,
              "underscore_prefix_count": 32,
              "unique": 279
            },
            "imports": {
              "aliased": 2,
              "count": 37,
              "relative": 8,
              "relative_ratio": 0.22,
              "stdlib_count": 2,
              "stdlib_ratio": 0.05,
              "third_party_count": 35,
              "third_party_ratio": 0.95
            },
            "references": {
              "declared_count": 6,
              "security_hold_count": 0,
              "unavailable_browser_script_count": 0,
              "unavailable_command_count": 0,
              "unavailable_vsix_url_count": 0,
              "unresolved_count": 0,
              "unresolved_extension_count": 0,
              "unresolved_required_extension_count": 0
            },
            "source": {
              "class_count": 5,
              "function_count": 20
            },
            "strings": {
              "avg_entropy": 2.84,
              "avg_length": 88.54,
              "bytes": 13192,
              "count": 149,
              "embedded_code_candidates": 14,
              "empty_count": 2,
              "entropy_stddev": 1.25,
              "max_length": 1586,
              "shell": 2,
              "sql": 14,
              "very_long": 2
            },
            "text": {
              "ascii_art_lines": 5,
              "avg_line_length": 34.96,
              "char_entropy": 4.38,
              "digit_ratio": 0.01,
              "empty_line_ratio": 0.21,
              "identifier_density": 1.61,
              "identifiers_to_functions_ratio": 9.96,
              "import_density": 3.15,
              "imports_to_functions_ratio": 1.32,
              "last_line_length": 54,
              "line_length_stddev": 25.02,
              "lines": 1174,
              "max_line_length": 85,
              "max_whitespace_run": 2,
              "non_ascii_ratio": 0,
              "normalized_function_count": 0.82,
              "normalized_import_count": 1.08,
              "normalized_string_count": 4.35,
              "normalized_unique_identifiers": 27.36,
              "repeated_char_sequences": 504,
              "space_count": 13084,
              "string_density": 0.13,
              "strings_to_functions_ratio": 5.32,
              "suspicious_identifier_ratio": 0.04,
              "suspicious_string_ratio": 0.2,
              "top_char": 101,
              "top_char_null": 0,
              "top_char_ratio": 0.07,
              "unique_chars": 91,
              "whitespace_ratio": 0.36
            }
          },
          "tgt": [
            "DecisionTreeRegressor",
            "DummyClassifier",
            "Image",
            "Node",
            "Parallel",
            "RandomForestRegressor",
            "ValueError",
            "_FuncWrapper",
            "_losses.append",
            "_map_node",
            "_partition_columns",
            "_predict_branch",
            "check_is_fitted",
            "config_context",
            "deepcopy",
            "delayed",
            "dict",
            "effective_n_jobs",
            "enumerate",
            "estimator.fit",
            "estimator.predict",
            "estimator.predict_proba",
            "eval",
            "feval",
            "functools.wraps",
            "get_config",
            "graph.add_edge",
            "graph.add_node",
            "graph.create_png",
            "has_fit_parameter",
            "hasattr",
            "int",
            "is_regressor",
            "isinstance",
            "issubclass",
            "left_node.append",
            "len",
            "list",
            "map",
            "mask.sum",
            "max",
            "min",
            "model.fit",
            "model_left.fit",
            "model_right.fit",
            "msg.format",
            "np.abs",
            "np.arange",
            "np.argmin",
            "np.array",
            "np.ceil",
            "np.concatenate",
            "np.cumsum",
            "np.exp",
            "np.full",
            "np.isin",
            "np.isin.any",
            "np.ix_",
            "np.linspace",
            "np.log",
            "np.logical_and",
            "np.max",
            "np.quantile",
            "np.repeat",
            "np.setdiff1d",
            "np.split",
            "np.sum",
            "np.unique",
            "np.zeros",
            "paths_id.append",
            "pred_tree.reshape",
            "pydot.Dot",
            "pydot.Edge",
            "pydot.Node",
            "queue.extend",
            "queue.pop",
            "range",
            "resid.mean",
            "right_node.append",
            "round",
            "self._grow",
            "self._inv_sigmoid",
            "self._leaves.append",
            "self._leaves.items",
            "self._leaves.values",
            "self._nodes.items",
            "self._parallel_args",
            "self._split",
            "self._trees.append",
            "self._validate_data",
            "self.base_estimator_.fit",
            "self.base_estimator_.predict",
            "self.forest_estimator_.apply",
            "self.forest_estimator_.decision_path",
            "self.forest_estimator_.fit",
            "self.function",
            "self.model_to_dot",
            "self.summary",
            "sklearn.__version__.split",
            "sp.csr_matrix",
            "split_col.append",
            "split_t.append",
            "start.copy",
            "tree.fit",
            "tree.predict",
            "update_wrapper",
            "weights.sum",
            "y.clip",
            "zip"
          ]
        },
        "id": 5,
        "mol": "K(Am)H₃(CmDbPo)Md(Pt₂)",
        "path": "linear_tree-0.3.5-py3-none-any.whl!!lineartree/_classes.py",
        "pid": 0,
        "risk": 6,
        "sha": "c8a3b30431f1cbdef1d850c681065b266dc2ab358431a152c247bc1516607fbd",
        "sid": 10795866743,
        "size": 43393,
        "traits": [
          {
            "conf": 0.8,
            "crit": 3,
            "desc": "Source has 6+ code-like string candidates",
            "id": "metadata/lang/source/literal/embedded-source::embedded-code-candidates-6"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "Python execution API call syntax",
            "id": "metadata/lang/source/syntax/call/invocation::python-execution-api-call-syntax",
            "spans": [
              [
                632,
                4
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Python comment contains a URL",
            "id": "micro-behaviors/communications/url/reference::python-comment-url-reference",
            "spans": [
              [
                946,
                24
              ]
            ]
          },
          {
            "conf": 0.3,
            "crit": 3,
            "desc": "Python not-in membership check",
            "id": "micro-behaviors/data/collection/membership::not-in-membership-check",
            "spans": [
              [
                30117,
                20
              ]
            ]
          },
          {
            "conf": 0.6,
            "crit": 3,
            "desc": "SQL SELECT syntax reference",
            "id": "micro-behaviors/data/db/read/records::sql-select",
            "spans": [
              [
                19498,
                28
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "Module built on the numeric Python stack",
            "id": "micro-behaviors/data/manipulation::numeric-computation-library",
            "spans": [
              [
                23,
                5
              ],
              [
                43,
                12
              ],
              [
                12190,
                8
              ],
              [
                21096,
                9
              ],
              [
                22139,
                6
              ],
              [
                40527,
                8
              ]
            ],
            "uses": [
              6,
              11,
              12
            ]
          },
          {
            "conf": 0.85,
            "crit": 3,
            "desc": "Dense NumPy array construction and reduction",
            "id": "micro-behaviors/data/manipulation::numpy-array-operations",
            "spans": [
              [
                12190,
                8
              ],
              [
                21096,
                9
              ],
              [
                22139,
                6
              ],
              [
                40527,
                8
              ]
            ],
            "uses": [
              7,
              8,
              9,
              10
            ]
          },
          {
            "conf": 0.85,
            "crit": 3,
            "desc": "NumPy array operation (arange)",
            "id": "micro-behaviors/data/manipulation::numpy-array-operations--arange",
            "spans": [
              [
                21096,
                9
              ]
            ]
          },
          {
            "conf": 0.85,
            "crit": 3,
            "desc": "NumPy array operation (array)",
            "id": "micro-behaviors/data/manipulation::numpy-array-operations--array",
            "spans": [
              [
                40527,
                8
              ]
            ]
          },
          {
            "conf": 0.85,
            "crit": 3,
            "desc": "NumPy array operation (sum)",
            "id": "micro-behaviors/data/manipulation::numpy-array-operations--sum",
            "spans": [
              [
                22139,
                6
              ]
            ]
          },
          {
            "conf": 0.85,
            "crit": 3,
            "desc": "NumPy array operation (zeros)",
            "id": "micro-behaviors/data/manipulation::numpy-array-operations--zeros",
            "spans": [
              [
                12190,
                8
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Imports the NumPy array library",
            "id": "micro-behaviors/data/manipulation::numpy-import",
            "spans": [
              [
                23,
                5
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Imports a SciPy scientific module",
            "id": "micro-behaviors/data/manipulation::scipy-import",
            "spans": [
              [
                43,
                12
              ]
            ]
          },
          {
            "atk": "T1059.006",
            "conf": 0.85,
            "crit": 3,
            "desc": "Python eval() built-in function",
            "id": "micro-behaviors/process/interpreter/eval/python-builtins::eval-builtin",
            "mbc": "E1059",
            "spans": [
              [
                632,
                4
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "Evaluates a subscripted value as Python",
            "id": "micro-behaviors/process/interpreter/eval/python-builtins::python-eval-subscripted-value",
            "spans": [
              [
                632,
                39
              ],
              [
                637,
                33
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "GitHub service URL reference",
            "id": "well-known/app/development/code-forge/github::github-service-url",
            "spans": [
              [
                962,
                19
              ]
            ]
          },
          {
            "conf": 1.0,
            "crit": 2,
            "desc": "File uses a Python artifact extension",
            "id": "metadata/file/extension/identity::py"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports deepcopy from copy",
            "id": "metadata/import/python/copy/deepcopy::deepcopy",
            "spans": [
              [
                82,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports copy",
            "id": "metadata/import/python/copy::copy",
            "spans": [
              [
                70,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports update_wrapper from functools",
            "id": "metadata/import/python/functools/update_wrapper::update_wrapper",
            "spans": [
              [
                1166,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports functools",
            "id": "metadata/import/python/functools::functools",
            "spans": [
              [
                1149,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports Image from IPython.display",
            "id": "metadata/import/python/ipython/display/image::image",
            "spans": [
              [
                31719,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports IPython.display",
            "id": "metadata/import/python/ipython/display::ipython/display",
            "spans": [
              [
                31696,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports effective_n_jobs from joblib",
            "id": "metadata/import/python/joblib/effective_n_jobs::effective_n_jobs",
            "spans": [
              [
                121,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports Parallel from joblib",
            "id": "metadata/import/python/joblib/parallel::parallel",
            "spans": [
              [
                111,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports joblib",
            "id": "metadata/import/python/joblib::joblib",
            "spans": [
              [
                97,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports numbers",
            "id": "metadata/import/python/numbers::numbers",
            "spans": [
              [
                7,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports numpy as np",
            "id": "metadata/import/python/numpy::np",
            "spans": [
              [
                23,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports pydot",
            "id": "metadata/import/python/pydot::pydot",
            "spans": [
              [
                29307,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ._criterion.crossentropy from ._criterion",
            "id": "metadata/import/python/relative/1/_criterion/crossentropy::crossentropy",
            "spans": [
              [
                586,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ._criterion.hamming from ._criterion",
            "id": "metadata/import/python/relative/1/_criterion/hamming::hamming",
            "spans": [
              [
                577,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ._criterion.mae from ._criterion",
            "id": "metadata/import/python/relative/1/_criterion/mae::mae",
            "spans": [
              [
                539,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ._criterion.mse from ._criterion",
            "id": "metadata/import/python/relative/1/_criterion/mse::mse",
            "spans": [
              [
                528,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ._criterion.poisson from ._criterion",
            "id": "metadata/import/python/relative/1/_criterion/poisson::poisson",
            "spans": [
              [
                544,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ._criterion.rmse from ._criterion",
            "id": "metadata/import/python/relative/1/_criterion/rmse::rmse",
            "spans": [
              [
                533,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ._criterion.SCORING from ._criterion",
            "id": "metadata/import/python/relative/1/_criterion/scoring::scoring",
            "spans": [
              [
                495,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ._criterion",
            "id": "metadata/import/python/relative/1/_criterion::relative/1/_criterion",
            "spans": [
              [
                476,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports scipy.sparse as sp",
            "id": "metadata/import/python/scipy/sparse::sp",
            "spans": [
              [
                43,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports BaseEstimator from sklearn.base",
            "id": "metadata/import/python/sklearn/base/baseestimator::baseestimator",
            "spans": [
              [
                363,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports is_regressor from sklearn.base",
            "id": "metadata/import/python/sklearn/base/is_regressor::is_regressor",
            "spans": [
              [
                324,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports TransformerMixin from sklearn.base",
            "id": "metadata/import/python/sklearn/base/transformermixin::transformermixin",
            "spans": [
              [
                378,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports sklearn.base",
            "id": "metadata/import/python/sklearn/base::sklearn/base",
            "spans": [
              [
                304,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports config_context from sklearn",
            "id": "metadata/import/python/sklearn/config_context::config_context",
            "spans": [
              [
                1128,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports DummyClassifier from sklearn.dummy",
            "id": "metadata/import/python/sklearn/dummy/dummyclassifier::dummyclassifier",
            "spans": [
              [
                180,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports sklearn.dummy",
            "id": "metadata/import/python/sklearn/dummy::sklearn/dummy",
            "spans": [
              [
                159,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports RandomForestRegressor from sklearn.ensemble",
            "id": "metadata/import/python/sklearn/ensemble/randomforestregressor::randomforestregressor",
            "spans": [
              [
                274,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports sklearn.ensemble",
            "id": "metadata/import/python/sklearn/ensemble::sklearn/ensemble",
            "spans": [
              [
                250,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports get_config from sklearn",
            "id": "metadata/import/python/sklearn/get_config::get_config",
            "spans": [
              [
                1116,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports DecisionTreeRegressor from sklearn.tree",
            "id": "metadata/import/python/sklearn/tree/decisiontreeregressor::decisiontreeregressor",
            "spans": [
              [
                222,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports sklearn.tree",
            "id": "metadata/import/python/sklearn/tree::sklearn/tree",
            "spans": [
              [
                202,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports check_is_fitted from sklearn.utils.validation",
            "id": "metadata/import/python/sklearn/utils/validation/check_is_fitted::check_is_fitted",
            "spans": [
              [
                452,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports has_fit_parameter from sklearn.utils.validation",
            "id": "metadata/import/python/sklearn/utils/validation/has_fit_parameter::has_fit_parameter",
            "spans": [
              [
                433,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports sklearn.utils.validation",
            "id": "metadata/import/python/sklearn/utils/validation::sklearn/utils/validation",
            "spans": [
              [
                401,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports sklearn",
            "id": "metadata/import/python/sklearn::sklearn",
            "spans": [
              [
                609,
                0
              ]
            ]
          },
          {
            "conf": 0.3,
            "crit": 2,
            "desc": "Source contains for-loop syntax",
            "id": "metadata/lang/source/syntax/control-flow::for-loop-content",
            "spans": [
              [
                10292,
                0
              ]
            ]
          },
          {
            "conf": 0.3,
            "crit": 2,
            "desc": "While-loop control flow",
            "id": "micro-behaviors/data/control-flow/loop/conditional::while-loop",
            "spans": [
              [
                28131,
                0
              ]
            ]
          },
          {
            "conf": 0.88,
            "crit": 1,
            "desc": "Data-access verb token",
            "id": "metadata/lang/natural/vocabulary/content-word::data-access-verb-token",
            "spans": [
              [
                70,
                0
              ]
            ]
          },
          {
            "conf": 0.88,
            "crit": 1,
            "desc": "Directive or message vocabulary token",
            "id": "metadata/lang/natural/vocabulary/content-word::directive-or-message-word-token",
            "spans": [
              [
                9305,
                0
              ]
            ]
          },
          {
            "conf": 0.88,
            "crit": 1,
            "desc": "English edit-action verb token",
            "id": "metadata/lang/natural/vocabulary/content-word::english-edit-verb-token",
            "spans": [
              [
                950,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"the\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-1",
            "spans": [
              [
                1287,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"and\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-2",
            "spans": [
              [
                8599,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"that\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-3",
            "spans": [
              [
                9310,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"have\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-4",
            "spans": [
              [
                29202,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"for\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-5",
            "spans": [
              [
                3329,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"with\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-6",
            "spans": [
              [
                1802,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"this\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-7",
            "spans": [
              [
                7489,
                0
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 1,
            "desc": "Shallow agent skill bundle script file",
            "id": "metadata/package/agent-skill::agent-skill-bundle-script-file"
          },
          {
            "conf": 0.95,
            "crit": 1,
            "desc": "Encoded URL benign documentation or test context",
            "id": "micro-behaviors/communications/url/encoded::encoded-url-benign-context",
            "spans": [
              [
                946,
                24
              ]
            ],
            "uses": [
              2
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Public code-forge URL reference",
            "id": "micro-behaviors/communications/url/reference::public-code-forge-url",
            "spans": [
              [
                962,
                19
              ]
            ],
            "uses": [
              15
            ]
          },
          {
            "conf": 0.5,
            "crit": 3,
            "desc": "Python dynamic code evaluation",
            "id": "micro-behaviors/process/interpreter/eval/python-builtins::python-dynamic-code-evaluation",
            "spans": [
              [
                632,
                4
              ]
            ],
            "uses": [
              13
            ]
          }
        ],
        "type": "python"
      },
      {
        "analysis_gaps": [
          "flow-graph-limited",
          "flow-call-unavailable",
          "flow-query-incomplete"
        ],
        "ctx": [
          {
            "col": 1,
            "line": 1,
            "ln": 0,
            "s": "import numpy as np\n\n\nSCORING = {\n    'linear': lambda y, yh: y - yh,\n    'square': lambda y, yh: np.square(y - yh),\n    'absolute': lambda y"
          },
          {
            "col": 36,
            "line": 10,
            "ln": 331,
            "s": "s: (y != yh).astype(int),\n    'entropy': lambda y, yh, classes: np.sum(list(map(\n        lambda c: -(y == c[1]).astype(int) * np.log(yh[:, c[0]]),\n        enumerate(classes))), axis=0)\n}\n\n\ndef _norm"
          },
          {
            "col": 15,
            "line": 20,
            "ln": 627,
            "s": " is None:\n        return scores.mean()\n    else:\n        return np.mean(np.dot(scores.T, weights) / weights.sum())\n\n\ndef mse(model, X, y, weights=None, **largs):\n    \"\"\"Mean Squared Error\"\"\"\n\n    pre"
          },
          {
            "col": 8,
            "line": 55,
            "ln": 1437,
            "s": "                  \" not allowed for Poisson regression.\")\n\n    pred = model.predict(X)\n    scores ="
          }
        ],
        "depth": 1,
        "facts": {
          "funcs": [
            [
              "_normalize_score",
              520
            ],
            [
              "mse",
              744
            ],
            [
              "rmse",
              935
            ],
            [
              "mae",
              1073
            ],
            [
              "poisson",
              1267
            ],
            [
              "hamming",
              1613
            ],
            [
              "crossentropy",
              1809
            ]
          ],
          "imp": [
            [
              "",
              "np.square"
            ],
            [
              "",
              "np.abs"
            ],
            [
              "",
              "np.exp"
            ],
            [
              "",
              "np.abs"
            ],
            [
              "",
              "yh.clip"
            ],
            [
              "",
              "np.log"
            ],
            [
              "",
              "yh.clip"
            ],
            [
              "",
              "np.sum"
            ],
            [
              "",
              "list"
            ],
            [
              "",
              "map"
            ],
            [
              "",
              "np.log"
            ],
            [
              "",
              "enumerate"
            ],
            [
              "",
              "scores.mean"
            ],
            [
              "",
              "np.mean"
            ],
            [
              "",
              "np.dot"
            ],
            [
              "",
              "weights.sum"
            ],
            [
              "",
              "model.predict"
            ],
            [
              "",
              "SCORING.square"
            ],
            [
              "",
              "_normalize_score"
            ],
            [
              "",
              "np.sqrt"
            ],
            [
              "",
              "mse"
            ],
            [
              "",
              "model.predict"
            ],
            [
              "",
              "SCORING.absolute"
            ],
            [
              "",
              "_normalize_score"
            ],
            [
              "",
              "np.any"
            ],
            [
              "",
              "ValueError"
            ],
            [
              "",
              "model.predict"
            ],
            [
              "",
              "SCORING.poisson"
            ],
            [
              "",
              "_normalize_score"
            ],
            [
              "",
              "model.predict"
            ],
            [
              "",
              "SCORING.hamming"
            ],
            [
              "",
              "_normalize_score"
            ],
            [
              "",
              "model.predict_proba.clip"
            ],
            [
              "",
              "model.predict_proba"
            ],
            [
              "",
              "SCORING.entropy"
            ],
            [
              "",
              "_normalize_score"
            ],
            [
              "",
              "numpy"
            ]
          ],
          "mbr": [
            "SCORING.absolute",
            "SCORING.entropy",
            "SCORING.hamming",
            "SCORING.poisson",
            "SCORING.square",
            "model.predict",
            "model.predict_proba",
            "model.predict_proba.clip",
            "np.abs",
            "np.any",
            "np.dot",
            "np.exp",
            "np.log",
            "np.mean",
            "np.sqrt",
            "np.square",
            "np.sum",
            "scores.T",
            "scores.mean",
            "weights.sum",
            "yh.clip"
          ],
          "metrics": {
            "ast": {
              "call_count": 38,
              "max_depth": 20,
              "max_member_depth": 3,
              "member_count": 21,
              "node_count": 817,
              "op.div": 1,
              "op.mul": 2,
              "op.sub": 9,
              "op_density.div": 0,
              "op_density.mul": 0,
              "op_density.sub": 0.01
            },
            "binary": {
              "peak_region_bytes": 2048,
              "peak_region_entropy": 4.85
            },
            "binds": {
              "count": 11
            },
            "file": {
              "entropy": 4.87,
              "size": 2052
            },
            "functions": {
              "anonymous": 8,
              "avg_length_lines": 4,
              "avg_name_length": 7.43,
              "avg_nesting_depth": 0.07,
              "avg_param_name_length": 3.4,
              "avg_params": 3.33,
              "code_ratio": 0.76,
              "count": 7,
              "density": 19.23,
              "length_stddev": 3.25,
              "max_length_lines": 11,
              "max_nesting_depth": 1,
              "max_params": 6,
              "min_length_lines": 1,
              "nested": 1,
              "one_liners": 7,
              "single_char_params": 20
            },
            "identifiers": {
              "all_lowercase_ratio": 0.9,
              "all_uppercase_ratio": 0.08,
              "avg_entropy": 1.93,
              "avg_length": 5.03,
              "count": 183,
              "length_stddev": 3.28,
              "max_length": 16,
              "min_length": 1,
              "reuse_ratio": 0.22,
              "sequential_names": 4,
              "single_char_count": 4,
              "single_char_ratio": 0.1,
              "underscore_prefix_count": 1,
              "unique": 40
            },
            "imports": {
              "aliased": 1,
              "count": 1,
              "third_party_count": 1,
              "third_party_ratio": 1
            },
            "references": {
              "declared_count": 1,
              "security_hold_count": 0,
              "unavailable_browser_script_count": 0,
              "unavailable_command_count": 0,
              "unavailable_vsix_url_count": 0,
              "unresolved_count": 0,
              "unresolved_extension_count": 0,
              "unresolved_required_extension_count": 0
            },
            "source": {
              "function_count": 7
            },
            "strings": {
              "avg_entropy": 3.02,
              "avg_length": 14.38,
              "bytes": 302,
              "count": 21,
              "entropy_stddev": 0.54,
              "max_length": 40
            },
            "text": {
              "anonymous_function_ratio": 0.53,
              "avg_line_length": 25.32,
              "char_entropy": 4.87,
              "digit_ratio": 0.01,
              "empty_line_ratio": 0.37,
              "identifier_density": 2.35,
              "identifiers_to_functions_ratio": 2.67,
              "import_density": 1.28,
              "imports_to_functions_ratio": 0.07,
              "last_line_length": 44,
              "line_length_stddev": 23.19,
              "lines": 78,
              "max_line_length": 71,
              "max_whitespace_run": 1,
              "normalized_function_count": 1.7,
              "normalized_import_count": 0.11,
              "normalized_string_count": 2.38,
              "normalized_unique_identifiers": 6.36,
              "repeated_char_sequences": 1,
              "space_count": 373,
              "string_density": 0.27,
              "strings_to_functions_ratio": 1.4,
              "suspicious_identifier_ratio": 0.1,
              "top_char": 101,
              "top_char_null": 0,
              "top_char_ratio": 0.07,
              "unique_chars": 64,
              "whitespace_ratio": 0.22
            }
          },
          "tgt": [
            "SCORING.absolute",
            "SCORING.entropy",
            "SCORING.hamming",
            "SCORING.poisson",
            "SCORING.square",
            "ValueError",
            "_normalize_score",
            "enumerate",
            "list",
            "map",
            "model.predict",
            "model.predict_proba",
            "model.predict_proba.clip",
            "mse",
            "np.abs",
            "np.any",
            "np.dot",
            "np.exp",
            "np.log",
            "np.mean",
            "np.sqrt",
            "np.square",
            "np.sum",
            "scores.mean",
            "weights.sum",
            "yh.clip"
          ]
        },
        "id": 6,
        "mol": "H(Db)",
        "path": "linear_tree-0.3.5-py3-none-any.whl!!lineartree/_criterion.py",
        "pid": 0,
        "risk": 2,
        "sha": "c8326a0aff28499ac2b7a9580dcf0ded6f8c23350ba47643f980391307599b85",
        "sid": 10795866742,
        "size": 2052,
        "traits": [
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "Module built on the numeric Python stack",
            "id": "micro-behaviors/data/manipulation::numeric-computation-library",
            "spans": [
              [
                7,
                5
              ],
              [
                395,
                6
              ],
              [
                691,
                7
              ]
            ],
            "uses": [
              1,
              4
            ]
          },
          {
            "conf": 0.85,
            "crit": 3,
            "desc": "Dense NumPy array construction and reduction",
            "id": "micro-behaviors/data/manipulation::numpy-array-operations",
            "spans": [
              [
                395,
                6
              ],
              [
                691,
                7
              ]
            ],
            "uses": [
              2,
              3
            ]
          },
          {
            "conf": 0.85,
            "crit": 3,
            "desc": "NumPy array operation (mean)",
            "id": "micro-behaviors/data/manipulation::numpy-array-operations--mean",
            "spans": [
              [
                691,
                7
              ]
            ]
          },
          {
            "conf": 0.85,
            "crit": 3,
            "desc": "NumPy array operation (sum)",
            "id": "micro-behaviors/data/manipulation::numpy-array-operations--sum",
            "spans": [
              [
                395,
                6
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Imports the NumPy array library",
            "id": "micro-behaviors/data/manipulation::numpy-import",
            "spans": [
              [
                7,
                5
              ]
            ]
          },
          {
            "conf": 1.0,
            "crit": 2,
            "desc": "File uses a Python artifact extension",
            "id": "metadata/file/extension/identity::py"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports numpy as np",
            "id": "metadata/import/python/numpy::np",
            "spans": [
              [
                7,
                0
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 1,
            "desc": "Shallow agent skill bundle script file",
            "id": "metadata/package/agent-skill::agent-skill-bundle-script-file"
          }
        ],
        "type": "python"
      },
      {
        "analysis_gaps": [
          "flow-graph-limited",
          "flow-call-unavailable",
          "flow-query-incomplete"
        ],
        "ctx": [
          {
            "col": 1,
            "line": 1,
            "ln": 0,
            "s": "import numpy as np\r\n\r\nfrom sklearn.base import ClassifierMixin, RegressorMixin\r\nfrom sklearn.utils.validation import check_is_fitted, _check_sample_weight\r\n\r\nfrom ._classes import _predict_branch\r\nfrom ._classes import _LinearTree, _LinearBoosting, _LinearForest\r\n\r\n\r\nclass LinearTreeRegressor(_LinearTree, RegressorMixin):\r\n    \"\"\"A Linear Tree Regressor.\r\n\r\n    A Linear Tree Regressor is a meta-estimator that combine the learning\r\n    ability of Decision Tree and the predictive power of Linear Models.\r\n    Like in tree-based algorithms, the received data ar"
          },
          {
            "col": 70,
            "line": 16,
            "ln": 654,
            "s": " terms\r\n    fitting linear models in each node. This implies that the models in the\r\n    leaves are linear instead of constant approximations like i"
          },
          {
            "col": 46,
            "line": 41,
            "ln": 1774,
            "s": ")` are the minimum\r\n          number of samples for each split.\r\n\r\n    min_samples_leaf : int or float, default=0.1\r\n        The minimum number of "
          },
          {
            "col": 58,
            "line": 57,
            "ln": 2593,
            "s": "ptimal split in each\r\n        feature. Features with a small number of unique values may use less than\r\n        ``max_bins`` bins. Must be lower tha"
          },
          {
            "col": 49,
            "line": 87,
            "ln": 4154,
            "s": "0, n_features)`.\r\n        - None : All features except those in `categorical_features`\r\n          will be used in the leaf models.\r\n        - integer "
          },
          {
            "col": 31,
            "line": 95,
            "ln": 4533,
            "s": "\r\n        The number of jobs to run in parallel for model fitting.\r\n        ``None`` means 1 using on"
          },
          {
            "col": 44,
            "line": 109,
            "ln": 5015,
            "s": "it` is performed.\r\n\r\n    Examples\r\n    --------\r\n    \u003e\u003e\u003e from sklearn.linear_model import LinearRegression\r\n    \u003e\u003e\u003e from lineartree import LinearTreeRegressor\r\n    \u003e\u003e\u003e from sklearn.datasets import make_regression\r\n    \u003e\u003e\u003e X, y = make_regression(n_samples=100, n_features=4,\r\n "
          },
          {
            "col": 54,
            "line": 154,
            "ln": 6889,
            "s": " equally weighted.\r\n            Note that if the base estimator does not support sample weighting,\r\n"
          },
          {
            "col": 10,
            "line": 165,
            "ln": 7253,
            "s": "   raise ValueError(\"Regression tasks support only criterion in {}, \"\r\n                             \""
          },
          {
            "col": 2,
            "line": 216,
            "ln": 8849,
            "s": "       )\r\n\r\n        if self.n_targets_ \u003e 1:\r\n            pred = np.zeros((X.shape[0], self.n_targets_))\r\n        else:\r\n            pred = np.zeros(X.shape[0])\r\n\r\n        for L in self._leaves.values():\r\n\r\n            mask = _predict_branch(X, L.threshold)\r\n            if (~m"
          },
          {
            "col": 5,
            "line": 338,
            "ln": 14293,
            "s": "Examples\r\n    --------\r\n    \u003e\u003e\u003e from sklearn.linear_model import RidgeClassifier\r\n    \u003e\u003e\u003e from lineartree import LinearTreeClassifier\r\n    \u003e\u003e\u003e from sklearn.datasets import make_classification\r\n    \u003e\u003e\u003e X, y = make_classification(n_samples=100, n_features=4"
          },
          {
            "col": 36,
            "line": 501,
            "ln": 19964,
            "s": "(reversed, enumerate(self.classes_)))\r\n            pred_class = np.array([class_to_int[i] for i in pred_class])\r\n            pred[np.arange(X.shape[0]), pred_class] = 1\r\n\r\n        return pred\r\n\r\n    def predict_log_proba(self, X):\r\n        \"\"\"Predict class log-probab"
          },
          {
            "col": 64,
            "line": 566,
            "ln": 22739,
            "s": "the left and\r\n        right branches.  This may have the effect of smoothing the model,\r\n        especially in regression.\r\n\r\n        - If int, then"
          },
          {
            "col": 3,
            "line": 975,
            "ln": 39352,
            "s": "          pred_class = np.array([class_to_int[v] for v in pred_class])\r\n            pred[np.arange(pred_class.shape[0]), pred_class] = 1\r\n\r\n        return"
          },
          {
            "col": 37,
            "line": 1154,
            "ln": 47363,
            "s": "ts.\r\n    Authors: Haozhe Zhang, Dan Nettleton, Zhengyuan Zhu.\r\n    (https://arxiv.org/abs/1904.1041"
          },
          {
            "col": 45,
            "line": 1479,
            "ln": 60509,
            "s": "orts only binary classification task. \"\r\n                \"To solve a multi-lable classification task"
          }
        ],
        "depth": 1,
        "facts": {
          "funcs": [
            [
              "__init__",
              5589
            ],
            [
              "fit",
              6383
            ],
            [
              "predict",
              8116
            ],
            [
              "__init__",
              14845
            ],
            [
              "fit",
              15643
            ],
            [
              "predict",
              17474
            ],
            [
              "predict_proba",
              18468
            ],
            [
              "predict_log_proba",
              20163
            ],
            [
              "__init__",
              26726
            ],
            [
              "fit",
              27607
            ],
            [
              "predict",
              29093
            ],
            [
              "__init__",
              35466
            ],
            [
              "fit",
              36348
            ],
            [
              "predict",
              37905
            ],
            [
              "predict_proba",
              38347
            ],
            [
              "predict_log_proba",
              39519
            ],
            [
              "__init__",
              47479
            ],
            [
              "fit",
              48547
            ],
            [
              "predict",
              49767
            ],
            [
              "__init__",
              58313
            ],
            [
              "fit",
              59381
            ],
            [
              "decision_function",
              60770
            ],
            [
              "predict",
              61864
            ],
            [
              "predict_proba",
              62437
            ],
            [
              "predict_log_proba",
              63084
            ]
          ],
          "imp": [
            [
              "",
              "ValueError"
            ],
            [
              "",
              "self._validate_data"
            ],
            [
              "",
              "_check_sample_weight"
            ],
            [
              "",
              "np.shape"
            ],
            [
              "",
              "len"
            ],
            [
              "",
              "y.ravel"
            ],
            [
              "",
              "self._fit"
            ],
            [
              "",
              "check_is_fitted"
            ],
            [
              "",
              "self._validate_data"
            ],
            [
              "",
              "np.zeros"
            ],
            [
              "",
              "np.zeros"
            ],
            [
              "",
              "self._leaves.values"
            ],
            [
              "",
              "_predict_branch"
            ],
            [
              "",
              "L.model.predict"
            ],
            [
              "",
              "np.ix_"
            ],
            [
              "",
              "ValueError"
            ],
            [
              "",
              "hasattr"
            ],
            [
              "",
              "ValueError"
            ],
            [
              "",
              "self._validate_data"
            ],
            [
              "",
              "_check_sample_weight"
            ],
            [
              "",
              "np.unique"
            ],
            [
              "",
              "self._fit"
            ],
            [
              "",
              "check_is_fitted"
            ],
            [
              "",
              "self._validate_data"
            ],
            [
              "",
              "np.empty"
            ],
            [
              "",
              "self._leaves.values"
            ],
            [
              "",
              "_predict_branch"
            ],
            [
              "",
              "L.model.predict"
            ],
            [
              "",
              "np.ix_"
            ],
            [
              "",
              "check_is_fitted"
            ],
            [
              "",
              "self._validate_data"
            ],
            [
              "",
              "np.zeros"
            ],
            [
              "",
              "len"
            ],
            [
              "",
              "hasattr"
            ],
            [
              "",
              "self._leaves.values"
            ],
            [
              "",
              "_predict_branch"
            ],
            [
              "",
              "np.ix_"
            ],
            [
              "",
              "np.isin"
            ],
            [
              "",
              "L.model.predict_proba"
            ],
            [
              "",
              "np.ix_"
            ],
            [
              "",
              "self.predict"
            ],
            [
              "",
              "dict"
            ],
            [
              "",
              "map"
            ],
            [
              "",
              "enumerate"
            ],
            [
              "",
              "np.array"
            ],
            [
              "",
              "np.arange"
            ],
            [
              "",
              "np.log"
            ],
            [
              "",
              "self.predict_proba"
            ],
            [
              "",
              "ValueError"
            ],
            [
              "",
              "self._validate_data"
            ],
            [
              "",
              "_check_sample_weight"
            ],
            [
              "",
              "np.shape"
            ],
            [
              "",
              "len"
            ],
            [
              "",
              "y.ravel"
            ],
            [
              "",
              "self._fit"
            ],
            [
              "",
              "check_is_fitted"
            ],
            [
              "",
              "self.base_estimator_.predict"
            ],
            [
              "",
              "self.transform"
            ],
            [
              "",
              "ValueError"
            ],
            [
              "",
              "hasattr"
            ],
            [
              "",
              "ValueError"
            ],
            [
              "",
              "self._validate_data"
            ],
            [
              "",
              "_check_sample_weight"
            ],
            [
              "",
              "np.unique"
            ],
            [
              "",
              "self._fit"
            ],
            [
              "",
              "check_is_fitted"
            ],
            [
              "",
              "self.base_estimator_.predict"
            ],
            [
              "",
              "self.transform"
            ],
            [
              "",
              "hasattr"
            ],
            [
              "",
              "check_is_fitted"
            ],
            [
              "",
              "self.base_estimator_.predict_proba"
            ],
            [
              "",
              "self.transform"
            ],
            [
              "",
              "self.predict"
            ],
            [
              "",
              "np.zeros"
            ],
            [
              "",
              "len"
            ],
            [
              "",
              "dict"
            ],
            [
              "",
              "map"
            ],
            [
              "",
              "enumerate"
            ],
            [
              "",
              "np.array"
            ],
            [
              "",
              "np.arange"
            ],
            [
              "",
              "np.log"
            ],
            [
              "",
              "self.predict_proba"
            ],
            [
              "",
              "self._validate_data"
            ],
            [
              "",
              "_check_sample_weight"
            ],
            [
              "",
              "np.shape"
            ],
            [
              "",
              "len"
            ],
            [
              "",
              "y.ravel"
            ],
            [
              "",
              "self._fit"
            ],
            [
              "",
              "check_is_fitted"
            ],
            [
              "",
              "self._validate_data"
            ],
            [
              "",
              "self.base_estimator_.predict"
            ],
            [
              "",
              "self.forest_estimator_.predict"
            ],
            [
              "",
              "self._validate_data"
            ],
            [
              "",
              "_check_sample_weight"
            ],
            [
              "",
              "np.unique"
            ],
            [
              "",
              "len"
            ],
            [
              "",
              "ValueError"
            ],
            [
              "",
              "self._fit"
            ],
            [
              "",
              "check_is_fitted"
            ],
            [
              "",
              "self._validate_data"
            ],
            [
              "",
              "self.base_estimator_.predict"
            ],
            [
              "",
              "self.forest_estimator_.predict"
            ],
            [
              "",
              "self.decision_function"
            ],
            [
              "",
              "self._sigmoid"
            ],
            [
              "",
              "dict"
            ],
            [
              "",
              "enumerate"
            ],
            [
              "",
              "np.array"
            ],
            [
              "",
              "self._sigmoid"
            ],
            [
              "",
              "self.decision_function"
            ],
            [
              "",
              "np.zeros"
            ],
            [
              "",
              "np.log"
            ],
            [
              "",
              "self.predict_proba"
            ],
            [
              "",
              "._classes"
            ],
            [
              "._classes",
              "._classes._LinearBoosting"
            ],
            [
              "._classes",
              "._classes._LinearForest"
            ],
            [
              "._classes",
              "._classes._LinearTree"
            ],
            [
              "._classes",
              "._classes._predict_branch"
            ],
            [
              "sklearn.base",
              "ClassifierMixin"
            ],
            [
              "sklearn.base",
              "RegressorMixin"
            ],
            [
              "sklearn.utils.validation",
              "_check_sample_weight"
            ],
            [
              "sklearn.utils.validation",
              "check_is_fitted"
            ],
            [
              "",
              "numpy"
            ],
            [
              "",
              "sklearn.base"
            ],
            [
              "",
              "sklearn.utils.validation"
            ]
          ],
          "mbr": [
            "L.classes",
            "L.model",
            "L.model.predict",
            "L.model.predict_proba",
            "L.threshold",
            "X.shape",
            "np.arange",
            "np.array",
            "np.empty",
            "np.isin",
            "np.ix_",
            "np.log",
            "np.shape",
            "np.unique",
            "np.zeros",
            "pred_class.shape",
            "self._fit",
            "self._leaves",
            "self._leaves.values",
            "self._linear_features",
            "self._sigmoid",
            "self._validate_data",
            "self.base_estimator",
            "self.base_estimator_",
            "self.base_estimator_.predict",
            "self.base_estimator_.predict_proba",
            "self.bootstrap",
            "self.categorical_features",
            "self.ccp_alpha",
            "self.classes_",
            "self.classes_.dtype",
            "self.criterion",
            "self.decision_function",
            "self.forest_estimator_",
            "self.forest_estimator_.predict",
            "self.linear_features",
            "self.loss",
            "self.max_bins",
            "self.max_depth",
            "self.max_features",
            "self.max_leaf_nodes",
            "self.max_samples",
            "self.min_impurity_decrease",
            "self.min_samples_leaf",
            "self.min_samples_split",
            "self.min_weight_fraction_leaf",
            "self.n_estimators",
            "self.n_features_in_",
            "self.n_jobs",
            "self.n_targets_",
            "self.oob_score",
            "self.predict",
            "self.predict_proba",
            "self.random_state",
            "self.split_features",
            "self.transform",
            "y.ravel"
          ],
          "metrics": {
            "ast": {
              "call_count": 120,
              "max_array_length": 4,
              "max_concat_chain": 2,
              "max_depth": 17,
              "max_member_depth": 3,
              "member_count": 57,
              "node_count": 4206,
              "op.add": 2,
              "op.bnot": 3,
              "op.land": 2,
              "op.sub": 1,
              "op_density.add": 0,
              "op_density.bnot": 0,
              "op_density.land": 0,
              "op_density.sub": 0
            },
            "binary": {
              "peak_region_bytes": 57452,
              "peak_region_entropy": 4.7
            },
            "binds": {
              "count": 128
            },
            "comments": {
              "chars": 318,
              "count": 6,
              "lines": 6,
              "to_code_ratio": 0
            },
            "file": {
              "entropy": 4.46,
              "size": 63596
            },
            "functions": {
              "avg_length_lines": 29.28,
              "avg_name_length": 8.6,
              "avg_param_name_length": 8.88,
              "avg_params": 5.52,
              "code_ratio": 0.46,
              "count": 12,
              "density": 1.58,
              "high_entropy_names": 3,
              "length_stddev": 12.62,
              "many_params_count": 6,
              "max_length_lines": 50,
              "max_params": 17,
              "min_length_lines": 15,
              "single_char_params": 31
            },
            "identifiers": {
              "all_lowercase_ratio": 0.87,
              "all_uppercase_ratio": 0.02,
              "avg_entropy": 2.61,
              "avg_length": 9.85,
              "count": 1029,
              "double_underscore_count": 1,
              "has_digit_ratio": 0.01,
              "high_entropy_count": 10,
              "high_entropy_ratio": 0.09,
              "length_stddev": 5.5,
              "max_length": 24,
              "min_length": 1,
              "reuse_ratio": 0.11,
              "sequential_names": 5,
              "single_char_count": 5,
              "single_char_ratio": 0.04,
              "underscore_prefix_count": 12,
              "unique": 115
            },
            "imports": {
              "aliased": 1,
              "count": 12,
              "relative": 5,
              "relative_ratio": 0.42,
              "third_party_count": 12,
              "third_party_ratio": 1
            },
            "references": {
              "declared_count": 1,
              "security_hold_count": 0,
              "unavailable_browser_script_count": 0,
              "unavailable_command_count": 0,
              "unavailable_vsix_url_count": 0,
              "unresolved_count": 0,
              "unresolved_extension_count": 0,
              "unresolved_required_extension_count": 0
            },
            "source": {
              "class_count": 6,
              "function_count": 6
            },
            "strings": {
              "avg_entropy": 3.33,
              "avg_length": 562.22,
              "bytes": 46664,
              "count": 83,
              "embedded_code_candidates": 16,
              "entropy_stddev": 0.76,
              "max_length": 7554,
              "shell": 12,
              "sql": 16,
              "very_long": 6
            },
            "text": {
              "avg_line_length": 38.28,
              "char_entropy": 4.46,
              "digit_ratio": 0.01,
              "empty_line_ratio": 0.18,
              "identifier_density": 0.65,
              "identifiers_to_functions_ratio": 4.6,
              "import_density": 0.76,
              "imports_to_functions_ratio": 0.48,
              "last_line_length": 44,
              "line_length_stddev": 26.37,
              "lines": 1579,
              "max_line_length": 86,
              "max_whitespace_run": 28,
              "normalized_function_count": 0.63,
              "normalized_import_count": 0.3,
              "normalized_string_count": 2.09,
              "normalized_unique_identifiers": 10.82,
              "repeated_char_sequences": 319,
              "space_count": 16070,
              "string_density": 0.05,
              "strings_to_functions_ratio": 3.32,
              "suspicious_identifier_ratio": 0.04,
              "suspicious_string_ratio": 0.53,
              "top_char": 101,
              "top_char_null": 0,
              "top_char_ratio": 0.08,
              "unique_chars": 83,
              "whitespace_ratio": 0.3
            }
          },
          "tgt": [
            "L.model.predict",
            "L.model.predict_proba",
            "ValueError",
            "_check_sample_weight",
            "_predict_branch",
            "check_is_fitted",
            "dict",
            "enumerate",
            "hasattr",
            "len",
            "map",
            "np.arange",
            "np.array",
            "np.empty",
            "np.isin",
            "np.ix_",
            "np.log",
            "np.shape",
            "np.unique",
            "np.zeros",
            "self._fit",
            "self._leaves.values",
            "self._sigmoid",
            "self._validate_data",
            "self.base_estimator_.predict",
            "self.base_estimator_.predict_proba",
            "self.decision_function",
            "self.forest_estimator_.predict",
            "self.predict",
            "self.predict_proba",
            "self.transform",
            "y.ravel"
          ]
        },
        "id": 7,
        "mol": "H(Db)Md(Pt)",
        "path": "linear_tree-0.3.5-py3-none-any.whl!!lineartree/lineartree.py",
        "pid": 0,
        "risk": 3,
        "sha": "b20358badb8fc09abf8c3ab088ebf52e68c00d30825f82a18ea0475ea1dd1e73",
        "sid": 10795866741,
        "size": 63596,
        "traits": [
          {
            "conf": 0.8,
            "crit": 3,
            "desc": "Source has 6+ code-like string candidates",
            "id": "metadata/lang/source/literal/embedded-source::embedded-code-candidates-6"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "Module built on the numeric Python stack",
            "id": "micro-behaviors/data/manipulation::numeric-computation-library",
            "spans": [
              [
                7,
                5
              ],
              [
                8913,
                8
              ],
              [
                20028,
                8
              ],
              [
                20094,
                9
              ]
            ],
            "uses": [
              2,
              6
            ]
          },
          {
            "conf": 0.85,
            "crit": 3,
            "desc": "Dense NumPy array construction and reduction",
            "id": "micro-behaviors/data/manipulation::numpy-array-operations",
            "spans": [
              [
                8913,
                8
              ],
              [
                20028,
                8
              ],
              [
                20094,
                9
              ]
            ],
            "uses": [
              3,
              4,
              5
            ]
          },
          {
            "conf": 0.85,
            "crit": 3,
            "desc": "NumPy array operation (arange)",
            "id": "micro-behaviors/data/manipulation::numpy-array-operations--arange",
            "spans": [
              [
                20094,
                9
              ]
            ]
          },
          {
            "conf": 0.85,
            "crit": 3,
            "desc": "NumPy array operation (array)",
            "id": "micro-behaviors/data/manipulation::numpy-array-operations--array",
            "spans": [
              [
                20028,
                8
              ]
            ]
          },
          {
            "conf": 0.85,
            "crit": 3,
            "desc": "NumPy array operation (zeros)",
            "id": "micro-behaviors/data/manipulation::numpy-array-operations--zeros",
            "spans": [
              [
                8913,
                8
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Imports the NumPy array library",
            "id": "micro-behaviors/data/manipulation::numpy-import",
            "spans": [
              [
                7,
                5
              ]
            ]
          },
          {
            "conf": 1.0,
            "crit": 2,
            "desc": "File uses a Python artifact extension",
            "id": "metadata/file/extension/identity::py"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports numpy as np",
            "id": "metadata/import/python/numpy::np",
            "spans": [
              [
                7,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ._classes._LinearBoosting from ._classes",
            "id": "metadata/import/python/relative/1/_classes/_linearboosting::_linearboosting",
            "spans": [
              [
                232,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ._classes._LinearForest from ._classes",
            "id": "metadata/import/python/relative/1/_classes/_linearforest::_linearforest",
            "spans": [
              [
                249,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ._classes._LinearTree from ._classes",
            "id": "metadata/import/python/relative/1/_classes/_lineartree::_lineartree",
            "spans": [
              [
                219,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ._classes._predict_branch from ._classes",
            "id": "metadata/import/python/relative/1/_classes/_predict_branch::_predict_branch",
            "spans": [
              [
                180,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ._classes",
            "id": "metadata/import/python/relative/1/_classes::relative/1/_classes",
            "spans": [
              [
                163,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ClassifierMixin from sklearn.base",
            "id": "metadata/import/python/sklearn/base/classifiermixin::classifiermixin",
            "spans": [
              [
                47,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports RegressorMixin from sklearn.base",
            "id": "metadata/import/python/sklearn/base/regressormixin::regressormixin",
            "spans": [
              [
                64,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports sklearn.base",
            "id": "metadata/import/python/sklearn/base::sklearn/base",
            "spans": [
              [
                27,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports _check_sample_weight from sklearn.utils.validation",
            "id": "metadata/import/python/sklearn/utils/validation/_check_sample_weight::_check_sample_weight",
            "spans": [
              [
                134,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports check_is_fitted from sklearn.utils.validation",
            "id": "metadata/import/python/sklearn/utils/validation/check_is_fitted::check_is_fitted",
            "spans": [
              [
                117,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports sklearn.utils.validation",
            "id": "metadata/import/python/sklearn/utils/validation::sklearn/utils/validation",
            "spans": [
              [
                85,
                0
              ]
            ]
          },
          {
            "conf": 0.3,
            "crit": 2,
            "desc": "Source contains for-loop syntax",
            "id": "metadata/lang/source/syntax/control-flow::for-loop-content",
            "spans": [
              [
                39400,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 2,
            "desc": "Python doctest prompt",
            "id": "metadata/package/documentation/docstring::python-doctest-prompt",
            "spans": [
              [
                5063,
                0
              ]
            ]
          },
          {
            "conf": 0.88,
            "crit": 1,
            "desc": "Control-action verb followed by alphabetic text",
            "id": "metadata/lang/natural/vocabulary/content-word::control-action-prose-fragment",
            "spans": [
              [
                4565,
                0
              ]
            ]
          },
          {
            "conf": 0.88,
            "crit": 1,
            "desc": "Directive or message vocabulary token",
            "id": "metadata/lang/natural/vocabulary/content-word::directive-or-message-word-token",
            "spans": [
              [
                6921,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"the\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-1",
            "spans": [
              [
                421,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"and\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-2",
            "spans": [
              [
                464,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"that\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-3",
            "spans": [
              [
                408,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"have\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-4",
            "spans": [
              [
                22787,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"for\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-5",
            "spans": [
              [
                1822,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"with\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-6",
            "spans": [
              [
                2641,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"this\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-7",
            "spans": [
              [
                702,
                0
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 1,
            "desc": "Shallow agent skill bundle script file",
            "id": "metadata/package/agent-skill::agent-skill-bundle-script-file"
          }
        ],
        "type": "python"
      }
    ],
    "v": 8
  }
}