{
  "ml": {
    "analyzed_at": "2026-11-19T19:16:31Z",
    "files": [
      {
        "lvl": -1,
        "prob": 0.04855928,
        "id": 0
      },
      {
        "lvl": -1,
        "id": 1
      },
      {
        "lvl": -1,
        "prob": 0,
        "id": 2
      },
      {
        "lvl": -1,
        "id": 3
      },
      {
        "lvl": -1,
        "id": 4
      },
      {
        "lvl": -1,
        "id": 5
      },
      {
        "lvl": -1,
        "id": 6
      },
      {
        "lvl": -1,
        "id": 7
      },
      {
        "lvl": -1,
        "id": 8
      },
      {
        "lvl": -1,
        "id": 9
      },
      {
        "lvl": -1,
        "prob": 0,
        "id": 10
      },
      {
        "lvl": -1,
        "id": 11
      },
      {
        "lvl": -1,
        "id": 12
      },
      {
        "lvl": -1,
        "id": 13
      },
      {
        "lvl": -1,
        "id": 14
      },
      {
        "lvl": -1,
        "id": 15
      },
      {
        "lvl": -1,
        "id": 16
      },
      {
        "lvl": -1,
        "id": 17
      },
      {
        "lvl": -1,
        "id": 18
      },
      {
        "lvl": -1,
        "id": 19
      },
      {
        "lvl": -1,
        "id": 20
      },
      {
        "lvl": -1,
        "id": 21
      },
      {
        "lvl": -1,
        "id": 22
      },
      {
        "lvl": -1,
        "id": 23
      },
      {
        "lvl": -1,
        "id": 24
      },
      {
        "lvl": -1,
        "id": 25
      },
      {
        "lvl": -1,
        "id": 26
      },
      {
        "lvl": -1,
        "id": 27
      },
      {
        "lvl": -1,
        "id": 28
      },
      {
        "lvl": -1,
        "id": 29
      },
      {
        "lvl": -1,
        "id": 30
      },
      {
        "lvl": -1,
        "id": 31
      },
      {
        "lvl": -1,
        "id": 32
      },
      {
        "lvl": -1,
        "id": 33
      },
      {
        "lvl": -1,
        "id": 34
      }
    ],
    "lvl": -1,
    "mods": [
      {
        "cls": 0
      }
    ],
    "prob": 0.04855928,
    "v": "7",
    "version": "v20.20"
  },
  "path": "algoliasearch-2.6.0-py2.py3-none-any.whl",
  "raw": {
    "files": [
      {
        "depth": 0,
        "facts": {
          "metrics": {
            "archive": {
              "compressed_size": 29672,
              "compression.method_counts.deflate": 40,
              "compression.ratio": 0.24,
              "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": 40,
              "format.regular_count": 40,
              "hidden_file_count": 0,
              "homoglyph_filename_count": 0,
              "local_header_signature_count": 40,
              "max_filename_length": 45,
              "member_count": 40,
              "misplaced_executable_count": 0,
              "nested_archive_count": 0,
              "noise_file_count": 0,
              "path_traversal_count": 0,
              "rtlo_filename_count": 0,
              "script_count": 34,
              "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": 21,
              "timing.mtime_dominant_ratio": 0.53,
              "timing.mtime_outlier_count": 19,
              "timing.mtime_spread_seconds": 1306386,
              "timing.mtime_unique_count": 8,
              "timing.mtime_unique_ratio": 0.2,
              "timing.sentinel_mtime_count": 0,
              "uncompressed_size": 124387,
              "unicode_filename_count": 0,
              "zip_bomb_ratio": 7.09
            },
            "binary": {
              "peak_region_bytes": 31744,
              "peak_region_entropy": 7.83
            },
            "consistency": {
              "metadata_identity_mismatch": 0,
              "self_dependency": 0
            },
            "file": {
              "entropy": 7.86,
              "size": 35384
            },
            "whl": {
              "native_extension_count": 0
            }
          }
        },
        "id": 0,
        "ident": {
          "name": {
            "value": "algoliasearch",
            "source": "whl.distribution",
            "verified": false
          },
          "urls": [
            {
              "url": "https://github.com/algolia/algoliasearch-client-python",
              "kind": "homepage",
              "source": "whl.homepage"
            }
          ],
          "trust": "unsigned",
          "emails": [
            "support@algolia.com"
          ],
          "authors": [
            {
              "name": "Algolia Team",
              "role": "author",
              "email": "support@algolia.com",
              "source": "whl.authors"
            }
          ],
          "version": {
            "value": "2.6.0",
            "source": "whl.version",
            "verified": false
          },
          "description": {
            "value": "Algolia Search API Client for Python.",
            "source": "whl.description",
            "verified": false
          }
        },
        "mol": "H₆(Cm₁₆Cr₂Db₆Os₂Ti)Md₄(In₄₆NePa₆)",
        "path": "algoliasearch-2.6.0-py2.py3-none-any.whl",
        "risk": 23,
        "sha": "f4c115fc27589d097de617ddcbf2ed83efac47d180523e54e42d54fd6a658eb4",
        "size": 35384,
        "traits": [
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Archive contains at least ten members",
            "id": "metadata/archive/layout::archive-at-least-10-members"
          },
          {
            "conf": 0.8,
            "crit": 3,
            "desc": "Long Base64-looking Python string literal",
            "from": [
              {
                "file": 23
              }
            ],
            "id": "metadata/file/encoding/shape::python-long-base64-looking-string-literal"
          },
          {
            "conf": 0.75,
            "crit": 3,
            "desc": "Small .py/.pyw file without import/def tokens",
            "from": [
              {
                "file": 18
              }
            ],
            "id": "metadata/file/size::small-no-imports"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Imports Python base64 module",
            "from": [
              {
                "file": 30
              }
            ],
            "id": "metadata/import/builtin::python-base64-import"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports aiohttp",
            "from": [
              {
                "file": 8
              }
            ],
            "id": "metadata/import/python/aiohttp::aiohttp"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports CallType from algoliasearch.http.hosts",
            "from": [
              {
                "file": 6
              }
            ],
            "id": "metadata/import/python/algoliasearch/http/hosts/calltype::calltype"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports Host from algoliasearch.http.hosts",
            "from": [
              {
                "file": 6
              }
            ],
            "id": "metadata/import/python/algoliasearch/http/hosts/host::host"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports HostsCollection from algoliasearch.http.hosts",
            "from": [
              {
                "file": 6
              }
            ],
            "id": "metadata/import/python/algoliasearch/http/hosts/hostscollection::hostscollection"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports algoliasearch.http.hosts",
            "from": [
              {
                "file": 6
              }
            ],
            "id": "metadata/import/python/algoliasearch/http/hosts::algoliasearch/http/hosts"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports RequestOptions from algoliasearch.http.request_options",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "metadata/import/python/algoliasearch/http/request_options/requestoptions::requestoptions"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports algoliasearch.http.request_options",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "metadata/import/python/algoliasearch/http/request_options::algoliasearch/http/request_options"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports Requester from algoliasearch.http.requester",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "metadata/import/python/algoliasearch/http/requester/requester::requester"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports algoliasearch.http.requester",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "metadata/import/python/algoliasearch/http/requester::algoliasearch/http/requester"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports RequesterAsync from algoliasearch.http.requester_async",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "metadata/import/python/algoliasearch/http/requester_async/requesterasync::requesterasync"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports algoliasearch.http.requester_async",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "metadata/import/python/algoliasearch/http/requester_async::algoliasearch/http/requester_async"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports DataSerializer from algoliasearch.http.serializer",
            "from": [
              {
                "file": 16
              }
            ],
            "id": "metadata/import/python/algoliasearch/http/serializer/dataserializer::dataserializer"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports QueryParametersSerializer from algoliasearch.http.serializer",
            "from": [
              {
                "file": 30
              }
            ],
            "id": "metadata/import/python/algoliasearch/http/serializer/queryparametersserializer::queryparametersserializer"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports SettingsDeserializer from algoliasearch.http.serializer",
            "from": [
              {
                "file": 32
              }
            ],
            "id": "metadata/import/python/algoliasearch/http/serializer/settingsdeserializer::settingsdeserializer"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports algoliasearch.http.serializer",
            "from": [
              {
                "file": 30
              }
            ],
            "id": "metadata/import/python/algoliasearch/http/serializer::algoliasearch/http/serializer"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports Request from algoliasearch.http.transporter",
            "from": [
              {
                "file": 13
              }
            ],
            "id": "metadata/import/python/algoliasearch/http/transporter/request::request"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports Response from algoliasearch.http.transporter",
            "from": [
              {
                "file": 13
              }
            ],
            "id": "metadata/import/python/algoliasearch/http/transporter/response::response"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports RetryOutcome from algoliasearch.http.transporter",
            "from": [
              {
                "file": 17
              }
            ],
            "id": "metadata/import/python/algoliasearch/http/transporter/retryoutcome::retryoutcome"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports RetryStrategy from algoliasearch.http.transporter",
            "from": [
              {
                "file": 17
              }
            ],
            "id": "metadata/import/python/algoliasearch/http/transporter/retrystrategy::retrystrategy"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports Transporter from algoliasearch.http.transporter",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "metadata/import/python/algoliasearch/http/transporter/transporter::transporter"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports algoliasearch.http.transporter",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "metadata/import/python/algoliasearch/http/transporter::algoliasearch/http/transporter"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports TransporterAsync from algoliasearch.http.transporter_async",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "metadata/import/python/algoliasearch/http/transporter_async/transporterasync::transporterasync"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports algoliasearch.http.transporter_async",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "metadata/import/python/algoliasearch/http/transporter_async::algoliasearch/http/transporter_async"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports Verb from algoliasearch.http.verb",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "metadata/import/python/algoliasearch/http/verb/verb::verb"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports algoliasearch.http.verb",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "metadata/import/python/algoliasearch/http/verb::algoliasearch/http/verb"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports base64",
            "from": [
              {
                "file": 30
              }
            ],
            "id": "metadata/import/python/base64::base64"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports hashlib",
            "from": [
              {
                "file": 30
              }
            ],
            "id": "metadata/import/python/hashlib::hashlib"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports hmac",
            "from": [
              {
                "file": 30
              }
            ],
            "id": "metadata/import/python/hmac::hmac"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports os",
            "from": [
              {
                "file": 6
              }
            ],
            "id": "metadata/import/python/os::os"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports python_version from platform",
            "from": [
              {
                "file": 34
              }
            ],
            "id": "metadata/import/python/platform/python_version::python_version"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports platform",
            "from": [
              {
                "file": 34
              }
            ],
            "id": "metadata/import/python/platform::platform"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports HTTPAdapter from requests.adapters",
            "from": [
              {
                "file": 13
              }
            ],
            "id": "metadata/import/python/requests/adapters/httpadapter::httpadapter"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports requests.adapters",
            "from": [
              {
                "file": 13
              }
            ],
            "id": "metadata/import/python/requests/adapters::requests/adapters"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports Retry from requests.packages.urllib3.util",
            "from": [
              {
                "file": 13
              }
            ],
            "id": "metadata/import/python/requests/packages/urllib3/util/retry::retry"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports requests.packages.urllib3.util",
            "from": [
              {
                "file": 13
              }
            ],
            "id": "metadata/import/python/requests/packages/urllib3/util::requests/packages/urllib3/util"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports RequestException from requests",
            "from": [
              {
                "file": 13
              }
            ],
            "id": "metadata/import/python/requests/requestexception::requestexception"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports Session from requests",
            "from": [
              {
                "file": 13
              }
            ],
            "id": "metadata/import/python/requests/session::session"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports Timeout from requests",
            "from": [
              {
                "file": 13
              }
            ],
            "id": "metadata/import/python/requests/timeout::timeout"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports requests",
            "from": [
              {
                "file": 13
              }
            ],
            "id": "metadata/import/python/requests::requests"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports quote from urllib.parse",
            "from": [
              {
                "file": 8
              }
            ],
            "id": "metadata/import/python/urllib/parse/quote::quote"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports urlencode from urllib.parse",
            "from": [
              {
                "file": 15
              }
            ],
            "id": "metadata/import/python/urllib/parse/urlencode::urlencode"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports urllib.parse",
            "from": [
              {
                "file": 8
              }
            ],
            "id": "metadata/import/python/urllib/parse::urllib/parse"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports quote from urllib",
            "from": [
              {
                "file": 8
              }
            ],
            "id": "metadata/import/python/urllib/quote::quote"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports urlencode from urllib",
            "from": [
              {
                "file": 15
              }
            ],
            "id": "metadata/import/python/urllib/urlencode::urlencode"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports urllib",
            "from": [
              {
                "file": 8
              }
            ],
            "id": "metadata/import/python/urllib::urllib"
          },
          {
            "conf": 0.5,
            "crit": 3,
            "desc": "Python asyncio library reference",
            "from": [
              {
                "file": 5
              }
            ],
            "id": "metadata/lang/source/naming/interface/runtime::asyncio-reference"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "PyPI metadata declares an HTTP client dependency",
            "from": [
              {
                "file": 1
              }
            ],
            "id": "metadata/package/dependencies/network::pypi-http-client-dependency"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Declares Markdown package description",
            "from": [
              {
                "file": 1
              }
            ],
            "id": "metadata/package/description/presence::pkginfo-markdown-description"
          },
          {
            "conf": 0.7,
            "crit": 3,
            "desc": "Package metadata references Shields badge URLs",
            "from": [
              {
                "file": 1
              }
            ],
            "id": "metadata/package/documentation/package-metadata::pkginfo-body-has-badges"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Declares Python runtime dependencies",
            "from": [
              {
                "file": 1
              }
            ],
            "id": "metadata/package/ecosystem::pkginfo-requires-dist"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Declares Python package license file",
            "from": [
              {
                "file": 1
              }
            ],
            "id": "metadata/package/license::pkginfo-license-file"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Declares supported Python versions",
            "from": [
              {
                "file": 1
              }
            ],
            "id": "metadata/package/runtime::pkginfo-requires-python"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Imports the aiohttp Python HTTP client",
            "from": [
              {
                "file": 8
              }
            ],
            "id": "micro-behaviors/communications/http/client/library::aiohttp-import"
          },
          {
            "conf": 0.8,
            "crit": 3,
            "desc": "Python response body member access",
            "from": [
              {
                "file": 16
              }
            ],
            "id": "micro-behaviors/communications/http/client/response-body::python-response-body-member-reference"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "References HTTP Content-Type application/json",
            "from": [
              {
                "file": 6
              }
            ],
            "id": "micro-behaviors/communications/http/header/content-type::json-header"
          },
          {
            "conf": 0.94,
            "crit": 3,
            "desc": "JSON Content-Type mapping in Python source",
            "from": [
              {
                "file": 6
              }
            ],
            "id": "micro-behaviors/communications/http/header/content-type::python-json-content-type"
          },
          {
            "atk": "T1071.001",
            "conf": 0.7,
            "crit": 3,
            "desc": "X-Forwarded-For proxy header",
            "from": [
              {
                "file": 12
              }
            ],
            "id": "micro-behaviors/communications/http/header/forwarded::x-forwarded-for",
            "mbc": "C0002"
          },
          {
            "conf": 0.7,
            "crit": 3,
            "desc": "aiohttp.ClientSession usage",
            "from": [
              {
                "file": 14
              }
            ],
            "id": "micro-behaviors/communications/http/lib/aiohttp::aiohttp-session"
          },
          {
            "conf": 0.8,
            "crit": 3,
            "desc": "requests.Session() persistent HTTP session",
            "from": [
              {
                "file": 13
              }
            ],
            "id": "micro-behaviors/communications/http/lib/requests::requests-session"
          },
          {
            "conf": 0.85,
            "crit": 3,
            "desc": "urllib urlencode for data serialization",
            "from": [
              {
                "file": 15
              }
            ],
            "id": "micro-behaviors/communications/http/lib/urllib::urllib-urlencode"
          },
          {
            "conf": 0.84,
            "crit": 3,
            "desc": "Source HTTP POST method literal",
            "from": [
              {
                "file": 18
              }
            ],
            "id": "micro-behaviors/communications/http/post::source-post-method-literal",
            "mbc": "C0002"
          },
          {
            "conf": 0.86,
            "crit": 3,
            "desc": "HTTP client call supplies a payload argument",
            "from": [
              {
                "file": 13
              }
            ],
            "id": "micro-behaviors/communications/http/request/body/construction::client-payload-argument"
          },
          {
            "conf": 0.84,
            "crit": 3,
            "desc": "Python Request call passes a body argument",
            "from": [
              {
                "file": 13
              }
            ],
            "id": "micro-behaviors/communications/http/request/body/construction::python-request-data-argument"
          },
          {
            "conf": 0.99,
            "crit": 3,
            "desc": "Exactly one requests or httpx method call",
            "from": [
              {
                "file": 32
              }
            ],
            "id": "micro-behaviors/communications/http/request/client::single-requests-httpx-call"
          },
          {
            "conf": 0.94,
            "crit": 3,
            "desc": "Python indexes credential key in environ",
            "from": [
              {
                "file": 6
              }
            ],
            "id": "micro-behaviors/communications/http/request/credentials/environment::python-auth-cred-environ-subscript"
          },
          {
            "conf": 0.7,
            "crit": 3,
            "desc": "Quoted HTTP POST method token",
            "from": [
              {
                "file": 18
              }
            ],
            "id": "micro-behaviors/communications/http/request/reference::quoted-post-token"
          },
          {
            "conf": 0.8,
            "crit": 3,
            "desc": "Loop tests HTTP response status code",
            "from": [
              {
                "file": 29
              }
            ],
            "id": "micro-behaviors/communications/http/response::http-loop-status-code-check"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Python WSGI reads HTTP_ header",
            "from": [
              {
                "file": 6
              }
            ],
            "id": "micro-behaviors/communications/http/server/request::python-wsgi-http-header-lookup"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "X-prefixed token header field or assignment",
            "from": [
              {
                "file": 6
              }
            ],
            "id": "micro-behaviors/communications/http/token-auth::custom-token-header"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Calls Python urlencode query serializer",
            "from": [
              {
                "file": 15
              }
            ],
            "id": "micro-behaviors/communications/url/construction/query::query-serializer-call"
          },
          {
            "conf": 0.88,
            "crit": 3,
            "desc": "Performs Python SHA-256 operation",
            "from": [
              {
                "file": 30
              }
            ],
            "id": "micro-behaviors/crypto/hash/digest/sha2::python-sha256-operation",
            "mbc": "C0029"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "References an HMAC API",
            "from": [
              {
                "file": 30
              }
            ],
            "id": "micro-behaviors/crypto/hash/hmac::hmac-api-reference",
            "mbc": "C0029"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Python hmac.new operation",
            "from": [
              {
                "file": 30
              }
            ],
            "id": "micro-behaviors/crypto/hash/hmac::hmac-new"
          },
          {
            "conf": 0.94,
            "crit": 3,
            "desc": "Handles HTTP, URL or connection errors",
            "from": [
              {
                "file": 14
              }
            ],
            "id": "micro-behaviors/data/control-flow/error-handling/catch::network-error-handler",
            "mbc": "C0027"
          },
          {
            "conf": 0.5,
            "crit": 3,
            "desc": "Handles a missing-module ImportError",
            "from": [
              {
                "file": 8
              }
            ],
            "id": "micro-behaviors/data/control-flow/error-handling/catch::python-import-error-handler",
            "mbc": "C0027"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Decodes Base64 data with Python",
            "from": [
              {
                "file": 30
              }
            ],
            "id": "micro-behaviors/data/decode/base64/unspecified::b64decode-call"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Encodes data with Python base64.b64encode()",
            "from": [
              {
                "file": 30
              }
            ],
            "id": "micro-behaviors/data/encode/base64/primitive::b64encode-call"
          },
          {
            "conf": 0.8,
            "crit": 3,
            "desc": "JSON command or task field key",
            "from": [
              {
                "file": 8
              }
            ],
            "id": "micro-behaviors/data/format/json::json-command-field"
          },
          {
            "conf": 0.85,
            "crit": 3,
            "desc": "Calls a JSON body reader method",
            "from": [
              {
                "file": 13
              }
            ],
            "id": "micro-behaviors/data/parse/json::python-json-body-method-call"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Serializes data with Python json.dumps()",
            "from": [
              {
                "file": 8
              }
            ],
            "id": "micro-behaviors/data/serialize/json::json-dumps-call"
          },
          {
            "conf": 0.75,
            "crit": 3,
            "desc": "Python getattr dynamic attribute lookup",
            "from": [
              {
                "file": 8
              }
            ],
            "id": "micro-behaviors/metaprogramming/reflection/inspect/member::python-getattr-call"
          },
          {
            "conf": 0.92,
            "crit": 3,
            "desc": "Python reads an environment variable",
            "from": [
              {
                "file": 6
              }
            ],
            "id": "micro-behaviors/os/env/read/variable::python-os-getenv-call"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Calls base64.b64encode in Python or script",
            "from": [
              {
                "file": 30
              }
            ],
            "id": "micro-behaviors/os/sysinfo/profile::python-b64encode-text"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "Python while loop contains a sleep call",
            "from": [
              {
                "file": 29
              }
            ],
            "id": "micro-behaviors/time/sleep/interval::python-loop-sleep-call"
          },
          {
            "conf": 0.65,
            "crit": 3,
            "desc": "Calls a function named sleep in Python",
            "from": [
              {
                "file": 8
              }
            ],
            "id": "micro-behaviors/time/sleep/interval::python-sleep-call"
          },
          {
            "conf": 1.0,
            "crit": 2,
            "desc": "File uses a Python artifact extension",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "metadata/file/extension/identity::py"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports abc",
            "from": [
              {
                "file": 6
              }
            ],
            "id": "metadata/import/python/abc::abc"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports AnalyticsClient from algoliasearch.analytics_client",
            "from": [
              {
                "file": 5
              }
            ],
            "id": "metadata/import/python/algoliasearch/analytics_client/analyticsclient::analyticsclient"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports algoliasearch.analytics_client",
            "from": [
              {
                "file": 5
              }
            ],
            "id": "metadata/import/python/algoliasearch/analytics_client::algoliasearch/analytics_client"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports AnalyticsClientAsync from algoliasearch.analytics_client_async",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "metadata/import/python/algoliasearch/analytics_client_async/analyticsclientasync::analyticsclientasync"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports algoliasearch.analytics_client_async",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "metadata/import/python/algoliasearch/analytics_client_async::algoliasearch/analytics_client_async"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports AnalyticsConfig from algoliasearch.configs",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "metadata/import/python/algoliasearch/configs/analyticsconfig::analyticsconfig"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports Config from algoliasearch.configs",
            "from": [
              {
                "file": 12
              }
            ],
            "id": "metadata/import/python/algoliasearch/configs/config::config"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports InsightsConfig from algoliasearch.configs",
            "from": [
              {
                "file": 19
              }
            ],
            "id": "metadata/import/python/algoliasearch/configs/insightsconfig::insightsconfig"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports PersonalizationConfig from algoliasearch.configs",
            "from": [
              {
                "file": 23
              }
            ],
            "id": "metadata/import/python/algoliasearch/configs/personalizationconfig::personalizationconfig"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports RecommendationConfig from algoliasearch.configs",
            "from": [
              {
                "file": 27
              }
            ],
            "id": "metadata/import/python/algoliasearch/configs/recommendationconfig::recommendationconfig"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports SearchConfig from algoliasearch.configs",
            "from": [
              {
                "file": 25
              }
            ],
            "id": "metadata/import/python/algoliasearch/configs/searchconfig::searchconfig"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports algoliasearch.configs",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "metadata/import/python/algoliasearch/configs::algoliasearch/configs"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports AlgoliaException from algoliasearch.exceptions",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "metadata/import/python/algoliasearch/exceptions/algoliaexception::algoliaexception"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports AlgoliaUnreachableHostException from algoliasearch.exceptions",
            "from": [
              {
                "file": 16
              }
            ],
            "id": "metadata/import/python/algoliasearch/exceptions/algoliaunreachablehostexception::algoliaunreachablehostexception"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports MissingObjectIdException from algoliasearch.exceptions",
            "from": [
              {
                "file": 8
              }
            ],
            "id": "metadata/import/python/algoliasearch/exceptions/missingobjectidexception::missingobjectidexception"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ObjectNotFoundException from algoliasearch.exceptions",
            "from": [
              {
                "file": 32
              }
            ],
            "id": "metadata/import/python/algoliasearch/exceptions/objectnotfoundexception::objectnotfoundexception"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports RequestException from algoliasearch.exceptions",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "metadata/import/python/algoliasearch/exceptions/requestexception::requestexception"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ValidUntilNotFoundException from algoliasearch.exceptions",
            "from": [
              {
                "file": 30
              }
            ],
            "id": "metadata/import/python/algoliasearch/exceptions/validuntilnotfoundexception::validuntilnotfoundexception"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports algoliasearch.exceptions",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "metadata/import/python/algoliasearch/exceptions::algoliasearch/exceptions"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports assert_object_id from algoliasearch.helpers",
            "from": [
              {
                "file": 32
              }
            ],
            "id": "metadata/import/python/algoliasearch/helpers/assert_object_id::assert_object_id"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports build_raw_response_batch from algoliasearch.helpers",
            "from": [
              {
                "file": 30
              }
            ],
            "id": "metadata/import/python/algoliasearch/helpers/build_raw_response_batch::build_raw_response_batch"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports endpoint from algoliasearch.helpers",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "metadata/import/python/algoliasearch/helpers/endpoint::endpoint"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports get_items from algoliasearch.helpers",
            "from": [
              {
                "file": 29
              }
            ],
            "id": "metadata/import/python/algoliasearch/helpers/get_items::get_items"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports is_async_available from algoliasearch.helpers",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "metadata/import/python/algoliasearch/helpers/is_async_available::is_async_available"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports sleep_for from algoliasearch.helpers",
            "from": [
              {
                "file": 29
              }
            ],
            "id": "metadata/import/python/algoliasearch/helpers/sleep_for::sleep_for"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports algoliasearch.helpers",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "metadata/import/python/algoliasearch/helpers::algoliasearch/helpers"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports _create_async_methods_in from algoliasearch.helpers_async",
            "from": [
              {
                "file": 5
              }
            ],
            "id": "metadata/import/python/algoliasearch/helpers_async/_create_async_methods_in::_create_async_methods_in"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports algoliasearch.helpers_async",
            "from": [
              {
                "file": 5
              }
            ],
            "id": "metadata/import/python/algoliasearch/helpers_async::algoliasearch/helpers_async"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports InsightsClient from algoliasearch.insights_client",
            "from": [
              {
                "file": 20
              }
            ],
            "id": "metadata/import/python/algoliasearch/insights_client/insightsclient::insightsclient"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports UserInsightsClient from algoliasearch.insights_client",
            "from": [
              {
                "file": 20
              }
            ],
            "id": "metadata/import/python/algoliasearch/insights_client/userinsightsclient::userinsightsclient"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports algoliasearch.insights_client",
            "from": [
              {
                "file": 20
              }
            ],
            "id": "metadata/import/python/algoliasearch/insights_client::algoliasearch/insights_client"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports InsightsClientAsync from algoliasearch.insights_client_async",
            "from": [
              {
                "file": 19
              }
            ],
            "id": "metadata/import/python/algoliasearch/insights_client_async/insightsclientasync::insightsclientasync"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports algoliasearch.insights_client_async",
            "from": [
              {
                "file": 19
              }
            ],
            "id": "metadata/import/python/algoliasearch/insights_client_async::algoliasearch/insights_client_async"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports Iterator from algoliasearch.iterators",
            "from": [
              {
                "file": 22
              }
            ],
            "id": "metadata/import/python/algoliasearch/iterators/iterator::iterator"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ObjectIterator from algoliasearch.iterators",
            "from": [
              {
                "file": 32
              }
            ],
            "id": "metadata/import/python/algoliasearch/iterators/objectiterator::objectiterator"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports RuleIterator from algoliasearch.iterators",
            "from": [
              {
                "file": 32
              }
            ],
            "id": "metadata/import/python/algoliasearch/iterators/ruleiterator::ruleiterator"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports SynonymIterator from algoliasearch.iterators",
            "from": [
              {
                "file": 32
              }
            ],
            "id": "metadata/import/python/algoliasearch/iterators/synonymiterator::synonymiterator"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports algoliasearch.iterators",
            "from": [
              {
                "file": 22
              }
            ],
            "id": "metadata/import/python/algoliasearch/iterators::algoliasearch/iterators"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ObjectIteratorAsync from algoliasearch.iterators_async",
            "from": [
              {
                "file": 33
              }
            ],
            "id": "metadata/import/python/algoliasearch/iterators_async/objectiteratorasync::objectiteratorasync"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports RuleIteratorAsync from algoliasearch.iterators_async",
            "from": [
              {
                "file": 33
              }
            ],
            "id": "metadata/import/python/algoliasearch/iterators_async/ruleiteratorasync::ruleiteratorasync"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports SynonymIteratorAsync from algoliasearch.iterators_async",
            "from": [
              {
                "file": 33
              }
            ],
            "id": "metadata/import/python/algoliasearch/iterators_async/synonymiteratorasync::synonymiteratorasync"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports algoliasearch.iterators_async",
            "from": [
              {
                "file": 33
              }
            ],
            "id": "metadata/import/python/algoliasearch/iterators_async::algoliasearch/iterators_async"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports PersonalizationClient from algoliasearch.personalization_client",
            "from": [
              {
                "file": 24
              }
            ],
            "id": "metadata/import/python/algoliasearch/personalization_client/personalizationclient::personalizationclient"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports algoliasearch.personalization_client",
            "from": [
              {
                "file": 24
              }
            ],
            "id": "metadata/import/python/algoliasearch/personalization_client::algoliasearch/personalization_client"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports PersonalizationClientAsync from algoliasearch.personalization_client_async",
            "from": [
              {
                "file": 23
              }
            ],
            "id": "metadata/import/python/algoliasearch/personalization_client_async/personalizationclientasync::personalizationclientasync"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports algoliasearch.personalization_client_async",
            "from": [
              {
                "file": 23
              }
            ],
            "id": "metadata/import/python/algoliasearch/personalization_client_async::algoliasearch/personalization_client_async"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports RecommendClient from algoliasearch.recommend_client",
            "from": [
              {
                "file": 26
              }
            ],
            "id": "metadata/import/python/algoliasearch/recommend_client/recommendclient::recommendclient"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports algoliasearch.recommend_client",
            "from": [
              {
                "file": 26
              }
            ],
            "id": "metadata/import/python/algoliasearch/recommend_client::algoliasearch/recommend_client"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports RecommendClientAsync from algoliasearch.recommend_client_async",
            "from": [
              {
                "file": 25
              }
            ],
            "id": "metadata/import/python/algoliasearch/recommend_client_async/recommendclientasync::recommendclientasync"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports algoliasearch.recommend_client_async",
            "from": [
              {
                "file": 25
              }
            ],
            "id": "metadata/import/python/algoliasearch/recommend_client_async::algoliasearch/recommend_client_async"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports RecommendationClient from algoliasearch.recommendation_client",
            "from": [
              {
                "file": 28
              }
            ],
            "id": "metadata/import/python/algoliasearch/recommendation_client/recommendationclient::recommendationclient"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports algoliasearch.recommendation_client",
            "from": [
              {
                "file": 28
              }
            ],
            "id": "metadata/import/python/algoliasearch/recommendation_client::algoliasearch/recommendation_client"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports RecommendationClientAsync from algoliasearch.recommendation_client_async",
            "from": [
              {
                "file": 27
              }
            ],
            "id": "metadata/import/python/algoliasearch/recommendation_client_async/recommendationclientasync::recommendationclientasync"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports algoliasearch.recommendation_client_async",
            "from": [
              {
                "file": 27
              }
            ],
            "id": "metadata/import/python/algoliasearch/recommendation_client_async::algoliasearch/recommendation_client_async"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports AddApiKeyResponse from algoliasearch.responses",
            "from": [
              {
                "file": 30
              }
            ],
            "id": "metadata/import/python/algoliasearch/responses/addapikeyresponse::addapikeyresponse"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports DeleteApiKeyResponse from algoliasearch.responses",
            "from": [
              {
                "file": 30
              }
            ],
            "id": "metadata/import/python/algoliasearch/responses/deleteapikeyresponse::deleteapikeyresponse"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports DictionaryResponse from algoliasearch.responses",
            "from": [
              {
                "file": 30
              }
            ],
            "id": "metadata/import/python/algoliasearch/responses/dictionaryresponse::dictionaryresponse"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports IndexingResponse from algoliasearch.responses",
            "from": [
              {
                "file": 30
              }
            ],
            "id": "metadata/import/python/algoliasearch/responses/indexingresponse::indexingresponse"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports MultipleIndexBatchIndexingResponse from algoliasearch.responses",
            "from": [
              {
                "file": 30
              }
            ],
            "id": "metadata/import/python/algoliasearch/responses/multipleindexbatchindexingresponse::multipleindexbatchindexingresponse"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports MultipleResponse from algoliasearch.responses",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "metadata/import/python/algoliasearch/responses/multipleresponse::multipleresponse"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports Response from algoliasearch.responses",
            "from": [
              {
                "file": 32
              }
            ],
            "id": "metadata/import/python/algoliasearch/responses/response::response"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports RestoreApiKeyResponse from algoliasearch.responses",
            "from": [
              {
                "file": 30
              }
            ],
            "id": "metadata/import/python/algoliasearch/responses/restoreapikeyresponse::restoreapikeyresponse"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports UpdateApiKeyResponse from algoliasearch.responses",
            "from": [
              {
                "file": 30
              }
            ],
            "id": "metadata/import/python/algoliasearch/responses/updateapikeyresponse::updateapikeyresponse"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports algoliasearch.responses",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "metadata/import/python/algoliasearch/responses::algoliasearch/responses"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports SearchClient from algoliasearch.search_client",
            "from": [
              {
                "file": 29
              }
            ],
            "id": "metadata/import/python/algoliasearch/search_client/searchclient::searchclient"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports algoliasearch.search_client",
            "from": [
              {
                "file": 29
              }
            ],
            "id": "metadata/import/python/algoliasearch/search_client::algoliasearch/search_client"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports SearchClientAsync from algoliasearch.search_client_async",
            "from": [
              {
                "file": 30
              }
            ],
            "id": "metadata/import/python/algoliasearch/search_client_async/searchclientasync::searchclientasync"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports algoliasearch.search_client_async",
            "from": [
              {
                "file": 30
              }
            ],
            "id": "metadata/import/python/algoliasearch/search_client_async::algoliasearch/search_client_async"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports SearchIndex from algoliasearch.search_index",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "metadata/import/python/algoliasearch/search_index/searchindex::searchindex"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports algoliasearch.search_index",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "metadata/import/python/algoliasearch/search_index::algoliasearch/search_index"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports SearchIndexAsync from algoliasearch.search_index_async",
            "from": [
              {
                "file": 31
              }
            ],
            "id": "metadata/import/python/algoliasearch/search_index_async/searchindexasync::searchindexasync"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports algoliasearch.search_index_async",
            "from": [
              {
                "file": 31
              }
            ],
            "id": "metadata/import/python/algoliasearch/search_index_async::algoliasearch/search_index_async"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports UserAgent from algoliasearch.user_agent",
            "from": [
              {
                "file": 6
              }
            ],
            "id": "metadata/import/python/algoliasearch/user_agent/useragent::useragent"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports algoliasearch.user_agent",
            "from": [
              {
                "file": 6
              }
            ],
            "id": "metadata/import/python/algoliasearch/user_agent::algoliasearch/user_agent"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports VERSION from algoliasearch.version",
            "from": [
              {
                "file": 34
              }
            ],
            "id": "metadata/import/python/algoliasearch/version/version::version"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports algoliasearch.version",
            "from": [
              {
                "file": 34
              }
            ],
            "id": "metadata/import/python/algoliasearch/version::algoliasearch/version"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports async_timeout",
            "from": [
              {
                "file": 8
              }
            ],
            "id": "metadata/import/python/async_timeout::async_timeout"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports asyncio",
            "from": [
              {
                "file": 5
              }
            ],
            "id": "metadata/import/python/asyncio::asyncio"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports calendar",
            "from": [
              {
                "file": 15
              }
            ],
            "id": "metadata/import/python/calendar::calendar"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports copy",
            "from": [
              {
                "file": 32
              }
            ],
            "id": "metadata/import/python/copy::copy"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports datetime",
            "from": [
              {
                "file": 15
              }
            ],
            "id": "metadata/import/python/datetime::datetime"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports decimal",
            "from": [
              {
                "file": 15
              }
            ],
            "id": "metadata/import/python/decimal::decimal"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports json",
            "from": [
              {
                "file": 8
              }
            ],
            "id": "metadata/import/python/json::json"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports math",
            "from": [
              {
                "file": 8
              }
            ],
            "id": "metadata/import/python/math::math"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports shuffle from random",
            "from": [
              {
                "file": 11
              }
            ],
            "id": "metadata/import/python/random/shuffle::shuffle"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports random",
            "from": [
              {
                "file": 32
              }
            ],
            "id": "metadata/import/python/random::random"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports re",
            "from": [
              {
                "file": 30
              }
            ],
            "id": "metadata/import/python/re::re"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports string",
            "from": [
              {
                "file": 32
              }
            ],
            "id": "metadata/import/python/string::string"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports sys",
            "from": [
              {
                "file": 8
              }
            ],
            "id": "metadata/import/python/sys::sys"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports time",
            "from": [
              {
                "file": 8
              }
            ],
            "id": "metadata/import/python/time::time"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports types",
            "from": [
              {
                "file": 5
              }
            ],
            "id": "metadata/import/python/types::types"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports Any from typing",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "metadata/import/python/typing/any::any"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports Callable from typing",
            "from": [
              {
                "file": 9
              }
            ],
            "id": "metadata/import/python/typing/callable::callable"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports cast from typing",
            "from": [
              {
                "file": 11
              }
            ],
            "id": "metadata/import/python/typing/cast::cast"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports Dict from typing",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "metadata/import/python/typing/dict::dict"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports Iterable from typing",
            "from": [
              {
                "file": 8
              }
            ],
            "id": "metadata/import/python/typing/iterable::iterable"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports Iterator from typing",
            "from": [
              {
                "file": 8
              }
            ],
            "id": "metadata/import/python/typing/iterator::iterator"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports List from typing",
            "from": [
              {
                "file": 8
              }
            ],
            "id": "metadata/import/python/typing/list::list"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports Optional from typing",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "metadata/import/python/typing/optional::optional"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports Type from typing",
            "from": [
              {
                "file": 5
              }
            ],
            "id": "metadata/import/python/typing/type::type"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports Union from typing",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "metadata/import/python/typing/union::union"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports typing",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "metadata/import/python/typing::typing"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports warnings",
            "from": [
              {
                "file": 27
              }
            ],
            "id": "metadata/import/python/warnings::warnings"
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "Declares Python package summary",
            "from": [
              {
                "file": 1
              }
            ],
            "id": "metadata/package/description/presence::pkginfo-summary-field"
          },
          {
            "conf": 1.0,
            "crit": 2,
            "desc": "Declares Python Core Metadata version",
            "from": [
              {
                "file": 1
              }
            ],
            "id": "metadata/package/ecosystem::pkginfo-core-metadata"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "PyPI package declares name, version, summary",
            "from": [
              {
                "file": 1,
                "line": 2,
                "off": 22
              }
            ],
            "id": "metadata/package/ecosystem::pypi-basic-metadata",
            "uses": [
              193,
              194,
              199,
              200
            ]
          },
          {
            "conf": 0.94,
            "crit": 2,
            "desc": "PyPI package declares license information",
            "from": [
              {
                "file": 1,
                "line": 29,
                "off": 1163
              }
            ],
            "id": "metadata/package/ecosystem::pypi-license-metadata",
            "uses": [
              54,
              194
            ]
          },
          {
            "conf": 0.94,
            "crit": 2,
            "desc": "PyPI package declares Python and dependencies",
            "from": [
              {
                "file": 1,
                "line": 27,
                "off": 1068
              }
            ],
            "id": "metadata/package/ecosystem::pypi-runtime-metadata",
            "uses": [
              53,
              55,
              194
            ]
          },
          {
            "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": 1
              }
            ],
            "id": "metadata/package/name/presence::pkginfo-name-field"
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "Declares Python package version",
            "from": [
              {
                "file": 1
              }
            ],
            "id": "metadata/package/version::pkginfo-version-field"
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"the\"",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-1"
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"and\"",
            "from": [
              {
                "file": 7
              }
            ],
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-2"
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"have\"",
            "from": [
              {
                "file": 32
              }
            ],
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-4"
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"for\"",
            "from": [
              {
                "file": 8
              }
            ],
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-5"
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"with\"",
            "from": [
              {
                "file": 14
              }
            ],
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-6"
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"this\"",
            "from": [
              {
                "file": 29
              }
            ],
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-7"
          }
        ],
        "type": "whl"
      },
      {
        "ctx": [
          {
            "col": 1,
            "line": 1,
            "ln": 0,
            "s": "Metadata-Version: 2.1\nName: algoliasearch\nVersion: 2.6.0\nSummary: Algolia Search API Client for Python.\nHome-page: https://github.com/algolia/algoliasearch-client-python\nAuthor: Algolia Team\nAuthor-e"
          },
          {
            "col": 54,
            "line": 25,
            "ln": 1004,
            "s": "/Search\nClassifier: Development Status :: 5 - Production/Stable\nRequires-Python: !=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,\u003e=2.7\nDescription-Content-Type: text/markdown\nLicense-File: LICENSE\nRequires-Dist: requests (\u003c3.0,\u003e=2.21)\nRequires-Dist: typing (\u003c4.0,\u003e=3.6) ; python_version \u003c \"3.5\"\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://www.algolia.com\"\u003e\n    \u003cimg a"
          },
          {
            "col": 8,
            "line": 41,
            "ln": 1666,
            "s": "href=\"https://pypi.org/project/algoliasearch\"\u003e\u003cimg src=\"https://img.shields.io/pypi/v/algoliasearch.svg\" alt=\"PyPI\"\u003e\u003c/img\u003e\u003c/a\u003e\n    \u003ca href=\"https://pypi.org/project/algoliasearch\"\u003e\u003cimg src=\"https://img.shie"
          }
        ],
        "depth": 1,
        "facts": {
          "metrics": {
            "binary": {
              "peak_region_bytes": 4388,
              "peak_region_entropy": 5.14
            },
            "consistency": {
              "metadata_identity_mismatch": 0,
              "self_dependency": 0
            },
            "file": {
              "entropy": 5.23,
              "size": 4388
            },
            "references": {
              "declared_count": 2,
              "security_hold_count": 0,
              "unavailable_command_count": 0,
              "unavailable_vsix_url_count": 0,
              "unresolved_count": 0,
              "unresolved_extension_count": 0,
              "unresolved_required_extension_count": 0
            }
          }
        },
        "id": 1,
        "mol": "Md(Pa₆)",
        "path": "algoliasearch-2.6.0-py2.py3-none-any.whl!!algoliasearch-2.6.0.dist-info/METADATA",
        "pid": 0,
        "refs": [
          {
            "kind": "dependency",
            "off": 1200,
            "sha256": "2a0d60c172f83ac6ab31e4554906c0f3b3588d37b5cb939b1c061f4907e278e0",
            "to": "pkg:pypi/requests?version_requirement=%3C3.0%2C%3E%3D2.21"
          },
          {
            "kind": "dependency",
            "off": 1238,
            "to": "pkg:pypi/typing?version_requirement=%3C4.0%2C%3E%3D3.6\u0026environment_marker=python_version%20%3C%20%223.5%22"
          }
        ],
        "risk": 6,
        "sha": "9b01502273009019411124fcfe84552fbe29238d153d3608be5ec88824f40b00",
        "sid": 10771625544,
        "size": 4388,
        "supp": [
          {
            "by": [
              {
                "id": "value"
              }
            ],
            "crit": "notable",
            "id": "metadata/package/description/presence::pkginfo-no-summary",
            "kind": "unless"
          }
        ],
        "traits": [
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "PyPI metadata declares an HTTP client dependency",
            "id": "metadata/package/dependencies/network::pypi-http-client-dependency"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Declares Markdown package description",
            "id": "metadata/package/description/presence::pkginfo-markdown-description",
            "spans": [
              [
                1123,
                39
              ]
            ]
          },
          {
            "conf": 0.7,
            "crit": 3,
            "desc": "Package metadata references Shields badge URLs",
            "id": "metadata/package/documentation/package-metadata::pkginfo-body-has-badges",
            "spans": [
              [
                1730,
                14
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Declares Python runtime dependencies",
            "id": "metadata/package/ecosystem::pkginfo-requires-dist",
            "spans": [
              [
                1185,
                37
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Declares Python package license file",
            "id": "metadata/package/license::pkginfo-license-file",
            "spans": [
              [
                1163,
                21
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Declares supported Python versions",
            "id": "metadata/package/runtime::pkginfo-requires-python",
            "spans": [
              [
                1068,
                54
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "Declares Python package summary",
            "id": "metadata/package/description/presence::pkginfo-summary-field",
            "spans": [
              [
                57,
                0
              ]
            ]
          },
          {
            "conf": 1.0,
            "crit": 2,
            "desc": "Declares Python Core Metadata version",
            "id": "metadata/package/ecosystem::pkginfo-core-metadata"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "PyPI package declares name, version, summary",
            "id": "metadata/package/ecosystem::pypi-basic-metadata",
            "spans": [
              [
                42,
                0
              ]
            ],
            "uses": [
              6,
              7,
              11,
              12
            ]
          },
          {
            "conf": 0.94,
            "crit": 2,
            "desc": "PyPI package declares license information",
            "id": "metadata/package/ecosystem::pypi-license-metadata",
            "spans": [
              [
                1163,
                0
              ]
            ],
            "uses": [
              4,
              7
            ]
          },
          {
            "conf": 0.94,
            "crit": 2,
            "desc": "PyPI package declares Python and dependencies",
            "id": "metadata/package/ecosystem::pypi-runtime-metadata",
            "spans": [
              [
                1185,
                0
              ]
            ],
            "uses": [
              3,
              5,
              7
            ]
          },
          {
            "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": [
              [
                42,
                0
              ]
            ]
          }
        ],
        "type": "pkg_info"
      },
      {
        "depth": 1,
        "facts": {
          "metrics": {
            "ast": {
              "call_count": 0,
              "max_depth": 0,
              "node_count": 1
            },
            "file": {
              "entropy": 0,
              "size": 0
            }
          }
        },
        "id": 2,
        "path": "algoliasearch-2.6.0-py2.py3-none-any.whl!!algoliasearch/__init__.py",
        "pid": 0,
        "risk": 0,
        "sha": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
        "sid": 139957,
        "size": 0,
        "type": "javascript"
      },
      {
        "analysis_gaps": [
          "flow-query-incomplete"
        ],
        "ctx": [
          {
            "col": 1,
            "line": 1,
            "ln": 0,
            "s": "from typing import Optional, Union, Dict, Any\n\nfrom algoliasearch.exceptions import AlgoliaException, RequestException\nfrom algoliasearch.http.request_options import RequestOptions\nfrom algoliasearch.responses import MultipleResponse\nfrom algoliasearch.search_index import SearchIndex\n\n\nclass AccountClient(object):\n    @staticmethod\n    def copy_index(source_index, destination_index, request_options=None):\n        # type: (SearchIndex, SearchIndex, Optional[Union[Dict[str, Any], RequestOptions]]) -\u003e MultipleResponse  # noqa: E501\n\n        if source_index.app_id == destination_index.app_id:\n            raise AlgoliaException(\n                \"The indices are on the same application. \"\n                \"Use client.copy_index instead.\"\n            )\n\n        try:\n            destination_index.get_settings()\n        except RequestException:\n            pass\n        else:\n            raise AlgoliaException(\n                \"Destination index already exists. Please \"\n                \"delete it before copying index across applications.\"\n            )\n\n        responses = MultipleResponse()\n\n        # Copy settings\n        settings = source_index.get_settings()\n        responses.push(destination_index.set_settings(settings, request_options))\n\n        # Copy synonyms\n        synonyms = source_index.browse_synonyms()\n        responses.push(destination_index.save_synonyms(synonyms, request_options))\n\n        # Copy rules\n        rules = source_index.browse_rules()\n        responses.push(destination_index.save_rules(rules, request_options))\n\n        # Copy objects\n        objects = source_index.browse_objects()\n        responses.push(destination_index.save_objects(objects, request_options))\n\n        return responses\n"
          }
        ],
        "depth": 1,
        "facts": {
          "funcs": [
            [
              "copy_index",
              338
            ]
          ],
          "imp": [
            [
              "",
              "AlgoliaException"
            ],
            [
              "",
              "destination_index.get_settings"
            ],
            [
              "",
              "AlgoliaException"
            ],
            [
              "",
              "MultipleResponse"
            ],
            [
              "",
              "source_index.get_settings"
            ],
            [
              "",
              "responses.push"
            ],
            [
              "",
              "destination_index.set_settings"
            ],
            [
              "",
              "source_index.browse_synonyms"
            ],
            [
              "",
              "responses.push"
            ],
            [
              "",
              "destination_index.save_synonyms"
            ],
            [
              "",
              "source_index.browse_rules"
            ],
            [
              "",
              "responses.push"
            ],
            [
              "",
              "destination_index.save_rules"
            ],
            [
              "",
              "source_index.browse_objects"
            ],
            [
              "",
              "responses.push"
            ],
            [
              "",
              "destination_index.save_objects"
            ],
            [
              "algoliasearch.exceptions",
              "AlgoliaException"
            ],
            [
              "typing",
              "Any"
            ],
            [
              "typing",
              "Dict"
            ],
            [
              "algoliasearch.responses",
              "MultipleResponse"
            ],
            [
              "typing",
              "Optional"
            ],
            [
              "algoliasearch.exceptions",
              "RequestException"
            ],
            [
              "algoliasearch.http.request_options",
              "RequestOptions"
            ],
            [
              "algoliasearch.search_index",
              "SearchIndex"
            ],
            [
              "typing",
              "Union"
            ],
            [
              "",
              "algoliasearch.exceptions"
            ],
            [
              "",
              "algoliasearch.http.request_options"
            ],
            [
              "",
              "algoliasearch.responses"
            ],
            [
              "",
              "algoliasearch.search_index"
            ],
            [
              "",
              "typing"
            ]
          ],
          "mbr": [
            "destination_index.app_id",
            "destination_index.get_settings",
            "destination_index.save_objects",
            "destination_index.save_rules",
            "destination_index.save_synonyms",
            "destination_index.set_settings",
            "responses.push",
            "source_index.app_id",
            "source_index.browse_objects",
            "source_index.browse_rules",
            "source_index.browse_synonyms",
            "source_index.get_settings"
          ],
          "metrics": {
            "ast": {
              "call_count": 16,
              "max_depth": 14,
              "max_member_depth": 2,
              "member_count": 12,
              "node_count": 302
            },
            "binary": {
              "peak_region_bytes": 1732,
              "peak_region_entropy": 4.46
            },
            "binds": {
              "count": 5
            },
            "comments": {
              "chars": 168,
              "count": 5,
              "high_entropy": 1,
              "lines": 5,
              "to_code_ratio": 0.12
            },
            "file": {
              "entropy": 4.45,
              "size": 1732
            },
            "functions": {
              "avg_length_lines": 38,
              "avg_name_length": 10,
              "avg_param_name_length": 14.67,
              "avg_params": 3,
              "code_ratio": 0.79,
              "count": 2,
              "density": 2.08,
              "max_length_lines": 38,
              "max_params": 3,
              "min_length_lines": 38
            },
            "identifiers": {
              "all_lowercase_ratio": 0.72,
              "avg_entropy": 2.84,
              "avg_length": 10.28,
              "count": 74,
              "high_entropy_count": 2,
              "high_entropy_ratio": 0.06,
              "length_stddev": 3.98,
              "max_length": 17,
              "min_length": 3,
              "reuse_ratio": 0.49,
              "unique": 36
            },
            "imports": {
              "count": 14,
              "stdlib_count": 1,
              "stdlib_ratio": 0.07,
              "third_party_count": 13,
              "third_party_ratio": 0.93
            },
            "source": {
              "class_count": 1,
              "function_count": 1
            },
            "strings": {
              "avg_entropy": 3.86,
              "avg_length": 40.75,
              "bytes": 163,
              "count": 4,
              "entropy_stddev": 0.11,
              "max_length": 51
            },
            "text": {
              "avg_line_length": 35.08,
              "char_entropy": 4.45,
              "digit_ratio": 0,
              "empty_line_ratio": 0.23,
              "identifier_density": 1.54,
              "identifiers_to_functions_ratio": 36,
              "import_density": 29.17,
              "imports_to_functions_ratio": 14,
              "last_line_length": 24,
              "line_length_stddev": 29.19,
              "lines": 48,
              "max_line_length": 125,
              "max_whitespace_run": 2,
              "normalized_function_count": 0.14,
              "normalized_import_count": 2.02,
              "normalized_string_count": 0.58,
              "normalized_unique_identifiers": 6.45,
              "repeated_char_sequences": 10,
              "space_count": 380,
              "string_density": 0.08,
              "strings_to_functions_ratio": 4,
              "suspicious_comment_ratio": 0.2,
              "top_char": 101,
              "top_char_null": 0,
              "top_char_ratio": 0.09,
              "unique_chars": 56,
              "whitespace_ratio": 0.25
            }
          },
          "tgt": [
            "AlgoliaException",
            "MultipleResponse",
            "destination_index.get_settings",
            "destination_index.save_objects",
            "destination_index.save_rules",
            "destination_index.save_synonyms",
            "destination_index.set_settings",
            "responses.push",
            "source_index.browse_objects",
            "source_index.browse_rules",
            "source_index.browse_synonyms",
            "source_index.get_settings"
          ]
        },
        "id": 3,
        "mol": "Md(In₂)",
        "path": "algoliasearch-2.6.0-py2.py3-none-any.whl!!algoliasearch/account_client.py",
        "pid": 0,
        "risk": 1,
        "sha": "c57a5fb90191fb0357626534628cbd6595a56dc6821ff3cd826cdd4deada82ff",
        "sid": 5274127008,
        "size": 1732,
        "traits": [
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports RequestOptions from algoliasearch.http.request_options",
            "id": "metadata/import/python/algoliasearch/http/request_options/requestoptions::requestoptions",
            "spans": [
              [
                166,
                14
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports algoliasearch.http.request_options",
            "id": "metadata/import/python/algoliasearch/http/request_options::algoliasearch/http/request_options",
            "spans": [
              [
                124,
                34
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports AlgoliaException from algoliasearch.exceptions",
            "id": "metadata/import/python/algoliasearch/exceptions/algoliaexception::algoliaexception",
            "spans": [
              [
                84,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports RequestException from algoliasearch.exceptions",
            "id": "metadata/import/python/algoliasearch/exceptions/requestexception::requestexception",
            "spans": [
              [
                102,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports algoliasearch.exceptions",
            "id": "metadata/import/python/algoliasearch/exceptions::algoliasearch/exceptions",
            "spans": [
              [
                52,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports MultipleResponse from algoliasearch.responses",
            "id": "metadata/import/python/algoliasearch/responses/multipleresponse::multipleresponse",
            "spans": [
              [
                217,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports algoliasearch.responses",
            "id": "metadata/import/python/algoliasearch/responses::algoliasearch/responses",
            "spans": [
              [
                186,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports SearchIndex from algoliasearch.search_index",
            "id": "metadata/import/python/algoliasearch/search_index/searchindex::searchindex",
            "spans": [
              [
                273,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports algoliasearch.search_index",
            "id": "metadata/import/python/algoliasearch/search_index::algoliasearch/search_index",
            "spans": [
              [
                239,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports Any from typing",
            "id": "metadata/import/python/typing/any::any",
            "spans": [
              [
                42,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports Dict from typing",
            "id": "metadata/import/python/typing/dict::dict",
            "spans": [
              [
                36,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports Optional from typing",
            "id": "metadata/import/python/typing/optional::optional",
            "spans": [
              [
                19,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports Union from typing",
            "id": "metadata/import/python/typing/union::union",
            "spans": [
              [
                29,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports typing",
            "id": "metadata/import/python/typing::typing",
            "spans": [
              [
                5,
                0
              ]
            ]
          }
        ],
        "type": "python"
      },
      {
        "analysis_gaps": [
          "flow-query-incomplete"
        ],
        "ctx": [
          {
            "col": 1,
            "line": 1,
            "ln": 0,
            "s": "from typing import Optional, Union, Dict, Any\n\nfrom algoliasearch.configs import AnalyticsConfig\nfrom algoliasearch.helpers import endpoint, is_async_available\nfrom algoliasearch.http.request_options import RequestOptions\nfrom algoliasearch.http.requester import Requester\nfrom algoliasearch.http.transporter import Transporter\nfrom algoliasearch.http.verb import Verb\n\n\nclass AnalyticsClient(object):\n    def __init__(self, transporter, search_config):\n        # type: (Transporter, AnalyticsCon"
          },
          {
            "col": 15,
            "line": 18,
            "ln": 602,
            "s": "hod\n    def create(app_id=None, api_key=None, region=None):\n        # type: (Optional[str], Optional[st"
          },
          {
            "col": 3,
            "line": 35,
            "ln": 1127,
            "s": "      if is_async_available():\n            from algoliasearch.analytics_client_async import AnalyticsClientAsync\n            from algoliasearch.http.transporter_async import TransporterAsync\n            from algoliasearch.http.requester_async import RequesterAsync\n\n            return AnalyticsClientAsync(\n                client, TransporterAsync(RequesterAsync(), config), config\n          "
          },
          {
            "col": 2,
            "line": 49,
            "ln": 1673,
            "s": "       return self._transporter.read(Verb.GET, \"2/abtests\", None, request_options)\n\n    def get_ab_t"
          },
          {
            "col": 41,
            "line": 52,
            "ln": 1858,
            "s": "t[str, Any], RequestOptions]]) -\u003e dict\n\n        assert ab_test_id, \"ab_test_id cannot be empty.\"\n\n        return self._transporter.read(\n            Verb.GET, endpoint(\"2/abtests/{}\", ab_test_"
          },
          {
            "col": 49,
            "line": 61,
            "ln": 2194,
            "s": "Any], RequestOptions]]) -\u003e dict\n\n        return self._transporter.write(Verb.POST, \"2/abtests\", ab_test, request_options)\n\n    def stop_ab_test(self, ab_test_id, reque"
          },
          {
            "col": 26,
            "line": 79,
            "ln": 2883,
            "s": "sporter.write(\n            Verb.DELETE, endpoint(\"2/abtests/{}\", ab_test_id), None, request_options\n  "
          }
        ],
        "depth": 1,
        "facts": {
          "funcs": [
            [
              "__init__",
              406
            ],
            [
              "create",
              610
            ],
            [
              "create_with_config",
              898
            ],
            [
              "get_ab_tests",
              1551
            ],
            [
              "get_ab_test",
              1761
            ],
            [
              "add_ab_test",
              2092
            ],
            [
              "stop_ab_test",
              2321
            ],
            [
              "delete_ab_test",
              2660
            ],
            [
              "close",
              2998
            ]
          ],
          "imp": [
            [
              "",
              "AnalyticsConfig"
            ],
            [
              "",
              "AnalyticsClient.create_with_config"
            ],
            [
              "",
              "Requester"
            ],
            [
              "",
              "Transporter"
            ],
            [
              "",
              "AnalyticsClient"
            ],
            [
              "",
              "is_async_available"
            ],
            [
              "",
              "AnalyticsClientAsync"
            ],
            [
              "",
              "TransporterAsync"
            ],
            [
              "",
              "RequesterAsync"
            ],
            [
              "",
              "self._transporter.read"
            ],
            [
              "",
              "self._transporter.read"
            ],
            [
              "",
              "endpoint"
            ],
            [
              "",
              "self._transporter.write"
            ],
            [
              "",
              "self._transporter.write"
            ],
            [
              "",
              "endpoint"
            ],
            [
              "",
              "self._transporter.write"
            ],
            [
              "",
              "endpoint"
            ],
            [
              "",
              "self._transporter.close"
            ],
            [
              "algoliasearch.analytics_client_async",
              "AnalyticsClientAsync"
            ],
            [
              "algoliasearch.configs",
              "AnalyticsConfig"
            ],
            [
              "typing",
              "Any"
            ],
            [
              "typing",
              "Dict"
            ],
            [
              "typing",
              "Optional"
            ],
            [
              "algoliasearch.http.request_options",
              "RequestOptions"
            ],
            [
              "algoliasearch.http.requester",
              "Requester"
            ],
            [
              "algoliasearch.http.requester_async",
              "RequesterAsync"
            ],
            [
              "algoliasearch.http.transporter",
              "Transporter"
            ],
            [
              "algoliasearch.http.transporter_async",
              "TransporterAsync"
            ],
            [
              "typing",
              "Union"
            ],
            [
              "algoliasearch.http.verb",
              "Verb"
            ],
            [
              "",
              "algoliasearch.analytics_client_async"
            ],
            [
              "",
              "algoliasearch.configs"
            ],
            [
              "",
              "algoliasearch.helpers"
            ],
            [
              "",
              "algoliasearch.http.request_options"
            ],
            [
              "",
              "algoliasearch.http.requester"
            ],
            [
              "",
              "algoliasearch.http.requester_async"
            ],
            [
              "",
              "algoliasearch.http.transporter"
            ],
            [
              "",
              "algoliasearch.http.transporter_async"
            ],
            [
              "",
              "algoliasearch.http.verb"
            ],
            [
              "algoliasearch.helpers",
              "endpoint"
            ],
            [
              "algoliasearch.helpers",
              "is_async_available"
            ],
            [
              "",
              "typing"
            ]
          ],
          "mbr": [
            "AnalyticsClient.create_with_config",
            "Verb.DELETE",
            "Verb.GET",
            "Verb.POST",
            "self._config",
            "self._transporter",
            "self._transporter.close",
            "self._transporter.read",
            "self._transporter.write"
          ],
          "metrics": {
            "ast": {
              "call_count": 18,
              "max_depth": 15,
              "max_member_depth": 3,
              "member_count": 9,
              "node_count": 568
            },
            "binary": {
              "peak_region_bytes": 3072,
              "peak_region_entropy": 4.67
            },
            "binds": {
              "count": 6
            },
            "comments": {
              "chars": 544,
              "count": 10,
              "high_entropy": 4,
              "lines": 10,
              "to_code_ratio": 0.13
            },
            "file": {
              "entropy": 4.66,
              "size": 3100
            },
            "functions": {
              "avg_length_lines": 7.22,
              "avg_name_length": 10.78,
              "avg_param_name_length": 8.59,
              "avg_params": 2.44,
              "code_ratio": 0.76,
              "count": 10,
              "density": 10.47,
              "high_entropy_names": 1,
              "length_stddev": 4.16,
              "max_length_lines": 18,
              "max_params": 3,
              "min_length_lines": 4
            },
            "identifiers": {
              "all_lowercase_ratio": 0.7,
              "all_uppercase_ratio": 0.06,
              "avg_entropy": 2.68,
              "avg_length": 9.54,
              "count": 149,
              "double_underscore_count": 1,
              "high_entropy_count": 3,
              "high_entropy_ratio": 0.06,
              "length_stddev": 4.8,
              "max_length": 22,
              "min_length": 3,
              "reuse_ratio": 0.36,
              "underscore_prefix_count": 3,
              "unique": 54
            },
            "imports": {
              "count": 24,
              "stdlib_count": 1,
              "stdlib_ratio": 0.04,
              "third_party_count": 23,
              "third_party_ratio": 0.96
            },
            "source": {
              "class_count": 1,
              "function_count": 9
            },
            "strings": {
              "avg_entropy": 3.29,
              "avg_length": 17.5,
              "bytes": 140,
              "count": 8,
              "entropy_stddev": 0.44,
              "max_length": 27
            },
            "text": {
              "avg_line_length": 35.05,
              "char_entropy": 4.66,
              "digit_ratio": 0,
              "empty_line_ratio": 0.33,
              "identifier_density": 1.73,
              "identifiers_to_functions_ratio": 6,
              "import_density": 27.91,
              "imports_to_functions_ratio": 2.67,
              "last_line_length": 56,
              "line_length_stddev": 30.39,
              "lines": 86,
              "max_line_length": 94,
              "max_whitespace_run": 2,
              "normalized_function_count": 0.97,
              "normalized_import_count": 2.59,
              "normalized_string_count": 0.86,
              "normalized_unique_identifiers": 8.4,
              "repeated_char_sequences": 9,
              "space_count": 576,
              "string_density": 0.09,
              "strings_to_functions_ratio": 0.89,
              "suspicious_comment_ratio": 0.4,
              "top_char": 116,
              "top_char_null": 0,
              "top_char_ratio": 0.08,
              "unique_chars": 61,
              "whitespace_ratio": 0.21
            }
          },
          "tgt": [
            "AnalyticsClient",
            "AnalyticsClient.create_with_config",
            "AnalyticsClientAsync",
            "AnalyticsConfig",
            "Requester",
            "RequesterAsync",
            "Transporter",
            "TransporterAsync",
            "endpoint",
            "is_async_available",
            "self._transporter.close",
            "self._transporter.read",
            "self._transporter.write"
          ]
        },
        "id": 4,
        "mol": "Md(In₁₂)",
        "path": "algoliasearch-2.6.0-py2.py3-none-any.whl!!algoliasearch/analytics_client.py",
        "pid": 0,
        "risk": 1,
        "sha": "e0939e21092aebeec84e7749f8202ea4f747db4615381b29c6d7809bf527bc1d",
        "sid": 5274127012,
        "size": 3100,
        "traits": [
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports RequestOptions from algoliasearch.http.request_options",
            "id": "metadata/import/python/algoliasearch/http/request_options/requestoptions::requestoptions",
            "spans": [
              [
                207,
                14
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports algoliasearch.http.request_options",
            "id": "metadata/import/python/algoliasearch/http/request_options::algoliasearch/http/request_options",
            "spans": [
              [
                165,
                34
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports Requester from algoliasearch.http.requester",
            "id": "metadata/import/python/algoliasearch/http/requester/requester::requester",
            "spans": [
              [
                263,
                9
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports algoliasearch.http.requester",
            "id": "metadata/import/python/algoliasearch/http/requester::algoliasearch/http/requester",
            "spans": [
              [
                227,
                28
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports RequesterAsync from algoliasearch.http.requester_async",
            "id": "metadata/import/python/algoliasearch/http/requester_async/requesterasync::requesterasync",
            "spans": [
              [
                1377,
                14
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports algoliasearch.http.requester_async",
            "id": "metadata/import/python/algoliasearch/http/requester_async::algoliasearch/http/requester_async",
            "spans": [
              [
                1335,
                34
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports Transporter from algoliasearch.http.transporter",
            "id": "metadata/import/python/algoliasearch/http/transporter/transporter::transporter",
            "spans": [
              [
                316,
                11
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports algoliasearch.http.transporter",
            "id": "metadata/import/python/algoliasearch/http/transporter::algoliasearch/http/transporter",
            "spans": [
              [
                278,
                30
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports TransporterAsync from algoliasearch.http.transporter_async",
            "id": "metadata/import/python/algoliasearch/http/transporter_async/transporterasync::transporterasync",
            "spans": [
              [
                1301,
                16
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports algoliasearch.http.transporter_async",
            "id": "metadata/import/python/algoliasearch/http/transporter_async::algoliasearch/http/transporter_async",
            "spans": [
              [
                1257,
                36
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports Verb from algoliasearch.http.verb",
            "id": "metadata/import/python/algoliasearch/http/verb/verb::verb",
            "spans": [
              [
                364,
                4
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports algoliasearch.http.verb",
            "id": "metadata/import/python/algoliasearch/http/verb::algoliasearch/http/verb",
            "spans": [
              [
                333,
                23
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports AnalyticsClientAsync from algoliasearch.analytics_client_async",
            "id": "metadata/import/python/algoliasearch/analytics_client_async/analyticsclientasync::analyticsclientasync",
            "spans": [
              [
                1219,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports algoliasearch.analytics_client_async",
            "id": "metadata/import/python/algoliasearch/analytics_client_async::algoliasearch/analytics_client_async",
            "spans": [
              [
                1175,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports AnalyticsConfig from algoliasearch.configs",
            "id": "metadata/import/python/algoliasearch/configs/analyticsconfig::analyticsconfig",
            "spans": [
              [
                81,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports algoliasearch.configs",
            "id": "metadata/import/python/algoliasearch/configs::algoliasearch/configs",
            "spans": [
              [
                52,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports endpoint from algoliasearch.helpers",
            "id": "metadata/import/python/algoliasearch/helpers/endpoint::endpoint",
            "spans": [
              [
                131,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports is_async_available from algoliasearch.helpers",
            "id": "metadata/import/python/algoliasearch/helpers/is_async_available::is_async_available",
            "spans": [
              [
                141,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports algoliasearch.helpers",
            "id": "metadata/import/python/algoliasearch/helpers::algoliasearch/helpers",
            "spans": [
              [
                102,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports Any from typing",
            "id": "metadata/import/python/typing/any::any",
            "spans": [
              [
                42,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports Dict from typing",
            "id": "metadata/import/python/typing/dict::dict",
            "spans": [
              [
                36,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports Optional from typing",
            "id": "metadata/import/python/typing/optional::optional",
            "spans": [
              [
                19,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports Union from typing",
            "id": "metadata/import/python/typing/union::union",
            "spans": [
              [
                29,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports typing",
            "id": "metadata/import/python/typing::typing",
            "spans": [
              [
                5,
                0
              ]
            ]
          }
        ],
        "type": "python"
      },
      {
        "analysis_gaps": [
          "flow-query-incomplete"
        ],
        "ctx": [
          {
            "col": 1,
            "line": 1,
            "ln": 0,
            "s": "import types\n\nimport asyncio\nfrom typing import Optional, Type\n\nfrom algoliasearch.analytics_client import AnalyticsClient\nfrom algoliasearch.configs import AnalyticsConfig\nfrom algoliasearch.helpers_async import _create_async_methods_in\nfrom algoliasearch.http.transporter_async import TransporterAsync\n\n\nclass AnalyticsClientAsync(AnalyticsClient):\n    def __init__(self, analytics_client, transporter, search_config):\n        # type: (AnalyticsClient, TransporterAsync, AnalyticsConfig) -\u003e None\n\n        self._transporter_async = transporter\n\n        super(AnalyticsClientAsync, self).__init__(\n            analytics_client._transporter, search_config\n        )\n\n        client = AnalyticsClient(transporter, search_config)\n\n        _create_async_methods_in(self, client)\n\n    @asyncio.coroutine\n    def __aenter__(self):\n        # type: () -\u003e AnalyticsClientAsync # type: ignore\n\n        return self  # type: ignore\n\n    @asyncio.coroutine\n    def __aexit__(self, exc_type, exc, tb):  # type: ignore\n        # type: (Optional[Type[BaseException]], Optional[BaseException],Optional[types.TracebackType]) -\u003e None # noqa: E501\n\n        yield from self.close_async()  # type: ignore\n\n    @asyncio.coroutine\n    def close_async(self):  # type: ignore\n        # type: () -\u003e None\n\n        super().close()\n\n        yield from self._transporter_async.close()  # type: ignore\n"
          }
        ],
        "depth": 1,
        "facts": {
          "funcs": [
            [
              "__init__",
              355
            ],
            [
              "__aenter__",
              803
            ],
            [
              "__aexit__",
              948
            ],
            [
              "close_async",
              1211
            ]
          ],
          "imp": [
            [
              "",
              "super.__init__"
            ],
            [
              "",
              "super"
            ],
            [
              "",
              "AnalyticsClient"
            ],
            [
              "",
              "_create_async_methods_in"
            ],
            [
              "",
              "self.close_async"
            ],
            [
              "",
              "super.close"
            ],
            [
              "",
              "super"
            ],
            [
              "",
              "self._transporter_async.close"
            ],
            [
              "algoliasearch.analytics_client",
              "AnalyticsClient"
            ],
            [
              "algoliasearch.configs",
              "AnalyticsConfig"
            ],
            [
              "typing",
              "Optional"
            ],
            [
              "algoliasearch.http.transporter_async",
              "TransporterAsync"
            ],
            [
              "typing",
              "Type"
            ],
            [
              "algoliasearch.helpers_async",
              "_create_async_methods_in"
            ],
            [
              "",
              "algoliasearch.analytics_client"
            ],
            [
              "",
              "algoliasearch.configs"
            ],
            [
              "",
              "algoliasearch.helpers_async"
            ],
            [
              "",
              "algoliasearch.http.transporter_async"
            ],
            [
              "",
              "asyncio"
            ],
            [
              "",
              "types"
            ],
            [
              "",
              "typing"
            ]
          ],
          "mbr": [
            "analytics_client._transporter",
            "asyncio.coroutine",
            "self._transporter_async",
            "self._transporter_async.close",
            "self.close_async",
            "super.__init__",
            "super.close"
          ],
          "metrics": {
            "ast": {
              "call_count": 8,
              "identity_function_count": 1,
              "max_depth": 11,
              "max_member_depth": 3,
              "member_count": 7,
              "node_count": 238
            },
            "binary": {
              "peak_region_bytes": 1370,
              "peak_region_entropy": 4.59
            },
            "binds": {
              "count": 2
            },
            "comments": {
              "base64": 1,
              "chars": 311,
              "count": 9,
              "high_entropy": 1,
              "lines": 9,
              "to_code_ratio": 0.26
            },
            "file": {
              "entropy": 4.55,
              "size": 1370
            },
            "functions": {
              "avg_length_lines": 6.5,
              "avg_name_length": 9.5,
              "avg_param_name_length": 6.9,
              "avg_params": 2.5,
              "code_ratio": 0.59,
              "count": 5,
              "density": 9.09,
              "length_stddev": 3.28,
              "max_length_lines": 12,
              "max_params": 4,
              "min_length_lines": 4
            },
            "identifiers": {
              "all_lowercase_ratio": 0.81,
              "avg_entropy": 2.73,
              "avg_length": 10.13,
              "count": 65,
              "double_underscore_count": 3,
              "high_entropy_count": 3,
              "high_entropy_ratio": 0.09,
              "length_stddev": 5.37,
              "max_length": 24,
              "min_length": 2,
              "reuse_ratio": 0.49,
              "underscore_prefix_count": 6,
              "unique": 32
            },
            "imports": {
              "count": 13,
              "stdlib_count": 3,
              "stdlib_ratio": 0.23,
              "third_party_count": 10,
              "third_party_ratio": 0.77
            },
            "source": {
              "class_count": 1,
              "function_count": 4
            },
            "text": {
              "avg_line_length": 30.14,
              "char_entropy": 4.55,
              "digit_ratio": 0,
              "empty_line_ratio": 0.34,
              "identifier_density": 1.48,
              "identifiers_to_functions_ratio": 8,
              "import_density": 29.55,
              "imports_to_functions_ratio": 3.25,
              "last_line_length": 66,
              "line_length_stddev": 28.95,
              "lines": 44,
              "max_line_length": 123,
              "max_whitespace_run": 2,
              "normalized_function_count": 0.6,
              "normalized_import_count": 1.96,
              "normalized_unique_identifiers": 5.86,
              "repeated_char_sequences": 1,
              "space_count": 231,
              "strings_to_functions_ratio": 0,
              "suspicious_comment_ratio": 0.22,
              "top_char": 101,
              "top_char_null": 0,
              "top_char_ratio": 0.07,
              "unique_chars": 47,
              "whitespace_ratio": 0.2
            }
          },
          "tgt": [
            "AnalyticsClient",
            "_create_async_methods_in",
            "self._transporter_async.close",
            "self.close_async",
            "super",
            "super.__init__",
            "super.close"
          ]
        },
        "id": 5,
        "mol": "Md(In₂)",
        "path": "algoliasearch-2.6.0-py2.py3-none-any.whl!!algoliasearch/analytics_client_async.py",
        "pid": 0,
        "risk": 2,
        "sha": "a79bebcf4d415cee9a3ad42b5f833e20e7cb045b99d8c7ae8f7d6ba96f0a0cb9",
        "sid": 5274127004,
        "size": 1370,
        "traits": [
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports TransporterAsync from algoliasearch.http.transporter_async",
            "id": "metadata/import/python/algoliasearch/http/transporter_async/transporterasync::transporterasync",
            "spans": [
              [
                287,
                16
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports algoliasearch.http.transporter_async",
            "id": "metadata/import/python/algoliasearch/http/transporter_async::algoliasearch/http/transporter_async",
            "spans": [
              [
                243,
                36
              ]
            ]
          },
          {
            "conf": 0.5,
            "crit": 3,
            "desc": "Python asyncio library reference",
            "id": "metadata/lang/source/naming/interface/runtime::asyncio-reference",
            "spans": [
              [
                21,
                7
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports AnalyticsClient from algoliasearch.analytics_client",
            "id": "metadata/import/python/algoliasearch/analytics_client/analyticsclient::analyticsclient",
            "spans": [
              [
                107,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports algoliasearch.analytics_client",
            "id": "metadata/import/python/algoliasearch/analytics_client::algoliasearch/analytics_client",
            "spans": [
              [
                69,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports AnalyticsConfig from algoliasearch.configs",
            "id": "metadata/import/python/algoliasearch/configs/analyticsconfig::analyticsconfig",
            "spans": [
              [
                157,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports algoliasearch.configs",
            "id": "metadata/import/python/algoliasearch/configs::algoliasearch/configs",
            "spans": [
              [
                128,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports _create_async_methods_in from algoliasearch.helpers_async",
            "id": "metadata/import/python/algoliasearch/helpers_async/_create_async_methods_in::_create_async_methods_in",
            "spans": [
              [
                213,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports algoliasearch.helpers_async",
            "id": "metadata/import/python/algoliasearch/helpers_async::algoliasearch/helpers_async",
            "spans": [
              [
                178,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports asyncio",
            "id": "metadata/import/python/asyncio::asyncio",
            "spans": [
              [
                21,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports types",
            "id": "metadata/import/python/types::types",
            "spans": [
              [
                7,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports Optional from typing",
            "id": "metadata/import/python/typing/optional::optional",
            "spans": [
              [
                48,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports Type from typing",
            "id": "metadata/import/python/typing/type::type",
            "spans": [
              [
                58,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports typing",
            "id": "metadata/import/python/typing::typing",
            "spans": [
              [
                34,
                0
              ]
            ]
          }
        ],
        "type": "python"
      },
      {
        "depth": 1,
        "id": 6,
        "path": "algoliasearch-2.6.0-py2.py3-none-any.whl!!algoliasearch/configs.py",
        "pid": 0,
        "risk": 0,
        "sha": "e2cccc1f1a63f8997a9259ba9bf99034f518a5224411812968cb41807e85b708",
        "sid": 2729888590,
        "size": 4210,
        "type": "python"
      },
      {
        "depth": 1,
        "id": 7,
        "path": "algoliasearch-2.6.0-py2.py3-none-any.whl!!algoliasearch/exceptions.py",
        "pid": 0,
        "risk": 0,
        "sha": "13a20911ce8c6fc967098f49a0aa8ee47b1ea7373b885ef8912611d00656730c",
        "sid": 10771628688,
        "size": 1179,
        "type": "python"
      },
      {
        "analysis_gaps": [
          "flow-call-unavailable",
          "flow-query-incomplete"
        ],
        "ctx": [
          {
            "col": 1,
            "line": 1,
            "ln": 0,
            "s": "import json\nimport math\nimport sys\nimport time\n\nfrom typing import Optional, Iterable, List, Union, Iterator, Dict, Any\n\nfrom algoliasearch.exceptions import MissingObjectIdException\n\nif sys.version_info \u003e= (3, 0):\n    from urllib.parse import quote\nelse:\n    from urllib import quote  # pragma: no cover\n\n\ndef endpoint(path, *args):\n    # type: (str, Optional[Union[str, int]]) -\u003e str\n\n    arguments = []\n    for arg in args:\n        if not sys.version_info \u003e= (3, 0) and isinstance(arg, unicode):\n            arguments.append(quote(arg.encode(\"utf-8\"), safe=\"\"))  # pragma: no cover\n        else:\n            arguments.append(quote(str(arg), safe=\"\"))  # pragma: no cover\n\n    return getattr(path, \"format\")(*arguments)\n\n\ndef get_items(dictionary=None):\n    # type: (Optional[dict]) -\u003e Iterable\n\n    if dictionary is None:\n        items = []  # type: Iterable\n    elif sys.version_info \u003e= (3, 0):\n        items = dictionary.items()\n    else:\n        items = dictionary.iteritems()  # pragma: no cover\n\n    return items\n\n\ndef assert_object_id(objects):\n    # type: (Iterable[Dict[str, Any]]) -\u003e None\n\n    for obj in objects:\n        if \"objectID\" not in obj:\n            raise MissingObjectIdException(\n                \"Missing `objectID` in: {}\".format(json.dumps(obj)), obj\n            )\n\n\ndef build_raw_response_batch(action, objects):\n    # type: (str, Union[List[dict], Iterator[dict]]) -\u003e List[dict]\n\n    return [{\"action\": action, \"body\": obj} for obj in objects]\n\n\ndef is_async_available():\n    # type: () -\u003e bool\n\n    if sys.version_info \u003e= (3, 0):\n        try:\n            import asyncio\n            import aiohttp\n            import async_timeout\n\n            return True\n        except ImportError:\n            pass\n\n    return False\n\n\ndef sleep_for(retries_count, before_retry):\n    # type: (int, int) -\u003e None\n\n    factor = math.ceil(retries_count / 10)\n    time.sleep(factor * before_retry / 1000000.0)\n"
          }
        ],
        "depth": 1,
        "facts": {
          "funcs": [
            [
              "endpoint",
              307
            ],
            [
              "get_items",
              724
            ],
            [
              "assert_object_id",
              1023
            ],
            [
              "build_raw_response_batch",
              1293
            ],
            [
              "is_async_available",
              1474
            ],
            [
              "sleep_for",
              1749
            ]
          ],
          "imp": [
            [
              "",
              "isinstance"
            ],
            [
              "",
              "arguments.append"
            ],
            [
              "",
              "quote"
            ],
            [
              "",
              "arg.encode"
            ],
            [
              "",
              "arguments.append"
            ],
            [
              "",
              "quote"
            ],
            [
              "",
              "str"
            ],
            [
              "",
              "getattr"
            ],
            [
              "",
              "getattr"
            ],
            [
              "",
              "dictionary.items"
            ],
            [
              "",
              "dictionary.iteritems"
            ],
            [
              "",
              "MissingObjectIdException"
            ],
            [
              "",
              "json.dumps"
            ],
            [
              "",
              "math.ceil"
            ],
            [
              "",
              "time.sleep"
            ],
            [
              "typing",
              "Any"
            ],
            [
              "typing",
              "Dict"
            ],
            [
              "typing",
              "Iterable"
            ],
            [
              "typing",
              "Iterator"
            ],
            [
              "typing",
              "List"
            ],
            [
              "algoliasearch.exceptions",
              "MissingObjectIdException"
            ],
            [
              "typing",
              "Optional"
            ],
            [
              "typing",
              "Union"
            ],
            [
              "",
              "aiohttp"
            ],
            [
              "",
              "algoliasearch.exceptions"
            ],
            [
              "",
              "async_timeout"
            ],
            [
              "",
              "asyncio"
            ],
            [
              "",
              "json"
            ],
            [
              "",
              "math"
            ],
            [
              "urllib",
              "quote"
            ],
            [
              "urllib.parse",
              "quote"
            ],
            [
              "",
              "sys"
            ],
            [
              "",
              "time"
            ],
            [
              "",
              "typing"
            ],
            [
              "",
              "urllib"
            ],
            [
              "",
              "urllib.parse"
            ]
          ],
          "mbr": [
            "arg.encode",
            "arguments.append",
            "dictionary.items",
            "dictionary.iteritems",
            "json.dumps",
            "math.ceil",
            "sys.version_info",
            "time.sleep"
          ],
          "metrics": {
            "ast": {
              "call_count": 16,
              "max_array_length": 2,
              "max_depth": 15,
              "max_member_depth": 2,
              "max_numeric_array": 2,
              "member_count": 8,
              "node_count": 504,
              "op.div": 2,
              "op.land": 1,
              "op.mul": 1,
              "op_density.div": 0,
              "op_density.land": 0,
              "op_density.mul": 0
            },
            "binary": {
              "peak_region_bytes": 1918,
              "peak_region_entropy": 4.6
            },
            "binds": {
              "count": 5
            },
            "comments": {
              "chars": 308,
              "count": 11,
              "lines": 11,
              "to_code_ratio": 0.16
            },
            "file": {
              "entropy": 4.61,
              "size": 1918
            },
            "functions": {
              "avg_length_lines": 8.83,
              "avg_name_length": 14,
              "avg_param_name_length": 7.88,
              "avg_params": 1.33,
              "code_ratio": 0.68,
              "count": 6,
              "density": 7.69,
              "high_entropy_names": 1,
              "length_stddev": 3.53,
              "max_length_lines": 14,
              "max_params": 2,
              "min_length_lines": 4,
              "no_params_count": 1
            },
            "identifiers": {
              "all_lowercase_ratio": 0.83,
              "avg_entropy": 2.51,
              "avg_length": 7.77,
              "count": 97,
              "high_entropy_count": 3,
              "high_entropy_ratio": 0.06,
              "length_stddev": 4.68,
              "max_length": 24,
              "min_length": 3,
              "reuse_ratio": 0.55,
              "unique": 53
            },
            "imports": {
              "count": 21,
              "stdlib_count": 8,
              "stdlib_ratio": 0.38,
              "third_party_count": 13,
              "third_party_ratio": 0.62
            },
            "references": {
              "declared_count": 2,
              "security_hold_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": 6
            },
            "strings": {
              "avg_entropy": 2.75,
              "avg_length": 6.75,
              "bytes": 54,
              "count": 8,
              "empty_count": 2,
              "entropy_stddev": 0.64,
              "max_length": 25,
              "shell": 1
            },
            "text": {
              "avg_line_length": 23.59,
              "char_entropy": 4.61,
              "digit_ratio": 0.02,
              "empty_line_ratio": 0.32,
              "identifier_density": 1.24,
              "identifiers_to_functions_ratio": 8.83,
              "import_density": 26.92,
              "imports_to_functions_ratio": 3.5,
              "last_line_length": 49,
              "line_length_stddev": 22.83,
              "lines": 78,
              "max_line_length": 85,
              "max_whitespace_run": 2,
              "normalized_function_count": 0.68,
              "normalized_import_count": 2.38,
              "normalized_string_count": 0.91,
              "normalized_unique_identifiers": 8.43,
              "repeated_char_sequences": 10,
              "space_count": 430,
              "string_density": 0.1,
              "strings_to_functions_ratio": 1.33,
              "suspicious_string_ratio": 0.13,
              "top_char": 116,
              "top_char_null": 0,
              "top_char_ratio": 0.06,
              "unique_chars": 59,
              "whitespace_ratio": 0.26
            }
          },
          "tgt": [
            "MissingObjectIdException",
            "arg.encode",
            "arguments.append",
            "dictionary.items",
            "dictionary.iteritems",
            "getattr",
            "isinstance",
            "json.dumps",
            "math.ceil",
            "quote",
            "str",
            "time.sleep"
          ]
        },
        "id": 8,
        "mol": "H₄(CmDb₃Ti)Md(In₆)",
        "path": "algoliasearch-2.6.0-py2.py3-none-any.whl!!algoliasearch/helpers.py",
        "pid": 0,
        "risk": 9,
        "sha": "559a5e36e354d55e055f7626fcfa9d452d8b96aaacf708a2fc328f30c2517541",
        "sid": 2729885161,
        "size": 1918,
        "traits": [
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports aiohttp",
            "id": "metadata/import/python/aiohttp::aiohttp",
            "spans": [
              [
                1618,
                7
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports quote from urllib.parse",
            "id": "metadata/import/python/urllib/parse/quote::quote",
            "spans": [
              [
                244,
                5
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports urllib.parse",
            "id": "metadata/import/python/urllib/parse::urllib/parse",
            "spans": [
              [
                224,
                12
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports quote from urllib",
            "id": "metadata/import/python/urllib/quote::quote",
            "spans": [
              [
                279,
                5
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports urllib",
            "id": "metadata/import/python/urllib::urllib",
            "spans": [
              [
                265,
                6
              ]
            ]
          },
          {
            "conf": 0.5,
            "crit": 3,
            "desc": "Python asyncio library reference",
            "id": "metadata/lang/source/naming/interface/runtime::asyncio-reference",
            "spans": [
              [
                1591,
                7
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Imports the aiohttp Python HTTP client",
            "id": "micro-behaviors/communications/http/client/library::aiohttp-import",
            "spans": [
              [
                1618,
                7
              ]
            ]
          },
          {
            "conf": 0.5,
            "crit": 3,
            "desc": "Handles a missing-module ImportError",
            "id": "micro-behaviors/data/control-flow/error-handling/catch::python-import-error-handler",
            "mbc": "C0027",
            "spans": [
              [
                1692,
                19
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 3,
            "desc": "JSON command or task field key",
            "id": "micro-behaviors/data/format/json::json-command-field",
            "spans": [
              [
                1420,
                10
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Serializes data with Python json.dumps()",
            "id": "micro-behaviors/data/serialize/json::json-dumps-call",
            "spans": [
              [
                1255,
                10
              ]
            ]
          },
          {
            "conf": 0.75,
            "crit": 3,
            "desc": "Python getattr dynamic attribute lookup",
            "id": "micro-behaviors/metaprogramming/reflection/inspect/member::python-getattr-call",
            "spans": [
              [
                686,
                7
              ]
            ]
          },
          {
            "conf": 0.65,
            "crit": 3,
            "desc": "Calls a function named sleep in Python",
            "id": "micro-behaviors/time/sleep/interval::python-sleep-call",
            "spans": [
              [
                1872,
                10
              ]
            ]
          },
          {
            "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 MissingObjectIdException from algoliasearch.exceptions",
            "id": "metadata/import/python/algoliasearch/exceptions/missingobjectidexception::missingobjectidexception",
            "spans": [
              [
                158,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports algoliasearch.exceptions",
            "id": "metadata/import/python/algoliasearch/exceptions::algoliasearch/exceptions",
            "spans": [
              [
                126,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports async_timeout",
            "id": "metadata/import/python/async_timeout::async_timeout",
            "spans": [
              [
                1645,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports asyncio",
            "id": "metadata/import/python/asyncio::asyncio",
            "spans": [
              [
                1591,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports json",
            "id": "metadata/import/python/json::json",
            "spans": [
              [
                7,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports math",
            "id": "metadata/import/python/math::math",
            "spans": [
              [
                19,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports sys",
            "id": "metadata/import/python/sys::sys",
            "spans": [
              [
                31,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports time",
            "id": "metadata/import/python/time::time",
            "spans": [
              [
                42,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports Any from typing",
            "id": "metadata/import/python/typing/any::any",
            "spans": [
              [
                116,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports Dict from typing",
            "id": "metadata/import/python/typing/dict::dict",
            "spans": [
              [
                110,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports Iterable from typing",
            "id": "metadata/import/python/typing/iterable::iterable",
            "spans": [
              [
                77,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports Iterator from typing",
            "id": "metadata/import/python/typing/iterator::iterator",
            "spans": [
              [
                100,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports List from typing",
            "id": "metadata/import/python/typing/list::list",
            "spans": [
              [
                87,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports Optional from typing",
            "id": "metadata/import/python/typing/optional::optional",
            "spans": [
              [
                67,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports Union from typing",
            "id": "metadata/import/python/typing/union::union",
            "spans": [
              [
                93,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports typing",
            "id": "metadata/import/python/typing::typing",
            "spans": [
              [
                53,
                0
              ]
            ]
          },
          {
            "conf": 0.3,
            "crit": 2,
            "desc": "Source contains for-loop syntax",
            "id": "metadata/lang/source/syntax/control-flow::for-loop-content",
            "spans": [
              [
                1105,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"and\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-2",
            "spans": [
              [
                469,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"for\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-5",
            "spans": [
              [
                410,
                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": 3,
            "desc": "Imports a Python network client library",
            "id": "metadata/import/package::python-network-client-imports",
            "spans": [
              [
                244,
                12
              ]
            ],
            "uses": [
              1,
              2,
              3,
              4
            ]
          },
          {
            "conf": 1.0,
            "crit": 3,
            "desc": "Python JSON parsing or serialization reference",
            "id": "micro-behaviors/data/codec::python-json-transform-reference",
            "spans": [
              [
                1255,
                10
              ]
            ],
            "uses": [
              9
            ]
          }
        ],
        "type": "python"
      },
      {
        "depth": 1,
        "id": 9,
        "path": "algoliasearch-2.6.0-py2.py3-none-any.whl!!algoliasearch/helpers_async.py",
        "pid": 0,
        "risk": 0,
        "sha": "9b918e4f849f8964a0e5bd0624561d8698c2bd9559e53d03b74f93c6fd360618",
        "sid": 2729886709,
        "size": 1692,
        "type": "python"
      },
      {
        "depth": 1,
        "facts": {
          "metrics": {
            "ast": {
              "call_count": 0,
              "max_depth": 0,
              "node_count": 1
            },
            "file": {
              "entropy": 0,
              "size": 0
            }
          }
        },
        "id": 10,
        "path": "algoliasearch-2.6.0-py2.py3-none-any.whl!!algoliasearch/http/__init__.py",
        "pid": 0,
        "risk": 0,
        "sha": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
        "sid": 139957,
        "size": 0,
        "type": "javascript"
      },
      {
        "depth": 1,
        "id": 11,
        "path": "algoliasearch-2.6.0-py2.py3-none-any.whl!!algoliasearch/http/hosts.py",
        "pid": 0,
        "risk": 0,
        "sha": "2232fe14d3ea5039b3962dac6fa6e486c68777cee22ab98562b18c4e396e1141",
        "sid": 10771628690,
        "size": 1206,
        "type": "python"
      },
      {
        "analysis_gaps": [
          "flow-query-incomplete"
        ],
        "ctx": [
          {
            "col": 1,
            "line": 1,
            "ln": 0,
            "s": "import copy\n\nfrom typing import Optional, Any, Dict, Union\n\nfrom algoliasearch.configs import Config\nfrom algoliasearch.helpers import get_items\n\n\nclass RequestOptions(object):\n    def __init__(self, headers, query_parameters, timeouts, dat"
          },
          {
            "col": 33,
            "line": 19,
            "ln": 561,
            "s": "ne\n\n        if option.upper() in [header.upper() for header in Params.HEADERS]:\n            self.headers[option] = str(value)\n        elif option in Params.QUE"
          },
          {
            "col": 6,
            "line": 57,
            "ln": 1694,
            "s": "   \"X-Algolia-User-ID\",\n        \"X-Algolia-UserToken\",\n        \"X-Forwarded-For\",\n    )\n\n    QUERY_PARAMETERS = (\n        \"createIfNotExists\",\n        \"forwardToReplicas\",\n        \"replaceExistingSynonyms\",\n"
          }
        ],
        "depth": 1,
        "facts": {
          "funcs": [
            [
              "__init__",
              181
            ],
            [
              "__setitem__",
              491
            ],
            [
              "create",
              942
            ]
          ],
          "imp": [
            [
              "",
              "option.upper"
            ],
            [
              "",
              "header.upper"
            ],
            [
              "",
              "str"
            ],
            [
              "",
              "isinstance"
            ],
            [
              "",
              "copy.copy"
            ],
            [
              "",
              "dict"
            ],
            [
              "",
              "int"
            ],
            [
              "",
              "int"
            ],
            [
              "",
              "int"
            ],
            [
              "",
              "RequestOptions"
            ],
            [
              "",
              "get_items"
            ],
            [
              "typing",
              "Any"
            ],
            [
              "algoliasearch.configs",
              "Config"
            ],
            [
              "typing",
              "Dict"
            ],
            [
              "typing",
              "Optional"
            ],
            [
              "typing",
              "Union"
            ],
            [
              "",
              "algoliasearch.configs"
            ],
            [
              "",
              "algoliasearch.helpers"
            ],
            [
              "",
              "copy"
            ],
            [
              "algoliasearch.helpers",
              "get_items"
            ],
            [
              "",
              "typing"
            ]
          ],
          "mbr": [
            "Params.HEADERS",
            "Params.QUERY_PARAMETERS",
            "Params.TIMEOUTS",
            "config.connect_timeout",
            "config.headers",
            "config.read_timeout",
            "config.write_timeout",
            "copy.copy",
            "header.upper",
            "option.upper",
            "self.data",
            "self.headers",
            "self.query_parameters",
            "self.timeouts"
          ],
          "metrics": {
            "ast": {
              "call_count": 11,
              "max_array_length": 5,
              "max_depth": 13,
              "max_member_depth": 2,
              "member_count": 14,
              "node_count": 476
            },
            "binary": {
              "peak_region_bytes": 2048,
              "peak_region_entropy": 4.63
            },
            "binds": {
              "count": 10
            },
            "comments": {
              "chars": 214,
              "count": 3,
              "high_entropy": 1,
              "lines": 3,
              "to_code_ratio": 0.04
            },
            "file": {
              "entropy": 4.63,
              "size": 2056
            },
            "functions": {
              "avg_length_lines": 12.67,
              "avg_name_length": 8.33,
              "avg_param_name_length": 6.7,
              "avg_params": 3.33,
              "code_ratio": 0.51,
              "count": 5,
              "density": 4.05,
              "length_stddev": 5.44,
              "max_length_lines": 20,
              "max_params": 5,
              "min_length_lines": 7
            },
            "identifiers": {
              "all_lowercase_ratio": 0.75,
              "all_uppercase_ratio": 0.08,
              "avg_entropy": 2.49,
              "avg_length": 7.88,
              "count": 107,
              "double_underscore_count": 2,
              "length_stddev": 3.8,
              "max_length": 16,
              "min_length": 3,
              "reuse_ratio": 0.37,
              "underscore_prefix_count": 2,
              "unique": 40
            },
            "imports": {
              "count": 10,
              "stdlib_count": 2,
              "stdlib_ratio": 0.2,
              "third_party_count": 8,
              "third_party_ratio": 0.8
            },
            "source": {
              "class_count": 2,
              "function_count": 3
            },
            "strings": {
              "avg_entropy": 3.35,
              "avg_length": 14.5,
              "bytes": 232,
              "count": 16,
              "entropy_stddev": 0.33,
              "max_length": 23
            },
            "text": {
              "avg_line_length": 26.78,
              "char_entropy": 4.63,
              "digit_ratio": 0,
              "empty_line_ratio": 0.24,
              "identifier_density": 1.45,
              "identifiers_to_functions_ratio": 13.33,
              "import_density": 13.51,
              "imports_to_functions_ratio": 3.33,
              "last_line_length": 5,
              "line_length_stddev": 23.25,
              "lines": 74,
              "max_line_length": 105,
              "max_whitespace_run": 2,
              "normalized_function_count": 0.35,
              "normalized_import_count": 1.16,
              "normalized_string_count": 1.86,
              "normalized_unique_identifiers": 6.44,
              "repeated_char_sequences": 9,
              "space_count": 509,
              "string_density": 0.22,
              "strings_to_functions_ratio": 5.33,
              "suspicious_comment_ratio": 0.33,
              "top_char": 101,
              "top_char_null": 0,
              "top_char_ratio": 0.07,
              "unique_chars": 65,
              "whitespace_ratio": 0.28
            }
          },
          "tgt": [
            "RequestOptions",
            "copy.copy",
            "dict",
            "get_items",
            "header.upper",
            "int",
            "isinstance",
            "option.upper",
            "str"
          ]
        },
        "id": 12,
        "mol": "H(Cm)",
        "path": "algoliasearch-2.6.0-py2.py3-none-any.whl!!algoliasearch/http/request_options.py",
        "pid": 0,
        "risk": 1,
        "sha": "23b4eea37b8669f700839f8e59708bfa410130d5ba9fdaa95cd1065dcd6c8fdb",
        "sid": 2729884583,
        "size": 2056,
        "traits": [
          {
            "atk": "T1071.001",
            "conf": 0.7,
            "crit": 3,
            "desc": "X-Forwarded-For proxy header",
            "id": "micro-behaviors/communications/http/header/forwarded::x-forwarded-for",
            "mbc": "C0002",
            "spans": [
              [
                1758,
                15
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports Config from algoliasearch.configs",
            "id": "metadata/import/python/algoliasearch/configs/config::config",
            "spans": [
              [
                94,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports algoliasearch.configs",
            "id": "metadata/import/python/algoliasearch/configs::algoliasearch/configs",
            "spans": [
              [
                65,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports get_items from algoliasearch.helpers",
            "id": "metadata/import/python/algoliasearch/helpers/get_items::get_items",
            "spans": [
              [
                135,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports algoliasearch.helpers",
            "id": "metadata/import/python/algoliasearch/helpers::algoliasearch/helpers",
            "spans": [
              [
                106,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports copy",
            "id": "metadata/import/python/copy::copy",
            "spans": [
              [
                7,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports Any from typing",
            "id": "metadata/import/python/typing/any::any",
            "spans": [
              [
                42,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports Dict from typing",
            "id": "metadata/import/python/typing/dict::dict",
            "spans": [
              [
                47,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports Optional from typing",
            "id": "metadata/import/python/typing/optional::optional",
            "spans": [
              [
                32,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports Union from typing",
            "id": "metadata/import/python/typing/union::union",
            "spans": [
              [
                53,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports typing",
            "id": "metadata/import/python/typing::typing",
            "spans": [
              [
                18,
                0
              ]
            ]
          }
        ],
        "type": "python"
      },
      {
        "depth": 1,
        "id": 13,
        "path": "algoliasearch-2.6.0-py2.py3-none-any.whl!!algoliasearch/http/requester.py",
        "pid": 0,
        "risk": 0,
        "sha": "f9cb9c107ba1ab8d0e7ff45a371503d9140382aa752b24cfc34fb726ee61d2f5",
        "sid": 10771625560,
        "size": 1622,
        "type": "python"
      },
      {
        "analysis_gaps": [
          "flow-field-unavailable",
          "flow-query-incomplete"
        ],
        "ctx": [
          {
            "col": 1,
            "line": 1,
            "ln": 0,
            "s": "import asyncio\n\nimport aiohttp\nimport async_timeout\n\nfrom algoliasearch.http.requester import Requester\nfrom algoliasearch.http.transporter import Response, Request\n\n\nclass RequesterAsync(Requester):\n    def __init__(self):\n        # type: () -\u003e None\n\n        self._session = None\n\n    @asyncio.coroutine  # type: ignore\n    def send(self, request):  # type: ignore\n        # type: (Request) -\u003e Response\n\n        if self._session is None:\n            connector = aiohttp.TCPConnector(use_dns_cache=False)\n            self._session = aiohttp.ClientSession(connector=connector)  # type: ignore\n\n        proxy = None\n        if request.url.startswith(\"https\"):\n            proxy = request.proxies.get(\"https\")\n        elif request.url.startswith(\"http\"):\n            proxy = request.proxies.get(\"http\")\n\n        try:\n            with async_timeout.timeout(request.timeout):\n                response = yield from (\n                    self._session.request(  # type: ignore\n                        method=request.verb,\n                        url=request.url,\n                        headers=request.headers,\n                        data=request.data_as_string,\n                        proxy=proxy,\n                    )\n                )\n\n                json = yield from response.json()\n\n        except asyncio.TimeoutError as e:\n\n            return Response(error_message=str(e), is_timed_out_error=True)\n\n        return Response(response.status, json, str(response.reason))\n\n    @asyncio.coroutine\n    def close(self):  # type: ignore\n        # type: () -\u003e None\n\n        if self._session is not None:\n            session = self._session\n            self._session = None\n\n            yield from session.close()  # type: ignore\n"
          }
        ],
        "depth": 1,
        "facts": {
          "funcs": [
            [
              "__init__",
              204
            ],
            [
              "send",
              325
            ],
            [
              "close",
              1503
            ]
          ],
          "imp": [
            [
              "",
              "aiohttp.TCPConnector"
            ],
            [
              "",
              "aiohttp.ClientSession"
            ],
            [
              "",
              "request.url.startswith"
            ],
            [
              "",
              "request.proxies.get"
            ],
            [
              "",
              "request.url.startswith"
            ],
            [
              "",
              "request.proxies.get"
            ],
            [
              "",
              "async_timeout.timeout"
            ],
            [
              "",
              "self._session.request"
            ],
            [
              "",
              "response.json"
            ],
            [
              "",
              "Response"
            ],
            [
              "",
              "str"
            ],
            [
              "",
              "Response"
            ],
            [
              "",
              "str"
            ],
            [
              "",
              "session.close"
            ],
            [
              "algoliasearch.http.transporter",
              "Request"
            ],
            [
              "algoliasearch.http.requester",
              "Requester"
            ],
            [
              "algoliasearch.http.transporter",
              "Response"
            ],
            [
              "",
              "aiohttp"
            ],
            [
              "",
              "algoliasearch.http.requester"
            ],
            [
              "",
              "algoliasearch.http.transporter"
            ],
            [
              "",
              "async_timeout"
            ],
            [
              "",
              "asyncio"
            ]
          ],
          "mbr": [
            "aiohttp.ClientSession",
            "aiohttp.TCPConnector",
            "async_timeout.timeout",
            "asyncio.TimeoutError",
            "asyncio.coroutine",
            "request.data_as_string",
            "request.headers",
            "request.proxies",
            "request.proxies.get",
            "request.timeout",
            "request.url",
            "request.url.startswith",
            "request.verb",
            "response.json",
            "response.reason",
            "response.status",
            "self._session",
            "self._session.request",
            "session.close"
          ],
          "metrics": {
            "ast": {
              "call_count": 14,
              "max_depth": 18,
              "max_member_depth": 3,
              "member_count": 19,
              "node_count": 426
            },
            "binary": {
              "peak_region_bytes": 1024,
              "peak_region_entropy": 4.28
            },
            "binds": {
              "count": 10
            },
            "comments": {
              "chars": 140,
              "count": 9,
              "lines": 9,
              "to_code_ratio": 0.18
            },
            "file": {
              "entropy": 4.11,
              "size": 1727
            },
            "functions": {
              "avg_length_lines": 14.67,
              "avg_name_length": 5.67,
              "avg_param_name_length": 4.75,
              "avg_params": 1.33,
              "code_ratio": 0.76,
              "count": 4,
              "density": 5.17,
              "length_stddev": 12.36,
              "max_length_lines": 32,
              "max_params": 2,
              "min_length_lines": 4
            },
            "identifiers": {
              "all_lowercase_ratio": 0.84,
              "avg_entropy": 2.43,
              "avg_length": 7.95,
              "count": 103,
              "double_underscore_count": 1,
              "high_entropy_count": 1,
              "high_entropy_ratio": 0.02,
              "length_stddev": 3.75,
              "max_length": 18,
              "min_length": 1,
              "reuse_ratio": 0.42,
              "sequential_names": 1,
              "single_char_count": 1,
              "single_char_ratio": 0.02,
              "underscore_prefix_count": 2,
              "unique": 43
            },
            "imports": {
              "count": 8,
              "stdlib_count": 1,
              "stdlib_ratio": 0.13,
              "third_party_count": 7,
              "third_party_ratio": 0.88
            },
            "source": {
              "class_count": 1,
              "function_count": 3
            },
            "strings": {
              "avg_entropy": 1.71,
              "avg_length": 4.5,
              "bytes": 18,
              "count": 4,
              "entropy_stddev": 0.21,
              "max_length": 5
            },
            "text": {
              "avg_line_length": 28.78,
              "char_entropy": 4.11,
              "empty_line_ratio": 0.28,
              "identifier_density": 1.78,
              "identifiers_to_functions_ratio": 14.33,
              "import_density": 13.79,
              "imports_to_functions_ratio": 2.67,
              "last_line_length": 54,
              "line_length_stddev": 22.72,
              "lines": 58,
              "max_line_length": 86,
              "max_whitespace_run": 2,
              "normalized_function_count": 0.39,
              "normalized_import_count": 1.05,
              "normalized_string_count": 0.53,
              "normalized_unique_identifiers": 7.34,
              "repeated_char_sequences": 19,
              "space_count": 527,
              "string_density": 0.07,
              "strings_to_functions_ratio": 1.33,
              "suspicious_identifier_ratio": 0.02,
              "top_char": 101,
              "top_char_null": 0,
              "top_char_ratio": 0.09,
              "unique_chars": 47,
              "whitespace_ratio": 0.34
            }
          },
          "tgt": [
            "Response",
            "aiohttp.ClientSession",
            "aiohttp.TCPConnector",
            "async_timeout.timeout",
            "request.proxies.get",
            "request.url.startswith",
            "response.json",
            "self._session.request",
            "session.close",
            "str"
          ]
        },
        "id": 14,
        "mol": "H₂(Cm₂Db₂)Md(In₆)",
        "path": "algoliasearch-2.6.0-py2.py3-none-any.whl!!algoliasearch/http/requester_async.py",
        "pid": 0,
        "risk": 5,
        "sha": "2a610dae46d07843a14f22ee6477db3e809adbe1eb734f4cc4e5925dea1aeb9e",
        "sid": 2729884653,
        "size": 1727,
        "traits": [
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports aiohttp",
            "id": "metadata/import/python/aiohttp::aiohttp",
            "spans": [
              [
                23,
                7
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports Requester from algoliasearch.http.requester",
            "id": "metadata/import/python/algoliasearch/http/requester/requester::requester",
            "spans": [
              [
                94,
                9
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports algoliasearch.http.requester",
            "id": "metadata/import/python/algoliasearch/http/requester::algoliasearch/http/requester",
            "spans": [
              [
                58,
                28
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports Request from algoliasearch.http.transporter",
            "id": "metadata/import/python/algoliasearch/http/transporter/request::request",
            "spans": [
              [
                157,
                7
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports Response from algoliasearch.http.transporter",
            "id": "metadata/import/python/algoliasearch/http/transporter/response::response",
            "spans": [
              [
                147,
                8
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports algoliasearch.http.transporter",
            "id": "metadata/import/python/algoliasearch/http/transporter::algoliasearch/http/transporter",
            "spans": [
              [
                109,
                30
              ]
            ]
          },
          {
            "conf": 0.5,
            "crit": 3,
            "desc": "Python asyncio library reference",
            "id": "metadata/lang/source/naming/interface/runtime::asyncio-reference",
            "spans": [
              [
                7,
                7
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Imports the aiohttp Python HTTP client",
            "id": "micro-behaviors/communications/http/client/library::aiohttp-import",
            "spans": [
              [
                23,
                7
              ],
              [
                463,
                20
              ],
              [
                533,
                21
              ]
            ]
          },
          {
            "conf": 0.7,
            "crit": 3,
            "desc": "aiohttp.ClientSession usage",
            "id": "micro-behaviors/communications/http/lib/aiohttp::aiohttp-session",
            "spans": [
              [
                533,
                21
              ]
            ]
          },
          {
            "conf": 0.94,
            "crit": 3,
            "desc": "Handles HTTP, URL or connection errors",
            "id": "micro-behaviors/data/control-flow/error-handling/catch::network-error-handler",
            "mbc": "C0027",
            "spans": [
              [
                1295,
                27
              ]
            ]
          },
          {
            "conf": 0.85,
            "crit": 3,
            "desc": "Calls a JSON body reader method",
            "id": "micro-behaviors/data/parse/json::python-json-body-method-call",
            "spans": [
              [
                1270,
                13
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports async_timeout",
            "id": "metadata/import/python/async_timeout::async_timeout",
            "spans": [
              [
                38,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports asyncio",
            "id": "metadata/import/python/asyncio::asyncio",
            "spans": [
              [
                7,
                0
              ]
            ]
          }
        ],
        "type": "python"
      },
      {
        "analysis_gaps": [
          "flow-graph-limited",
          "flow-query-incomplete"
        ],
        "ctx": [
          {
            "col": 1,
            "line": 1,
            "ln": 0,
            "s": "import json\nimport calendar\nimport datetime\nimport decimal\nimport sys\n\nfrom typing import Union, Any, Dict\n\nfrom algoliasearch.helpers import get_items\n\n# Python 3\nif sys.version_info \u003e= (3, 0):\n    from urllib.parse import urlencode\nelse:\n    from urllib import urlencode  # pragma: no cover\n\n\nclass QueryParametersSerializer(object):\n    @staticmethod\n    def serialize(query_parameters):\n        # type: (Dict[str, Any]) -\u003e str\n\n        for key, value in get_items(query_parameters):\n            if isinstance(value, (list, dict)):\n                value = json.dumps(value)\n            elif isinstance(value, bool):\n                value = \"true\" if value else \"false\"\n\n            query_parameters[key] = value\n\n        return urlencode(sorted(get_items(query_parameters), key=lambda val: val[0]))\n\n\nclass SettingsDeserializer(object):\n    @staticmethod\n    def deserialize(data):\n        # type: (Dict[str, Any]) -\u003e dict\n\n        keys = {\n            \"attributesToIndex\": \"searchableAttributes\",\n            \"numericAttributesToIndex\": \"numericAttributesForFiltering\",\n            \"slaves\": \"replicas\",\n        }\n\n        for deprecated_key, current_key in get_items(keys):\n            if deprecated_key in data:\n                data[current_key] = data.pop(deprecated_key)\n\n        return data\n\n\nclass DataSerializer(object):\n    @staticmethod\n    def serialize(data):\n        # type: (Union[Dict[str, Any], list]) -\u003e str\n\n        return json.dumps(data, cls=JSONEncoder)\n\n\nclass JSONEncoder(json.JSONEncoder):\n    def default(self, obj):\n        # type: (object) -\u003e object\n\n        if isinstance(obj, decimal.Decimal):\n            return float(obj)\n        elif isinstance(obj, datetime.datetime):\n            return int(calendar.timegm(obj.utctimetuple()))\n        elif type(obj).__str__ is not object.__str__:\n            return str(obj)\n\n        return json.JSONEncoder.default(self, obj)\n"
          }
        ],
        "depth": 1,
        "facts": {
          "funcs": [
            [
              "serialize",
              358
            ],
            [
              "deserialize",
              862
            ],
            [
              "serialize",
              1354
            ],
            [
              "default",
              1521
            ]
          ],
          "imp": [
            [
              "",
              "get_items"
            ],
            [
              "",
              "isinstance"
            ],
            [
              "",
              "json.dumps"
            ],
            [
              "",
              "isinstance"
            ],
            [
              "",
              "urlencode"
            ],
            [
              "",
              "sorted"
            ],
            [
              "",
              "get_items"
            ],
            [
              "",
              "get_items"
            ],
            [
              "",
              "data.pop"
            ],
            [
              "",
              "json.dumps"
            ],
            [
              "",
              "isinstance"
            ],
            [
              "",
              "float"
            ],
            [
              "",
              "isinstance"
            ],
            [
              "",
              "int"
            ],
            [
              "",
              "calendar.timegm"
            ],
            [
              "",
              "obj.utctimetuple"
            ],
            [
              "",
              "type"
            ],
            [
              "",
              "str"
            ],
            [
              "",
              "json.JSONEncoder.default"
            ],
            [
              "typing",
              "Any"
            ],
            [
              "typing",
              "Dict"
            ],
            [
              "typing",
              "Union"
            ],
            [
              "",
              "algoliasearch.helpers"
            ],
            [
              "",
              "calendar"
            ],
            [
              "",
              "datetime"
            ],
            [
              "",
              "decimal"
            ],
            [
              "algoliasearch.helpers",
              "get_items"
            ],
            [
              "",
              "json"
            ],
            [
              "",
              "sys"
            ],
            [
              "",
              "typing"
            ],
            [
              "urllib",
              "urlencode"
            ],
            [
              "urllib.parse",
              "urlencode"
            ],
            [
              "",
              "urllib"
            ],
            [
              "",
              "urllib.parse"
            ]
          ],
          "mbr": [
            "calendar.timegm",
            "data.pop",
            "datetime.datetime",
            "decimal.Decimal",
            "json.JSONEncoder",
            "json.JSONEncoder.default",
            "json.dumps",
            "obj.utctimetuple",
            "object.__str__",
            "sys.version_info",
            "type.__str__"
          ],
          "metrics": {
            "ast": {
              "call_count": 19,
              "max_array_length": 2,
              "max_depth": 15,
              "max_member_depth": 3,
              "max_numeric_array": 2,
              "member_count": 11,
              "node_count": 493
            },
            "binary": {
              "peak_region_bytes": 1899,
              "peak_region_entropy": 4.53
            },
            "binds": {
              "count": 3
            },
            "comments": {
              "chars": 155,
              "count": 6,
              "lines": 6,
              "to_code_ratio": 0.09
            },
            "file": {
              "entropy": 4.56,
              "size": 1899
            },
            "functions": {
              "anonymous": 1,
              "avg_length_lines": 8.4,
              "avg_name_length": 9,
              "avg_nesting_depth": 0.2,
              "avg_param_name_length": 5.67,
              "avg_params": 1.2,
              "code_ratio": 0.58,
              "count": 7,
              "density": 7.04,
              "length_stddev": 5,
              "max_length_lines": 14,
              "max_nesting_depth": 1,
              "max_params": 2,
              "min_length_lines": 1,
              "nested": 1,
              "one_liners": 1
            },
            "identifiers": {
              "all_lowercase_ratio": 0.84,
              "avg_entropy": 2.36,
              "avg_length": 7.39,
              "count": 112,
              "double_underscore_count": 1,
              "length_stddev": 4.64,
              "max_length": 25,
              "min_length": 3,
              "reuse_ratio": 0.46,
              "underscore_prefix_count": 1,
              "unique": 51
            },
            "imports": {
              "count": 15,
              "stdlib_count": 8,
              "stdlib_ratio": 0.53,
              "third_party_count": 7,
              "third_party_ratio": 0.47
            },
            "source": {
              "class_count": 4,
              "function_count": 3
            },
            "strings": {
              "avg_entropy": 3.03,
              "avg_length": 14.13,
              "base64_candidates": 2,
              "bytes": 113,
              "count": 8,
              "entropy_stddev": 0.69,
              "max_length": 29
            },
            "text": {
              "anonymous_function_ratio": 0.2,
              "avg_line_length": 25.75,
              "char_entropy": 4.56,
              "digit_ratio": 0,
              "empty_line_ratio": 0.28,
              "encoded_string_ratio": 0.25,
              "identifier_density": 1.58,
              "identifiers_to_functions_ratio": 10.2,
              "import_density": 21.13,
              "imports_to_functions_ratio": 3,
              "last_line_length": 50,
              "line_length_stddev": 21.81,
              "lines": 71,
              "max_line_length": 85,
              "max_whitespace_run": 2,
              "normalized_function_count": 0.59,
              "normalized_import_count": 1.78,
              "normalized_string_count": 0.95,
              "normalized_unique_identifiers": 8.29,
              "repeated_char_sequences": 13,
              "space_count": 436,
              "string_density": 0.11,
              "strings_to_functions_ratio": 1.6,
              "top_char": 101,
              "top_char_null": 0,
              "top_char_ratio": 0.08,
              "unique_chars": 58,
              "whitespace_ratio": 0.27
            }
          },
          "tgt": [
            "calendar.timegm",
            "data.pop",
            "float",
            "get_items",
            "int",
            "isinstance",
            "json.JSONEncoder.default",
            "json.dumps",
            "obj.utctimetuple",
            "sorted",
            "str",
            "type",
            "urlencode"
          ]
        },
        "id": 15,
        "mol": "H₂(Cm₂Db)Md(In₄)",
        "path": "algoliasearch-2.6.0-py2.py3-none-any.whl!!algoliasearch/http/serializer.py",
        "pid": 0,
        "risk": 4,
        "sha": "3670bdf0e32bb132315c30d383efd7bda22600fb88096577794eff3cd85e6a81",
        "sid": 2729884776,
        "size": 1899,
        "traits": [
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports urlencode from urllib.parse",
            "id": "metadata/import/python/urllib/parse/urlencode::urlencode",
            "spans": [
              [
                224,
                9
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports urllib.parse",
            "id": "metadata/import/python/urllib/parse::urllib/parse",
            "spans": [
              [
                204,
                12
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports urlencode from urllib",
            "id": "metadata/import/python/urllib/urlencode::urlencode",
            "spans": [
              [
                263,
                9
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports urllib",
            "id": "metadata/import/python/urllib::urllib",
            "spans": [
              [
                249,
                6
              ]
            ]
          },
          {
            "conf": 0.85,
            "crit": 3,
            "desc": "urllib urlencode for data serialization",
            "id": "micro-behaviors/communications/http/lib/urllib::urllib-urlencode",
            "spans": [
              [
                199,
                34
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Calls Python urlencode query serializer",
            "id": "micro-behaviors/communications/url/construction/query::query-serializer-call",
            "spans": [
              [
                731,
                9
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Serializes data with Python json.dumps()",
            "id": "micro-behaviors/data/serialize/json::json-dumps-call",
            "spans": [
              [
                559,
                10
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports get_items from algoliasearch.helpers",
            "id": "metadata/import/python/algoliasearch/helpers/get_items::get_items",
            "spans": [
              [
                142,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports algoliasearch.helpers",
            "id": "metadata/import/python/algoliasearch/helpers::algoliasearch/helpers",
            "spans": [
              [
                113,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports calendar",
            "id": "metadata/import/python/calendar::calendar",
            "spans": [
              [
                19,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports datetime",
            "id": "metadata/import/python/datetime::datetime",
            "spans": [
              [
                35,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports decimal",
            "id": "metadata/import/python/decimal::decimal",
            "spans": [
              [
                51,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports json",
            "id": "metadata/import/python/json::json",
            "spans": [
              [
                7,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports sys",
            "id": "metadata/import/python/sys::sys",
            "spans": [
              [
                66,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports Any from typing",
            "id": "metadata/import/python/typing/any::any",
            "spans": [
              [
                97,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports Dict from typing",
            "id": "metadata/import/python/typing/dict::dict",
            "spans": [
              [
                102,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports Union from typing",
            "id": "metadata/import/python/typing/union::union",
            "spans": [
              [
                90,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports typing",
            "id": "metadata/import/python/typing::typing",
            "spans": [
              [
                76,
                0
              ]
            ]
          }
        ],
        "type": "python"
      },
      {
        "depth": 1,
        "id": 16,
        "path": "algoliasearch-2.6.0-py2.py3-none-any.whl!!algoliasearch/http/transporter.py",
        "pid": 0,
        "risk": 0,
        "sha": "c77d0f5d4aac992403e7d811f43471640081a32d454f699d417f87d75bce99fe",
        "sid": 5274127009,
        "size": 6430,
        "type": "python"
      },
      {
        "analysis_gaps": [
          "flow-query-incomplete"
        ],
        "ctx": [
          {
            "col": 1,
            "line": 1,
            "ln": 0,
            "s": "import asyncio\n\nfrom algoliasearch.configs import Config\nfrom algoliasearch.exceptions import RequestException, AlgoliaUnreachableHostException\nfrom algoliasearch.http.hosts import HostsCollection\nfrom algoliasearch.http.requester_async import RequesterAsync\nfrom algoliasearch.http.transporter import (\n    Transporter,\n    RetryOutcome,\n    Request,\n    RetryStrategy,\n)\n\n\nclass TransporterAsync(Transporter):\n    @asyncio.coroutine\n    def retry(self, hosts, request, relative_url):  # type: ignore\n        # type: (list, Request, str) -\u003e dict\n\n        for host in self._retry_strategy.valid_hosts(hosts):\n\n            request.url = \"https://{}/{}\".format(host.url, relative_url)\n\n            response = yield from self._requester.send(request)  # type: ignore\n\n            decision = self._retry_strategy.decide(host, response)\n\n            if decision == RetryOutcome.SUCCESS:\n\n                return response.content if response.content is not None else {}\n            elif decision == RetryOutcome.FAIL:\n                content = response.error_message\n                if response.content and \"message\" in response.content:\n                    content = response.content[\"message\"]\n\n                raise RequestException(content, response.status_code)\n\n        raise AlgoliaUnreachableHostException(\"Unreachable hosts\")\n\n    @asyncio.coroutine\n    def close(self):  # type: ignore\n        # type: () -\u003e None\n\n        yield from self._requester.close()  # type: ignore\n"
          }
        ],
        "depth": 1,
        "facts": {
          "funcs": [
            [
              "retry",
              439
            ],
            [
              "close",
              1356
            ]
          ],
          "imp": [
            [
              "",
              "self._retry_strategy.valid_hosts"
            ],
            [
              "",
              "self._requester.send"
            ],
            [
              "",
              "self._retry_strategy.decide"
            ],
            [
              "",
              "RequestException"
            ],
            [
              "",
              "AlgoliaUnreachableHostException"
            ],
            [
              "",
              "self._requester.close"
            ],
            [
              "algoliasearch.exceptions",
              "AlgoliaUnreachableHostException"
            ],
            [
              "algoliasearch.configs",
              "Config"
            ],
            [
              "algoliasearch.http.hosts",
              "HostsCollection"
            ],
            [
              "algoliasearch.http.transporter",
              "Request"
            ],
            [
              "algoliasearch.exceptions",
              "RequestException"
            ],
            [
              "algoliasearch.http.requester_async",
              "RequesterAsync"
            ],
            [
              "algoliasearch.http.transporter",
              "RetryOutcome"
            ],
            [
              "algoliasearch.http.transporter",
              "RetryStrategy"
            ],
            [
              "algoliasearch.http.transporter",
              "Transporter"
            ],
            [
              "",
              "algoliasearch.configs"
            ],
            [
              "",
              "algoliasearch.exceptions"
            ],
            [
              "",
              "algoliasearch.http.hosts"
            ],
            [
              "",
              "algoliasearch.http.requester_async"
            ],
            [
              "",
              "algoliasearch.http.transporter"
            ],
            [
              "",
              "asyncio"
            ]
          ],
          "mbr": [
            "RetryOutcome.FAIL",
            "RetryOutcome.SUCCESS",
            "asyncio.coroutine",
            "host.url",
            "request.url",
            "response.content",
            "response.content.message",
            "response.error_message",
            "response.status_code",
            "self._requester",
            "self._requester.close",
            "self._requester.send",
            "self._retry_strategy",
            "self._retry_strategy.decide",
            "self._retry_strategy.valid_hosts"
          ],
          "metrics": {
            "ast": {
              "call_count": 7,
              "max_depth": 17,
              "max_member_depth": 3,
              "member_count": 15,
              "node_count": 328,
              "op.land": 1,
              "op_density.land": 0
            },
            "binary": {
              "peak_region_bytes": 1476,
              "peak_region_entropy": 4.55
            },
            "binds": {
              "count": 5
            },
            "comments": {
              "chars": 104,
              "count": 6,
              "lines": 6,
              "to_code_ratio": 0.16
            },
            "file": {
              "entropy": 4.48,
              "size": 1476
            },
            "functions": {
              "avg_length_lines": 13,
              "avg_name_length": 5,
              "avg_param_name_length": 6.4,
              "avg_params": 2.5,
              "code_ratio": 0.59,
              "count": 3,
              "density": 4.55,
              "length_stddev": 9,
              "max_length_lines": 22,
              "max_params": 4,
              "min_length_lines": 4
            },
            "identifiers": {
              "all_lowercase_ratio": 0.69,
              "all_uppercase_ratio": 0.05,
              "avg_entropy": 2.67,
              "avg_length": 9.54,
              "count": 86,
              "high_entropy_count": 2,
              "high_entropy_ratio": 0.05,
              "length_stddev": 5.19,
              "max_length": 31,
              "min_length": 3,
              "reuse_ratio": 0.45,
              "underscore_prefix_count": 2,
              "unique": 39
            },
            "imports": {
              "count": 15,
              "stdlib_count": 1,
              "stdlib_ratio": 0.07,
              "third_party_count": 14,
              "third_party_ratio": 0.93
            },
            "source": {
              "class_count": 1,
              "function_count": 2
            },
            "strings": {
              "avg_entropy": 2.74,
              "avg_length": 11,
              "bytes": 44,
              "count": 4,
              "entropy_stddev": 0.57,
              "max_length": 17,
              "url_count": 1
            },
            "text": {
              "avg_line_length": 32.55,
              "char_entropy": 4.48,
              "empty_line_ratio": 0.3,
              "identifier_density": 1.95,
              "identifiers_to_functions_ratio": 19.5,
              "import_density": 34.09,
              "imports_to_functions_ratio": 7.5,
              "last_line_length": 58,
              "line_length_stddev": 28.43,
              "lines": 44,
              "max_line_length": 86,
              "max_whitespace_run": 2,
              "normalized_function_count": 0.3,
              "normalized_import_count": 2.26,
              "normalized_string_count": 0.6,
              "normalized_unique_identifiers": 7.14,
              "repeated_char_sequences": 10,
              "space_count": 307,
              "string_density": 0.09,
              "strings_to_functions_ratio": 2,
              "top_char": 101,
              "top_char_null": 0,
              "top_char_ratio": 0.09,
              "unique_chars": 54,
              "whitespace_ratio": 0.24
            }
          },
          "tgt": [
            "AlgoliaUnreachableHostException",
            "RequestException",
            "self._requester.close",
            "self._requester.send",
            "self._retry_strategy.decide",
            "self._retry_strategy.valid_hosts"
          ]
        },
        "id": 17,
        "mol": "H(Cm)Md(In₉)",
        "path": "algoliasearch-2.6.0-py2.py3-none-any.whl!!algoliasearch/http/transporter_async.py",
        "pid": 0,
        "risk": 3,
        "sha": "2319499fc2551ccf79a8234e7539aef5e7f193b129eee9dee13d8dbc2579106a",
        "sid": 5274126989,
        "size": 1476,
        "traits": [
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports HostsCollection from algoliasearch.http.hosts",
            "id": "metadata/import/python/algoliasearch/http/hosts/hostscollection::hostscollection",
            "spans": [
              [
                181,
                15
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports algoliasearch.http.hosts",
            "id": "metadata/import/python/algoliasearch/http/hosts::algoliasearch/http/hosts",
            "spans": [
              [
                149,
                24
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports RequesterAsync from algoliasearch.http.requester_async",
            "id": "metadata/import/python/algoliasearch/http/requester_async/requesterasync::requesterasync",
            "spans": [
              [
                244,
                14
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports algoliasearch.http.requester_async",
            "id": "metadata/import/python/algoliasearch/http/requester_async::algoliasearch/http/requester_async",
            "spans": [
              [
                202,
                34
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports Request from algoliasearch.http.transporter",
            "id": "metadata/import/python/algoliasearch/http/transporter/request::request",
            "spans": [
              [
                343,
                7
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports RetryOutcome from algoliasearch.http.transporter",
            "id": "metadata/import/python/algoliasearch/http/transporter/retryoutcome::retryoutcome",
            "spans": [
              [
                325,
                12
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports RetryStrategy from algoliasearch.http.transporter",
            "id": "metadata/import/python/algoliasearch/http/transporter/retrystrategy::retrystrategy",
            "spans": [
              [
                356,
                13
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports Transporter from algoliasearch.http.transporter",
            "id": "metadata/import/python/algoliasearch/http/transporter/transporter::transporter",
            "spans": [
              [
                308,
                11
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports algoliasearch.http.transporter",
            "id": "metadata/import/python/algoliasearch/http/transporter::algoliasearch/http/transporter",
            "spans": [
              [
                264,
                30
              ]
            ]
          },
          {
            "conf": 0.5,
            "crit": 3,
            "desc": "Python asyncio library reference",
            "id": "metadata/lang/source/naming/interface/runtime::asyncio-reference",
            "spans": [
              [
                7,
                7
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 3,
            "desc": "Python response body member access",
            "id": "micro-behaviors/communications/http/client/response-body::python-response-body-member-reference",
            "spans": [
              [
                906,
                8
              ],
              [
                915,
                7
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports Config from algoliasearch.configs",
            "id": "metadata/import/python/algoliasearch/configs/config::config",
            "spans": [
              [
                50,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports algoliasearch.configs",
            "id": "metadata/import/python/algoliasearch/configs::algoliasearch/configs",
            "spans": [
              [
                21,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports AlgoliaUnreachableHostException from algoliasearch.exceptions",
            "id": "metadata/import/python/algoliasearch/exceptions/algoliaunreachablehostexception::algoliaunreachablehostexception",
            "spans": [
              [
                112,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports RequestException from algoliasearch.exceptions",
            "id": "metadata/import/python/algoliasearch/exceptions/requestexception::requestexception",
            "spans": [
              [
                94,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports algoliasearch.exceptions",
            "id": "metadata/import/python/algoliasearch/exceptions::algoliasearch/exceptions",
            "spans": [
              [
                62,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports asyncio",
            "id": "metadata/import/python/asyncio::asyncio",
            "spans": [
              [
                7,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"and\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-2",
            "spans": [
              [
                1096,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"for\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-5",
            "spans": [
              [
                556,
                0
              ]
            ]
          }
        ],
        "type": "python"
      },
      {
        "depth": 1,
        "id": 18,
        "path": "algoliasearch-2.6.0-py2.py3-none-any.whl!!algoliasearch/http/verb.py",
        "pid": 0,
        "risk": 0,
        "sha": "df75d44bc68f4a25487cf6bce3a88c90724e9e0d7cad4897a11e536f0ace6a98",
        "sid": 5274127011,
        "size": 92,
        "type": "python"
      },
      {
        "depth": 1,
        "id": 19,
        "path": "algoliasearch-2.6.0-py2.py3-none-any.whl!!algoliasearch/insights_client.py",
        "pid": 0,
        "risk": 0,
        "sha": "0fa5f6eebbca6ab9b494de111fbe3fae6b8a27cf2d3ebfacf65a0f8768748618",
        "sid": 2729884382,
        "size": 6806,
        "type": "python"
      },
      {
        "depth": 1,
        "id": 20,
        "path": "algoliasearch-2.6.0-py2.py3-none-any.whl!!algoliasearch/insights_client_async.py",
        "pid": 0,
        "risk": 0,
        "sha": "c36afa6a6a23d7ca4c4161388b6b1f69033820785915b2a877f88847ae3def7f",
        "sid": 5274127007,
        "size": 1873,
        "type": "python"
      },
      {
        "depth": 1,
        "id": 21,
        "path": "algoliasearch-2.6.0-py2.py3-none-any.whl!!algoliasearch/iterators.py",
        "pid": 0,
        "risk": 0,
        "sha": "47e83c03bafcd7c50af42667d4cf4bf7b6b1bdd44d1257041276efe2a6d51613",
        "sid": 10771625538,
        "size": 3155,
        "type": "python"
      },
      {
        "depth": 1,
        "id": 22,
        "path": "algoliasearch-2.6.0-py2.py3-none-any.whl!!algoliasearch/iterators_async.py",
        "pid": 0,
        "risk": 0,
        "sha": "a067a78e545eeb3051bfb2393469368dfe077fe101b033e000e8cea300a5d7bc",
        "sid": 10771625546,
        "size": 2969,
        "type": "python"
      },
      {
        "analysis_gaps": [
          "flow-query-incomplete"
        ],
        "ctx": [
          {
            "col": 1,
            "line": 1,
            "ln": 0,
            "s": "from typing import Optional, Union\n\nfrom algoliasearch.configs import PersonalizationConfig\nfrom algoliasearch.helpers import is_async_available\nfrom algoliasearch.http.request_options import RequestOptions\nfrom algoliasearch.http.requester import Requester\nfrom algoliasearch.http.transporter import Transporter\nfrom algoliasearch.http.verb import Verb\n\n\nclass PersonalizationClient(object):\n    def __init__(self, transporter, config):\n        # type: (Transporter, Personalizati"
          },
          {
            "col": 15,
            "line": 18,
            "ln": 585,
            "s": "hod\n    def create(app_id=None, api_key=None, region=None):\n        # type: (Optional[str], Optional[st"
          },
          {
            "col": 3,
            "line": 35,
            "ln": 1146,
            "s": "      if is_async_available():\n            from algoliasearch.personalization_client_async import (\n                PersonalizationClientAsync,\n            )\n            from algoliasearch.http.transporter_async import TransporterAsync\n            from algoliasearch.http.requester_async import RequesterAsync\n\n            return PersonalizationClientAsync(\n                client, TransporterAsync(RequesterAsync(), config), config\n    "
          },
          {
            "col": 39,
            "line": 51,
            "ln": 1775,
            "s": "dict, RequestOptions]]) -\u003e dict\n\n        return self._transporter.write(\n            Verb.POST,\n            \"1/strategies/personalization\",\n            personalization_strategy,\n            request_options,\n        )\n\n    def get_personalization_strategy(self, requ"
          },
          {
            "col": 2,
            "line": 63,
            "ln": 2125,
            "s": "       return self._transporter.read(\n            Verb.GET, \"1/strategies/personalization\", None, re"
          }
        ],
        "depth": 1,
        "facts": {
          "funcs": [
            [
              "__init__",
              397
            ],
            [
              "create",
              593
            ],
            [
              "create_with_config",
              899
            ],
            [
              "set_personalization_strategy",
              1621
            ],
            [
              "get_personalization_strategy",
              1997
            ],
            [
              "close",
              2254
            ]
          ],
          "imp": [
            [
              "",
              "PersonalizationConfig"
            ],
            [
              "",
              "PersonalizationClient.create_with_config"
            ],
            [
              "",
              "Requester"
            ],
            [
              "",
              "Transporter"
            ],
            [
              "",
              "PersonalizationClient"
            ],
            [
              "",
              "is_async_available"
            ],
            [
              "",
              "PersonalizationClientAsync"
            ],
            [
              "",
              "TransporterAsync"
            ],
            [
              "",
              "RequesterAsync"
            ],
            [
              "",
              "self._transporter.write"
            ],
            [
              "",
              "self._transporter.read"
            ],
            [
              "",
              "self._transporter.close"
            ],
            [
              "typing",
              "Optional"
            ],
            [
              "algoliasearch.personalization_client_async",
              "PersonalizationClientAsync"
            ],
            [
              "algoliasearch.configs",
              "PersonalizationConfig"
            ],
            [
              "algoliasearch.http.request_options",
              "RequestOptions"
            ],
            [
              "algoliasearch.http.requester",
              "Requester"
            ],
            [
              "algoliasearch.http.requester_async",
              "RequesterAsync"
            ],
            [
              "algoliasearch.http.transporter",
              "Transporter"
            ],
            [
              "algoliasearch.http.transporter_async",
              "TransporterAsync"
            ],
            [
              "typing",
              "Union"
            ],
            [
              "algoliasearch.http.verb",
              "Verb"
            ],
            [
              "",
              "algoliasearch.configs"
            ],
            [
              "",
              "algoliasearch.helpers"
            ],
            [
              "",
              "algoliasearch.http.request_options"
            ],
            [
              "",
              "algoliasearch.http.requester"
            ],
            [
              "",
              "algoliasearch.http.requester_async"
            ],
            [
              "",
              "algoliasearch.http.transporter"
            ],
            [
              "",
              "algoliasearch.http.transporter_async"
            ],
            [
              "",
              "algoliasearch.http.verb"
            ],
            [
              "",
              "algoliasearch.personalization_client_async"
            ],
            [
              "algoliasearch.helpers",
              "is_async_available"
            ],
            [
              "",
              "typing"
            ]
          ],
          "mbr": [
            "PersonalizationClient.create_with_config",
            "Verb.GET",
            "Verb.POST",
            "self._config",
            "self._transporter",
            "self._transporter.close",
            "self._transporter.read",
            "self._transporter.write"
          ],
          "metrics": {
            "ast": {
              "call_count": 12,
              "max_depth": 15,
              "max_member_depth": 3,
              "member_count": 8,
              "node_count": 390
            },
            "binary": {
              "peak_region_bytes": 2356,
              "peak_region_entropy": 4.65
            },
            "binds": {
              "count": 6
            },
            "comments": {
              "base64": 3,
              "chars": 352,
              "count": 8,
              "lines": 8,
              "to_code_ratio": 0.13
            },
            "file": {
              "entropy": 4.52,
              "size": 2356
            },
            "functions": {
              "avg_length_lines": 8.67,
              "avg_name_length": 15.5,
              "avg_param_name_length": 8.62,
              "avg_params": 2.17,
              "code_ratio": 0.74,
              "count": 7,
              "density": 8.57,
              "high_entropy_names": 3,
              "length_stddev": 5.53,
              "max_length_lines": 20,
              "max_params": 3,
              "min_length_lines": 4
            },
            "identifiers": {
              "all_lowercase_ratio": 0.71,
              "all_uppercase_ratio": 0.04,
              "avg_entropy": 2.79,
              "avg_length": 11.29,
              "count": 107,
              "double_underscore_count": 1,
              "high_entropy_count": 7,
              "high_entropy_ratio": 0.16,
              "length_stddev": 7.31,
              "max_length": 28,
              "min_length": 3,
              "reuse_ratio": 0.42,
              "underscore_prefix_count": 3,
              "unique": 45
            },
            "imports": {
              "count": 21,
              "stdlib_count": 1,
              "stdlib_ratio": 0.05,
              "third_party_count": 20,
              "third_party_ratio": 0.95
            },
            "source": {
              "class_count": 1,
              "function_count": 6
            },
            "strings": {
              "avg_entropy": 3.67,
              "avg_length": 28,
              "bytes": 56,
              "count": 2,
              "max_length": 28
            },
            "text": {
              "avg_line_length": 32.66,
              "char_entropy": 4.52,
              "digit_ratio": 0.01,
              "empty_line_ratio": 0.27,
              "identifier_density": 1.53,
              "identifiers_to_functions_ratio": 7.5,
              "import_density": 30,
              "imports_to_functions_ratio": 3.5,
              "last_line_length": 56,
              "line_length_stddev": 26.48,
              "lines": 70,
              "max_line_length": 100,
              "max_whitespace_run": 2,
              "normalized_function_count": 0.72,
              "normalized_import_count": 2.51,
              "normalized_string_count": 0.24,
              "normalized_unique_identifiers": 7.34,
              "repeated_char_sequences": 13,
              "space_count": 484,
              "string_density": 0.03,
              "strings_to_functions_ratio": 0.33,
              "suspicious_comment_ratio": 0.38,
              "top_char": 101,
              "top_char_null": 0,
              "top_char_ratio": 0.07,
              "unique_chars": 57,
              "whitespace_ratio": 0.24
            }
          },
          "tgt": [
            "PersonalizationClient",
            "PersonalizationClient.create_with_config",
            "PersonalizationClientAsync",
            "PersonalizationConfig",
            "Requester",
            "RequesterAsync",
            "Transporter",
            "TransporterAsync",
            "is_async_available",
            "self._transporter.close",
            "self._transporter.read",
            "self._transporter.write"
          ]
        },
        "id": 23,
        "mol": "Md₂(In₁₂)",
        "path": "algoliasearch-2.6.0-py2.py3-none-any.whl!!algoliasearch/personalization_client.py",
        "pid": 0,
        "risk": 2,
        "sha": "0c81d6b752ad890967a61aede81741e775864d4b2f074b6302cf096d29a858eb",
        "sid": 5274126986,
        "size": 2356,
        "traits": [
          {
            "conf": 0.8,
            "crit": 3,
            "desc": "Long Base64-looking Python string literal",
            "id": "metadata/file/encoding/shape::python-long-base64-looking-string-literal",
            "spans": [
              [
                1884,
                28
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports RequestOptions from algoliasearch.http.request_options",
            "id": "metadata/import/python/algoliasearch/http/request_options/requestoptions::requestoptions",
            "spans": [
              [
                192,
                14
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports algoliasearch.http.request_options",
            "id": "metadata/import/python/algoliasearch/http/request_options::algoliasearch/http/request_options",
            "spans": [
              [
                150,
                34
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports Requester from algoliasearch.http.requester",
            "id": "metadata/import/python/algoliasearch/http/requester/requester::requester",
            "spans": [
              [
                248,
                9
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports algoliasearch.http.requester",
            "id": "metadata/import/python/algoliasearch/http/requester::algoliasearch/http/requester",
            "spans": [
              [
                212,
                28
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports RequesterAsync from algoliasearch.http.requester_async",
            "id": "metadata/import/python/algoliasearch/http/requester_async/requesterasync::requesterasync",
            "spans": [
              [
                1441,
                14
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports algoliasearch.http.requester_async",
            "id": "metadata/import/python/algoliasearch/http/requester_async::algoliasearch/http/requester_async",
            "spans": [
              [
                1399,
                34
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports Transporter from algoliasearch.http.transporter",
            "id": "metadata/import/python/algoliasearch/http/transporter/transporter::transporter",
            "spans": [
              [
                301,
                11
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports algoliasearch.http.transporter",
            "id": "metadata/import/python/algoliasearch/http/transporter::algoliasearch/http/transporter",
            "spans": [
              [
                263,
                30
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports TransporterAsync from algoliasearch.http.transporter_async",
            "id": "metadata/import/python/algoliasearch/http/transporter_async/transporterasync::transporterasync",
            "spans": [
              [
                1365,
                16
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports algoliasearch.http.transporter_async",
            "id": "metadata/import/python/algoliasearch/http/transporter_async::algoliasearch/http/transporter_async",
            "spans": [
              [
                1321,
                36
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports Verb from algoliasearch.http.verb",
            "id": "metadata/import/python/algoliasearch/http/verb/verb::verb",
            "spans": [
              [
                349,
                4
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports algoliasearch.http.verb",
            "id": "metadata/import/python/algoliasearch/http/verb::algoliasearch/http/verb",
            "spans": [
              [
                318,
                23
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports PersonalizationConfig from algoliasearch.configs",
            "id": "metadata/import/python/algoliasearch/configs/personalizationconfig::personalizationconfig",
            "spans": [
              [
                70,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports algoliasearch.configs",
            "id": "metadata/import/python/algoliasearch/configs::algoliasearch/configs",
            "spans": [
              [
                41,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports is_async_available from algoliasearch.helpers",
            "id": "metadata/import/python/algoliasearch/helpers/is_async_available::is_async_available",
            "spans": [
              [
                126,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports algoliasearch.helpers",
            "id": "metadata/import/python/algoliasearch/helpers::algoliasearch/helpers",
            "spans": [
              [
                97,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports PersonalizationClientAsync from algoliasearch.personalization_client_async",
            "id": "metadata/import/python/algoliasearch/personalization_client_async/personalizationclientasync::personalizationclientasync",
            "spans": [
              [
                1262,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports algoliasearch.personalization_client_async",
            "id": "metadata/import/python/algoliasearch/personalization_client_async::algoliasearch/personalization_client_async",
            "spans": [
              [
                1194,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports Optional from typing",
            "id": "metadata/import/python/typing/optional::optional",
            "spans": [
              [
                19,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports Union from typing",
            "id": "metadata/import/python/typing/union::union",
            "spans": [
              [
                29,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports typing",
            "id": "metadata/import/python/typing::typing",
            "spans": [
              [
                5,
                0
              ]
            ]
          }
        ],
        "type": "python"
      },
      {
        "depth": 1,
        "id": 24,
        "path": "algoliasearch-2.6.0-py2.py3-none-any.whl!!algoliasearch/personalization_client_async.py",
        "pid": 0,
        "risk": 0,
        "sha": "4833366735ccdf7649ed8d2a3b6169de84bc58febc85e49f98ebd77aa67b112d",
        "sid": 5274126996,
        "size": 1454,
        "type": "python"
      },
      {
        "depth": 1,
        "id": 25,
        "path": "algoliasearch-2.6.0-py2.py3-none-any.whl!!algoliasearch/recommend_client.py",
        "pid": 0,
        "risk": 0,
        "sha": "f7774473143ea4a34a1f3cc872fa57e22070630a31ab31dca0d3bdd99c40b34f",
        "sid": 5274127015,
        "size": 2823,
        "type": "python"
      },
      {
        "depth": 1,
        "id": 26,
        "path": "algoliasearch-2.6.0-py2.py3-none-any.whl!!algoliasearch/recommend_client_async.py",
        "pid": 0,
        "risk": 0,
        "sha": "ac53927a0e590ee77d6ba28111e37afdeccd02df934aa48b307924739ae18d8e",
        "sid": 5274127005,
        "size": 1590,
        "type": "python"
      },
      {
        "depth": 1,
        "id": 27,
        "path": "algoliasearch-2.6.0-py2.py3-none-any.whl!!algoliasearch/recommendation_client.py",
        "pid": 0,
        "risk": 0,
        "sha": "70e0f348bb07de2a79ea390c53fea6be84f989ebe577a7244042076744defaa9",
        "sid": 5274126999,
        "size": 4194,
        "type": "python"
      },
      {
        "depth": 1,
        "id": 28,
        "path": "algoliasearch-2.6.0-py2.py3-none-any.whl!!algoliasearch/recommendation_client_async.py",
        "pid": 0,
        "risk": 0,
        "sha": "21a12200f1ce73bc92523d2bab5916f91338bc0eed275202b10652554b65f6aa",
        "sid": 2729884558,
        "size": 1442,
        "type": "python"
      },
      {
        "depth": 1,
        "id": 29,
        "path": "algoliasearch-2.6.0-py2.py3-none-any.whl!!algoliasearch/responses.py",
        "pid": 0,
        "risk": 0,
        "sha": "8a47ed3b2176d428722278e8a207f5d8d515264f6429ccc5c6297e14e825e04b",
        "sid": 5274127001,
        "size": 8631,
        "type": "python"
      },
      {
        "depth": 1,
        "id": 30,
        "path": "algoliasearch-2.6.0-py2.py3-none-any.whl!!algoliasearch/search_client.py",
        "pid": 0,
        "risk": 0,
        "sha": "cd141b864bed59817fe80684893d7b1e305bad5de5d75272727a46f60e2e58cb",
        "sid": 2729888298,
        "size": 17008,
        "type": "python"
      },
      {
        "depth": 1,
        "id": 31,
        "path": "algoliasearch-2.6.0-py2.py3-none-any.whl!!algoliasearch/search_client_async.py",
        "pid": 0,
        "risk": 0,
        "sha": "e82db7750ef9fcb58a02474a347390a16884694074162ce01e5f380d1dd7c219",
        "sid": 5274127014,
        "size": 1880,
        "type": "python"
      },
      {
        "depth": 1,
        "id": 32,
        "path": "algoliasearch-2.6.0-py2.py3-none-any.whl!!algoliasearch/search_index.py",
        "pid": 0,
        "risk": 0,
        "sha": "b2d6868ca806dbfba18128683bd629ad24a751724400a51e0a84dcfa53c58c02",
        "sid": 2729887391,
        "size": 20577,
        "type": "python"
      },
      {
        "depth": 1,
        "id": 33,
        "path": "algoliasearch-2.6.0-py2.py3-none-any.whl!!algoliasearch/search_index_async.py",
        "pid": 0,
        "risk": 0,
        "sha": "0afebfbe5700cfb161724898dd613654fa4cccbcaa7ff18046f03325143e67c0",
        "sid": 5274126985,
        "size": 6330,
        "type": "python"
      },
      {
        "analysis_gaps": [
          "flow-graph-limited",
          "flow-query-incomplete"
        ],
        "ctx": [
          {
            "col": 1,
            "line": 1,
            "ln": 0,
            "s": "from algoliasearch.version import VERSION\nfrom platform import python_version\n\n\nclass UserAgent(object):\n    value = \"Algolia for Python ({}); Python ({})\".format(\n        VERSION, str(python_version())\n    )\n\n    @staticmethod\n    def get():\n        # type: () -\u003e str\n\n        return UserAgent.value\n\n    @staticmethod\n    def add(segment, version):\n        # type: (str, str) -\u003e None\n\n        UserAgent.value += \"; {} ({})\".format(segment, version)\n"
          }
        ],
        "depth": 1,
        "facts": {
          "funcs": [
            [
              "get",
              232
            ],
            [
              "add",
              324
            ]
          ],
          "imp": [
            [
              "",
              "str"
            ],
            [
              "",
              "python_version"
            ],
            [
              "algoliasearch.version",
              "VERSION"
            ],
            [
              "",
              "algoliasearch.version"
            ],
            [
              "",
              "platform"
            ],
            [
              "platform",
              "python_version"
            ]
          ],
          "mbr": [
            "UserAgent.value"
          ],
          "metrics": {
            "ast": {
              "call_count": 4,
              "max_depth": 11,
              "max_member_depth": 2,
              "member_count": 1,
              "node_count": 109,
              "op.add": 1,
              "op_density.add": 0.01
            },
            "binary": {
              "peak_region_bytes": 451,
              "peak_region_entropy": 4.68
            },
            "binds": {
              "count": 2
            },
            "comments": {
              "chars": 41,
              "count": 2,
              "lines": 2,
              "to_code_ratio": 0.11
            },
            "file": {
              "entropy": 4.68,
              "size": 451
            },
            "functions": {
              "avg_length_lines": 4,
              "avg_name_length": 3,
              "avg_param_name_length": 7,
              "avg_params": 1,
              "code_ratio": 0.4,
              "count": 3,
              "density": 10,
              "max_length_lines": 4,
              "max_params": 2,
              "min_length_lines": 4,
              "no_params_count": 1
            },
            "identifiers": {
              "all_lowercase_ratio": 0.86,
              "all_uppercase_ratio": 0.07,
              "avg_entropy": 2.54,
              "avg_length": 7.36,
              "count": 25,
              "high_entropy_count": 1,
              "high_entropy_ratio": 0.07,
              "length_stddev": 3.46,
              "max_length": 14,
              "min_length": 3,
              "reuse_ratio": 0.56,
              "unique": 14
            },
            "imports": {
              "count": 4,
              "stdlib_count": 1,
              "stdlib_ratio": 0.25,
              "third_party_count": 3,
              "third_party_ratio": 0.75
            },
            "source": {
              "class_count": 1,
              "function_count": 2
            },
            "strings": {
              "avg_entropy": 3.29,
              "avg_length": 22.5,
              "bytes": 45,
              "count": 2,
              "entropy_stddev": 0.78,
              "max_length": 36
            },
            "text": {
              "avg_line_length": 21.55,
              "char_entropy": 4.68,
              "empty_line_ratio": 0.3,
              "identifier_density": 1.25,
              "identifiers_to_functions_ratio": 7,
              "import_density": 20,
              "imports_to_functions_ratio": 2,
              "last_line_length": 63,
              "line_length_stddev": 19.17,
              "lines": 20,
              "max_line_length": 63,
              "max_whitespace_run": 1,
              "normalized_function_count": 0.45,
              "normalized_import_count": 0.89,
              "normalized_string_count": 0.45,
              "normalized_unique_identifiers": 3.24,
              "space_count": 97,
              "string_density": 0.1,
              "strings_to_functions_ratio": 1,
              "top_char": 116,
              "top_char_null": 0,
              "top_char_ratio": 0.06,
              "unique_chars": 49,
              "whitespace_ratio": 0.26
            }
          },
          "tgt": [
            "python_version",
            "str"
          ]
        },
        "id": 34,
        "mol": "Md(In₂)",
        "path": "algoliasearch-2.6.0-py2.py3-none-any.whl!!algoliasearch/user_agent.py",
        "pid": 0,
        "risk": 1,
        "sha": "688077aa533be77c58606397b5d84097381e01b0310904cc7cf30b7babb48619",
        "sid": 5274126998,
        "size": 451,
        "supp": [
          {
            "by": [
              {
                "id": "text",
                "spans": [
                  [
                    27,
                    7
                  ]
                ]
              }
            ],
            "crit": "notable",
            "id": "metadata/file/size::small-no-imports",
            "kind": "unless"
          }
        ],
        "traits": [
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports python_version from platform",
            "id": "metadata/import/python/platform/python_version::python_version",
            "spans": [
              [
                63,
                14
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports platform",
            "id": "metadata/import/python/platform::platform",
            "spans": [
              [
                47,
                8
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports VERSION from algoliasearch.version",
            "id": "metadata/import/python/algoliasearch/version/version::version",
            "spans": [
              [
                34,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports algoliasearch.version",
            "id": "metadata/import/python/algoliasearch/version::algoliasearch/version",
            "spans": [
              [
                5,
                0
              ]
            ]
          }
        ],
        "type": "python"
      }
    ],
    "v": 8
  }
}