{
  "ml": {
    "analyzed_at": "2026-11-13T08:16:46Z",
    "files": [
      {
        "lvl": -1,
        "prob": 0.61883533,
        "id": 0
      },
      {
        "lvl": -1,
        "id": 1
      },
      {
        "lvl": -1,
        "id": 2
      },
      {
        "lvl": -1,
        "id": 3
      },
      {
        "lvl": -1,
        "id": 4
      },
      {
        "lvl": -1,
        "id": 5
      },
      {
        "lvl": -1,
        "id": 6
      },
      {
        "lvl": -1,
        "id": 7
      },
      {
        "lvl": -1,
        "id": 8
      },
      {
        "lvl": -1,
        "id": 9
      },
      {
        "lvl": -1,
        "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,
        "id": 35
      },
      {
        "lvl": -1,
        "id": 36
      },
      {
        "lvl": -1,
        "id": 37
      },
      {
        "lvl": -1,
        "id": 38
      },
      {
        "lvl": -1,
        "id": 39
      },
      {
        "lvl": -1,
        "id": 40
      }
    ],
    "lvl": -1,
    "mods": [
      {
        "cls": 0
      }
    ],
    "prob": 0.61883533,
    "v": "7",
    "version": "v20.20"
  },
  "path": "time-image-1.0.1.zip",
  "raw": {
    "files": [
      {
        "depth": 0,
        "facts": {
          "metrics": {
            "archive": {
              "compressed_size": 93672,
              "compression.method_counts.deflate": 45,
              "compression.ratio": 0.3,
              "crc_collision_count": 2,
              "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": 45,
              "format.regular_count": 45,
              "hidden_file_count": 2,
              "homoglyph_filename_count": 0,
              "local_header_signature_count": 45,
              "max_filename_length": 55,
              "member_count": 45,
              "misplaced_executable_count": 0,
              "nested_archive_count": 0,
              "noise_file_count": 0,
              "path_traversal_count": 0,
              "rtlo_filename_count": 0,
              "script_count": 36,
              "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": 45,
              "timing.mtime_dominant_ratio": 1,
              "timing.mtime_spread_seconds": 0,
              "timing.mtime_unique_count": 1,
              "timing.mtime_unique_ratio": 0.02,
              "timing.sentinel_mtime_count": 0,
              "uncompressed_size": 311886,
              "unicode_filename_count": 0,
              "zip_bomb_ratio": 6.02
            },
            "binary": {
              "peak_region_bytes": 96256,
              "peak_region_entropy": 7.84
            },
            "file": {
              "entropy": 7.97,
              "size": 100382
            }
          }
        },
        "id": 0,
        "ident": {
          "name": {
            "value": "time-image",
            "source": "file.basename",
            "verified": false
          },
          "trust": "unsigned",
          "version": {
            "value": "1.0.1",
            "source": "file.basename",
            "verified": false
          }
        },
        "mol": "K₂(AmLi)H₈(Cm₅Cr₂Db₆F₁₂Os₈PoU)Md₇(Bk₃In₇NePa₄Pt₃)",
        "path": "time-image-1.0.1.zip",
        "risk": 32,
        "sha": "cfa970f921e5bb48fdf5b614a60c221c275b417d420b3570d3318346549ade5c",
        "size": 100382,
        "traits": [
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Archive contains at least ten members",
            "id": "metadata/archive/layout::archive-at-least-10-members"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "Shell path under .github or actions",
            "from": [
              {
                "file": 40
              }
            ],
            "id": "metadata/build/ci/github-actions::repository-github-script-path"
          },
          {
            "conf": 0.99,
            "crit": 3,
            "desc": "GitHub Actions workflow definition path",
            "from": [
              {
                "file": 1
              }
            ],
            "id": "metadata/build/ci/github-actions::workflow-definition-path"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "Action input references workflow secret",
            "id": "metadata/build/ci/secret::action-secret-input"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "Step environment references an Actions secret",
            "id": "metadata/build/ci/secret::step-environment-secret-reference"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "actions/checkout workflow step reference",
            "from": [
              {
                "file": 1
              }
            ],
            "id": "metadata/build/ci/step::actions-checkout-step"
          },
          {
            "conf": 0.88,
            "crit": 3,
            "desc": "Workflow action uses mutable main ref",
            "id": "metadata/build/ci/step::mutable-main-action-ref"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Workflow action uses mutable version tag",
            "id": "metadata/build/ci/step::mutable-version-action-ref"
          },
          {
            "conf": 0.72,
            "crit": 3,
            "desc": "Small Python source: 10+ trailing-space lines",
            "from": [
              {
                "file": 38
              }
            ],
            "id": "metadata/file/line::python-small-file-trailing-whitespace"
          },
          {
            "conf": 1.0,
            "crit": 3,
            "desc": "Basename is uppercase README.md",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "metadata/filename/identity::uppercase-readme-md-basename"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports hashlib",
            "from": [
              {
                "file": 28
              }
            ],
            "id": "metadata/import/python/hashlib::hashlib"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports os",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "metadata/import/python/os::os"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports Path from pathlib",
            "from": [
              {
                "file": 28
              }
            ],
            "id": "metadata/import/python/pathlib/path::path"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports pathlib",
            "from": [
              {
                "file": 28
              }
            ],
            "id": "metadata/import/python/pathlib::pathlib"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports platform",
            "from": [
              {
                "file": 28
              }
            ],
            "id": "metadata/import/python/platform::platform"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports shutil",
            "from": [
              {
                "file": 28
              }
            ],
            "id": "metadata/import/python/shutil::shutil"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports tempfile",
            "from": [
              {
                "file": 28
              }
            ],
            "id": "metadata/import/python/tempfile::tempfile"
          },
          {
            "conf": 0.94,
            "crit": 3,
            "desc": "Text mentions acting without notice or review",
            "from": [
              {
                "file": 6
              }
            ],
            "id": "metadata/lang/natural/phrasing/security::without-notice-or-review-wording"
          },
          {
            "conf": 1.0,
            "crit": 3,
            "desc": "Module is one triple-quoted Python literal",
            "from": [
              {
                "file": 5
              }
            ],
            "id": "metadata/lang/source/literal/string/shape::python-triple-quoted-module"
          },
          {
            "conf": 0.97,
            "crit": 3,
            "desc": "At least four Markdown-style heading lines",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "metadata/lang/source/syntax/markup/markdown::at-least-four-markdown-style-headings"
          },
          {
            "conf": 0.99,
            "crit": 3,
            "desc": "Declares Python project dependency list",
            "id": "metadata/package/dependencies/presence::python-project-dependency-list"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "pyproject.toml at the archive root",
            "id": "metadata/package/files/included::sdist-root-pyproject-toml"
          },
          {
            "atk": "T1195.002",
            "conf": 0.7,
            "crit": 3,
            "desc": "pyproject.toml with empty dependencies",
            "from": [
              {
                "file": 39
              }
            ],
            "id": "metadata/package/files/wheel-sdist::pyproject-empty-dependencies",
            "mbc": "F0004"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Checksum manifest or readChecksums label",
            "from": [
              {
                "file": 28
              }
            ],
            "id": "metadata/package/integrity::checksum-manifest-or-readchecksums-reference"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Checksum filename or compute_sha256 label",
            "from": [
              {
                "file": 28
              }
            ],
            "id": "metadata/package/integrity::sha256sums-checksums-or-compute-label"
          },
          {
            "conf": 0.92,
            "crit": 3,
            "desc": "Hugging Face Hub model download call",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "micro-behaviors/communications/http/client/library::huggingface-hub-download-call"
          },
          {
            "atk": "T1071.001",
            "conf": 0.98,
            "crit": 3,
            "desc": "Imports the Hugging Face Hub Python client",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "micro-behaviors/communications/http/services/huggingface::huggingface-hub-python-client-import"
          },
          {
            "conf": 0.85,
            "crit": 3,
            "desc": "URL literal extended by concatenation",
            "from": [
              {
                "file": 28
              }
            ],
            "id": "micro-behaviors/communications/url/construction/template::python-url-literal-concatenation",
            "mbc": "C0002"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Python comment contains a URL",
            "from": [
              {
                "file": 7
              }
            ],
            "id": "micro-behaviors/communications/url/reference::python-comment-url-reference"
          },
          {
            "conf": 0.75,
            "crit": 3,
            "desc": "HTTP URL string literal",
            "from": [
              {
                "file": 28
              }
            ],
            "id": "micro-behaviors/communications/url/scheme::http-url-literal"
          },
          {
            "conf": 0.88,
            "crit": 3,
            "desc": "Performs Python SHA-256 operation",
            "from": [
              {
                "file": 28
              }
            ],
            "id": "micro-behaviors/crypto/hash/digest/sha2::python-sha256-operation",
            "mbc": "C0029"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Shell SHA-256 checksum command",
            "from": [
              {
                "file": 28
              }
            ],
            "id": "micro-behaviors/crypto/hash/digest/sha2::shell-sha256-checksum-command"
          },
          {
            "conf": 0.86,
            "crit": 3,
            "desc": "MD5 or SHA digest API call",
            "from": [
              {
                "file": 28
              }
            ],
            "id": "micro-behaviors/crypto/hash/digest/unnamed-algorithm::source-digest-call"
          },
          {
            "conf": 0.5,
            "crit": 3,
            "desc": "Python len result compared with minimum",
            "from": [
              {
                "file": 38
              }
            ],
            "id": "micro-behaviors/data/collection/measure::python-min-length-check"
          },
          {
            "conf": 0.3,
            "crit": 3,
            "desc": "Python not-in membership check",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "micro-behaviors/data/collection/membership::not-in-membership-check"
          },
          {
            "conf": 0.5,
            "crit": 3,
            "desc": "Handles a missing-module ImportError",
            "from": [
              {
                "file": 30
              }
            ],
            "id": "micro-behaviors/data/control-flow/error-handling/catch::python-import-error-handler",
            "mbc": "C0027"
          },
          {
            "conf": 0.4,
            "crit": 3,
            "desc": "Python for-range-over-len(X) loop",
            "id": "micro-behaviors/data/control-flow/loop/counted::python-for-range-len-loop"
          },
          {
            "conf": 0.84,
            "crit": 3,
            "desc": "Module assigns a no-arg call",
            "from": [
              {
                "file": 7
              }
            ],
            "id": "micro-behaviors/data/control-flow/module-exec::python-column0-noarg-call-assignment"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Imports a Python raster imaging library",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "micro-behaviors/data/format/media/raster::python-imaging-library-import"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Raster image read/decode call text",
            "from": [
              {
                "file": 9
              }
            ],
            "id": "micro-behaviors/data/format/media/raster::raster-image-read-decode-call"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "Module built on the numeric Python stack",
            "from": [
              {
                "file": 7
              }
            ],
            "id": "micro-behaviors/data/manipulation::numeric-computation-library",
            "uses": [
              41,
              50,
              51
            ]
          },
          {
            "conf": 0.85,
            "crit": 3,
            "desc": "Dense NumPy array construction and reduction",
            "from": [
              {
                "file": 7
              }
            ],
            "id": "micro-behaviors/data/manipulation::numpy-array-operations",
            "uses": [
              42,
              43,
              44,
              45,
              46,
              47,
              48,
              49
            ]
          },
          {
            "conf": 0.85,
            "crit": 3,
            "desc": "NumPy array operation (arange)",
            "from": [
              {
                "file": 10
              }
            ],
            "id": "micro-behaviors/data/manipulation::numpy-array-operations--arange"
          },
          {
            "conf": 0.85,
            "crit": 3,
            "desc": "NumPy array operation (array)",
            "from": [
              {
                "file": 9
              }
            ],
            "id": "micro-behaviors/data/manipulation::numpy-array-operations--array"
          },
          {
            "conf": 0.85,
            "crit": 3,
            "desc": "NumPy array operation (maximum)",
            "from": [
              {
                "file": 10
              }
            ],
            "id": "micro-behaviors/data/manipulation::numpy-array-operations--maximum"
          },
          {
            "conf": 0.85,
            "crit": 3,
            "desc": "NumPy array operation (mean)",
            "from": [
              {
                "file": 19
              }
            ],
            "id": "micro-behaviors/data/manipulation::numpy-array-operations--mean"
          },
          {
            "conf": 0.85,
            "crit": 3,
            "desc": "NumPy array operation (ndarray)",
            "from": [
              {
                "file": 7
              }
            ],
            "id": "micro-behaviors/data/manipulation::numpy-array-operations--ndarray"
          },
          {
            "conf": 0.85,
            "crit": 3,
            "desc": "NumPy array operation (ones)",
            "from": [
              {
                "file": 9
              }
            ],
            "id": "micro-behaviors/data/manipulation::numpy-array-operations--ones"
          },
          {
            "conf": 0.85,
            "crit": 3,
            "desc": "NumPy array operation (sum)",
            "from": [
              {
                "file": 8
              }
            ],
            "id": "micro-behaviors/data/manipulation::numpy-array-operations--sum"
          },
          {
            "conf": 0.85,
            "crit": 3,
            "desc": "NumPy array operation (zeros)",
            "from": [
              {
                "file": 7
              }
            ],
            "id": "micro-behaviors/data/manipulation::numpy-array-operations--zeros"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Imports the NumPy array library",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "micro-behaviors/data/manipulation::numpy-import"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Imports a SciPy scientific module",
            "from": [
              {
                "file": 9
              }
            ],
            "id": "micro-behaviors/data/manipulation::scipy-import"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Calls a Python pretrained-resource loader",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "micro-behaviors/data/parse/model::from-pretrained-call"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Loads a PyTorch checkpoint",
            "from": [
              {
                "file": 9
              }
            ],
            "id": "micro-behaviors/data/serialize/unsafe::torch-load",
            "mbc": "C0038"
          },
          {
            "conf": 0.88,
            "crit": 3,
            "desc": "Assigns or defaults bound to 1000-1024",
            "from": [
              {
                "file": 29
              }
            ],
            "id": "micro-behaviors/data/string/assembly::variable-bound-1000-to-1024"
          },
          {
            "conf": 0.88,
            "crit": 3,
            "desc": "Assigns variable to 257-999 numeric bound",
            "from": [
              {
                "file": 7
              }
            ],
            "id": "micro-behaviors/data/string/assembly::variable-bound-257-to-999"
          },
          {
            "conf": 0.5,
            "crit": 3,
            "desc": "Joins values with a dot separator",
            "from": [
              {
                "file": 19
              }
            ],
            "id": "micro-behaviors/data/string/join::dot-separator-join"
          },
          {
            "conf": 0.96,
            "crit": 3,
            "desc": "Python rmtree of a joined path",
            "from": [
              {
                "file": 28
              }
            ],
            "id": "micro-behaviors/fs/delete/directory::python-rmtree-joined-path"
          },
          {
            "conf": 0.8,
            "crit": 3,
            "desc": "Calls rmtree() to delete a directory tree",
            "from": [
              {
                "file": 28
              }
            ],
            "id": "micro-behaviors/fs/delete/directory::shutil-rmtree",
            "mbc": "C0047"
          },
          {
            "conf": 0.8,
            "crit": 3,
            "desc": "os.remove or os.unlink call-text reference",
            "from": [
              {
                "file": 28
              }
            ],
            "id": "micro-behaviors/fs/delete/file/library::py-remove"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Calls file remove, unlink, or DeleteFile",
            "from": [
              {
                "file": 28
              }
            ],
            "id": "micro-behaviors/fs/delete/path::script-file-unlink-call"
          },
          {
            "conf": 0.98,
            "crit": 3,
            "desc": "Creates a directory after testing its absence",
            "id": "micro-behaviors/fs/directory/create::python-create-missing-directory"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "Creates or updates file through Path.touch",
            "from": [
              {
                "file": 28
              }
            ],
            "id": "micro-behaviors/fs/file/create::python-path-touch"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "Creates symbolic link via Python symlink call",
            "from": [
              {
                "file": 28
              }
            ],
            "id": "micro-behaviors/fs/link::python-os-symlink-call"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Python joins dot-prefixed path",
            "from": [
              {
                "file": 28
              }
            ],
            "id": "micro-behaviors/fs/path-ops::python-dot-prefixed-joined-path"
          },
          {
            "conf": 0.88,
            "crit": 3,
            "desc": "Checkpoint extension after model context",
            "from": [
              {
                "file": 9
              }
            ],
            "id": "micro-behaviors/fs/path/data-file::checkpoint-extension-after-model-context"
          },
          {
            "conf": 0.88,
            "crit": 3,
            "desc": "Checkpoint extension before model context",
            "from": [
              {
                "file": 22
              }
            ],
            "id": "micro-behaviors/fs/path/data-file::checkpoint-extension-before-model-context"
          },
          {
            "conf": 0.88,
            "crit": 3,
            "desc": "Model loader or model-adjacent filename suffix",
            "from": [
              {
                "file": 4,
                "line": 248,
                "off": 11128
              },
              {
                "file": 7,
                "line": 232,
                "off": 7374
              },
              {
                "file": 12,
                "line": 36,
                "off": 1424
              }
            ],
            "id": "micro-behaviors/fs/path/data-file::model-extension-reference",
            "uses": [
              251
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "SafeTensors filename suffix literal",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "micro-behaviors/fs/path/data-file::safetensors-file-suffix"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Builds path with hidden dot prefix",
            "from": [
              {
                "file": 28
              }
            ],
            "id": "micro-behaviors/fs/path/hidden::python-path-join-dot-prefix"
          },
          {
            "conf": 0.8,
            "crit": 3,
            "desc": "Windows user-profile folder path reference",
            "from": [
              {
                "file": 28
              }
            ],
            "id": "micro-behaviors/fs/path/user-directory::windows-user-folder-path-reference"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "File content write capability",
            "from": [
              {
                "file": 1
              },
              {
                "file": 40,
                "off": 57
              }
            ],
            "id": "micro-behaviors/fs/write/content::file-write-capability",
            "uses": [
              72,
              73
            ]
          },
          {
            "conf": 0.86,
            "crit": 3,
            "desc": "Shell echo redirects output to file",
            "from": [
              {
                "file": 40
              }
            ],
            "id": "micro-behaviors/fs/write/file/redirect::shell-echo-file-write"
          },
          {
            "conf": 0.86,
            "crit": 3,
            "desc": "Shell command writes output to a file",
            "from": [
              {
                "file": 1
              },
              {
                "file": 40,
                "off": 57
              }
            ],
            "id": "micro-behaviors/fs/write/file/redirect::shell-file-write-command",
            "uses": [
              72
            ]
          },
          {
            "conf": 0.75,
            "crit": 3,
            "desc": "Python getattr dynamic attribute lookup",
            "from": [
              {
                "file": 28
              }
            ],
            "id": "micro-behaviors/metaprogramming/reflection/inspect/member::python-getattr-call"
          },
          {
            "conf": 0.5,
            "crit": 3,
            "desc": "USERPROFILE path environment variable",
            "from": [
              {
                "file": 28
              }
            ],
            "id": "micro-behaviors/os/env/path::userprofile-var"
          },
          {
            "conf": 0.92,
            "crit": 3,
            "desc": "Python reads an environment variable",
            "from": [
              {
                "file": 19
              }
            ],
            "id": "micro-behaviors/os/env/read/variable::python-os-getenv-call"
          },
          {
            "conf": 0.85,
            "crit": 3,
            "desc": "Shell expands secret-named variable",
            "from": [
              {
                "file": 40
              }
            ],
            "id": "micro-behaviors/os/env/secret-name::shell-secret-env-dollar-ref"
          },
          {
            "conf": 0.88,
            "crit": 3,
            "desc": "Python tests whether env vars are set",
            "from": [
              {
                "file": 19
              }
            ],
            "id": "micro-behaviors/os/env/test::python-env-presence-check"
          },
          {
            "atk": "T1082",
            "conf": 0.75,
            "crit": 3,
            "desc": "Python writes environment variable",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "micro-behaviors/os/env/write::os-environ-assignment",
            "mbc": "E1082"
          },
          {
            "atk": "T1082",
            "conf": 0.75,
            "crit": 3,
            "desc": "Python binds a value into os.environ",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "micro-behaviors/os/env/write::os-environ-bind",
            "mbc": "E1082"
          },
          {
            "conf": 0.86,
            "crit": 3,
            "desc": "Modifies module search path (sys.path)",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "micro-behaviors/os/module/search-path::sys-path-mutate"
          },
          {
            "conf": 0.66,
            "crit": 3,
            "desc": "Temp directory string lookup",
            "from": [
              {
                "file": 28
              }
            ],
            "id": "micro-behaviors/os/sysinfo/directories::python-gettempdir-reference"
          },
          {
            "conf": 0.75,
            "crit": 3,
            "desc": "Gets temp directory path",
            "from": [
              {
                "file": 28
              }
            ],
            "id": "micro-behaviors/os/sysinfo/directories::python-gettempdir-symbol"
          },
          {
            "atk": "T1082",
            "conf": 0.82,
            "crit": 3,
            "desc": "Python branches on OS platform",
            "from": [
              {
                "file": 28
              }
            ],
            "id": "micro-behaviors/os/sysinfo/platform/branch::python-platform-branch"
          },
          {
            "conf": 0.7,
            "crit": 3,
            "desc": "Queries the OS with platform.system()",
            "from": [
              {
                "file": 28
              }
            ],
            "id": "micro-behaviors/os/sysinfo/platform/host::platform-system"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "String literal names a .pth file",
            "from": [
              {
                "file": 9
              }
            ],
            "id": "micro-behaviors/process/interpreter/python::pth-filename-string-literal"
          },
          {
            "conf": 0.8,
            "crit": 3,
            "desc": "Download status message",
            "from": [
              {
                "file": 28
              }
            ],
            "id": "micro-behaviors/ui/keywords::download-status-msg"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "GitHub service URL reference",
            "from": [
              {
                "file": 2
              }
            ],
            "id": "well-known/app/development/code-forge/github::github-service-url"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "Creates an ONNX Runtime InferenceSession",
            "from": [
              {
                "file": 8
              }
            ],
            "id": "well-known/lib/ai/onnxruntime::inference-session-create"
          },
          {
            "conf": 1.0,
            "crit": 2,
            "desc": "File uses a Python artifact extension",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "metadata/file/extension/identity::py"
          },
          {
            "conf": 1.0,
            "crit": 2,
            "desc": "Basename is pyproject.toml",
            "from": [
              {
                "file": 39
              }
            ],
            "id": "metadata/filename/identity::pyproject-toml-basename"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports literal_eval from ast",
            "from": [
              {
                "file": 28
              }
            ],
            "id": "metadata/import/python/ast/literal_eval::literal_eval"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ast",
            "from": [
              {
                "file": 28
              }
            ],
            "id": "metadata/import/python/ast::ast"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports OrderedDict from collections",
            "from": [
              {
                "file": 17
              }
            ],
            "id": "metadata/import/python/collections/ordereddict::ordereddict"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports collections",
            "from": [
              {
                "file": 17
              }
            ],
            "id": "metadata/import/python/collections::collections"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports optimized_attention from comfy.ldm.modules.attention",
            "from": [
              {
                "file": 30
              }
            ],
            "id": "metadata/import/python/comfy/ldm/modules/attention/optimized_attention::optimized_attention"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports comfy.ldm.modules.attention",
            "from": [
              {
                "file": 30
              }
            ],
            "id": "metadata/import/python/comfy/ldm/modules/attention::comfy/ldm/modules/attention"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports comfy.model_management as mm",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "metadata/import/python/comfy/model_management::mm"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports comfy.ops",
            "from": [
              {
                "file": 30
              }
            ],
            "id": "metadata/import/python/comfy/ops::comfy/ops"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports load_torch_file from comfy.utils",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "metadata/import/python/comfy/utils/load_torch_file::load_torch_file"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ProgressBar from comfy.utils",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "metadata/import/python/comfy/utils/progressbar::progressbar"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports comfy.utils",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "metadata/import/python/comfy/utils::comfy/utils"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports nullcontext from contextlib",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "metadata/import/python/contextlib/nullcontext::nullcontext"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports suppress from contextlib",
            "from": [
              {
                "file": 28
              }
            ],
            "id": "metadata/import/python/contextlib/suppress::suppress"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports contextlib",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "metadata/import/python/contextlib::contextlib"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports DwposeDetector from custom_controlnet_aux.dwpose",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "metadata/import/python/custom_controlnet_aux/dwpose/dwposedetector::dwposedetector"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports custom_controlnet_aux.dwpose",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "metadata/import/python/custom_controlnet_aux/dwpose::custom_controlnet_aux/dwpose"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports OpenposeDetector from custom_controlnet_aux.open_pose",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "metadata/import/python/custom_controlnet_aux/open_pose/openposedetector::openposedetector"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports custom_controlnet_aux.open_pose",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "metadata/import/python/custom_controlnet_aux/open_pose::custom_controlnet_aux/open_pose"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports common_input_validate from custom_controlnet_aux.util",
            "from": [
              {
                "file": 7
              }
            ],
            "id": "metadata/import/python/custom_controlnet_aux/util/common_input_validate::common_input_validate"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports custom_hf_download from custom_controlnet_aux.util",
            "from": [
              {
                "file": 7
              }
            ],
            "id": "metadata/import/python/custom_controlnet_aux/util/custom_hf_download::custom_hf_download"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports HF_MODEL_NAME from custom_controlnet_aux.util",
            "from": [
              {
                "file": 22
              }
            ],
            "id": "metadata/import/python/custom_controlnet_aux/util/hf_model_name::hf_model_name"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports HWC3 from custom_controlnet_aux.util",
            "from": [
              {
                "file": 7
              }
            ],
            "id": "metadata/import/python/custom_controlnet_aux/util/hwc3::hwc3"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports resize_image_with_pad from custom_controlnet_aux.util",
            "from": [
              {
                "file": 7
              }
            ],
            "id": "metadata/import/python/custom_controlnet_aux/util/resize_image_with_pad::resize_image_with_pad"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports custom_controlnet_aux.util",
            "from": [
              {
                "file": 7
              }
            ],
            "id": "metadata/import/python/custom_controlnet_aux/util::custom_controlnet_aux/util"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports cv2",
            "from": [
              {
                "file": 7
              }
            ],
            "id": "metadata/import/python/cv2::cv2"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports folder_paths",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "metadata/import/python/folder_paths::folder_paths"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports partial from functools",
            "from": [
              {
                "file": 29
              }
            ],
            "id": "metadata/import/python/functools/partial::partial"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports functools",
            "from": [
              {
                "file": 29
              }
            ],
            "id": "metadata/import/python/functools::functools"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports constants from huggingface_hub",
            "from": [
              {
                "file": 28
              }
            ],
            "id": "metadata/import/python/huggingface_hub/constants::constants"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports hf_hub_download from huggingface_hub",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "metadata/import/python/huggingface_hub/hf_hub_download::hf_hub_download"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports huggingface_hub",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "metadata/import/python/huggingface_hub::huggingface_hub"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports json",
            "from": [
              {
                "file": 7
              }
            ],
            "id": "metadata/import/python/json::json"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports logging",
            "from": [
              {
                "file": 15
              }
            ],
            "id": "metadata/import/python/logging::logging"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports math",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "metadata/import/python/math::math"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports matplotlib.pyplot as plt",
            "from": [
              {
                "file": 9
              }
            ],
            "id": "metadata/import/python/matplotlib/pyplot::plt"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports matplotlib",
            "from": [
              {
                "file": 9
              }
            ],
            "id": "metadata/import/python/matplotlib::matplotlib"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports numpy as np",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "metadata/import/python/numpy::np"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports onnxruntime as ort",
            "from": [
              {
                "file": 8
              }
            ],
            "id": "metadata/import/python/onnxruntime::ort"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports Image from PIL",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "metadata/import/python/pil/image::image"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports PIL",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "metadata/import/python/pil::pil"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports random",
            "from": [
              {
                "file": 28
              }
            ],
            "id": "metadata/import/python/random::random"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports .animalpose.AnimalPoseImage from .animalpose",
            "from": [
              {
                "file": 7
              }
            ],
            "id": "metadata/import/python/relative/1/animalpose/animalposeimage::animalposeimage"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports .animalpose",
            "from": [
              {
                "file": 7
              }
            ],
            "id": "metadata/import/python/relative/1/animalpose::relative/1/animalpose"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports .attention.Attention from .attention",
            "from": [
              {
                "file": 31
              }
            ],
            "id": "metadata/import/python/relative/1/attention/attention::attention"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports .attention.MemEffAttention from .attention",
            "from": [],
            "id": "metadata/import/python/relative/1/attention/memeffattention::memeffattention"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports .attention",
            "from": [],
            "id": "metadata/import/python/relative/1/attention::relative/1/attention"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports .block.NestedTensorBlock from .block",
            "from": [],
            "id": "metadata/import/python/relative/1/block/nestedtensorblock::nestedtensorblock"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports .block",
            "from": [],
            "id": "metadata/import/python/relative/1/block::relative/1/block"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports .body.Body from .body",
            "from": [
              {
                "file": 7
              }
            ],
            "id": "metadata/import/python/relative/1/body/body::body"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports .body.BodyResult from .body",
            "from": [
              {
                "file": 7
              }
            ],
            "id": "metadata/import/python/relative/1/body/bodyresult::bodyresult"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports .body.Keypoint from .body",
            "from": [
              {
                "file": 7
              }
            ],
            "id": "metadata/import/python/relative/1/body/keypoint::keypoint"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports .body",
            "from": [
              {
                "file": 7
              }
            ],
            "id": "metadata/import/python/relative/1/body::relative/1/body"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports .depth_anything_v2.dpt.DepthAnythingV2 from .depth_anything_v2.dpt",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "metadata/import/python/relative/1/depth_anything_v2/dpt/depthanythingv2::depthanythingv2"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports .depth_anything_v2.dpt",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "metadata/import/python/relative/1/depth_anything_v2/dpt::relative/1/depth_anything_v2/dpt"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports .dinov2.DINOv2 from .dinov2",
            "from": [
              {
                "file": 37
              }
            ],
            "id": "metadata/import/python/relative/1/dinov2/dinov2::dinov2"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports .dinov2",
            "from": [
              {
                "file": 37
              }
            ],
            "id": "metadata/import/python/relative/1/dinov2::relative/1/dinov2"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports .dinov2_layers.MemEffAttention from .dinov2_layers",
            "from": [
              {
                "file": 29
              }
            ],
            "id": "metadata/import/python/relative/1/dinov2_layers/memeffattention::memeffattention"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports .dinov2_layers.Mlp from .dinov2_layers",
            "from": [
              {
                "file": 29
              }
            ],
            "id": "metadata/import/python/relative/1/dinov2_layers/mlp::mlp"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports .dinov2_layers.NestedTensorBlock from .dinov2_layers as Block",
            "from": [
              {
                "file": 29
              }
            ],
            "id": "metadata/import/python/relative/1/dinov2_layers/nestedtensorblock::Block"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports .dinov2_layers.PatchEmbed from .dinov2_layers",
            "from": [
              {
                "file": 29
              }
            ],
            "id": "metadata/import/python/relative/1/dinov2_layers/patchembed::patchembed"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports .dinov2_layers.SwiGLUFFNFused from .dinov2_layers",
            "from": [
              {
                "file": 29
              }
            ],
            "id": "metadata/import/python/relative/1/dinov2_layers/swigluffnfused::swigluffnfused"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports .dinov2_layers",
            "from": [
              {
                "file": 29
              }
            ],
            "id": "metadata/import/python/relative/1/dinov2_layers::relative/1/dinov2_layers"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports .drop_path.DropPath from .drop_path",
            "from": [
              {
                "file": 31
              }
            ],
            "id": "metadata/import/python/relative/1/drop_path/droppath::droppath"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports .drop_path",
            "from": [
              {
                "file": 31
              }
            ],
            "id": "metadata/import/python/relative/1/drop_path::relative/1/drop_path"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports .dw_onnx.cv_ox_det.inference_detector from .dw_onnx.cv_ox_det as inference_onnx_yolox",
            "from": [
              {
                "file": 8
              }
            ],
            "id": "metadata/import/python/relative/1/dw_onnx/cv_ox_det/inference_detector::inference_onnx_yolox"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports .dw_onnx.cv_ox_det",
            "from": [
              {
                "file": 8
              }
            ],
            "id": "metadata/import/python/relative/1/dw_onnx/cv_ox_det::relative/1/dw_onnx/cv_ox_det"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports .dw_onnx.cv_ox_pose.inference_pose from .dw_onnx.cv_ox_pose as inference_onnx_pose",
            "from": [
              {
                "file": 8
              }
            ],
            "id": "metadata/import/python/relative/1/dw_onnx/cv_ox_pose/inference_pose::inference_onnx_pose"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports .dw_onnx.cv_ox_pose",
            "from": [
              {
                "file": 8
              }
            ],
            "id": "metadata/import/python/relative/1/dw_onnx/cv_ox_pose::relative/1/dw_onnx/cv_ox_pose"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports .dw_onnx.cv_ox_yolo_nas.inference_detector from .dw_onnx.cv_ox_yolo_nas as inference_onnx_yolo_nas",
            "from": [
              {
                "file": 8
              }
            ],
            "id": "metadata/import/python/relative/1/dw_onnx/cv_ox_yolo_nas/inference_detector::inference_onnx_yolo_nas"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports .dw_onnx.cv_ox_yolo_nas",
            "from": [
              {
                "file": 8
              }
            ],
            "id": "metadata/import/python/relative/1/dw_onnx/cv_ox_yolo_nas::relative/1/dw_onnx/cv_ox_yolo_nas"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports .dw_torchscript.jit_det.inference_detector from .dw_torchscript.jit_det as inference_jit_yolox",
            "from": [
              {
                "file": 8
              }
            ],
            "id": "metadata/import/python/relative/1/dw_torchscript/jit_det/inference_detector::inference_jit_yolox"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports .dw_torchscript.jit_det",
            "from": [
              {
                "file": 8
              }
            ],
            "id": "metadata/import/python/relative/1/dw_torchscript/jit_det::relative/1/dw_torchscript/jit_det"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports .dw_torchscript.jit_pose.inference_pose from .dw_torchscript.jit_pose as inference_jit_pose",
            "from": [
              {
                "file": 8
              }
            ],
            "id": "metadata/import/python/relative/1/dw_torchscript/jit_pose/inference_pose::inference_jit_pose"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports .dw_torchscript.jit_pose",
            "from": [
              {
                "file": 8
              }
            ],
            "id": "metadata/import/python/relative/1/dw_torchscript/jit_pose::relative/1/dw_torchscript/jit_pose"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports .face.Face from .face",
            "from": [
              {
                "file": 7
              }
            ],
            "id": "metadata/import/python/relative/1/face/face::face"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports .face",
            "from": [
              {
                "file": 7
              }
            ],
            "id": "metadata/import/python/relative/1/face::relative/1/face"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports .hand.Hand from .hand",
            "from": [
              {
                "file": 7
              }
            ],
            "id": "metadata/import/python/relative/1/hand/hand::hand"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports .hand",
            "from": [
              {
                "file": 7
              }
            ],
            "id": "metadata/import/python/relative/1/hand::relative/1/hand"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports .layer_scale.LayerScale from .layer_scale",
            "from": [
              {
                "file": 31
              }
            ],
            "id": "metadata/import/python/relative/1/layer_scale/layerscale::layerscale"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports .layer_scale",
            "from": [
              {
                "file": 31
              }
            ],
            "id": "metadata/import/python/relative/1/layer_scale::relative/1/layer_scale"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports .mlp.Mlp from .mlp",
            "from": [],
            "id": "metadata/import/python/relative/1/mlp/mlp::mlp"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports .mlp",
            "from": [],
            "id": "metadata/import/python/relative/1/mlp::relative/1/mlp"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports .model.bodypose_model from .model",
            "from": [
              {
                "file": 9
              }
            ],
            "id": "metadata/import/python/relative/1/model/bodypose_model::bodypose_model"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports .model.handpose_model from .model",
            "from": [
              {
                "file": 16
              }
            ],
            "id": "metadata/import/python/relative/1/model/handpose_model::handpose_model"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports .model",
            "from": [
              {
                "file": 9
              }
            ],
            "id": "metadata/import/python/relative/1/model::relative/1/model"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports .patch_embed.PatchEmbed from .patch_embed",
            "from": [],
            "id": "metadata/import/python/relative/1/patch_embed/patchembed::patchembed"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports .patch_embed",
            "from": [],
            "id": "metadata/import/python/relative/1/patch_embed::relative/1/patch_embed"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports .swiglu_ffn.SwiGLUFFN from .swiglu_ffn",
            "from": [],
            "id": "metadata/import/python/relative/1/swiglu_ffn/swigluffn::swigluffn"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports .swiglu_ffn.SwiGLUFFNFused from .swiglu_ffn",
            "from": [],
            "id": "metadata/import/python/relative/1/swiglu_ffn/swigluffnfused::swigluffnfused"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports .swiglu_ffn",
            "from": [],
            "id": "metadata/import/python/relative/1/swiglu_ffn::relative/1/swiglu_ffn"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports .types.AnimalPoseResult from .types",
            "from": [
              {
                "file": 7
              }
            ],
            "id": "metadata/import/python/relative/1/types/animalposeresult::animalposeresult"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports .types.BodyResult from .types",
            "from": [
              {
                "file": 8
              }
            ],
            "id": "metadata/import/python/relative/1/types/bodyresult::bodyresult"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports .types.FaceResult from .types",
            "from": [
              {
                "file": 7
              }
            ],
            "id": "metadata/import/python/relative/1/types/faceresult::faceresult"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports .types.HandResult from .types",
            "from": [
              {
                "file": 7
              }
            ],
            "id": "metadata/import/python/relative/1/types/handresult::handresult"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports .types.Keypoint from .types",
            "from": [
              {
                "file": 8
              }
            ],
            "id": "metadata/import/python/relative/1/types/keypoint::keypoint"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports .types.PoseResult from .types",
            "from": [
              {
                "file": 7
              }
            ],
            "id": "metadata/import/python/relative/1/types/poseresult::poseresult"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports .types",
            "from": [
              {
                "file": 7
              }
            ],
            "id": "metadata/import/python/relative/1/types::relative/1/types"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports .util.blocks._make_scratch from .util.blocks",
            "from": [
              {
                "file": 37
              }
            ],
            "id": "metadata/import/python/relative/1/util/blocks/_make_scratch::_make_scratch"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports .util.blocks.FeatureFusionBlock from .util.blocks",
            "from": [
              {
                "file": 37
              }
            ],
            "id": "metadata/import/python/relative/1/util/blocks/featurefusionblock::featurefusionblock"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports .util.blocks",
            "from": [
              {
                "file": 37
              }
            ],
            "id": "metadata/import/python/relative/1/util/blocks::relative/1/util/blocks"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports .util.get_model_type from .util",
            "from": [
              {
                "file": 8
              }
            ],
            "id": "metadata/import/python/relative/1/util/get_model_type::get_model_type"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports .util.get_ort_providers from .util",
            "from": [
              {
                "file": 8
              }
            ],
            "id": "metadata/import/python/relative/1/util/get_ort_providers::get_ort_providers"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports .util.guess_onnx_input_shape_dtype from .util",
            "from": [
              {
                "file": 8
              }
            ],
            "id": "metadata/import/python/relative/1/util/guess_onnx_input_shape_dtype::guess_onnx_input_shape_dtype"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports .util.is_model_torchscript from .util",
            "from": [
              {
                "file": 8
              }
            ],
            "id": "metadata/import/python/relative/1/util/is_model_torchscript::is_model_torchscript"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports .util",
            "from": [
              {
                "file": 8
              }
            ],
            "id": "metadata/import/python/relative/1/util::relative/1/util"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports .util from .",
            "from": [
              {
                "file": 7
              }
            ],
            "id": "metadata/import/python/relative/1/util::util"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports .wholebody.Wholebody from .wholebody",
            "from": [
              {
                "file": 7
              }
            ],
            "id": "metadata/import/python/relative/1/wholebody/wholebody::wholebody"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports .wholebody",
            "from": [
              {
                "file": 7
              }
            ],
            "id": "metadata/import/python/relative/1/wholebody::relative/1/wholebody"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports gaussian_filter from scipy.ndimage.filters",
            "from": [
              {
                "file": 9
              }
            ],
            "id": "metadata/import/python/scipy/ndimage/filters/gaussian_filter::gaussian_filter"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports scipy.ndimage.filters",
            "from": [
              {
                "file": 9
              }
            ],
            "id": "metadata/import/python/scipy/ndimage/filters::scipy/ndimage/filters"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports label from skimage.measure",
            "from": [
              {
                "file": 16
              }
            ],
            "id": "metadata/import/python/skimage/measure/label::label"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports skimage.measure",
            "from": [
              {
                "file": 16
              }
            ],
            "id": "metadata/import/python/skimage/measure::skimage/measure"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports sys",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "metadata/import/python/sys::sys"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports time",
            "from": [
              {
                "file": 9
              }
            ],
            "id": "metadata/import/python/time::time"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports default_timer from timeit",
            "from": [
              {
                "file": 8
              }
            ],
            "id": "metadata/import/python/timeit/default_timer::default_timer"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports timeit",
            "from": [
              {
                "file": 8
              }
            ],
            "id": "metadata/import/python/timeit::timeit"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports Conv2d from torch.nn",
            "from": [
              {
                "file": 15
              }
            ],
            "id": "metadata/import/python/torch/nn/conv2d::conv2d"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports torch.nn.functional as F",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "metadata/import/python/torch/nn/functional::F"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports init from torch.nn",
            "from": [
              {
                "file": 15
              }
            ],
            "id": "metadata/import/python/torch/nn/init::init"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports MaxPool2d from torch.nn",
            "from": [
              {
                "file": 15
              }
            ],
            "id": "metadata/import/python/torch/nn/maxpool2d::maxpool2d"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports Module from torch.nn",
            "from": [
              {
                "file": 15
              }
            ],
            "id": "metadata/import/python/torch/nn/module::module"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ReLU from torch.nn",
            "from": [
              {
                "file": 15
              }
            ],
            "id": "metadata/import/python/torch/nn/relu::relu"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports torch.nn as nn",
            "from": [
              {
                "file": 17
              }
            ],
            "id": "metadata/import/python/torch/nn::nn"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports torch.nn",
            "from": [
              {
                "file": 15
              }
            ],
            "id": "metadata/import/python/torch/nn::torch/nn"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports Tensor from torch",
            "from": [
              {
                "file": 30
              }
            ],
            "id": "metadata/import/python/torch/tensor::tensor"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports load_url from torch.utils.model_zoo",
            "from": [
              {
                "file": 28
              }
            ],
            "id": "metadata/import/python/torch/utils/model_zoo/load_url::load_url"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports torch.utils.model_zoo",
            "from": [
              {
                "file": 28
              }
            ],
            "id": "metadata/import/python/torch/utils/model_zoo::torch/utils/model_zoo"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports torch",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "metadata/import/python/torch::torch"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ToPILImage from torchvision.transforms",
            "from": [
              {
                "file": 15
              }
            ],
            "id": "metadata/import/python/torchvision/transforms/topilimage::topilimage"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ToTensor from torchvision.transforms",
            "from": [
              {
                "file": 15
              }
            ],
            "id": "metadata/import/python/torchvision/transforms/totensor::totensor"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports torchvision.transforms",
            "from": [
              {
                "file": 15
              }
            ],
            "id": "metadata/import/python/torchvision/transforms::torchvision/transforms"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports transforms from torchvision",
            "from": [
              {
                "file": 9
              }
            ],
            "id": "metadata/import/python/torchvision/transforms::transforms"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports torchvision",
            "from": [
              {
                "file": 9
              }
            ],
            "id": "metadata/import/python/torchvision::torchvision"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports Any from typing",
            "from": [
              {
                "file": 31
              }
            ],
            "id": "metadata/import/python/typing/any::any"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports Callable from typing",
            "from": [
              {
                "file": 7
              }
            ],
            "id": "metadata/import/python/typing/callable::callable"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports Dict from typing",
            "from": [
              {
                "file": 31
              }
            ],
            "id": "metadata/import/python/typing/dict::dict"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports List from typing",
            "from": [
              {
                "file": 7
              }
            ],
            "id": "metadata/import/python/typing/list::list"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports NamedTuple from typing",
            "from": [
              {
                "file": 9
              }
            ],
            "id": "metadata/import/python/typing/namedtuple::namedtuple"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports Optional from typing",
            "from": [
              {
                "file": 7
              }
            ],
            "id": "metadata/import/python/typing/optional::optional"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports Sequence from typing",
            "from": [
              {
                "file": 29
              }
            ],
            "id": "metadata/import/python/typing/sequence::sequence"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports Tuple from typing",
            "from": [
              {
                "file": 7
              }
            ],
            "id": "metadata/import/python/typing/tuple::tuple"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports Union from typing",
            "from": [
              {
                "file": 7
              }
            ],
            "id": "metadata/import/python/typing/union::union"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports typing",
            "from": [
              {
                "file": 7
              }
            ],
            "id": "metadata/import/python/typing::typing"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports warnings",
            "from": [
              {
                "file": 7
              }
            ],
            "id": "metadata/import/python/warnings::warnings"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports fmha from xformers.ops",
            "from": [
              {
                "file": 31
              }
            ],
            "id": "metadata/import/python/xformers/ops/fmha::fmha"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports index_select_cat from xformers.ops",
            "from": [
              {
                "file": 31
              }
            ],
            "id": "metadata/import/python/xformers/ops/index_select_cat::index_select_cat"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports memory_efficient_attention from xformers.ops",
            "from": [
              {
                "file": 30
              }
            ],
            "id": "metadata/import/python/xformers/ops/memory_efficient_attention::memory_efficient_attention"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports scaled_index_add from xformers.ops",
            "from": [
              {
                "file": 31
              }
            ],
            "id": "metadata/import/python/xformers/ops/scaled_index_add::scaled_index_add"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports SwiGLU from xformers.ops",
            "from": [
              {
                "file": 36
              }
            ],
            "id": "metadata/import/python/xformers/ops/swiglu::swiglu"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports unbind from xformers.ops",
            "from": [
              {
                "file": 30
              }
            ],
            "id": "metadata/import/python/xformers/ops/unbind::unbind"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports xformers.ops",
            "from": [
              {
                "file": 30
              }
            ],
            "id": "metadata/import/python/xformers/ops::xformers/ops"
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"the\"",
            "from": [],
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-1"
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"and\"",
            "from": [],
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-2"
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"that\"",
            "from": [
              {
                "file": 6
              }
            ],
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-3"
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"have\"",
            "from": [
              {
                "file": 17
              }
            ],
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-4"
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"for\"",
            "from": [],
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-5"
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"with\"",
            "from": [],
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-6"
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"this\"",
            "from": [],
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-7"
          },
          {
            "conf": 0.45,
            "crit": 1,
            "desc": "Secret vocabulary word",
            "from": [
              {
                "file": 40
              }
            ],
            "id": "micro-behaviors/data/parse/vocabulary::secret"
          },
          {
            "conf": 0.88,
            "crit": 1,
            "desc": "ONNX or pickle filename suffix",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "micro-behaviors/fs/path/data-file::model-extension-reference--onnx-or-pickle"
          },
          {
            "conf": 0.7,
            "crit": 1,
            "desc": "Contains the grep command keyword",
            "from": [
              {
                "file": 40
              }
            ],
            "id": "micro-behaviors/fs/search/command::grep-keyword"
          },
          {
            "conf": 0.85,
            "crit": 3,
            "desc": "Recursively deletes a directory tree",
            "from": [
              {
                "file": 28,
                "line": 344,
                "off": 14315
              }
            ],
            "id": "micro-behaviors/fs/delete/directory::recursive-delete",
            "mbc": "C0047",
            "uses": [
              58
            ]
          }
        ],
        "type": "zip"
      },
      {
        "ctx": [
          {
            "col": 1,
            "line": 1,
            "ln": 0,
            "s": "name: Publish to Comfy registry\n\non:\n  workflow_dispatch:\n  push:\n    branches:\n      - main\n    paths:\n      - \"pyproject.toml\"\n\njobs:\n  publish-node:\n    name: Publish Custom Node to registry\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out code\n        uses: actions/checkout@v4\n\n      - name: Check publishing prerequisites\n        id: check\n        env:\n          REGISTRY_TOKEN: ${{ secrets.REGISTRY_ACCESS_TOKEN }}\n        run: |\n          if grep -Eq '^PublisherId *= *\"\"' pyproject.toml; then\n            echo \"ready=false\" \u003e\u003e \"$GITHUB_OUTPUT\"\n            echo \"PublisherId is empty - skipping publish.\"\n          elif [ -z \"$REGISTRY_TOKEN\" ]; then\n            echo \"ready=false\" \u003e\u003e \"$GITHUB_OUTPUT\"\n            echo \"REGISTRY_ACCESS_TOKEN secret is missing - skipping publish.\"\n          else\n            echo \"ready=true\" \u003e\u003e \"$GITHUB_OUTPUT\"\n          fi\n\n      - name: Publish Custom Node\n        if: steps.check.outputs.ready == 'true'\n        uses: Comfy-Org/publish-node-action@main\n        with:\n          personal_access_token: ${{ secrets.REGISTRY_ACCESS_TOKEN }}\n"
          }
        ],
        "depth": 1,
        "facts": {
          "metrics": {
            "binary": {
              "peak_region_bytes": 1096,
              "peak_region_entropy": 4.69
            },
            "file": {
              "entropy": 4.73,
              "size": 1096
            },
            "references": {
              "declared_count": 2,
              "security_hold_count": 0,
              "unavailable_command_count": 0,
              "unresolved_count": 0,
              "unresolved_extension_count": 0
            }
          }
        },
        "id": 1,
        "mol": "H₂(F₂Os)Md(Bk₃)",
        "path": "time-image-1.0.1.zip!!.github/workflows/publish_action.yml",
        "pid": 0,
        "refs": [
          {
            "kind": "dependency",
            "off": 275,
            "to": "pkg:github/actions/checkout@v4"
          },
          {
            "kind": "dependency",
            "off": 977,
            "to": "pkg:github/Comfy-Org/publish-node-action@main"
          }
        ],
        "risk": 3,
        "sha": "07cd704b322943be555420f16e18a8c83bb625b3480776e13a38d35c479e69cd",
        "sid": 6726208369,
        "size": 1096,
        "traits": [
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "Shell path under .github or actions",
            "from": [],
            "id": "metadata/build/ci/github-actions::repository-github-script-path"
          },
          {
            "conf": 0.99,
            "crit": 3,
            "desc": "GitHub Actions workflow definition path",
            "id": "metadata/build/ci/github-actions::workflow-definition-path"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "Action input references workflow secret",
            "id": "metadata/build/ci/secret::action-secret-input"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "Step environment references an Actions secret",
            "id": "metadata/build/ci/secret::step-environment-secret-reference"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "actions/checkout workflow step reference",
            "id": "metadata/build/ci/step::actions-checkout-step",
            "spans": [
              [
                269,
                25
              ]
            ]
          },
          {
            "conf": 0.88,
            "crit": 3,
            "desc": "Workflow action uses mutable main ref",
            "id": "metadata/build/ci/step::mutable-main-action-ref"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Workflow action uses mutable version tag",
            "id": "metadata/build/ci/step::mutable-version-action-ref"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "File content write capability",
            "from": [],
            "id": "micro-behaviors/fs/write/content::file-write-capability",
            "uses": [
              8,
              9
            ]
          },
          {
            "conf": 0.86,
            "crit": 3,
            "desc": "Shell echo redirects output to file",
            "from": [],
            "id": "micro-behaviors/fs/write/file/redirect::shell-echo-file-write"
          },
          {
            "conf": 0.86,
            "crit": 3,
            "desc": "Shell command writes output to a file",
            "from": [],
            "id": "micro-behaviors/fs/write/file/redirect::shell-file-write-command",
            "uses": [
              8
            ]
          },
          {
            "conf": 0.85,
            "crit": 3,
            "desc": "Shell expands secret-named variable",
            "from": [],
            "id": "micro-behaviors/os/env/secret-name::shell-secret-env-dollar-ref"
          },
          {
            "conf": 0.88,
            "crit": 1,
            "desc": "Control-action verb followed by alphabetic text",
            "id": "metadata/lang/natural/vocabulary/content-word::control-action-prose-fragment",
            "spans": [
              [
                6,
                0
              ]
            ]
          },
          {
            "conf": 0.88,
            "crit": 1,
            "desc": "Data-transfer verb token",
            "id": "metadata/lang/natural/vocabulary/content-word::data-transfer-verb-token",
            "spans": [
              [
                60,
                0
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 1,
            "desc": "Secret-data term token",
            "id": "metadata/lang/natural/vocabulary/content-word::secret-data-term-token",
            "spans": [
              [
                763,
                0
              ]
            ]
          },
          {
            "conf": 0.45,
            "crit": 1,
            "desc": "Secret vocabulary word",
            "from": [],
            "id": "micro-behaviors/data/parse/vocabulary::secret"
          },
          {
            "conf": 0.7,
            "crit": 1,
            "desc": "Contains the grep command keyword",
            "from": [],
            "id": "micro-behaviors/fs/search/command::grep-keyword"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "Script running within GitHub Actions runner context",
            "from": [],
            "id": "metadata/build/ci/github-actions::github-ci-runner-script-context",
            "uses": [
              0,
              1
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Workflow uses mutable action ref",
            "id": "metadata/build/ci/step::mutable-action-ref",
            "uses": [
              5,
              6
            ]
          }
        ],
        "type": "github_actions"
      },
      {
        "ctx": [
          {
            "ln": 0,
            "s": "# Third-party notices / ç¬¬ä¸æ¹å£°æ\n\nTime image bundles third-party code. The root [`LICENSE`](LICENSE) explains how\nthe project's own MIT-licensed code and these upstream licenses fit together;\nthis file is the quick reference.\næ¬ä»åºåå«ç¬¬ä¸æ¹ä»£ç ãæ ¹ç®å½ [`LICENSE`](LICENSE) è¯´æäºååä»£ç ä¸ç¬¬ä¸æ¹è®¸å¯çå³ç³»ï¼\næ¬æä»¶æ¯éæ¥æ¸åã\n\n| Directory / ç®å½ | Upstream / ä¸æ¸¸ | License / è®¸å¯ | Key restriction / å³é®éå¶ |\n| --- | --- | --- | --- |\n| `custom_controlnet_aux/open_pose/` | [CMU OpenPose](https://github.com/CMU-Perceptual-Computing-Lab/openpose) | CMU OpenPose Software License Agreement â **Academic or non-profit organization nonco"
          },
          {
            "ln": 705,
            "s": "ial research use only** (`open_pose/LICENSE`) | ä»ééåä¸ç ç©¶ï¼ä¸å¾è½¬ææï¼å¯¹åååæéå¶ |\n| `custom_controlnet_aux/dwpose/` | [DWPose / MMPose](https://github.com/IDEA-Research/DWPose) | ç®å½åéå¸¦ç `dwpose/LICENSE` ä¸ä¸é¢æ¯**åä¸ä»½ CMU éåä¸ç ç©¶è®¸å¯**ï¼æºç å¤´é¨äº¦åæ \"licensed by CMU for non-commercial use only\" | åä¸ |\n| `depth_anything_v2/` | [Depth Anything V2](https://github.com/DepthAnything/Depth-Anything-V2) / [DINOv2](https://github.com/facebookresearch/dinov2) | Apache License 2.0 (`depth_anything_v2/LICENSE`) | éä¿ççæå£°æä¸è®¸å¯ææ¬ |\n\n## What this means / ç»è®º\n\n- **Original code** (root `__init__.py` and this project's docs"
          },
          {
            "ln": 1444,
            "s": "ree to use, modify and redistribute on its own.\n  **ä½èååä»£ç **ï¼æ ¹ç®å½ `__init__.py` ä¸æ¬ææ¡£ï¼ï¼MIT è®¸å¯ï¼åç¬ä½¿ç¨æ¶å¯èªç±ä½¿ç¨ãä¿®æ¹ãååã\n- **The bundled package as a whole**: because the CMU license allows only\n"
          },
          {
            "ln": 1884,
            "s": " CMU-licensed components or obtaining written\n  permission from Carnegie Mellon University.\n  **æ´ä¸ªååå**ï¼ç±äº CMU è®¸å¯åªåè®¸éåä¸ç ç©¶ãä¸ä¸åè®¸è½¬ææï¼å®æ´å**ä»å¯ç¨äºéåä¸ç ç©¶**ã\n  åç¨éåç§»é¤ææ¿æ¢ CMU ç»ä»¶ï¼æåå¾ Carnegie Mellon University çä¹¦é¢è®¸å¯ã\n- The MIT grant on the original code does **not** override or sublicense any\n  third-party license. MIT ææä"
          },
          {
            "ln": 2358,
            "s": "¹æ¡æ¬¾ã\n- **Model weights are not shipped** with this project. Users download them\n  separately (see README.md); each has its own upstream license.\n  **æ¨¡åæéä¸éæ¬ä»åºåå**ï¼ç±ç¨æ·æ README èªè¡ä¸è½½ï¼åèªéç¨ä¸æ¸¸è®¸å¯ã\n- The CMU license also restricts redistribution. Publishing this package to a\n  public regis"
          },
          {
            "ln": 2956,
            "s": "tters, the cleanest route is to replace the OpenPose /\nDWPose backends with an implementation under a c"
          }
        ],
        "depth": 1,
        "facts": {
          "metrics": {
            "binary": {
              "peak_region_bytes": 3399,
              "peak_region_entropy": 6.06
            },
            "file": {
              "entropy": 6.06,
              "size": 3399
            },
            "text": {
              "avg_line_length": 79.93,
              "char_entropy": 6.06,
              "digit_ratio": 0.01,
              "empty_line_ratio": 0.12,
              "last_line_length": 90,
              "line_length_stddev": 64.93,
              "lines": 42,
              "lines_over_200": 3,
              "max_line_length": 319,
              "max_whitespace_run": 1,
              "non_ascii_ratio": 0.32,
              "space_count": 324,
              "top_char": 101,
              "top_char_null": 0,
              "top_char_ratio": 0.06,
              "unique_chars": 136,
              "whitespace_ratio": 0.11
            }
          }
        },
        "id": 2,
        "mol": "K(Am)",
        "path": "time-image-1.0.1.zip!!NOTICE.md",
        "pid": 0,
        "risk": 1,
        "sha": "a2f2422e796f4ae0fb6dfd6887b41ba85483adfbdca1bdd2d01dbb5eed6c1c2e",
        "sid": 6726208392,
        "size": 3399,
        "traits": [
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "GitHub service URL reference",
            "id": "well-known/app/development/code-forge/github::github-service-url",
            "spans": [
              [
                553,
                19
              ]
            ]
          }
        ],
        "type": "markdown"
      },
      {
        "ctx": [
          {
            "col": 1,
            "line": 1,
            "ln": 0,
            "s": "# Time image\n\nStandalone ComfyUI nodes for image/mask resolution fitting, pose extraction, and depth extraction. The pose backend is bundled locally and does not invoke another node package.\n\n## Nodes\n- **Timeã»Res Fixer (Img/Mask)** â fit an image and optional mask to a divisible canvas.\n- **Time Pose Extractor** â OpenPose or DWPose, with body, hand, and face switches.\n- **Time Depth Model Loader** and **Time Depth Extractor** â load Depth Anything V2 and generate depth maps.\n\n## Installation\nCopy the `Time-image` folder into `ComfyUI/custom_nodes/` and restart ComfyUI.\n\n## Manual model files\nAll models are stored under `ComfyUI/models/Time-image/`, split into `pose/` and `depth/`.\n\n### Pose models\n- From [lllyasviel/"
          },
          {
            "col": 47,
            "line": 23,
            "ln": 1503,
            "s": "les on first use. DWPose requires ONNX Runtime. This package bundles third-party code under mixed licenses; see [License](#license) before any commercial use.\n\n## Timeã»Res Fixer (Img/Mask) in detail\n\nThis node is an **input alignment** step rather than a general resizer. It brings an image and its mask to dimensions divisibl"
          },
          {
            "col": 183,
            "line": 27,
            "ln": 1887,
            "s": "th. It loads no model weights, needs no network access, and is fully deterministic.\n\n![ComfyUI workflow using Timeã»Res Fixer](docs/res-fixer-workflo"
          },
          {
            "col": 131,
            "line": 38,
            "ln": 2619,
            "s": "m.\n- `2` is enough when only even dimensions are required.\n\n### Fit modes\n\n| `fit` | Scaling | Handling the remainder | Result |\n| --- | --- | --- | --- |"
          },
          {
            "col": 46,
            "line": 70,
            "ln": 5207,
            "s": "dded area. If a mask touches the canvas edge and must stay exact, use `letterbox` instead.\n- `letterbox` is always centered black padding; there is no"
          },
          {
            "col": 118,
            "line": 73,
            "ln": 5540,
            "s": ". For general use, `lanczos` + `smart_fill` is a good default.\n\n## License\n\nThe original Time image code is MIT-licensed, but the package also bundles third-party code: CMU OpenPose (noncommercial resea"
          },
          {
            "col": 352,
            "line": 77,
            "ln": 5967,
            "s": "eplacing those components, or obtaining written permission from Carnegie Mellon University.\n\nSee [`LICENSE`](LICENSE) for the full terms and [`NOTICE.md`](NOTICE.md) for the third-party attribution table. Model we"
          },
          {
            "col": 136,
            "line": 79,
            "ln": 6195,
            "s": "ncluded and carry their own upstream licenses.\n\n# Time imageï¼ä¸­æè¯´æï¼\n\nTime image æ¯ä¸ç»ç¬ç«ç ComfyUI èç¹ï¼æä¾å¾å/é®ç½©å°ºå¯¸ä¿®æ­£ãéª¨éª¼å¾æååæ·±åº¦å¾æåãéª¨éª¼æ£æµä»£ç éæ¬åæä¾ï¼ä¸è°ç¨å¶å®èç¹åã\n\n## èç¹\n- **Timeã»Res Fixer (Img/Mask)**ï¼å°å¾ååå¯éé®ç½©è°æ´å°æå®åæ°çç»å¸å°ºå¯¸ã\n- **Time Pose Extractor**ï¼éæ© OpenPose æ DWPoseï¼å¹¶å¯åå«å¯ç¨æå³é­èº«ä½ã"
          },
          {
            "col": 46,
            "line": 88,
            "ln": 6730,
            "s": "h Extractor**ï¼å è½½ Depth Anything V2 å¹¶çææ·±åº¦å¾ã\n\n## å®è£\nå° `Time-image` æä»¶å¤¹å¤å¶å° `ComfyUI/custom_nodes/`ï¼ç¶åéå¯ ComfyUIã\n\n## æå¨ä¸è½½æ¨¡å\næææ¨¡åç»ä¸æ¾å¨ `ComfyUI/models/Time-image/`ï¼å¹¶åä¸º `pose/` å `depth/` ä¸¤ä¸ªå­ç®å½ã\n\n### éª¨éª¼æ¨¡å\n- ä» [lllyasviel/Annotators](https://huggingface.co/lllyasviel/Annotators) ä¸è½½ OpenPose æ"
          },
          {
            "col": 120,
            "line": 98,
            "ln": 7389,
            "s": "mfyUI/models/Time-image/pose/yzd-v/DWPose/`ã\n\n### æ·±åº¦æ¨¡å\nä» [Kijai/DepthAnythingV2-safetensors](https://huggingface.co/Kijai/DepthAnythingV2-safetensors) ä¸è½½ä»¥ä¸ä»»æä¸ä¸ªæä»¶ï¼`depth_anything_v2_vits_fp16.safetensors`ã`depth_anything_v2_vitb_fp16.safetensors` æ `de"
          },
          {
            "col": 142,
            "line": 103,
            "ln": 7906,
            "s": "è¯·åéè¯»ä¸æ¹[è®¸å¯](#è®¸å¯)ä¸èã\n\n## èç¹è¯¦è§£ï¼Timeã»Res Fixer (Img/Mask)\n\nè¿ä¸ªèç¹çå®ä½æ¯**è¾å¥å¯¹é½**ï¼èä¸æ¯éç¨ç¼©æ¾"
          },
          {
            "col": 27,
            "line": 109,
            "ln": 8294,
            "s": "s Fixer å·¥ä½æµ](docs/res-fixer-workflow.jpg)\n\n*å·¥ä½æµç¤ºä¾ï¼1801Ã1011 çå¾åä¸é®ç½©ç» `round_to_multiple = 32` å¯¹é½ä¸º 1824Ã1024ï¼è¾åºçå¾åä¸é®ç½©ä¿æåç´ çº§å¯¹é½ã*\n\n### å°ºå¯¸è§å\n\n`ç®æ å°ºå¯¸ = ceil(åå°ºå¯¸ / round_to_multiple) Ã round_to_multiple`ï¼**åªå¢ä¸å**ï¼"
          },
          {
            "col": 282,
            "line": 157,
            "ln": 11936,
            "s": "ä»å¯ç¨äºéåä¸ç ç©¶**ï¼å¦éåç¨ï¼å¿é¡»åç§»é¤ææ¿æ¢è¿äºç»ä»¶ï¼æåå¾ Carnegie Mellon University çä¹¦é¢è®¸å¯ã\n\nå®æ´"
          }
        ],
        "depth": 1,
        "facts": {
          "metrics": {
            "binary": {
              "peak_region_bytes": 6103,
              "peak_region_entropy": 6.36
            },
            "file": {
              "entropy": 6.19,
              "size": 12247
            },
            "text": {
              "avg_line_length": 76.03,
              "char_entropy": 6.19,
              "digit_ratio": 0.04,
              "empty_line_ratio": 0.36,
              "last_line_length": 166,
              "line_length_stddev": 94.8,
              "lines": 159,
              "lines_over_200": 19,
              "long_token_count": 6,
              "max_line_length": 442,
              "max_whitespace_run": 1,
              "non_ascii_ratio": 0.31,
              "space_count": 1170,
              "top_char": 101,
              "top_char_null": 0,
              "top_char_ratio": 0.05,
              "unique_chars": 151,
              "whitespace_ratio": 0.11
            }
          }
        },
        "id": 3,
        "mol": "Md₂(Pt)",
        "path": "time-image-1.0.1.zip!!README.md",
        "pid": 0,
        "risk": 2,
        "sha": "472c8d94746d2cb0ca7ce164ae72f4644ef222bfdae2eb56fc41f920bf3d91c0",
        "sid": 6726208380,
        "size": 12247,
        "traits": [
          {
            "conf": 1.0,
            "crit": 3,
            "desc": "Basename is uppercase README.md",
            "id": "metadata/filename/identity::uppercase-readme-md-basename"
          },
          {
            "conf": 0.97,
            "crit": 3,
            "desc": "At least four Markdown-style heading lines",
            "id": "metadata/lang/source/syntax/markup/markdown::at-least-four-markdown-style-headings",
            "spans": [
              [
                192,
                8
              ],
              [
                491,
                15
              ],
              [
                587,
                21
              ],
              [
                1663,
                40
              ],
              [
                5604,
                10
              ],
              [
                6457,
                9
              ],
              [
                6794,
                9
              ],
              [
                6891,
                21
              ]
            ]
          }
        ],
        "type": "markdown"
      },
      {
        "analysis_gaps": [
          "flow-graph-limited",
          "flow-call-unavailable",
          "flow-query-incomplete"
        ],
        "ctx": [
          {
            "col": 1,
            "line": 1,
            "ln": 0,
            "s": "import math\n\nimport numpy as np\nimport torch\nimport torch.nn.functional as F\nfrom PIL import Image\nimport os\nfrom contextlib import nullcontext\n\nimport comfy.model_management as mm\nfrom comfy.utils import ProgressBar, load_torch_file\nimport folder_paths\nfrom .depth_anything_v2.dpt import DepthAnythingV2\nimport sys\n\n# Keep the detector implementation local to this custom-node package.\n_PACKAGE_DIR = os.path.dirname(os.path.abspath(__file__))\nif _PACKAGE_DIR not in sys.path:\n    sys.path.insert(0, _PACKAGE_DIR)\n\n\n_RESAMPLING = {\n    \"lanczos\": Image.Resampling.LANCZOS,\n    \"bicubic\": Image.Resampling.BICUBIC,\n    \"hammi"
          },
          {
            "col": 22,
            "line": 30,
            "ln": 796,
            "s": ", 14, 16, 28, 32, 64, 128, 256, 512]\n\n\ndef _reflection_indices(length, before, after, device):\n    "
          },
          {
            "col": 15,
            "line": 54,
            "ln": 1823,
            "s": "pe: [B,H,W]. Nearest-neighbor keeps mask values and boundaries intact.\n    mask = F.interpolate(mask.unsqueeze(1).float(), size=(resized_height, re"
          },
          {
            "col": 9,
            "line": 99,
            "ln": 3733,
            "s": "    raise ValueError(f\"Expected IMAGE [B,H,W,C] with 1, 3, or 4 channels; got {tuple(image.shape)}\")\n        if mask is not None and mask.ndim != 3:"
          },
          {
            "col": 2,
            "line": 103,
            "ln": 4030,
            "s": "           raise ValueError(f\"Unknown fit mode: {fit}\")\n        if method not in _RESAMPLING:\n            raise ValueError(f\"Unknown resampling method: {method}\")\n\n        batch, orig_h, orig_w, channels = image.shape\n   "
          },
          {
            "col": 15,
            "line": 115,
            "ln": 4604,
            "s": "k is None:\n            # ComfyUI masks use zero for an unselected/unmasked area.\n            mask_out = torch.zeros((batch, target_h, target_w), de"
          },
          {
            "col": 24,
            "line": 129,
            "ln": 5473,
            "s": "ESAMPLING[method]\n        image_out = []\n        for frame in image:\n            frame_np = frame.detach().to(device=\"cpu\", dtype=torch.float32).clamp(0, 1).n"
          },
          {
            "col": 42,
            "line": 148,
            "ln": 6442,
            "s": "_h) // 2\n                canvas.paste(pil_image, (left, top))\n                pil_image = canvas\n    "
          },
          {
            "col": 3,
            "line": 174,
            "ln": 7586,
            "s": "  def INPUT_TYPES(cls):\n        return {\"required\": {\"model\": ([\"depth_anything_v2_vits_fp16.safetensors\", \"depth_anything_v2_vitb_fp16.safetensors\", \"depth_anything_v2_vitl_fp16.safetensors\"], {\"default\": \"depth_anything_v2_vitl_fp16.safetensors\"})}}\n\n    RETURN_TYPES = (\"TIMEIMAGE_DEPTH_MODEL\",)\n    FUNCTION = \"load"
          },
          {
            "col": 10,
            "line": 179,
            "ln": 7916,
            "s": "ORY = \"Time AI/å¾å\"\n\n    def load(self, model):\n        from huggingface_hub import hf_hub_download\n        enc = \"vits\" if \"vits\" in model else \"vitb\" if \"vitb\" in model else \"vitl\"\n        features, cha"
          },
          {
            "col": 101,
            "line": 184,
            "ln": 8202,
            "s": " (256,[256,512,1024,1024])}[enc]\n        path = os.path.join(folder_paths.models_dir, \"Time-image\", \"depth\", model)\n        os.makedirs(os.path.dirname(path), exist_ok=True)\n        if not os.path.exists(path):\n            hf_hub_download(\"Kijai/DepthAnythingV2-safetensors\", model, local_dir=os.path.dirname(path))\n        net = DepthAnythingV2(encoder=enc, feature"
          },
          {
            "col": 35,
            "line": 238,
            "ln": 10538,
            "s": "d, detect_body, detect_hands, detect_face, resolution):\n        os.environ[\"AUX_ANNOTATOR_CKPTS_PATH\"] = os.path.join(folder_paths.models_dir, \"Time-image\", \"pose\")\n        from custom_controlnet_aux.open_pose import OpenposeDetector\n        from custom_controlnet_aux.dwpose import DwposeDetector\n        import numpy as np\n        dev = mm.get_torch_device()\n        if method == \"OpenPose\":\n            detector = OpenposeDetector.from_pretrained().to(dev)\n        else:\n            detector = DwposeDetector.from_pretrained(\n                \"yzd-v/DWPose\", \"yzd-v/DWPose\", det_filename=\"yolox_l.onnx\",\n                pose_filename=\"dw-ll_ucoco_384.onnx\", torchscript_device=dev)\n        outputs = []\n        for frame"
          },
          {
            "col": 64,
            "line": 252,
            "ln": 11334,
            "s": "5).astype(np.uint8)\n            result = detector(arr, detect_resolution=resolution,\n                inc"
          },
          {
            "col": 32,
            "line": 257,
            "ln": 11631,
            "s": "h.from_numpy(np.asarray(result).copy()).float() / 255.0)\n        del detector\n        return (torch."
          }
        ],
        "depth": 1,
        "facts": {
          "funcs": [
            [
              "_reflection_indices",
              835
            ],
            [
              "_resize_geometry",
              1249
            ],
            [
              "_fit_mask",
              1723
            ],
            [
              "INPUT_TYPES",
              2917
            ],
            [
              "resize_image_mask",
              3582
            ],
            [
              "INPUT_TYPES",
              7588
            ],
            [
              "load",
              7944
            ],
            [
              "INPUT_TYPES",
              8789
            ],
            [
              "process",
              8992
            ],
            [
              "INPUT_TYPES",
              9932
            ],
            [
              "extract",
              10508
            ]
          ],
          "imp": [
            [
              "",
              "os.path.dirname"
            ],
            [
              "",
              "os.path.abspath"
            ],
            [
              "",
              "sys.path.insert"
            ],
            [
              "",
              "torch.arange"
            ],
            [
              "",
              "torch.zeros_like"
            ],
            [
              "",
              "torch.remainder"
            ],
            [
              "",
              "torch.where.long"
            ],
            [
              "",
              "torch.where"
            ],
            [
              "",
              "min"
            ],
            [
              "",
              "max"
            ],
            [
              "",
              "int"
            ],
            [
              "",
              "max"
            ],
            [
              "",
              "int"
            ],
            [
              "",
              "max"
            ],
            [
              "",
              "max"
            ],
            [
              "",
              "int"
            ],
            [
              "",
              "max"
            ],
            [
              "",
              "int"
            ],
            [
              "",
              "F.interpolate.squeeze"
            ],
            [
              "",
              "F.interpolate"
            ],
            [
              "",
              "mask.unsqueeze.float"
            ],
            [
              "",
              "mask.unsqueeze"
            ],
            [
              "",
              "F.pad"
            ],
            [
              "",
              "_reflection_indices"
            ],
            [
              "",
              "_reflection_indices"
            ],
            [
              "",
              "mask.index_select.index_select"
            ],
            [
              "",
              "mask.index_select"
            ],
            [
              "",
              "ValueError"
            ],
            [
              "",
              "tuple"
            ],
            [
              "",
              "ValueError"
            ],
            [
              "",
              "tuple"
            ],
            [
              "",
              "ValueError"
            ],
            [
              "",
              "ValueError"
            ],
            [
              "",
              "int"
            ],
            [
              "",
              "ValueError"
            ],
            [
              "",
              "math.ceil"
            ],
            [
              "",
              "math.ceil"
            ],
            [
              "",
              "_resize_geometry"
            ],
            [
              "",
              "torch.zeros"
            ],
            [
              "",
              "mask.expand"
            ],
            [
              "",
              "ValueError"
            ],
            [
              "",
              "F.interpolate.squeeze"
            ],
            [
              "",
              "F.interpolate"
            ],
            [
              "",
              "mask.unsqueeze.float"
            ],
            [
              "",
              "mask.unsqueeze"
            ],
            [
              "",
              "_fit_mask"
            ],
            [
              "",
              "frame.detach.to.clamp.numpy"
            ],
            [
              "",
              "frame.detach.to.clamp"
            ],
            [
              "",
              "frame.detach.to"
            ],
            [
              "",
              "frame.detach"
            ],
            [
              "",
              "np.round.astype"
            ],
            [
              "",
              "np.round"
            ],
            [
              "",
              "Image.fromarray"
            ],
            [
              "",
              "Image.fromarray"
            ],
            [
              "",
              "pil_image.resize"
            ],
            [
              "",
              "pil_image.crop"
            ],
            [
              "",
              "Image.new"
            ],
            [
              "",
              "canvas.paste"
            ],
            [
              "",
              "np.asarray"
            ],
            [
              "",
              "_reflection_indices.numpy"
            ],
            [
              "",
              "_reflection_indices"
            ],
            [
              "",
              "torch.device"
            ],
            [
              "",
              "_reflection_indices.numpy"
            ],
            [
              "",
              "_reflection_indices"
            ],
            [
              "",
              "torch.device"
            ],
            [
              "",
              "Image.fromarray"
            ],
            [
              "",
              "np.asarray.astype"
            ],
            [
              "",
              "np.asarray"
            ],
            [
              "",
              "image_out.append"
            ],
            [
              "",
              "torch.from_numpy"
            ],
            [
              "",
              "np.ascontiguousarray"
            ],
            [
              "",
              "torch.stack.to"
            ],
            [
              "",
              "torch.stack"
            ],
            [
              "",
              "mask_out.to"
            ],
            [
              "",
              "os.path.join"
            ],
            [
              "",
              "os.makedirs"
            ],
            [
              "",
              "os.path.dirname"
            ],
            [
              "",
              "os.path.exists"
            ],
            [
              "",
              "hf_hub_download"
            ],
            [
              "",
              "os.path.dirname"
            ],
            [
              "",
              "DepthAnythingV2"
            ],
            [
              "",
              "net.load_state_dict"
            ],
            [
              "",
              "load_torch_file"
            ],
            [
              "",
              "net.eval"
            ],
            [
              "",
              "mm.get_torch_device"
            ],
            [
              "",
              "model.model.to"
            ],
            [
              "",
              "frame.permute.unsqueeze.to"
            ],
            [
              "",
              "frame.permute.unsqueeze"
            ],
            [
              "",
              "frame.permute"
            ],
            [
              "",
              "max"
            ],
            [
              "",
              "max"
            ],
            [
              "",
              "F.interpolate"
            ],
            [
              "",
              "torch.tensor.view"
            ],
            [
              "",
              "torch.tensor"
            ],
            [
              "",
              "torch.tensor.view"
            ],
            [
              "",
              "torch.tensor"
            ],
            [
              "",
              "torch.no_grad"
            ],
            [
              "",
              "torch.autocast"
            ],
            [
              "",
              "mm.get_autocast_device"
            ],
            [
              "",
              "net"
            ],
            [
              "",
              "F.interpolate"
            ],
            [
              "",
              "d.float"
            ],
            [
              "",
              "d.amin"
            ],
            [
              "",
              "d.amax"
            ],
            [
              "",
              "d.amin"
            ],
            [
              "",
              "outs.append"
            ],
            [
              "",
              "torch.stack.float"
            ],
            [
              "",
              "torch.stack"
            ],
            [
              "",
              "os.path.join"
            ],
            [
              "",
              "mm.get_torch_device"
            ],
            [
              "",
              "OpenposeDetector.from_pretrained.to"
            ],
            [
              "",
              "OpenposeDetector.from_pretrained"
            ],
            [
              "",
              "DwposeDetector.from_pretrained"
            ],
            [
              "",
              "frame.detach.cpu.numpy.clip"
            ],
            [
              "",
              "frame.detach.cpu.numpy"
            ],
            [
              "",
              "frame.detach.cpu"
            ],
            [
              "",
              "frame.detach"
            ],
            [
              "",
              "detector"
            ],
            [
              "",
              "outputs.append"
            ],
            [
              "",
              "torch.from_numpy.float"
            ],
            [
              "",
              "torch.from_numpy"
            ],
            [
              "",
              "np.asarray.copy"
            ],
            [
              "",
              "np.asarray"
            ],
            [
              "",
              "torch.stack.to"
            ],
            [
              "",
              "torch.stack"
            ],
            [
              "",
              ".depth_anything_v2.dpt"
            ],
            [
              ".depth_anything_v2.dpt",
              ".depth_anything_v2.dpt.DepthAnythingV2"
            ],
            [
              "custom_controlnet_aux.dwpose",
              "DwposeDetector"
            ],
            [
              "PIL",
              "Image"
            ],
            [
              "custom_controlnet_aux.open_pose",
              "OpenposeDetector"
            ],
            [
              "",
              "PIL"
            ],
            [
              "comfy.utils",
              "ProgressBar"
            ],
            [
              "",
              "comfy.model_management"
            ],
            [
              "",
              "comfy.utils"
            ],
            [
              "",
              "contextlib"
            ],
            [
              "",
              "custom_controlnet_aux.dwpose"
            ],
            [
              "",
              "custom_controlnet_aux.open_pose"
            ],
            [
              "",
              "folder_paths"
            ],
            [
              "huggingface_hub",
              "hf_hub_download"
            ],
            [
              "",
              "huggingface_hub"
            ],
            [
              "comfy.utils",
              "load_torch_file"
            ],
            [
              "",
              "math"
            ],
            [
              "contextlib",
              "nullcontext"
            ],
            [
              "",
              "numpy"
            ],
            [
              "",
              "os"
            ],
            [
              "",
              "sys"
            ],
            [
              "",
              "torch"
            ],
            [
              "",
              "torch.nn.functional"
            ]
          ],
          "mbr": [
            "DwposeDetector.from_pretrained",
            "F.interpolate",
            "F.interpolate.squeeze",
            "F.pad",
            "Image.Resampling",
            "Image.Resampling.BICUBIC",
            "Image.Resampling.BILINEAR",
            "Image.Resampling.BOX",
            "Image.Resampling.HAMMING",
            "Image.Resampling.LANCZOS",
            "Image.Resampling.NEAREST",
            "Image.fromarray",
            "Image.new",
            "OpenposeDetector.from_pretrained",
            "OpenposeDetector.from_pretrained.to",
            "_reflection_indices.numpy",
            "canvas.paste",
            "d.amax",
            "d.amin",
            "d.float",
            "folder_paths.models_dir",
            "frame.detach",
            "frame.detach.cpu",
            "frame.detach.cpu.numpy",
            "frame.detach.cpu.numpy.clip",
            "frame.detach.to",
            "frame.detach.to.clamp",
            "frame.detach.to.clamp.numpy",
            "frame.permute",
            "frame.permute.unsqueeze",
            "frame.permute.unsqueeze.to",
            "image.device",
            "image.dtype",
            "image.ndim",
            "image.shape",
            "image_out.append",
            "mask.device",
            "mask.dtype",
            "mask.expand",
            "mask.index_select",
            "mask.index_select.index_select",
            "mask.ndim",
            "mask.shape",
            "mask.unsqueeze",
            "mask.unsqueeze.float",
            "mask_out.to",
            "math.ceil",
            "mm.get_autocast_device",
            "mm.get_torch_device",
            "model.model",
            "model.model.to",
            "net.eval",
            "net.load_state_dict",
            "np.asarray",
            "np.asarray.astype",
            "np.asarray.copy",
            "np.ascontiguousarray",
            "np.float32",
            "np.round",
            "np.round.astype",
            "np.uint8",
            "os.environ",
            "os.environ.AUX_ANNOTATOR_CKPTS_PATH",
            "os.makedirs",
            "os.path",
            "os.path.abspath",
            "os.path.dirname",
            "os.path.exists",
            "os.path.join",
            "outputs.append",
            "outs.append",
            "pil_image.crop",
            "pil_image.mode",
            "pil_image.resize",
            "pil_image.size",
            "sys.path",
            "sys.path.insert",
            "torch.arange",
            "torch.autocast",
            "torch.device",
            "torch.float16",
            "torch.float32",
            "torch.from_numpy",
            "torch.from_numpy.float",
            "torch.no_grad",
            "torch.remainder",
            "torch.stack",
            "torch.stack.float",
            "torch.stack.to",
            "torch.tensor",
            "torch.tensor.view",
            "torch.where",
            "torch.where.long",
            "torch.zeros",
            "torch.zeros_like",
            "x.shape"
          ],
          "metrics": {
            "ast": {
              "call_count": 129,
              "max_array_length": 11,
              "max_concat_chain": 3,
              "max_depth": 21,
              "max_member_depth": 5,
              "max_numeric_array": 11,
              "member_count": 96,
              "node_count": 4050,
              "op.add": 6,
              "op.div": 10,
              "op.floordiv": 10,
              "op.land": 2,
              "op.lor": 1,
              "op.mod": 2,
              "op.mul": 9,
              "op.sub": 30,
              "op_density.add": 0,
              "op_density.div": 0,
              "op_density.floordiv": 0,
              "op_density.land": 0,
              "op_density.lor": 0,
              "op_density.mod": 0,
              "op_density.mul": 0,
              "op_density.sub": 0.01
            },
            "binary": {
              "peak_region_bytes": 7135,
              "peak_region_entropy": 5.19
            },
            "binds": {
              "count": 80
            },
            "comments": {
              "chars": 334,
              "count": 5,
              "lines": 5,
              "to_code_ratio": 0.02
            },
            "file": {
              "entropy": 4.92,
              "size": 12255
            },
            "functions": {
              "avg_length_lines": 16.73,
              "avg_name_length": 11.18,
              "avg_param_name_length": 6.86,
              "avg_params": 3.36,
              "code_ratio": 0.66,
              "count": 12,
              "density": 3.94,
              "length_stddev": 18.82,
              "max_length_lines": 73,
              "max_params": 7,
              "min_length_lines": 2
            },
            "identifiers": {
              "all_lowercase_ratio": 0.83,
              "all_uppercase_ratio": 0.09,
              "avg_entropy": 2.46,
              "avg_length": 7.87,
              "base64_like_names": 1,
              "count": 752,
              "double_underscore_count": 1,
              "has_digit_ratio": 0.03,
              "high_entropy_count": 10,
              "high_entropy_ratio": 0.05,
              "length_stddev": 4.72,
              "max_length": 26,
              "min_length": 1,
              "numeric_suffix_count": 7,
              "reuse_ratio": 0.28,
              "sequential_names": 5,
              "single_char_count": 5,
              "single_char_ratio": 0.02,
              "underscore_prefix_count": 7,
              "unique": 207
            },
            "imports": {
              "aliased": 3,
              "count": 23,
              "relative": 2,
              "relative_ratio": 0.09,
              "stdlib_count": 3,
              "stdlib_ratio": 0.13,
              "third_party_count": 20,
              "third_party_ratio": 0.87
            },
            "references": {
              "declared_count": 6,
              "security_hold_count": 0,
              "unavailable_command_count": 0,
              "unresolved_count": 2,
              "unresolved_extension_count": 0
            },
            "source": {
              "class_count": 4,
              "function_count": 8
            },
            "strings": {
              "avg_entropy": 2.7,
              "avg_length": 11.26,
              "base64_candidates": 2,
              "bytes": 1802,
              "count": 160,
              "entropy_stddev": 0.79,
              "max_length": 75
            },
            "text": {
              "avg_line_length": 42.92,
              "char_entropy": 4.92,
              "digit_ratio": 0.03,
              "empty_line_ratio": 0.15,
              "encoded_string_ratio": 0.01,
              "identifier_density": 2.7,
              "identifiers_to_functions_ratio": 18.82,
              "import_density": 8.24,
              "imports_to_functions_ratio": 2.09,
              "last_line_length": 1,
              "line_length_stddev": 32.26,
              "lines": 279,
              "lines_over_200": 1,
              "long_token_count": 1,
              "max_line_length": 227,
              "max_whitespace_run": 1,
              "non_ascii_ratio": 0,
              "normalized_function_count": 0.66,
              "normalized_import_count": 1.38,
              "normalized_string_count": 9.58,
              "normalized_unique_identifiers": 25.48,
              "repeated_char_sequences": 85,
              "space_count": 2722,
              "string_density": 0.57,
              "strings_to_functions_ratio": 14.55,
              "suspicious_identifier_ratio": 0.03,
              "top_char": 101,
              "top_char_null": 0,
              "top_char_ratio": 0.07,
              "unique_chars": 92,
              "whitespace_ratio": 0.24
            }
          },
          "tgt": [
            "DepthAnythingV2",
            "DwposeDetector.from_pretrained",
            "F.interpolate",
            "F.interpolate.squeeze",
            "F.pad",
            "Image.fromarray",
            "Image.new",
            "OpenposeDetector.from_pretrained",
            "OpenposeDetector.from_pretrained.to",
            "ValueError",
            "_fit_mask",
            "_reflection_indices",
            "_reflection_indices.numpy",
            "_resize_geometry",
            "canvas.paste",
            "d.amax",
            "d.amin",
            "d.float",
            "detector",
            "frame.detach",
            "frame.detach.cpu",
            "frame.detach.cpu.numpy",
            "frame.detach.cpu.numpy.clip",
            "frame.detach.to",
            "frame.detach.to.clamp",
            "frame.detach.to.clamp.numpy",
            "frame.permute",
            "frame.permute.unsqueeze",
            "frame.permute.unsqueeze.to",
            "hf_hub_download",
            "image_out.append",
            "int",
            "load_torch_file",
            "mask.expand",
            "mask.index_select",
            "mask.index_select.index_select",
            "mask.unsqueeze",
            "mask.unsqueeze.float",
            "mask_out.to",
            "math.ceil",
            "max",
            "min",
            "mm.get_autocast_device",
            "mm.get_torch_device",
            "model.model.to",
            "net",
            "net.eval",
            "net.load_state_dict",
            "np.asarray",
            "np.asarray.astype",
            "np.asarray.copy",
            "np.ascontiguousarray",
            "np.round",
            "np.round.astype",
            "os.makedirs",
            "os.path.abspath",
            "os.path.dirname",
            "os.path.exists",
            "os.path.join",
            "outputs.append",
            "outs.append",
            "pil_image.crop",
            "pil_image.resize",
            "sys.path.insert",
            "torch.arange",
            "torch.autocast",
            "torch.device",
            "torch.from_numpy",
            "torch.from_numpy.float",
            "torch.no_grad",
            "torch.remainder",
            "torch.stack",
            "torch.stack.float",
            "torch.stack.to",
            "torch.tensor",
            "torch.tensor.view",
            "torch.where",
            "torch.where.long",
            "torch.zeros",
            "torch.zeros_like",
            "tuple"
          ]
        },
        "id": 4,
        "mol": "H₄(Cm₂Db₃FOs₂)Md(In)",
        "path": "time-image-1.0.1.zip!!__init__.py",
        "pid": 0,
        "risk": 8,
        "sha": "c508b25a2adccab93ac9b8628eaff6200a709be5d07b82fba1263cb3854f1d0c",
        "sid": 6726208398,
        "size": 12255,
        "traits": [
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports os",
            "id": "metadata/import/python/os::os",
            "spans": [
              [
                106,
                2
              ]
            ]
          },
          {
            "conf": 0.92,
            "crit": 3,
            "desc": "Hugging Face Hub model download call",
            "id": "micro-behaviors/communications/http/client/library::huggingface-hub-download-call",
            "spans": [
              [
                8425,
                15
              ]
            ]
          },
          {
            "atk": "T1071.001",
            "conf": 0.98,
            "crit": 3,
            "desc": "Imports the Hugging Face Hub Python client",
            "id": "micro-behaviors/communications/http/services/huggingface::huggingface-hub-python-client-import",
            "spans": [
              [
                7980,
                15
              ]
            ]
          },
          {
            "conf": 0.3,
            "crit": 3,
            "desc": "Python not-in membership check",
            "id": "micro-behaviors/data/collection/membership::not-in-membership-check",
            "spans": [
              [
                4094,
                29
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Imports a Python raster imaging library",
            "id": "micro-behaviors/data/format/media/raster::python-imaging-library-import",
            "spans": [
              [
                82,
                3
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Imports the NumPy array library",
            "id": "micro-behaviors/data/manipulation::numpy-import",
            "spans": [
              [
                20,
                5
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Calls a Python pretrained-resource loader",
            "id": "micro-behaviors/data/parse/model::from-pretrained-call",
            "spans": [
              [
                10955,
                32
              ],
              [
                11035,
                30
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "SafeTensors filename suffix literal",
            "id": "micro-behaviors/fs/path/data-file::safetensors-file-suffix",
            "spans": [
              [
                7650,
                41
              ],
              [
                7693,
                41
              ],
              [
                7736,
                41
              ]
            ]
          },
          {
            "atk": "T1082",
            "conf": 0.75,
            "crit": 3,
            "desc": "Python writes environment variable",
            "id": "micro-behaviors/os/env/write::os-environ-assignment",
            "mbc": "E1082",
            "spans": [
              [
                10602,
                40
              ]
            ]
          },
          {
            "atk": "T1082",
            "conf": 0.75,
            "crit": 3,
            "desc": "Python binds a value into os.environ",
            "id": "micro-behaviors/os/env/write::os-environ-bind",
            "mbc": "E1082",
            "spans": [
              [
                10602,
                35
              ]
            ]
          },
          {
            "conf": 0.86,
            "crit": 3,
            "desc": "Modifies module search path (sys.path)",
            "id": "micro-behaviors/os/module/search-path::sys-path-mutate",
            "spans": [
              [
                482,
                15
              ]
            ]
          },
          {
            "conf": 1.0,
            "crit": 2,
            "desc": "File uses a Python artifact extension",
            "id": "metadata/file/extension/identity::py"
          },
          {
            "conf": 0.3,
            "crit": 2,
            "desc": "Python package __init__.py file",
            "id": "metadata/file/size::init-py-file"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports comfy.model_management as mm",
            "id": "metadata/import/python/comfy/model_management::mm",
            "spans": [
              [
                152,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports load_torch_file from comfy.utils",
            "id": "metadata/import/python/comfy/utils/load_torch_file::load_torch_file",
            "spans": [
              [
                218,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ProgressBar from comfy.utils",
            "id": "metadata/import/python/comfy/utils/progressbar::progressbar",
            "spans": [
              [
                205,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports comfy.utils",
            "id": "metadata/import/python/comfy/utils::comfy/utils",
            "spans": [
              [
                186,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports nullcontext from contextlib",
            "id": "metadata/import/python/contextlib/nullcontext::nullcontext",
            "spans": [
              [
                132,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports contextlib",
            "id": "metadata/import/python/contextlib::contextlib",
            "spans": [
              [
                114,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports DwposeDetector from custom_controlnet_aux.dwpose",
            "id": "metadata/import/python/custom_controlnet_aux/dwpose/dwposedetector::dwposedetector",
            "spans": [
              [
                10821,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports custom_controlnet_aux.dwpose",
            "id": "metadata/import/python/custom_controlnet_aux/dwpose::custom_controlnet_aux/dwpose",
            "spans": [
              [
                10785,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports OpenposeDetector from custom_controlnet_aux.open_pose",
            "id": "metadata/import/python/custom_controlnet_aux/open_pose/openposedetector::openposedetector",
            "spans": [
              [
                10755,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports custom_controlnet_aux.open_pose",
            "id": "metadata/import/python/custom_controlnet_aux/open_pose::custom_controlnet_aux/open_pose",
            "spans": [
              [
                10716,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports folder_paths",
            "id": "metadata/import/python/folder_paths::folder_paths",
            "spans": [
              [
                241,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports hf_hub_download from huggingface_hub",
            "id": "metadata/import/python/huggingface_hub/hf_hub_download::hf_hub_download",
            "spans": [
              [
                8003,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports huggingface_hub",
            "id": "metadata/import/python/huggingface_hub::huggingface_hub",
            "spans": [
              [
                7980,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports math",
            "id": "metadata/import/python/math::math",
            "spans": [
              [
                7,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports numpy as np",
            "id": "metadata/import/python/numpy::np",
            "spans": [
              [
                20,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports Image from PIL",
            "id": "metadata/import/python/pil/image::image",
            "spans": [
              [
                93,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports PIL",
            "id": "metadata/import/python/pil::pil",
            "spans": [
              [
                82,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports .depth_anything_v2.dpt.DepthAnythingV2 from .depth_anything_v2.dpt",
            "id": "metadata/import/python/relative/1/depth_anything_v2/dpt/depthanythingv2::depthanythingv2",
            "spans": [
              [
                289,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports .depth_anything_v2.dpt",
            "id": "metadata/import/python/relative/1/depth_anything_v2/dpt::relative/1/depth_anything_v2/dpt",
            "spans": [
              [
                259,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports sys",
            "id": "metadata/import/python/sys::sys",
            "spans": [
              [
                312,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports torch.nn.functional as F",
            "id": "metadata/import/python/torch/nn/functional::F",
            "spans": [
              [
                52,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports torch",
            "id": "metadata/import/python/torch::torch",
            "spans": [
              [
                39,
                0
              ]
            ]
          },
          {
            "conf": 0.3,
            "crit": 2,
            "desc": "Source contains for-loop syntax",
            "id": "metadata/lang/source/syntax/control-flow::for-loop-content",
            "spans": [
              [
                5521,
                0
              ]
            ]
          },
          {
            "conf": 0.85,
            "crit": 2,
            "desc": "Checks file existence with os.path.exists",
            "id": "micro-behaviors/fs/file/stat::path-exists",
            "spans": [
              [
                8391,
                0
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "os.path directory of the running module",
            "id": "micro-behaviors/fs/path/self::python-ospath-module-dir",
            "spans": [
              [
                402,
                0
              ]
            ]
          },
          {
            "conf": 0.88,
            "crit": 1,
            "desc": "Data-access verb token",
            "id": "metadata/lang/natural/vocabulary/content-word::data-access-verb-token",
            "spans": [
              [
                6474,
                0
              ]
            ]
          },
          {
            "conf": 0.88,
            "crit": 1,
            "desc": "English edit-action verb token",
            "id": "metadata/lang/natural/vocabulary/content-word::english-edit-verb-token",
            "spans": [
              [
                491,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"the\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-1",
            "spans": [
              [
                324,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"and\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-2",
            "spans": [
              [
                1871,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"for\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-5",
            "spans": [
              [
                4652,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"with\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-6",
            "spans": [
              [
                3781,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"this\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-7",
            "spans": [
              [
                361,
                0
              ]
            ]
          },
          {
            "conf": 0.88,
            "crit": 1,
            "desc": "ONNX or pickle filename suffix",
            "id": "micro-behaviors/fs/path/data-file::model-extension-reference--onnx-or-pickle",
            "spans": [
              [
                11128,
                0
              ]
            ]
          },
          {
            "conf": 0.88,
            "crit": 3,
            "desc": "Model loader or model-adjacent filename suffix",
            "id": "micro-behaviors/fs/path/data-file::model-extension-reference",
            "spans": [
              [
                11128,
                41
              ]
            ],
            "uses": [
              7,
              45
            ]
          }
        ],
        "type": "python"
      },
      {
        "ctx": [
          {
            "col": 1,
            "line": 1,
            "ln": 0,
            "s": "\"\"\"Time image: vendored pose estimation backends.\"\"\"\n"
          }
        ],
        "depth": 1,
        "facts": {
          "metrics": {
            "ast": {
              "call_count": 0,
              "max_depth": 3,
              "node_count": 6
            },
            "binary": {
              "peak_region_bytes": 53,
              "peak_region_entropy": 4.12
            },
            "file": {
              "entropy": 4.12,
              "size": 53
            },
            "strings": {
              "avg_entropy": 4.01,
              "avg_length": 46,
              "bytes": 46,
              "count": 1,
              "max_length": 46
            },
            "text": {
              "avg_line_length": 52,
              "char_entropy": 4.12,
              "last_line_length": 52,
              "lines": 1,
              "max_line_length": 52,
              "max_whitespace_run": 1,
              "normalized_string_count": 1,
              "space_count": 5,
              "string_density": 1,
              "top_char": 101,
              "top_char_null": 0,
              "top_char_ratio": 0.13,
              "unique_chars": 22,
              "whitespace_ratio": 0.11
            }
          }
        },
        "id": 5,
        "mol": "Md(Pt)",
        "path": "time-image-1.0.1.zip!!custom_controlnet_aux/__init__.py",
        "pid": 0,
        "risk": 1,
        "sha": "10f7ed54be0f26aa7793186e4656f57c8ac439db316865fc74b3fe743eec85ff",
        "sid": 6726208372,
        "size": 53,
        "supp": [
          {
            "by": [
              {
                "id": "basename"
              }
            ],
            "crit": "notable",
            "id": "metadata/file/size::small-no-imports",
            "kind": "unless"
          }
        ],
        "traits": [
          {
            "conf": 1.0,
            "crit": 3,
            "desc": "Module is one triple-quoted Python literal",
            "id": "metadata/lang/source/literal/string/shape::python-triple-quoted-module",
            "spans": [
              [
                0,
                53
              ]
            ]
          }
        ],
        "type": "python"
      },
      {
        "ctx": [
          {
            "col": 46,
            "line": 3,
            "ln": 113,
            "s": "CIAL RESEARCH USE ONLY\n\nBY USING OR DOWNLOADING THE SOFTWARE, YOU ARE AGREEING TO THE TERMS OF THIS LICENSE AGREEMENT.  IF YOU DO NOT AGREE WITH THESE TERMS, YOU MAY NOT USE OR DOWNLOAD THE SOFTWARE.\n\nThis is a license agreement (\"Agreement"
          },
          {
            "col": 111,
            "line": 7,
            "ln": 424,
            "s": " (called \"Licensee\" or \"You\" in this Agreement) and Carnegie Mellon University (called \"Licensor\" in this Agreement).  All rights not specifically granted to you in this Agreement are reserved for Licensor. \n\nRESERVATION OF OWNERSHIP AND GRANT OF LICENSE: \nLicensor retains exclusive ownership of any copy of the Software (as defined below) licensed under this Agreemen"
          },
          {
            "col": 346,
            "line": 11,
            "ln": 1198,
            "s": "to this Agreement, inclusive of backups, updates, and/or merged copies permitted hereunder or subsequen"
          },
          {
            "col": 494,
            "line": 11,
            "ln": 1346,
            "s": "ny file structures, programming instructions, user interfaces and screen formats and sequences as well as an"
          },
          {
            "col": 764,
            "line": 11,
            "ln": 1616,
            "s": "in (i).\n\nCONFIDENTIALITY: Licensee acknowledges that the Software is proprietary to Licensor, and as such, Licensee agrees to receive all such mater"
          },
          {
            "col": 446,
            "line": 20,
            "ln": 2925,
            "s": "n violation of this Agreement.\n\nBACKUPS:  If Licensee is an organization, it may make that number of co"
          },
          {
            "col": 251,
            "line": 22,
            "ln": 3207,
            "s": "ing the copyright and trademark notices are copied onto the labels of the copies.\n\nUSES NOT PERMITTED: "
          },
          {
            "col": 257,
            "line": 24,
            "ln": 3546,
            "s": "ny renditions thereof without the prior written permission of Licensor.\n\nYou may not sell, rent, lease, sublicense, lend, time-share or transfer, in whole or in part, or provide third parties access to prior or present versions (or any parts thereof) of the Software.\n\nASSIGNMENT: You may not a"
          },
          {
            "col": 129,
            "line": 30,
            "ln": 4132,
            "s": "are or by using the Software until terminated as provided below.\n\nThe Agreement automatically terminates without notice if you fail to comply with any provision of this Agreement.  Licensee may terminate this Agreement by ceasing using the Software.  Upon any termination"
          },
          {
            "col": 208,
            "line": 32,
            "ln": 4405,
            "s": "f this Agreement, Licensee will delete any and all copies of the Software. You agree that all provisio"
          },
          {
            "col": 64,
            "line": 55,
            "ln": 7102,
            "s": "*********\n\nTHIRD-PARTY SOFTWARE NOTICES AND INFORMATION\n\nThis project incorporates material from the pr"
          },
          {
            "col": 4,
            "line": 65,
            "ln": 7532,
            "s": " contributions by the University of California:\nCopyright (c) 2014-2017 The Regents of the University of California (Regents)\nAll rights reserved.\n\nAll o"
          },
          {
            "col": 75,
            "line": 76,
            "ln": 8074,
            "s": "e\ntheir copyright solely in the commit message of the change when it is\ncommitted.\n\nLICENSE\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following condi"
          },
          {
            "col": 64,
            "line": 83,
            "ln": 8297,
            "s": "ons are met: \n\n1. Redistributions of source code must retain the above copyright notice, this\n   list of conditions and the following disclaimer. \n2. "
          }
        ],
        "depth": 1,
        "facts": {
          "metrics": {
            "binary": {
              "peak_region_bytes": 6612,
              "peak_region_entropy": 5.08
            },
            "file": {
              "entropy": 4.95,
              "size": 9684
            }
          }
        },
        "id": 6,
        "mol": "Md(Pt)",
        "path": "time-image-1.0.1.zip!!custom_controlnet_aux/dwpose/LICENSE",
        "pid": 0,
        "risk": 1,
        "sha": "33c27cd37e3dce7099b1eac2fa02e966e58b69b4c7d90e7e2855ea9021d8e2b2",
        "sid": 2431445821,
        "size": 9684,
        "traits": [
          {
            "conf": 0.94,
            "crit": 3,
            "desc": "Text mentions acting without notice or review",
            "id": "metadata/lang/natural/phrasing/security::without-notice-or-review-wording",
            "spans": [
              [
                4196,
                79
              ]
            ]
          }
        ],
        "type": "text"
      },
      {
        "analysis_gaps": [
          "flow-graph-limited",
          "flow-call-unavailable",
          "flow-query-incomplete"
        ],
        "ctx": [
          {
            "col": 1,
            "line": 1,
            "ln": 0,
            "s": "# Openpose\n# Original from CMU https://github.com/CMU-Perceptual-Computing-Lab/openpose\n# 2nd Edited by https://github.com/Hzzone/pytorch-openpose\n# 3rd Edited by ControlNet\n# 4th Edited by ControlNet (added face and correct hands)\n# 5th Edited by ControlNet (Improved JSON serialization/deserialization, and lots of bug fixs)\n# This preprocessor is licensed by CMU for non-commercial use only.\n\nimport os\nos.environ[\"KMP_DUPLICATE_LIB_OK\"] = \"TRUE\"\n\nimport json\nimport torch\nimport numpy as np\nfrom . import util\nfrom .body import Body, BodyResult, Keypoint\nfrom .hand import Hand\nfrom .face import Face\nfrom .types import PoseResult, HandResult, FaceResult, AnimalPoseResult\nfrom huggingface_hub import hf_hub_download\nfrom .wholebody import Wholebody\nimport warnings\nfrom custom_controlnet_aux.util import HWC3, resize_image_with_pad, common_input_validate, custom_hf_download\nimport cv2\nfrom PIL import Image\nfrom .animalpose import AnimalPoseImage\n\nfrom typing import Tuple, List, Callable, Union, Optional\n\n\ndef draw_animalposes(animals: list[list[Keypoint]], H: int, W: int) -\u003e np.ndarray:\n    canvas = np.zeros(shape=(H, W, 3), dtype=np.uint8)\n    for animal_pose in animals:\n        canvas = draw_animalpose(canvas, animal_pose)\n    return canvas\n\n\ndef draw_anim"
          },
          {
            "col": 50,
            "line": 38,
            "ln": 1307,
            "s": ": list[Keypoint]) -\u003e np.ndarray:\n    # order of the keypoints for AP10k and a standardized list of colors for limbs\n    keypointPairsList = [\n     "
          },
          {
            "col": 26,
            "line": 81,
            "ln": 2286,
            "s": "- 1]\n\n        if p1 is not None and p2 is not None:\n            cv2.line(\n                canvas,\n                (int(p1.x), int(p1.y)),\n                (int(p2.x), int(p2.y)),\n                colors"
          },
          {
            "col": 17,
            "line": 107,
            "ln": 3206,
            "s": "array: A 3D numpy array representing the canvas with the drawn poses.\n    \"\"\"\n    canvas = np.zeros(shape=(H, W, 3), dtype=np.uint8)\n\n    for pose in poses:\n        if draw_body:\n            canvas = util.draw_bodypose(canvas, pose.body.keypoints"
          },
          {
            "col": 43,
            "line": 128,
            "ln": 3883,
            "s": "th the openpose JSON output format\n    to poses that controlnet recognizes.\n    https://github.com/CMU-Perceptual-Computing-Lab/openpose/blob/master"
          },
          {
            "col": 10,
            "line": 145,
            "ln": 4326,
            "s": "\"\"Yield successive n-sized chunks from lst.\"\"\"\n        for i in range(0, len(lst), n):\n            yield lst[i : i + n]\n\n    def decompress_keypoints(\n        numbers: Optional[List[float]],\n    ) -\u003e Opti"
          },
          {
            "col": 34,
            "line": 151,
            "ln": 4550,
            "s": "eypoint]]]:\n        if not numbers:\n            return None\n\n        assert len(numbers) % 3 == 0\n\n        def create_keypoint(x, y, c):\n            if c \u003c 1.0:\n                return None\n    "
          },
          {
            "col": 8,
            "line": 190,
            "ln": 5926,
            "s": " \n        return [\n            value\n            for keypoint in keypoints\n            for value in (\n                [float(keypoint.x), float(keypoint.y), 1.0]\n                if keypoint is not"
          },
          {
            "col": 22,
            "line": 211,
            "ln": 6616,
            "s": "t': canvas_height,\n        'canvas_width': canvas_width,\n    }\n\nglobal_cached_dwpose = Wholebody()\n\nclass DwposeDetector:\n    \"\"\"\n    A class for detecting human poses in images using the Dwpose model.\n\n    Attributes:\n        "
          },
          {
            "col": 75,
            "line": 230,
            "ln": 7310,
            "s": "trained_model_or_path\n\n        pose_filename = pose_filename or \"dw-ll_ucoco_384.onnx\"\n        \n        det_model_path = None\n        if det_filename is not None:\n            det_model_path = custom_hf_download(pre"
          },
          {
            "col": 72,
            "line": 237,
            "ln": 7636,
            "s": "pose_filename)\n        \n        print(f\"\\nDWPose: Using {det_filename} for bbox detection and {pose_f"
          },
          {
            "col": 29,
            "line": 255,
            "ln": 8592,
            "s": " self.dw_pose_estimation(oriImg.copy())\n            return Wholebody.format_result(keypoints_info)\n    \n    def __call__(self, input_image, detect_resolution=512, include_body=True, include_hand=False, include_face=False, hand_and_face=None, output_type=\"pil\", image_and_json=False, upscal"
          },
          {
            "col": 91,
            "line": 288,
            "ln": 10568,
            "s": "], input_image.shape[1]))\n        \n        return detected_map\n\nglobal_cached_animalpose = AnimalPoseImage()\nclass AnimalposeDetector:\n    \"\"\"\n    A class for detecting animal poses in images using the RTMPose AP10k model.\n\n    Attribut"
          },
          {
            "col": 40,
            "line": 304,
            "ln": 11067,
            "s": "_model_or_path, pretrained_det_model_or_path=None, det_filename=\"yolox_l.onnx\", pose_filename=\"dw-ll_ucoco_384.onnx\", torchscript_device=\"cuda\"):\n        global global_cached_animalpose\n        det_model_pa"
          },
          {
            "col": 81,
            "line": 325,
            "ln": 12632,
            "s": "lution, upscale_method)\n        result = self.animal_pose_estimation(input_image)\n        if result is N"
          }
        ],
        "depth": 1,
        "facts": {
          "funcs": [
            [
              "draw_animalposes",
              1014
            ],
            [
              "draw_animalpose",
              1258
            ],
            [
              "draw_poses",
              2550
            ],
            [
              "decode_json_as_poses",
              3730
            ],
            [
              "chunks",
              4297
            ],
            [
              "decompress_keypoints",
              4451
            ],
            [
              "create_keypoint",
              4657
            ],
            [
              "encode_poses_as_dict",
              5505
            ],
            [
              "compress_keypoints",
              5777
            ],
            [
              "__init__",
              6928
            ],
            [
              "from_pretrained",
              7047
            ],
            [
              "detect_poses",
              8482
            ],
            [
              "__call__",
              8700
            ],
            [
              "__init__",
              10901
            ],
            [
              "from_pretrained",
              11032
            ],
            [
              "__call__",
              12322
            ]
          ],
          "imp": [
            [
              "",
              "np.zeros"
            ],
            [
              "",
              "draw_animalpose"
            ],
            [
              "",
              "enumerate"
            ],
            [
              "",
              "cv2.line"
            ],
            [
              "",
              "int"
            ],
            [
              "",
              "int"
            ],
            [
              "",
              "int"
            ],
            [
              "",
              "int"
            ],
            [
              "",
              "np.zeros"
            ],
            [
              "",
              "util.draw_bodypose"
            ],
            [
              "",
              "util.draw_handpose"
            ],
            [
              "",
              "util.draw_handpose"
            ],
            [
              "",
              "util.draw_facepose"
            ],
            [
              "",
              "range"
            ],
            [
              "",
              "len"
            ],
            [
              "",
              "len"
            ],
            [
              "",
              "Keypoint"
            ],
            [
              "",
              "create_keypoint"
            ],
            [
              "",
              "chunks"
            ],
            [
              "",
              "PoseResult"
            ],
            [
              "",
              "BodyResult"
            ],
            [
              "",
              "decompress_keypoints"
            ],
            [
              "",
              "pose.get"
            ],
            [
              "",
              "decompress_keypoints"
            ],
            [
              "",
              "pose.get"
            ],
            [
              "",
              "decompress_keypoints"
            ],
            [
              "",
              "pose.get"
            ],
            [
              "",
              "decompress_keypoints"
            ],
            [
              "",
              "pose.get"
            ],
            [
              "",
              "pose_json.get"
            ],
            [
              "",
              "decompress_keypoints"
            ],
            [
              "",
              "pose_json.get"
            ],
            [
              "",
              "float"
            ],
            [
              "",
              "float"
            ],
            [
              "",
              "compress_keypoints"
            ],
            [
              "",
              "compress_keypoints"
            ],
            [
              "",
              "compress_keypoints"
            ],
            [
              "",
              "compress_keypoints"
            ],
            [
              "",
              "Wholebody"
            ],
            [
              "",
              "custom_hf_download"
            ],
            [
              "",
              "custom_hf_download"
            ],
            [
              "",
              "print"
            ],
            [
              "",
              "Wholebody"
            ],
            [
              "",
              "Wholebody"
            ],
            [
              "",
              "cls"
            ],
            [
              "",
              "torch.no_grad"
            ],
            [
              "",
              "self.dw_pose_estimation"
            ],
            [
              "",
              "oriImg.copy"
            ],
            [
              "",
              "Wholebody.format_result"
            ],
            [
              "",
              "warnings.warn"
            ],
            [
              "",
              "common_input_validate"
            ],
            [
              "",
              "resize_image_with_pad"
            ],
            [
              "",
              "self.detect_poses"
            ],
            [
              "",
              "PoseResult"
            ],
            [
              "",
              "BodyResult"
            ],
            [
              "",
              "filtered_poses.append"
            ],
            [
              "",
              "draw_poses"
            ],
            [
              "",
              "resize_image_with_pad"
            ],
            [
              "",
              "HWC3"
            ],
            [
              "",
              "remove_pad"
            ],
            [
              "",
              "Image.fromarray"
            ],
            [
              "",
              "encode_poses_as_dict"
            ],
            [
              "",
              "AnimalPoseImage"
            ],
            [
              "",
              "custom_hf_download"
            ],
            [
              "",
              "custom_hf_download"
            ],
            [
              "",
              "print"
            ],
            [
              "",
              "AnimalPoseImage"
            ],
            [
              "",
              "AnimalPoseImage"
            ],
            [
              "",
              "cls"
            ],
            [
              "",
              "common_input_validate"
            ],
            [
              "",
              "resize_image_with_pad"
            ],
            [
              "",
              "self.animal_pose_estimation"
            ],
            [
              "",
              "np.zeros_like"
            ],
            [
              "",
              "remove_pad"
            ],
            [
              "",
              "Image.fromarray"
            ],
            [
              "",
              ".animalpose"
            ],
            [
              ".animalpose",
              ".animalpose.AnimalPoseImage"
            ],
            [
              "",
              ".body"
            ],
            [
              ".body",
              ".body.Body"
            ],
            [
              ".body",
              ".body.BodyResult"
            ],
            [
              ".body",
              ".body.Keypoint"
            ],
            [
              "",
              ".face"
            ],
            [
              ".face",
              ".face.Face"
            ],
            [
              "",
              ".hand"
            ],
            [
              ".hand",
              ".hand.Hand"
            ],
            [
              "",
              ".types"
            ],
            [
              ".types",
              ".types.AnimalPoseResult"
            ],
            [
              ".types",
              ".types.FaceResult"
            ],
            [
              ".types",
              ".types.HandResult"
            ],
            [
              ".types",
              ".types.PoseResult"
            ],
            [
              ".",
              ".util"
            ],
            [
              "",
              ".wholebody"
            ],
            [
              ".wholebody",
              ".wholebody.Wholebody"
            ],
            [
              "typing",
              "Callable"
            ],
            [
              "custom_controlnet_aux.util",
              "HWC3"
            ],
            [
              "PIL",
              "Image"
            ],
            [
              "typing",
              "List"
            ],
            [
              "typing",
              "Optional"
            ],
            [
              "",
              "PIL"
            ],
            [
              "typing",
              "Tuple"
            ],
            [
              "typing",
              "Union"
            ],
            [
              "custom_controlnet_aux.util",
              "common_input_validate"
            ],
            [
              "",
              "custom_controlnet_aux.util"
            ],
            [
              "custom_controlnet_aux.util",
              "custom_hf_download"
            ],
            [
              "",
              "cv2"
            ],
            [
              "huggingface_hub",
              "hf_hub_download"
            ],
            [
              "",
              "huggingface_hub"
            ],
            [
              "",
              "json"
            ],
            [
              "",
              "numpy"
            ],
            [
              "",
              "os"
            ],
            [
              "custom_controlnet_aux.util",
              "resize_image_with_pad"
            ],
            [
              "",
              "torch"
            ],
            [
              "",
              "typing"
            ],
            [
              "",
              "warnings"
            ]
          ],
          "mbr": [
            "Image.fromarray",
            "Wholebody.format_result",
            "cv2.line",
            "filtered_poses.append",
            "global_cached_animalpose.det",
            "global_cached_animalpose.det_filename",
            "global_cached_animalpose.pose",
            "global_cached_animalpose.pose_filename",
            "global_cached_dwpose.det",
            "global_cached_dwpose.det_filename",
            "global_cached_dwpose.pose",
            "global_cached_dwpose.pose_filename",
            "input_image.shape",
            "keypoint.x",
            "keypoint.y",
            "np.ndarray",
            "np.uint8",
            "np.zeros",
            "np.zeros_like",
            "oriImg.copy",
            "os.environ",
            "os.environ.KMP_DUPLICATE_LIB_OK",
            "p1.x",
            "p1.y",
            "p2.x",
            "p2.y",
            "pose.body",
            "pose.body.keypoints",
            "pose.face",
            "pose.get",
            "pose.left_hand",
            "pose.right_hand",
            "pose_json.canvas_height",
            "pose_json.canvas_width",
            "pose_json.get",
            "self.animal_pose_estimation",
            "self.detect_poses",
            "self.dw_pose_estimation",
            "t.det",
            "t.det_filename",
            "t.pose",
            "t.pose_filename",
            "torch.no_grad",
            "util.draw_bodypose",
            "util.draw_facepose",
            "util.draw_handpose",
            "warnings.warn"
          ],
          "metrics": {
            "ast": {
              "call_count": 75,
              "max_array_length": 17,
              "max_concat_chain": 2,
              "max_depth": 17,
              "max_member_depth": 3,
              "max_numeric_array": 3,
              "member_count": 47,
              "node_count": 2854,
              "op.add": 1,
              "op.land": 1,
              "op.lor": 6,
              "op.mod": 1,
              "op.mul": 1,
              "op.sub": 2,
              "op_density.add": 0,
              "op_density.land": 0,
              "op_density.lor": 0,
              "op_density.mod": 0,
              "op_density.mul": 0,
              "op_density.sub": 0
            },
            "binary": {
              "peak_region_bytes": 4096,
              "peak_region_entropy": 5
            },
            "binds": {
              "count": 56
            },
            "comments": {
              "base64": 2,
              "chars": 612,
              "count": 11,
              "high_entropy": 2,
              "lines": 11,
              "to_code_ratio": 0.03,
              "url_count": 2
            },
            "file": {
              "entropy": 4.64,
              "size": 13329
            },
            "functions": {
              "avg_length_lines": 19.81,
              "avg_name_length": 13.38,
              "avg_nesting_depth": 0.31,
              "avg_param_name_length": 10.25,
              "avg_params": 3.75,
              "code_ratio": 0.81,
              "count": 15,
              "density": 4.65,
              "high_entropy_names": 4,
              "length_stddev": 16.83,
              "many_params_count": 1,
              "max_length_lines": 56,
              "max_nesting_depth": 2,
              "max_params": 12,
              "min_length_lines": 2,
              "nested": 3,
              "single_char_params": 8
            },
            "identifiers": {
              "all_lowercase_ratio": 0.8,
              "all_uppercase_ratio": 0.03,
              "avg_entropy": 2.54,
              "avg_length": 9.16,
              "count": 609,
              "double_underscore_count": 2,
              "has_digit_ratio": 0.03,
              "high_entropy_count": 18,
              "high_entropy_ratio": 0.12,
              "length_stddev": 5.91,
              "max_length": 28,
              "min_length": 1,
              "numeric_suffix_count": 5,
              "reuse_ratio": 0.25,
              "sequential_names": 11,
              "single_char_count": 10,
              "single_char_ratio": 0.07,
              "underscore_prefix_count": 3,
              "unique": 152
            },
            "imports": {
              "aliased": 1,
              "count": 40,
              "relative": 19,
              "relative_ratio": 0.48,
              "stdlib_count": 4,
              "stdlib_ratio": 0.1,
              "third_party_count": 36,
              "third_party_ratio": 0.9
            },
            "references": {
              "declared_count": 3,
              "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": {
              "class_count": 2,
              "function_count": 13
            },
            "strings": {
              "avg_entropy": 3.22,
              "avg_length": 51.48,
              "bytes": 2162,
              "count": 42,
              "embedded_code_candidates": 2,
              "entropy_stddev": 0.91,
              "max_length": 601
            },
            "text": {
              "avg_line_length": 37.75,
              "char_entropy": 4.64,
              "digit_ratio": 0.03,
              "empty_line_ratio": 0.16,
              "identifier_density": 1.77,
              "identifiers_to_functions_ratio": 9.5,
              "import_density": 11.63,
              "imports_to_functions_ratio": 2.5,
              "last_line_length": 27,
              "line_length_stddev": 34.76,
              "lines": 344,
              "lines_over_200": 1,
              "max_line_length": 246,
              "max_whitespace_run": 2,
              "normalized_function_count": 0.86,
              "normalized_import_count": 2.16,
              "normalized_string_count": 2.26,
              "normalized_unique_identifiers": 18.04,
              "repeated_char_sequences": 82,
              "space_count": 3178,
              "string_density": 0.12,
              "strings_to_functions_ratio": 2.63,
              "suspicious_comment_ratio": 0.36,
              "suspicious_identifier_ratio": 0.07,
              "suspicious_string_ratio": 0.05,
              "top_char": 101,
              "top_char_null": 0,
              "top_char_ratio": 0.07,
              "trailing_whitespace_lines": 15,
              "unique_chars": 83,
              "whitespace_ratio": 0.26
            }
          },
          "tgt": [
            "AnimalPoseImage",
            "BodyResult",
            "HWC3",
            "Image.fromarray",
            "Keypoint",
            "PoseResult",
            "Wholebody",
            "Wholebody.format_result",
            "chunks",
            "cls",
            "common_input_validate",
            "compress_keypoints",
            "create_keypoint",
            "custom_hf_download",
            "cv2.line",
            "decompress_keypoints",
            "draw_animalpose",
            "draw_poses",
            "encode_poses_as_dict",
            "enumerate",
            "filtered_poses.append",
            "float",
            "int",
            "len",
            "np.zeros",
            "np.zeros_like",
            "oriImg.copy",
            "pose.get",
            "pose_json.get",
            "print",
            "range",
            "remove_pad",
            "resize_image_with_pad",
            "self.animal_pose_estimation",
            "self.detect_poses",
            "self.dw_pose_estimation",
            "torch.no_grad",
            "util.draw_bodypose",
            "util.draw_facepose",
            "util.draw_handpose",
            "warnings.warn"
          ]
        },
        "id": 7,
        "mol": "K(Am)H₄(Cm₂Db₄FOs)Md(In)",
        "path": "time-image-1.0.1.zip!!custom_controlnet_aux/dwpose/__init__.py",
        "pid": 0,
        "risk": 10,
        "sha": "0b2d156715311ae98bee116e3af5d23143001dbe5c6b81bcd632dc89609ac216",
        "sid": 6726208370,
        "size": 13329,
        "traits": [
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports os",
            "id": "metadata/import/python/os::os",
            "spans": [
              [
                403,
                2
              ]
            ]
          },
          {
            "atk": "T1071.001",
            "conf": 0.98,
            "crit": 3,
            "desc": "Imports the Hugging Face Hub Python client",
            "id": "micro-behaviors/communications/http/services/huggingface::huggingface-hub-python-client-import",
            "spans": [
              [
                682,
                15
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Python comment contains a URL",
            "id": "micro-behaviors/communications/url/reference::python-comment-url-reference",
            "spans": [
              [
                11,
                28
              ],
              [
                88,
                24
              ]
            ]
          },
          {
            "conf": 0.4,
            "crit": 3,
            "desc": "Python for-range-over-len(X) loop",
            "id": "micro-behaviors/data/control-flow/loop/counted::python-for-range-len-loop",
            "spans": [
              [
                4390,
                5
              ],
              [
                4399,
                3
              ]
            ]
          },
          {
            "conf": 0.84,
            "crit": 3,
            "desc": "Module assigns a no-arg call",
            "id": "micro-behaviors/data/control-flow/module-exec::python-column0-noarg-call-assignment",
            "spans": [
              [
                6680,
                35
              ],
              [
                10632,
                44
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Imports a Python raster imaging library",
            "id": "micro-behaviors/data/format/media/raster::python-imaging-library-import",
            "spans": [
              [
                887,
                3
              ],
              [
                896,
                3
              ],
              [
                2350,
                8
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "Module built on the numeric Python stack",
            "id": "micro-behaviors/data/manipulation::numeric-computation-library",
            "spans": [
              [
                483,
                5
              ],
              [
                1085,
                10
              ],
              [
                1110,
                8
              ]
            ],
            "uses": [
              7,
              10
            ]
          },
          {
            "conf": 0.85,
            "crit": 3,
            "desc": "Dense NumPy array construction and reduction",
            "id": "micro-behaviors/data/manipulation::numpy-array-operations",
            "spans": [
              [
                1085,
                10
              ],
              [
                1110,
                8
              ]
            ],
            "uses": [
              8,
              9
            ]
          },
          {
            "conf": 0.85,
            "crit": 3,
            "desc": "NumPy array operation (ndarray)",
            "id": "micro-behaviors/data/manipulation::numpy-array-operations--ndarray",
            "spans": [
              [
                1085,
                10
              ]
            ]
          },
          {
            "conf": 0.85,
            "crit": 3,
            "desc": "NumPy array operation (zeros)",
            "id": "micro-behaviors/data/manipulation::numpy-array-operations--zeros",
            "spans": [
              [
                1110,
                8
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Imports the NumPy array library",
            "id": "micro-behaviors/data/manipulation::numpy-import",
            "spans": [
              [
                483,
                5
              ]
            ]
          },
          {
            "conf": 0.88,
            "crit": 3,
            "desc": "Assigns variable to 257-999 numeric bound",
            "id": "micro-behaviors/data/string/assembly::variable-bound-257-to-999",
            "spans": [
              [
                8732,
                21
              ]
            ]
          },
          {
            "conf": 0.88,
            "crit": 3,
            "desc": "Model loader or model-adjacent filename suffix",
            "id": "micro-behaviors/fs/path/data-file::model-extension-reference",
            "spans": [
              [
                7374,
                22
              ],
              [
                11131,
                14
              ]
            ],
            "uses": [
              64
            ]
          },
          {
            "atk": "T1082",
            "conf": 0.75,
            "crit": 3,
            "desc": "Python writes environment variable",
            "id": "micro-behaviors/os/env/write::os-environ-assignment",
            "mbc": "E1082",
            "spans": [
              [
                406,
                36
              ]
            ]
          },
          {
            "atk": "T1082",
            "conf": 0.75,
            "crit": 3,
            "desc": "Python binds a value into os.environ",
            "id": "micro-behaviors/os/env/write::os-environ-bind",
            "mbc": "E1082",
            "spans": [
              [
                406,
                31
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "GitHub service URL reference",
            "id": "well-known/app/development/code-forge/github::github-service-url",
            "spans": [
              [
                31,
                19
              ]
            ]
          },
          {
            "conf": 1.0,
            "crit": 2,
            "desc": "File uses a Python artifact extension",
            "id": "metadata/file/extension/identity::py"
          },
          {
            "conf": 0.3,
            "crit": 2,
            "desc": "Python package __init__.py file",
            "id": "metadata/file/size::init-py-file"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports common_input_validate from custom_controlnet_aux.util",
            "id": "metadata/import/python/custom_controlnet_aux/util/common_input_validate::common_input_validate",
            "spans": [
              [
                838,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports custom_hf_download from custom_controlnet_aux.util",
            "id": "metadata/import/python/custom_controlnet_aux/util/custom_hf_download::custom_hf_download",
            "spans": [
              [
                861,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports HWC3 from custom_controlnet_aux.util",
            "id": "metadata/import/python/custom_controlnet_aux/util/hwc3::hwc3",
            "spans": [
              [
                809,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports resize_image_with_pad from custom_controlnet_aux.util",
            "id": "metadata/import/python/custom_controlnet_aux/util/resize_image_with_pad::resize_image_with_pad",
            "spans": [
              [
                815,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports custom_controlnet_aux.util",
            "id": "metadata/import/python/custom_controlnet_aux/util::custom_controlnet_aux/util",
            "spans": [
              [
                775,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports cv2",
            "id": "metadata/import/python/cv2::cv2",
            "spans": [
              [
                887,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports hf_hub_download from huggingface_hub",
            "id": "metadata/import/python/huggingface_hub/hf_hub_download::hf_hub_download",
            "spans": [
              [
                705,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports huggingface_hub",
            "id": "metadata/import/python/huggingface_hub::huggingface_hub",
            "spans": [
              [
                682,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports json",
            "id": "metadata/import/python/json::json",
            "spans": [
              [
                458,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports numpy as np",
            "id": "metadata/import/python/numpy::np",
            "spans": [
              [
                483,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports Image from PIL",
            "id": "metadata/import/python/pil/image::image",
            "spans": [
              [
                907,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports PIL",
            "id": "metadata/import/python/pil::pil",
            "spans": [
              [
                896,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports .animalpose.AnimalPoseImage from .animalpose",
            "id": "metadata/import/python/relative/1/animalpose/animalposeimage::animalposeimage",
            "spans": [
              [
                937,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports .animalpose",
            "id": "metadata/import/python/relative/1/animalpose::relative/1/animalpose",
            "spans": [
              [
                918,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports .body.Body from .body",
            "id": "metadata/import/python/relative/1/body/body::body",
            "spans": [
              [
                532,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports .body.BodyResult from .body",
            "id": "metadata/import/python/relative/1/body/bodyresult::bodyresult",
            "spans": [
              [
                538,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports .body.Keypoint from .body",
            "id": "metadata/import/python/relative/1/body/keypoint::keypoint",
            "spans": [
              [
                550,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports .body",
            "id": "metadata/import/python/relative/1/body::relative/1/body",
            "spans": [
              [
                519,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports .face.Face from .face",
            "id": "metadata/import/python/relative/1/face/face::face",
            "spans": [
              [
                600,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports .face",
            "id": "metadata/import/python/relative/1/face::relative/1/face",
            "spans": [
              [
                587,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports .hand.Hand from .hand",
            "id": "metadata/import/python/relative/1/hand/hand::hand",
            "spans": [
              [
                577,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports .hand",
            "id": "metadata/import/python/relative/1/hand::relative/1/hand",
            "spans": [
              [
                564,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports .types.AnimalPoseResult from .types",
            "id": "metadata/import/python/relative/1/types/animalposeresult::animalposeresult",
            "spans": [
              [
                660,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports .types.FaceResult from .types",
            "id": "metadata/import/python/relative/1/types/faceresult::faceresult",
            "spans": [
              [
                648,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports .types.HandResult from .types",
            "id": "metadata/import/python/relative/1/types/handresult::handresult",
            "spans": [
              [
                636,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports .types.PoseResult from .types",
            "id": "metadata/import/python/relative/1/types/poseresult::poseresult",
            "spans": [
              [
                624,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports .types",
            "id": "metadata/import/python/relative/1/types::relative/1/types",
            "spans": [
              [
                610,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports .util from .",
            "id": "metadata/import/python/relative/1/util::util",
            "spans": [
              [
                509,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports .wholebody.Wholebody from .wholebody",
            "id": "metadata/import/python/relative/1/wholebody/wholebody::wholebody",
            "spans": [
              [
                744,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports .wholebody",
            "id": "metadata/import/python/relative/1/wholebody::relative/1/wholebody",
            "spans": [
              [
                726,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports torch",
            "id": "metadata/import/python/torch::torch",
            "spans": [
              [
                470,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports Callable from typing",
            "id": "metadata/import/python/typing/callable::callable",
            "spans": [
              [
                986,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports List from typing",
            "id": "metadata/import/python/typing/list::list",
            "spans": [
              [
                980,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports Optional from typing",
            "id": "metadata/import/python/typing/optional::optional",
            "spans": [
              [
                1003,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports Tuple from typing",
            "id": "metadata/import/python/typing/tuple::tuple",
            "spans": [
              [
                973,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports Union from typing",
            "id": "metadata/import/python/typing/union::union",
            "spans": [
              [
                996,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports typing",
            "id": "metadata/import/python/typing::typing",
            "spans": [
              [
                959,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports warnings",
            "id": "metadata/import/python/warnings::warnings",
            "spans": [
              [
                761,
                0
              ]
            ]
          },
          {
            "conf": 0.3,
            "crit": 2,
            "desc": "Source contains for-loop syntax",
            "id": "metadata/lang/source/syntax/control-flow::for-loop-content",
            "spans": [
              [
                4380,
                0
              ]
            ]
          },
          {
            "conf": 0.88,
            "crit": 1,
            "desc": "Data-access verb token",
            "id": "metadata/lang/natural/vocabulary/content-word::data-access-verb-token",
            "spans": [
              [
                7668,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"the\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-1",
            "spans": [
              [
                1355,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"and\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-2",
            "spans": [
              [
                213,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"that\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-3",
            "spans": [
              [
                3931,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"for\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-5",
            "spans": [
              [
                366,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"with\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-6",
            "spans": [
              [
                3254,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"this\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-7",
            "spans": [
              [
                329,
                0
              ]
            ]
          },
          {
            "conf": 0.88,
            "crit": 1,
            "desc": "ONNX or pickle filename suffix",
            "id": "micro-behaviors/fs/path/data-file::model-extension-reference--onnx-or-pickle",
            "spans": [
              [
                7374,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 1,
            "desc": "Encoded URL benign documentation or test context",
            "id": "micro-behaviors/communications/url/encoded::encoded-url-benign-context",
            "spans": [
              [
                11,
                28
              ]
            ],
            "uses": [
              2
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Public code-forge URL reference",
            "id": "micro-behaviors/communications/url/reference::public-code-forge-url",
            "spans": [
              [
                31,
                19
              ]
            ],
            "uses": [
              15
            ]
          },
          {
            "conf": 0.88,
            "crit": 3,
            "desc": "Sets variable or default bound to 257-1024",
            "id": "micro-behaviors/data/string/assembly::variable-bound-257-to-1024",
            "spans": [
              [
                8732,
                21
              ]
            ],
            "uses": [
              11
            ]
          }
        ],
        "type": "python"
      },
      {
        "depth": 1,
        "id": 8,
        "path": "time-image-1.0.1.zip!!custom_controlnet_aux/dwpose/animalpose.py",
        "pid": 0,
        "risk": 0,
        "sha": "a6fcee82fe69224989a388541667e2d1cfe5e62affe32fafc63f218074f592a6",
        "sid": 6726208393,
        "size": 11696,
        "type": "python"
      },
      {
        "depth": 1,
        "id": 9,
        "path": "time-image-1.0.1.zip!!custom_controlnet_aux/dwpose/body.py",
        "pid": 0,
        "risk": 0,
        "sha": "dff1b184df913ed488c37e6dfa52bc142fa67a524d72d6bed3b8676df7ffd375",
        "sid": 6726208399,
        "size": 12550,
        "type": "python"
      },
      {
        "analysis_gaps": [
          "flow-call-unavailable",
          "flow-query-incomplete"
        ],
        "ctx": [
          {
            "col": 1,
            "line": 1,
            "ln": 0,
            "s": "import cv2\nimport numpy as np\n\ndef nms(boxes, scores, nms_thr):\n    \"\"\"Single class NMS implemented in Numpy.\"\"\"\n    x1 = boxes[:, 0]\n    y1 = boxes[:,"
          },
          {
            "col": 39,
            "line": 11,
            "ln": 236,
            "s": " 1)\n    order = scores.argsort()[::-1]\n\n    keep = []\n    while order.size \u003e 0:\n        i = order[0]\n        keep.append(i)\n        xx1 = np.maximum(x1[i], x1[order[1:]])\n        yy1 = np.maximum(y1[i], y1[order[1:]])\n        xx2 = np.minimum(x2[i], x2[order[1:]])\n        yy2"
          },
          {
            "col": 10,
            "line": 35,
            "ln": 943,
            "s": "_dets = []\n    num_classes = scores.shape[1]\n    for cls_ind in range(num_classes):\n        cls_scores = scores[:, cls_ind]\n        valid_score_mask = cls_score"
          },
          {
            "col": 53,
            "line": 45,
            "ln": 1350,
            "s": "s_thr)\n            if len(keep) \u003e 0:\n                cls_inds = np.ones((len(keep), 1)) * cls_ind\n                dets = np.concatenate(\n                    [valid_boxes[keep], valid_scores[keep, Non"
          },
          {
            "col": 30,
            "line": 51,
            "ln": 1613,
            "s": "pend(dets)\n    if len(final_dets) == 0:\n        return None\n    return np.concatenate(final_dets, 0)\n\ndef demo_postprocess(outputs, img_size, p6=False):\n  "
          },
          {
            "col": 46,
            "line": 59,
            "ln": 1852,
            "s": "16, 32, 64]\n\n    hsizes = [img_size[0] // stride for stride in strides]\n    wsizes = [img_size[1] // stride for stride in strides]\n\n    for hsize, wsize, stride in zip(hsizes, wsizes, strides):\n        xv, yv = np.meshgrid(np.arange(wsize), np.arange(hsize))\n        grid = np.stack((xv, yv), 2).reshape(1, -1, 2)\n        grids.append(grid)\n        shape = gri"
          },
          {
            "col": 27,
            "line": 84,
            "ln": 2805,
            "s": "/ img.shape[0], input_size[1] / img.shape[1])\n    resized_img = cv2.resize(\n        img,\n        (int(img.shape[1] * r), int(img.shape[0] * r)),\n        interpolation=cv2.INTER_LINEAR,\n    ).astype(np.uint8)\n "
          },
          {
            "col": 22,
            "line": 126,
            "ln": 4424,
            "s": "inal_cls_inds, detect_classes)\n    isbbox = [ i and j for (i, j) in zip(isscore, iscat)]\n    final_boxes = final_boxes[isbbox]\n    return final_boxes"
          }
        ],
        "depth": 1,
        "facts": {
          "funcs": [
            [
              "nms",
              31
            ],
            [
              "multiclass_nms",
              811
            ],
            [
              "demo_postprocess",
              1715
            ],
            [
              "preprocess",
              2542
            ],
            [
              "inference_detector",
              3231
            ]
          ],
          "imp": [
            [
              "",
              "scores.argsort"
            ],
            [
              "",
              "keep.append"
            ],
            [
              "",
              "np.maximum"
            ],
            [
              "",
              "np.maximum"
            ],
            [
              "",
              "np.minimum"
            ],
            [
              "",
              "np.minimum"
            ],
            [
              "",
              "np.maximum"
            ],
            [
              "",
              "np.maximum"
            ],
            [
              "",
              "np.where"
            ],
            [
              "",
              "range"
            ],
            [
              "",
              "valid_score_mask.sum"
            ],
            [
              "",
              "nms"
            ],
            [
              "",
              "len"
            ],
            [
              "",
              "np.ones"
            ],
            [
              "",
              "len"
            ],
            [
              "",
              "np.concatenate"
            ],
            [
              "",
              "final_dets.append"
            ],
            [
              "",
              "len"
            ],
            [
              "",
              "np.concatenate"
            ],
            [
              "",
              "zip"
            ],
            [
              "",
              "np.meshgrid"
            ],
            [
              "",
              "np.arange"
            ],
            [
              "",
              "np.arange"
            ],
            [
              "",
              "np.stack.reshape"
            ],
            [
              "",
              "np.stack"
            ],
            [
              "",
              "grids.append"
            ],
            [
              "",
              "expanded_strides.append"
            ],
            [
              "",
              "np.full"
            ],
            [
              "",
              "np.concatenate"
            ],
            [
              "",
              "np.concatenate"
            ],
            [
              "",
              "np.exp"
            ],
            [
              "",
              "len"
            ],
            [
              "",
              "np.ones"
            ],
            [
              "",
              "np.ones"
            ],
            [
              "",
              "min"
            ],
            [
              "",
              "cv2.resize.astype"
            ],
            [
              "",
              "cv2.resize"
            ],
            [
              "",
              "int"
            ],
            [
              "",
              "int"
            ],
            [
              "",
              "int"
            ],
            [
              "",
              "int"
            ],
            [
              "",
              "padded_img.transpose"
            ],
            [
              "",
              "np.ascontiguousarray"
            ],
            [
              "",
              "preprocess"
            ],
            [
              "",
              "input.astype"
            ],
            [
              "",
              "type"
            ],
            [
              "",
              "session.get_inputs"
            ],
            [
              "",
              "session.run"
            ],
            [
              "",
              "session.getUnconnectedOutLayersNames"
            ],
            [
              "",
              "session.setInput"
            ],
            [
              "",
              "session.forward"
            ],
            [
              "",
              "demo_postprocess"
            ],
            [
              "",
              "np.ones_like"
            ],
            [
              "",
              "multiclass_nms"
            ],
            [
              "",
              "np.isin"
            ],
            [
              "",
              "zip"
            ],
            [
              "",
              "cv2"
            ],
            [
              "",
              "numpy"
            ]
          ],
          "mbr": [
            "cv2.INTER_LINEAR",
            "cv2.resize",
            "cv2.resize.astype",
            "expanded_strides.append",
            "final_dets.append",
            "grid.shape",
            "grids.append",
            "img.shape",
            "input.astype",
            "keep.append",
            "np.arange",
            "np.ascontiguousarray",
            "np.concatenate",
            "np.exp",
            "np.float32",
            "np.full",
            "np.isin",
            "np.maximum",
            "np.meshgrid",
            "np.minimum",
            "np.ones",
            "np.ones_like",
            "np.stack",
            "np.stack.reshape",
            "np.uint8",
            "np.where",
            "order.size",
            "padded_img.transpose",
            "scores.argsort",
            "scores.shape",
            "session.forward",
            "session.getUnconnectedOutLayersNames",
            "session.get_inputs",
            "session.run",
            "session.setInput",
            "type.__name__",
            "valid_score_mask.sum"
          ],
          "metrics": {
            "ast": {
              "call_count": 56,
              "max_array_length": 4,
              "max_concat_chain": 3,
              "max_depth": 18,
              "max_member_depth": 3,
              "max_numeric_array": 4,
              "member_count": 37,
              "node_count": 1786,
              "op.add": 9,
              "op.div": 8,
              "op.floordiv": 2,
              "op.land": 1,
              "op.mul": 12,
              "op.sub": 9,
              "op_density.add": 0.01,
              "op_density.div": 0,
              "op_density.floordiv": 0,
              "op_density.land": 0,
              "op_density.mul": 0.01,
              "op_density.sub": 0.01
            },
            "binary": {
              "peak_region_bytes": 4573,
              "peak_region_entropy": 4.76
            },
            "binds": {
              "count": 59
            },
            "file": {
              "entropy": 4.71,
              "size": 4573
            },
            "functions": {
              "avg_length_lines": 24.4,
              "avg_name_length": 12.2,
              "avg_param_name_length": 6.53,
              "avg_params": 3.4,
              "code_ratio": 0.95,
              "count": 5,
              "density": 3.88,
              "length_stddev": 5.95,
              "max_length_lines": 34,
              "max_params": 4,
              "min_length_lines": 17
            },
            "identifiers": {
              "all_lowercase_ratio": 0.85,
              "all_uppercase_ratio": 0.01,
              "avg_entropy": 2.2,
              "avg_length": 6.72,
              "count": 385,
              "double_underscore_count": 1,
              "has_digit_ratio": 0.1,
              "high_entropy_count": 2,
              "high_entropy_ratio": 0.02,
              "length_stddev": 4.31,
              "max_length": 28,
              "min_length": 1,
              "numeric_suffix_count": 12,
              "reuse_ratio": 0.3,
              "sequential_names": 10,
              "single_char_count": 5,
              "single_char_ratio": 0.04,
              "underscore_prefix_count": 1,
              "unique": 116
            },
            "imports": {
              "aliased": 1,
              "count": 2,
              "third_party_count": 2,
              "third_party_ratio": 1
            },
            "source": {
              "function_count": 5
            },
            "strings": {
              "avg_entropy": 3.81,
              "avg_length": 37,
              "base64_candidates": 1,
              "bytes": 111,
              "count": 3,
              "embedded_code_candidates": 2,
              "entropy_stddev": 0.53,
              "max_length": 57
            },
            "text": {
              "avg_line_length": 34.46,
              "char_entropy": 4.71,
              "digit_ratio": 0.06,
              "empty_line_ratio": 0.16,
              "encoded_string_ratio": 0.33,
              "identifier_density": 2.98,
              "identifiers_to_functions_ratio": 23.2,
              "import_density": 1.55,
              "imports_to_functions_ratio": 0.4,
              "last_line_length": 22,
              "line_length_stddev": 22.52,
              "lines": 129,
              "max_line_length": 85,
              "max_whitespace_run": 1,
              "normalized_function_count": 0.44,
              "normalized_import_count": 0.18,
              "normalized_string_count": 0.26,
              "normalized_unique_identifiers": 16.54,
              "repeated_char_sequences": 10,
              "space_count": 1029,
              "string_density": 0.02,
              "strings_to_functions_ratio": 0.6,
              "suspicious_identifier_ratio": 0.09,
              "suspicious_string_ratio": 0.67,
              "top_char": 101,
              "top_char_null": 0,
              "top_char_ratio": 0.07,
              "unique_chars": 66,
              "whitespace_ratio": 0.25
            }
          },
          "tgt": [
            "cv2.resize",
            "cv2.resize.astype",
            "demo_postprocess",
            "expanded_strides.append",
            "final_dets.append",
            "grids.append",
            "input.astype",
            "int",
            "keep.append",
            "len",
            "min",
            "multiclass_nms",
            "nms",
            "np.arange",
            "np.ascontiguousarray",
            "np.concatenate",
            "np.exp",
            "np.full",
            "np.isin",
            "np.maximum",
            "np.meshgrid",
            "np.minimum",
            "np.ones",
            "np.ones_like",
            "np.stack",
            "np.stack.reshape",
            "np.where",
            "padded_img.transpose",
            "preprocess",
            "range",
            "scores.argsort",
            "session.forward",
            "session.getUnconnectedOutLayersNames",
            "session.get_inputs",
            "session.run",
            "session.setInput",
            "type",
            "valid_score_mask.sum",
            "zip"
          ]
        },
        "id": 10,
        "mol": "H(Db₂)",
        "path": "time-image-1.0.1.zip!!custom_controlnet_aux/dwpose/dw_onnx/cv_ox_det.py",
        "pid": 0,
        "risk": 3,
        "sha": "6868ca209848d1bfab2be8dc6f9f8c75a32ead32a4d2d79db54532ad86db4155",
        "sid": 6726208382,
        "size": 4573,
        "traits": [
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Imports a Python raster imaging library",
            "id": "micro-behaviors/data/format/media/raster::python-imaging-library-import",
            "spans": [
              [
                7,
                3
              ],
              [
                2869,
                17
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "Module built on the numeric Python stack",
            "id": "micro-behaviors/data/manipulation::numeric-computation-library",
            "spans": [
              [
                18,
                5
              ],
              [
                374,
                10
              ],
              [
                1414,
                7
              ],
              [
                2075,
                9
              ]
            ],
            "uses": [
              2,
              6
            ]
          },
          {
            "conf": 0.85,
            "crit": 3,
            "desc": "Dense NumPy array construction and reduction",
            "id": "micro-behaviors/data/manipulation::numpy-array-operations",
            "spans": [
              [
                374,
                10
              ],
              [
                1414,
                7
              ],
              [
                2075,
                9
              ]
            ],
            "uses": [
              3,
              4,
              5
            ]
          },
          {
            "conf": 0.85,
            "crit": 3,
            "desc": "NumPy array operation (arange)",
            "id": "micro-behaviors/data/manipulation::numpy-array-operations--arange",
            "spans": [
              [
                2075,
                9
              ]
            ]
          },
          {
            "conf": 0.85,
            "crit": 3,
            "desc": "NumPy array operation (maximum)",
            "id": "micro-behaviors/data/manipulation::numpy-array-operations--maximum",
            "spans": [
              [
                374,
                10
              ]
            ]
          },
          {
            "conf": 0.85,
            "crit": 3,
            "desc": "NumPy array operation (ones)",
            "id": "micro-behaviors/data/manipulation::numpy-array-operations--ones",
            "spans": [
              [
                1414,
                7
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Imports the NumPy array library",
            "id": "micro-behaviors/data/manipulation::numpy-import",
            "spans": [
              [
                18,
                5
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports cv2",
            "id": "metadata/import/python/cv2::cv2",
            "spans": [
              [
                7,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports numpy as np",
            "id": "metadata/import/python/numpy::np",
            "spans": [
              [
                18,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"and\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-2",
            "spans": [
              [
                4472,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"for\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-5",
            "spans": [
              [
                992,
                0
              ]
            ]
          }
        ],
        "type": "python"
      },
      {
        "depth": 1,
        "id": 11,
        "path": "time-image-1.0.1.zip!!custom_controlnet_aux/dwpose/dw_onnx/cv_ox_pose.py",
        "pid": 0,
        "risk": 0,
        "sha": "89ad82d941512843e92d66989fa9e22ad67ed6c2b3152aaa9811cc2898612ee7",
        "sid": 6726208388,
        "size": 12002,
        "type": "python"
      },
      {
        "depth": 1,
        "id": 12,
        "path": "time-image-1.0.1.zip!!custom_controlnet_aux/dwpose/dw_onnx/cv_ox_yolo_nas.py",
        "pid": 0,
        "risk": 0,
        "sha": "ff0dede4d2442dd6d83888f4ffcb1594bf6919d3134102288983427eca8f61e6",
        "sid": 6726208401,
        "size": 2361,
        "type": "python"
      },
      {
        "depth": 1,
        "id": 13,
        "path": "time-image-1.0.1.zip!!custom_controlnet_aux/dwpose/dw_torchscript/jit_det.py",
        "pid": 0,
        "risk": 0,
        "sha": "83f96c563acf40997408020f14ce49f8b4d3d30ed86a23a611bd62674f864cb3",
        "sid": 6726208386,
        "size": 4424,
        "type": "python"
      },
      {
        "depth": 1,
        "id": 14,
        "path": "time-image-1.0.1.zip!!custom_controlnet_aux/dwpose/dw_torchscript/jit_pose.py",
        "pid": 0,
        "risk": 0,
        "sha": "3598bd18720571871d9ebd205737e9fa3eca8e41231263ef94773418d99e8373",
        "sid": 6726208377,
        "size": 12130,
        "type": "python"
      },
      {
        "depth": 1,
        "id": 15,
        "path": "time-image-1.0.1.zip!!custom_controlnet_aux/dwpose/face.py",
        "pid": 0,
        "risk": 0,
        "sha": "9e68f6a4ac99ea67394bcfd82e559f2e3060031be17def6196059eb9aa75fc2a",
        "sid": 2431446185,
        "size": 13485,
        "type": "python"
      },
      {
        "depth": 1,
        "id": 16,
        "path": "time-image-1.0.1.zip!!custom_controlnet_aux/dwpose/hand.py",
        "pid": 0,
        "risk": 0,
        "sha": "13cc3c1a76dff050897028363c4b5c1ec33c263b2c70e33512abc5d896594390",
        "sid": 6726208373,
        "size": 3360,
        "type": "python"
      },
      {
        "depth": 1,
        "id": 17,
        "path": "time-image-1.0.1.zip!!custom_controlnet_aux/dwpose/model.py",
        "pid": 0,
        "risk": 0,
        "sha": "afe6bf4cf02d8cd23667007ca19977dbdeb982c8bd463659abeef6c73f42dbe6",
        "sid": 2431446331,
        "size": 8744,
        "type": "python"
      },
      {
        "depth": 1,
        "id": 18,
        "path": "time-image-1.0.1.zip!!custom_controlnet_aux/dwpose/types.py",
        "pid": 0,
        "risk": 0,
        "sha": "474a1b598bfc09ee1f6713836344503b9b3c5fb4d4b96ce4167f31ade2c9735f",
        "sid": 6726208381,
        "size": 836,
        "type": "python"
      },
      {
        "depth": 1,
        "id": 19,
        "path": "time-image-1.0.1.zip!!custom_controlnet_aux/dwpose/util.py",
        "pid": 0,
        "risk": 0,
        "sha": "e6050a00f0cd2173e37f1da41a7f9ad3ea5cd57d73388bcd0e91cf0e393d5d3c",
        "sid": 6726208400,
        "size": 16450,
        "type": "python"
      },
      {
        "depth": 1,
        "id": 20,
        "path": "time-image-1.0.1.zip!!custom_controlnet_aux/dwpose/wholebody.py",
        "pid": 0,
        "risk": 0,
        "sha": "2cf28bae2a2a77fae162ab0f9cf0959faf78e084a3ebe6cf79c865cc0d88b8d0",
        "sid": 6726208375,
        "size": 8623,
        "type": "python"
      },
      {
        "ctx": [
          {
            "col": 46,
            "line": 3,
            "ln": 113,
            "s": "CIAL RESEARCH USE ONLY\n\nBY USING OR DOWNLOADING THE SOFTWARE, YOU ARE AGREEING TO THE TERMS OF THIS LICENSE AGREEMENT.  IF YOU DO NOT AGREE WITH THESE TERMS, YOU MAY NOT USE OR DOWNLOAD THE SOFTWARE.\n\nThis is a license agreement (\"Agreement"
          },
          {
            "col": 111,
            "line": 7,
            "ln": 424,
            "s": " (called \"Licensee\" or \"You\" in this Agreement) and Carnegie Mellon University (called \"Licensor\" in this Agreement).  All rights not specifically granted to you in this Agreement are reserved for Licensor. \n\nRESERVATION OF OWNERSHIP AND GRANT OF LICENSE: \nLicensor retains exclusive ownership of any copy of the Software (as defined below) licensed under this Agreemen"
          },
          {
            "col": 346,
            "line": 11,
            "ln": 1198,
            "s": "to this Agreement, inclusive of backups, updates, and/or merged copies permitted hereunder or subsequen"
          },
          {
            "col": 494,
            "line": 11,
            "ln": 1346,
            "s": "ny file structures, programming instructions, user interfaces and screen formats and sequences as well as an"
          },
          {
            "col": 764,
            "line": 11,
            "ln": 1616,
            "s": "in (i).\n\nCONFIDENTIALITY: Licensee acknowledges that the Software is proprietary to Licensor, and as such, Licensee agrees to receive all such mater"
          },
          {
            "col": 446,
            "line": 20,
            "ln": 2925,
            "s": "n violation of this Agreement.\n\nBACKUPS:  If Licensee is an organization, it may make that number of co"
          },
          {
            "col": 251,
            "line": 22,
            "ln": 3207,
            "s": "ing the copyright and trademark notices are copied onto the labels of the copies.\n\nUSES NOT PERMITTED: "
          },
          {
            "col": 257,
            "line": 24,
            "ln": 3546,
            "s": "ny renditions thereof without the prior written permission of Licensor.\n\nYou may not sell, rent, lease, sublicense, lend, time-share or transfer, in whole or in part, or provide third parties access to prior or present versions (or any parts thereof) of the Software.\n\nASSIGNMENT: You may not a"
          },
          {
            "col": 129,
            "line": 30,
            "ln": 4132,
            "s": "are or by using the Software until terminated as provided below.\n\nThe Agreement automatically terminates without notice if you fail to comply with any provision of this Agreement.  Licensee may terminate this Agreement by ceasing using the Software.  Upon any termination"
          },
          {
            "col": 208,
            "line": 32,
            "ln": 4405,
            "s": "f this Agreement, Licensee will delete any and all copies of the Software. You agree that all provisio"
          },
          {
            "col": 64,
            "line": 55,
            "ln": 7102,
            "s": "*********\n\nTHIRD-PARTY SOFTWARE NOTICES AND INFORMATION\n\nThis project incorporates material from the pr"
          },
          {
            "col": 4,
            "line": 65,
            "ln": 7532,
            "s": " contributions by the University of California:\nCopyright (c) 2014-2017 The Regents of the University of California (Regents)\nAll rights reserved.\n\nAll o"
          },
          {
            "col": 75,
            "line": 76,
            "ln": 8074,
            "s": "e\ntheir copyright solely in the commit message of the change when it is\ncommitted.\n\nLICENSE\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following condi"
          },
          {
            "col": 64,
            "line": 83,
            "ln": 8297,
            "s": "ons are met: \n\n1. Redistributions of source code must retain the above copyright notice, this\n   list of conditions and the following disclaimer. \n2. "
          }
        ],
        "depth": 1,
        "facts": {
          "metrics": {
            "binary": {
              "peak_region_bytes": 6612,
              "peak_region_entropy": 5.08
            },
            "file": {
              "entropy": 4.95,
              "size": 9684
            }
          }
        },
        "id": 21,
        "mol": "Md(Pt)",
        "path": "time-image-1.0.1.zip!!custom_controlnet_aux/open_pose/LICENSE",
        "pid": 0,
        "risk": 1,
        "sha": "33c27cd37e3dce7099b1eac2fa02e966e58b69b4c7d90e7e2855ea9021d8e2b2",
        "sid": 2431445821,
        "size": 9684,
        "traits": [
          {
            "conf": 0.94,
            "crit": 3,
            "desc": "Text mentions acting without notice or review",
            "id": "metadata/lang/natural/phrasing/security::without-notice-or-review-wording",
            "spans": [
              [
                4196,
                79
              ]
            ]
          }
        ],
        "type": "text"
      },
      {
        "analysis_gaps": [
          "flow-graph-limited",
          "flow-call-unavailable",
          "flow-query-incomplete"
        ],
        "ctx": [
          {
            "col": 1,
            "line": 1,
            "ln": 0,
            "s": "# Openpose\n# Original from CMU https://github.com/CMU-Perceptual-Computing-Lab/openpose\n# 2nd Edited by https://github.com/Hzzone/pytorch-openpose\n# 3rd Edited by ControlNet\n# 4th Edited by ControlNet (added face and correct hands)\n# 5th Edited by ControlNet (Improved JSON serialization/deserialization, and lots of bug fixs)\n# This preprocessor is licensed by CMU for non-commercial use only.\n\n\nimport os\n\nos.environ[\"KMP_DUPLICATE_LIB_OK\"] = \"TRUE\"\n\nimport json\nimport warnings\nfrom typing import Callable, List, NamedTuple, Tuple, Union\n\nimport cv2\nimport numpy as np\nimport torch\nfrom huggingface_hub import hf_hub_download\nfrom PIL import Image\n\nfrom custom_controlnet_aux.util import HWC3, common_input_validate, resize_image_with_pad, custom_hf_download, HF_MODEL_NAME\nfrom . import util\nfrom .body import Body, BodyResult, Keypoint\nfrom .face import Face\nfrom .hand import Hand\n\nHandResult = List[Keypoint]\nFaceResult = List[Keypoint]\n\nclass PoseResult(NamedTuple):\n    body: BodyResult\n    left_hand: Union[HandResul"
          },
          {
            "col": 92,
            "line": 39,
            "ln": 1201,
            "s": "e, xinsr_stick_scaling=False):\n    \"\"\"\n    Draw the detected poses on an empty canvas.\n\n    Args:\n        poses (List[PoseResult]): A list of PoseR"
          },
          {
            "col": 17,
            "line": 52,
            "ln": 1766,
            "s": "array: A 3D numpy array representing the canvas with the drawn poses.\n    \"\"\"\n    canvas = np.zeros(shape=(H, W, 3), dtype=np.uint8)\n\n    for pose in poses:\n        if draw_body:\n            canvas = util.draw_bodypose(canvas, pose.body.keypoints"
          },
          {
            "col": 87,
            "line": 73,
            "ln": 2643,
            "s": "], None]:\n        if not keypoints:\n            return None\n        \n        return [\n            value\n            for keypoint in keypoints\n            for value in (\n                [float(keypoint.x), float(keypoint.y), 1.0]\n                if keypoint is not"
          },
          {
            "col": 11,
            "line": 113,
            "ln": 3917,
            "s": "method\n    def from_pretrained(cls, pretrained_model_or_path=HF_MODEL_NAME, filename=\"body_pose_model.pth\", hand_filename=\"hand_pose_model.pth\", face_filename=\"facenet.pth\"):\n        if pretrained_model_or_path == \"lllyasviel/ControlNet\":\n            subfolder = \"annotator/ckpts\"\n            face_pr"
          },
          {
            "col": 7,
            "line": 148,
            "ln": 5682,
            "s": "          \n                hand_result = [\n                    Keypoint(x=peak[0], y=peak[1])\n                    for peak in peaks\n                ]\n\n                if is_left:\n                    left_hand = hand_result"
          },
          {
            "col": 5,
            "line": 191,
            "ln": 7348,
            "s": "    oriImg = oriImg[:, :, ::-1].copy()\n        H, W, C = oriImg.shape\n        with torch.no_grad():\n"
          },
          {
            "col": 70,
            "line": 195,
            "ln": 7578,
            "s": "e, subset)\n\n            results = []\n            for body in bodies:\n                left_hand, right_hand, face = (None,) * 3\n                if include_han"
          },
          {
            "col": 9,
            "line": 217,
            "ln": 8455,
            "s": "    return results\n        \n    def __call__(self, input_image, detect_resolution=512, include_body=True, include_hand=False, include_face=False, hand_and_face=None, output_type=\"pil\", image_and_json=False, upscal"
          }
        ],
        "depth": 1,
        "facts": {
          "funcs": [
            [
              "draw_poses",
              1110
            ],
            [
              "encode_poses_as_dict",
              2289
            ],
            [
              "compress_keypoints",
              2561
            ],
            [
              "__init__",
              3684
            ],
            [
              "from_pretrained",
              3928
            ],
            [
              "to",
              4932
            ],
            [
              "detect_hands",
              5099
            ],
            [
              "detect_face",
              6015
            ],
            [
              "detect_poses",
              6783
            ],
            [
              "__call__",
              8487
            ]
          ],
          "imp": [
            [
              "",
              "np.zeros"
            ],
            [
              "",
              "util.draw_bodypose"
            ],
            [
              "",
              "util.draw_handpose"
            ],
            [
              "",
              "util.draw_handpose"
            ],
            [
              "",
              "util.draw_facepose"
            ],
            [
              "",
              "float"
            ],
            [
              "",
              "float"
            ],
            [
              "",
              "compress_keypoints"
            ],
            [
              "",
              "compress_keypoints"
            ],
            [
              "",
              "compress_keypoints"
            ],
            [
              "",
              "compress_keypoints"
            ],
            [
              "",
              "custom_hf_download"
            ],
            [
              "",
              "custom_hf_download"
            ],
            [
              "",
              "custom_hf_download"
            ],
            [
              "",
              "Body"
            ],
            [
              "",
              "Hand"
            ],
            [
              "",
              "Face"
            ],
            [
              "",
              "cls"
            ],
            [
              "",
              "self.body_estimation.to"
            ],
            [
              "",
              "self.hand_estimation.to"
            ],
            [
              "",
              "self.face_estimation.to"
            ],
            [
              "",
              "util.handDetect"
            ],
            [
              "",
              "self.hand_estimation.astype"
            ],
            [
              "",
              "self.hand_estimation"
            ],
            [
              "",
              "np.where"
            ],
            [
              "",
              "float"
            ],
            [
              "",
              "np.where"
            ],
            [
              "",
              "float"
            ],
            [
              "",
              "Keypoint"
            ],
            [
              "",
              "util.faceDetect"
            ],
            [
              "",
              "self.face_estimation"
            ],
            [
              "",
              "self.face_estimation.compute_peaks_from_heatmaps.astype"
            ],
            [
              "",
              "self.face_estimation.compute_peaks_from_heatmaps"
            ],
            [
              "",
              "np.where"
            ],
            [
              "",
              "float"
            ],
            [
              "",
              "np.where"
            ],
            [
              "",
              "float"
            ],
            [
              "",
              "Keypoint"
            ],
            [
              "",
              "torch.no_grad"
            ],
            [
              "",
              "self.body_estimation"
            ],
            [
              "",
              "self.body_estimation.format_body_result"
            ],
            [
              "",
              "self.detect_hands"
            ],
            [
              "",
              "self.detect_face"
            ],
            [
              "",
              "results.append"
            ],
            [
              "",
              "PoseResult"
            ],
            [
              "",
              "BodyResult"
            ],
            [
              "",
              "Keypoint"
            ],
            [
              "",
              "float"
            ],
            [
              "",
              "float"
            ],
            [
              "",
              "warnings.warn"
            ],
            [
              "",
              "common_input_validate"
            ],
            [
              "",
              "resize_image_with_pad"
            ],
            [
              "",
              "self.detect_poses"
            ],
            [
              "",
              "draw_poses"
            ],
            [
              "",
              "HWC3"
            ],
            [
              "",
              "remove_pad"
            ],
            [
              "",
              "Image.fromarray"
            ],
            [
              "",
              "encode_poses_as_dict"
            ],
            [
              "",
              ".body"
            ],
            [
              ".body",
              ".body.Body"
            ],
            [
              ".body",
              ".body.BodyResult"
            ],
            [
              ".body",
              ".body.Keypoint"
            ],
            [
              "",
              ".face"
            ],
            [
              ".face",
              ".face.Face"
            ],
            [
              "",
              ".hand"
            ],
            [
              ".hand",
              ".hand.Hand"
            ],
            [
              ".",
              ".util"
            ],
            [
              "typing",
              "Callable"
            ],
            [
              "custom_controlnet_aux.util",
              "HF_MODEL_NAME"
            ],
            [
              "custom_controlnet_aux.util",
              "HWC3"
            ],
            [
              "PIL",
              "Image"
            ],
            [
              "typing",
              "List"
            ],
            [
              "typing",
              "NamedTuple"
            ],
            [
              "",
              "PIL"
            ],
            [
              "typing",
              "Tuple"
            ],
            [
              "typing",
              "Union"
            ],
            [
              "custom_controlnet_aux.util",
              "common_input_validate"
            ],
            [
              "",
              "custom_controlnet_aux.util"
            ],
            [
              "custom_controlnet_aux.util",
              "custom_hf_download"
            ],
            [
              "",
              "cv2"
            ],
            [
              "huggingface_hub",
              "hf_hub_download"
            ],
            [
              "",
              "huggingface_hub"
            ],
            [
              "",
              "json"
            ],
            [
              "",
              "numpy"
            ],
            [
              "",
              "os"
            ],
            [
              "custom_controlnet_aux.util",
              "resize_image_with_pad"
            ],
            [
              "",
              "torch"
            ],
            [
              "",
              "typing"
            ],
            [
              "",
              "warnings"
            ]
          ],
          "mbr": [
            "Image.fromarray",
            "body.keypoints",
            "body.total_parts",
            "body.total_score",
            "detected_map.shape",
            "input_image.shape",
            "keypoint.x",
            "keypoint.y",
            "np.float32",
            "np.uint8",
            "np.where",
            "np.zeros",
            "oriImg.shape",
            "os.environ",
            "os.environ.KMP_DUPLICATE_LIB_OK",
            "peaks.ndim",
            "peaks.shape",
            "pose.body",
            "pose.body.keypoints",
            "pose.face",
            "pose.left_hand",
            "pose.right_hand",
            "results.append",
            "self.body_estimation",
            "self.body_estimation.format_body_result",
            "self.body_estimation.to",
            "self.detect_face",
            "self.detect_hands",
            "self.detect_poses",
            "self.face_estimation",
            "self.face_estimation.compute_peaks_from_heatmaps",
            "self.face_estimation.compute_peaks_from_heatmaps.astype",
            "self.face_estimation.to",
            "self.hand_estimation",
            "self.hand_estimation.astype",
            "self.hand_estimation.to",
            "torch.no_grad",
            "util.draw_bodypose",
            "util.draw_facepose",
            "util.draw_handpose",
            "util.faceDetect",
            "util.handDetect",
            "warnings.warn"
          ],
          "metrics": {
            "ast": {
              "call_count": 59,
              "max_array_length": 3,
              "max_concat_chain": 2,
              "max_depth": 25,
              "max_member_depth": 4,
              "max_numeric_array": 3,
              "member_count": 43,
              "node_count": 2179,
              "op.add": 8,
              "op.div": 6,
              "op.land": 2,
              "op.mul": 1,
              "op.sub": 5,
              "op_density.add": 0,
              "op_density.div": 0,
              "op_density.land": 0,
              "op_density.mul": 0,
              "op_density.sub": 0
            },
            "binary": {
              "peak_region_bytes": 2048,
              "peak_region_entropy": 5.09
            },
            "binds": {
              "count": 40
            },
            "comments": {
              "base64": 2,
              "chars": 381,
              "count": 7,
              "high_entropy": 2,
              "lines": 7,
              "to_code_ratio": 0.03,
              "url_count": 2
            },
            "file": {
              "entropy": 4.59,
              "size": 9793
            },
            "functions": {
              "avg_length_lines": 19.7,
              "avg_name_length": 11.6,
              "avg_nesting_depth": 0.1,
              "avg_param_name_length": 9.52,
              "avg_params": 4.4,
              "code_ratio": 0.77,
              "count": 12,
              "density": 4.2,
              "high_entropy_names": 1,
              "length_stddev": 10.32,
              "many_params_count": 1,
              "max_length_lines": 38,
              "max_nesting_depth": 1,
              "max_params": 12,
              "min_length_lines": 4,
              "nested": 1,
              "single_char_params": 2
            },
            "identifiers": {
              "all_lowercase_ratio": 0.79,
              "all_uppercase_ratio": 0.05,
              "avg_entropy": 2.58,
              "avg_length": 9.11,
              "count": 518,
              "double_underscore_count": 2,
              "has_digit_ratio": 0.03,
              "high_entropy_count": 13,
              "high_entropy_ratio": 0.1,
              "length_stddev": 5.61,
              "max_length": 29,
              "min_length": 1,
              "numeric_suffix_count": 4,
              "reuse_ratio": 0.25,
              "sequential_names": 6,
              "single_char_count": 7,
              "single_char_ratio": 0.05,
              "underscore_prefix_count": 3,
              "unique": 132
            },
            "imports": {
              "aliased": 1,
              "count": 32,
              "relative": 10,
              "relative_ratio": 0.31,
              "stdlib_count": 4,
              "stdlib_ratio": 0.13,
              "third_party_count": 28,
              "third_party_ratio": 0.88
            },
            "references": {
              "declared_count": 3,
              "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": {
              "class_count": 2,
              "function_count": 10
            },
            "strings": {
              "avg_entropy": 3.37,
              "avg_length": 71.67,
              "bytes": 1720,
              "count": 24,
              "embedded_code_candidates": 1,
              "empty_count": 1,
              "entropy_stddev": 0.82,
              "max_length": 601
            },
            "text": {
              "avg_line_length": 40.15,
              "char_entropy": 4.59,
              "digit_ratio": 0.01,
              "empty_line_ratio": 0.18,
              "identifier_density": 2.18,
              "identifiers_to_functions_ratio": 13.2,
              "import_density": 13.45,
              "imports_to_functions_ratio": 3.2,
              "last_line_length": 27,
              "line_length_stddev": 36.36,
              "lines": 238,
              "lines_over_200": 1,
              "max_line_length": 246,
              "max_whitespace_run": 1,
              "normalized_function_count": 0.65,
              "normalized_import_count": 2.07,
              "normalized_string_count": 1.56,
              "normalized_unique_identifiers": 16.72,
              "repeated_char_sequences": 77,
              "space_count": 2492,
              "string_density": 0.1,
              "strings_to_functions_ratio": 2.4,
              "suspicious_comment_ratio": 0.57,
              "suspicious_identifier_ratio": 0.05,
              "suspicious_string_ratio": 0.04,
              "top_char": 101,
              "top_char_null": 0,
              "top_char_ratio": 0.07,
              "trailing_whitespace_lines": 14,
              "unique_chars": 76,
              "whitespace_ratio": 0.28
            }
          },
          "tgt": [
            "Body",
            "BodyResult",
            "Face",
            "HWC3",
            "Hand",
            "Image.fromarray",
            "Keypoint",
            "PoseResult",
            "cls",
            "common_input_validate",
            "compress_keypoints",
            "custom_hf_download",
            "draw_poses",
            "encode_poses_as_dict",
            "float",
            "np.where",
            "np.zeros",
            "remove_pad",
            "resize_image_with_pad",
            "results.append",
            "self.body_estimation",
            "self.body_estimation.format_body_result",
            "self.body_estimation.to",
            "self.detect_face",
            "self.detect_hands",
            "self.detect_poses",
            "self.face_estimation",
            "self.face_estimation.compute_peaks_from_heatmaps",
            "self.face_estimation.compute_peaks_from_heatmaps.astype",
            "self.face_estimation.to",
            "self.hand_estimation",
            "self.hand_estimation.astype",
            "self.hand_estimation.to",
            "torch.no_grad",
            "util.draw_bodypose",
            "util.draw_facepose",
            "util.draw_handpose",
            "util.faceDetect",
            "util.handDetect",
            "warnings.warn"
          ]
        },
        "id": 22,
        "mol": "K(Am)H₅(Cm₂Db₃FOsPo)Md(In)",
        "path": "time-image-1.0.1.zip!!custom_controlnet_aux/open_pose/__init__.py",
        "pid": 0,
        "risk": 10,
        "sha": "68df38a35886b670e380b186fb5cf9144d50a1b02dcd938821ece05d89ce3a49",
        "sid": 6726208383,
        "size": 9793,
        "traits": [
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports os",
            "id": "metadata/import/python/os::os",
            "spans": [
              [
                404,
                2
              ]
            ]
          },
          {
            "atk": "T1071.001",
            "conf": 0.98,
            "crit": 3,
            "desc": "Imports the Hugging Face Hub Python client",
            "id": "micro-behaviors/communications/http/services/huggingface::huggingface-hub-python-client-import",
            "spans": [
              [
                590,
                15
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Python comment contains a URL",
            "id": "micro-behaviors/communications/url/reference::python-comment-url-reference",
            "spans": [
              [
                11,
                28
              ],
              [
                88,
                24
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Imports a Python raster imaging library",
            "id": "micro-behaviors/data/format/media/raster::python-imaging-library-import",
            "spans": [
              [
                549,
                3
              ],
              [
                634,
                3
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "Module built on the numeric Python stack",
            "id": "micro-behaviors/data/manipulation::numeric-computation-library",
            "spans": [
              [
                560,
                5
              ],
              [
                1857,
                8
              ]
            ],
            "uses": [
              5,
              7
            ]
          },
          {
            "conf": 0.85,
            "crit": 3,
            "desc": "Dense NumPy array construction and reduction",
            "id": "micro-behaviors/data/manipulation::numpy-array-operations",
            "spans": [
              [
                1857,
                8
              ]
            ],
            "uses": [
              6
            ]
          },
          {
            "conf": 0.85,
            "crit": 3,
            "desc": "NumPy array operation (zeros)",
            "id": "micro-behaviors/data/manipulation::numpy-array-operations--zeros",
            "spans": [
              [
                1857,
                8
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Imports the NumPy array library",
            "id": "micro-behaviors/data/manipulation::numpy-import",
            "spans": [
              [
                560,
                5
              ]
            ]
          },
          {
            "conf": 0.88,
            "crit": 3,
            "desc": "Assigns variable to 257-999 numeric bound",
            "id": "micro-behaviors/data/string/assembly::variable-bound-257-to-999",
            "spans": [
              [
                8519,
                21
              ]
            ]
          },
          {
            "conf": 0.88,
            "crit": 3,
            "desc": "Checkpoint extension after model context",
            "id": "micro-behaviors/fs/path/data-file::checkpoint-extension-after-model-context",
            "spans": [
              [
                3981,
                41
              ],
              [
                4050,
                38
              ]
            ]
          },
          {
            "conf": 0.88,
            "crit": 3,
            "desc": "Checkpoint extension before model context",
            "id": "micro-behaviors/fs/path/data-file::checkpoint-extension-before-model-context",
            "spans": [
              [
                4018,
                37
              ]
            ]
          },
          {
            "atk": "T1082",
            "conf": 0.75,
            "crit": 3,
            "desc": "Python writes environment variable",
            "id": "micro-behaviors/os/env/write::os-environ-assignment",
            "mbc": "E1082",
            "spans": [
              [
                408,
                36
              ]
            ]
          },
          {
            "atk": "T1082",
            "conf": 0.75,
            "crit": 3,
            "desc": "Python binds a value into os.environ",
            "id": "micro-behaviors/os/env/write::os-environ-bind",
            "mbc": "E1082",
            "spans": [
              [
                408,
                31
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "String literal names a .pth file",
            "id": "micro-behaviors/process/interpreter/python::pth-filename-string-literal",
            "spans": [
              [
                4002,
                21
              ],
              [
                4039,
                21
              ],
              [
                4076,
                13
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "GitHub service URL reference",
            "id": "well-known/app/development/code-forge/github::github-service-url",
            "spans": [
              [
                31,
                19
              ]
            ]
          },
          {
            "conf": 1.0,
            "crit": 2,
            "desc": "File uses a Python artifact extension",
            "id": "metadata/file/extension/identity::py"
          },
          {
            "conf": 0.3,
            "crit": 2,
            "desc": "Python package __init__.py file",
            "id": "metadata/file/size::init-py-file"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports common_input_validate from custom_controlnet_aux.util",
            "id": "metadata/import/python/custom_controlnet_aux/util/common_input_validate::common_input_validate",
            "spans": [
              [
                697,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports custom_hf_download from custom_controlnet_aux.util",
            "id": "metadata/import/python/custom_controlnet_aux/util/custom_hf_download::custom_hf_download",
            "spans": [
              [
                743,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports HF_MODEL_NAME from custom_controlnet_aux.util",
            "id": "metadata/import/python/custom_controlnet_aux/util/hf_model_name::hf_model_name",
            "spans": [
              [
                763,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports HWC3 from custom_controlnet_aux.util",
            "id": "metadata/import/python/custom_controlnet_aux/util/hwc3::hwc3",
            "spans": [
              [
                691,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports resize_image_with_pad from custom_controlnet_aux.util",
            "id": "metadata/import/python/custom_controlnet_aux/util/resize_image_with_pad::resize_image_with_pad",
            "spans": [
              [
                720,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports custom_controlnet_aux.util",
            "id": "metadata/import/python/custom_controlnet_aux/util::custom_controlnet_aux/util",
            "spans": [
              [
                657,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports cv2",
            "id": "metadata/import/python/cv2::cv2",
            "spans": [
              [
                549,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports hf_hub_download from huggingface_hub",
            "id": "metadata/import/python/huggingface_hub/hf_hub_download::hf_hub_download",
            "spans": [
              [
                613,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports huggingface_hub",
            "id": "metadata/import/python/huggingface_hub::huggingface_hub",
            "spans": [
              [
                590,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports json",
            "id": "metadata/import/python/json::json",
            "spans": [
              [
                460,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports numpy as np",
            "id": "metadata/import/python/numpy::np",
            "spans": [
              [
                560,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports Image from PIL",
            "id": "metadata/import/python/pil/image::image",
            "spans": [
              [
                645,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports PIL",
            "id": "metadata/import/python/pil::pil",
            "spans": [
              [
                634,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports .body.Body from .body",
            "id": "metadata/import/python/relative/1/body/body::body",
            "spans": [
              [
                814,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports .body.BodyResult from .body",
            "id": "metadata/import/python/relative/1/body/bodyresult::bodyresult",
            "spans": [
              [
                820,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports .body.Keypoint from .body",
            "id": "metadata/import/python/relative/1/body/keypoint::keypoint",
            "spans": [
              [
                832,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports .body",
            "id": "metadata/import/python/relative/1/body::relative/1/body",
            "spans": [
              [
                801,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports .face.Face from .face",
            "id": "metadata/import/python/relative/1/face/face::face",
            "spans": [
              [
                859,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports .face",
            "id": "metadata/import/python/relative/1/face::relative/1/face",
            "spans": [
              [
                846,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports .hand.Hand from .hand",
            "id": "metadata/import/python/relative/1/hand/hand::hand",
            "spans": [
              [
                882,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports .hand",
            "id": "metadata/import/python/relative/1/hand::relative/1/hand",
            "spans": [
              [
                869,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports .util from .",
            "id": "metadata/import/python/relative/1/util::util",
            "spans": [
              [
                791,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports torch",
            "id": "metadata/import/python/torch::torch",
            "spans": [
              [
                579,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports Callable from typing",
            "id": "metadata/import/python/typing/callable::callable",
            "spans": [
              [
                500,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports List from typing",
            "id": "metadata/import/python/typing/list::list",
            "spans": [
              [
                510,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports NamedTuple from typing",
            "id": "metadata/import/python/typing/namedtuple::namedtuple",
            "spans": [
              [
                516,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports Tuple from typing",
            "id": "metadata/import/python/typing/tuple::tuple",
            "spans": [
              [
                528,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports Union from typing",
            "id": "metadata/import/python/typing/union::union",
            "spans": [
              [
                535,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports typing",
            "id": "metadata/import/python/typing::typing",
            "spans": [
              [
                486,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports warnings",
            "id": "metadata/import/python/warnings::warnings",
            "spans": [
              [
                472,
                0
              ]
            ]
          },
          {
            "conf": 0.3,
            "crit": 2,
            "desc": "Source contains for-loop syntax",
            "id": "metadata/lang/source/syntax/control-flow::for-loop-content",
            "spans": [
              [
                2796,
                0
              ]
            ]
          },
          {
            "conf": 0.88,
            "crit": 1,
            "desc": "Data-access verb token",
            "id": "metadata/lang/natural/vocabulary/content-word::data-access-verb-token",
            "spans": [
              [
                7380,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"the\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-1",
            "spans": [
              [
                1249,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"and\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-2",
            "spans": [
              [
                213,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"for\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-5",
            "spans": [
              [
                366,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"with\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-6",
            "spans": [
              [
                1814,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"this\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-7",
            "spans": [
              [
                329,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 1,
            "desc": "Encoded URL benign documentation or test context",
            "id": "micro-behaviors/communications/url/encoded::encoded-url-benign-context",
            "spans": [
              [
                11,
                28
              ]
            ],
            "uses": [
              2
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Public code-forge URL reference",
            "id": "micro-behaviors/communications/url/reference::public-code-forge-url",
            "spans": [
              [
                31,
                19
              ]
            ],
            "uses": [
              14
            ]
          },
          {
            "conf": 0.88,
            "crit": 3,
            "desc": "Sets variable or default bound to 257-1024",
            "id": "micro-behaviors/data/string/assembly::variable-bound-257-to-1024",
            "spans": [
              [
                8519,
                21
              ]
            ],
            "uses": [
              8
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "PyTorch checkpoint extension reference",
            "id": "micro-behaviors/fs/path/data-file::pytorch-checkpoint-extension-reference",
            "spans": [
              [
                3981,
                41
              ]
            ],
            "uses": [
              9,
              10
            ]
          }
        ],
        "type": "python"
      },
      {
        "depth": 1,
        "id": 23,
        "path": "time-image-1.0.1.zip!!custom_controlnet_aux/open_pose/body.py",
        "pid": 0,
        "risk": 0,
        "sha": "0dba6dc12e2a93690d162c24198de491dc14e9c2c8ae27b036f68a0266c8fbc9",
        "sid": 6726208371,
        "size": 12917,
        "type": "python"
      },
      {
        "depth": 1,
        "id": 24,
        "path": "time-image-1.0.1.zip!!custom_controlnet_aux/open_pose/face.py",
        "pid": 0,
        "risk": 0,
        "sha": "c1bdc3f80191d19654ef5af233b38c6308d9106f134ecf938bb438dcea6e4dc5",
        "sid": 6726208397,
        "size": 13493,
        "type": "python"
      },
      {
        "depth": 1,
        "id": 25,
        "path": "time-image-1.0.1.zip!!custom_controlnet_aux/open_pose/hand.py",
        "pid": 0,
        "risk": 0,
        "sha": "694915c5f9af82b18aa4b73588fb5b635c62aeff0cee0ae3b7264c5b33953c36",
        "sid": 6726208384,
        "size": 3212,
        "type": "python"
      },
      {
        "depth": 1,
        "id": 26,
        "path": "time-image-1.0.1.zip!!custom_controlnet_aux/open_pose/model.py",
        "pid": 0,
        "risk": 0,
        "sha": "b095e121171beb106650bcae97114c017d931dff2733c9c0d2e994a0e97cc5a1",
        "sid": 5739957933,
        "size": 8743,
        "type": "python"
      },
      {
        "depth": 1,
        "id": 27,
        "path": "time-image-1.0.1.zip!!custom_controlnet_aux/open_pose/util.py",
        "pid": 0,
        "risk": 0,
        "sha": "763d2680ca67e13bd373153e65cfb098a168be4da5d3118c6f9ffe16c94ac89a",
        "sid": 6726208385,
        "size": 14111,
        "type": "python"
      },
      {
        "depth": 1,
        "id": 28,
        "path": "time-image-1.0.1.zip!!custom_controlnet_aux/util.py",
        "pid": 0,
        "risk": 0,
        "sha": "956ff6eb649148c98e68591824e9d029be527ea8f52eb1841b1b1c9f18f37b34",
        "sid": 6726208389,
        "size": 14489,
        "type": "python"
      },
      {
        "analysis_gaps": [
          "flow-graph-limited",
          "flow-query-incomplete"
        ],
        "ctx": [
          {
            "col": 1,
            "line": 1,
            "ln": 0,
            "s": "# Copyright (c) Meta Platforms, Inc. and affiliates.\n#\n# This source code is licensed under the Apache License, Version 2.0\n# found in the LICENSE file in the root directory of this source tree.\n\n# References:\n#   https://github.com/facebookresearch/dino/blob/main/vision_transformer.py\n#   https://github.com/rwightman/pytorch-image-models/tree/master/timm/models/vision_transformer.py\n\nfrom functools import partial\nimport math\nimport logging\nfrom typing import Sequence, Tuple, Union\n\nimport torch\nimport torch.nn as nn\n\nfrom .dinov2_layers import Mlp, PatchEmbed, SwiGLUFFNFused, MemEffAttention, NestedTensorBlock as Block\n\nlogger = logging.getLogger(\"dinov2\")\n\nclass BlockChunk(nn.ModuleList):\n    def forward(self, x):\n        for b in self:\n            x = b(x)\n        return x\n\n\nclass DinoVisionTransformer(nn.Module):\n    def __"
          },
          {
            "col": 10,
            "line": 32,
            "ln": 870,
            "s": "mg_size=224,\n        patch_size=16,\n        in_chans=3,\n        embed_dim=768,\n        depth=12,\n        num_heads=12,\n        mlp_ratio=4.0,\n        qkv_bias=True,\n        ffn_bias=True,\n        proj_bias"
          },
          {
            "col": 14,
            "line": 43,
            "ln": 1123,
            "s": "path_uniform=False,\n        init_values=None,  # for layerscale: None or 0 =\u003e no layerscale\n        embed_layer=PatchEmbed,\n        act_layer=nn.GELU,\n        bl"
          },
          {
            "col": 8,
            "line": 61,
            "ln": 1735,
            "s": "     num_heads (int): number of attention heads\n            mlp_ratio (int): ratio of mlp hidden dim to e"
          },
          {
            "col": 51,
            "line": 63,
            "ln": 1903,
            "s": "f True\n            proj_bias (bool): enable bias for proj in attn if True\n            ffn_bias (bool): enable bias for ffn if True\n            drop_path_rate"
          },
          {
            "col": 40,
            "line": 82,
            "ln": 3054,
            "s": "dim = embed_dim  # num_features for consistency with other models\n        self.num_tokens = 1\n        self.n_blocks = depth\n        self.num_heads ="
          },
          {
            "col": 57,
            "line": 95,
            "ln": 3715,
            "s": "_patches + self.num_tokens, embed_dim))\n        assert num_register_tokens \u003e= 0\n        self.register_tokens = (\n            nn.Parameter(torch.zeros(1, num_register_tokens, e"
          },
          {
            "col": 37,
            "line": 102,
            "ln": 4019,
            "s": " depth\n        else:\n            dpr = [x.item() for x in torch.linspace(0, drop_path_rate, depth)]  # stochastic depth decay rule\n\n        if ffn_layer ="
          },
          {
            "col": 19,
            "line": 134,
            "ln": 5088,
            "s": "it_values=init_values,\n            )\n            for i in range(depth)\n        ]\n        if block_chunks \u003e 0:\n            self.chunked_blocks = True\n     "
          },
          {
            "col": 7,
            "line": 145,
            "ln": 5550,
            "s": "      self.blocks = nn.ModuleList([BlockChunk(p) for p in chunked_blocks])\n        else:\n            self.chunked_blocks = False\n            self.blocks ="
          },
          {
            "col": 16,
            "line": 168,
            "ln": 6317,
            "s": "// self.patch_size\n        # we add a small number to avoid floating point error in the interpolation\n        # see discussion at https://github.com/facebookresearch/dino/issues/8\n        # DINOv2 with register modify the interpolate_offset from 0.1 to 0.0\n        w"
          },
          {
            "col": 21,
            "line": 181,
            "ln": 7073,
            "s": "s=self.interpolate_antialias\n        )\n\n        assert int(w0) == patch_pos_embed.shape[-2]\n        assert int(h0) == patch_pos_embed.shape[-1]\n        patch_pos_embed = patch_pos_embed.permute(0, 2, 3, 1).view(1, -1, dim)\n        return t"
          },
          {
            "col": 55,
            "line": 211,
            "ln": 8178,
            "s": "for x, masks in zip(x_list, masks_list)]\n        for blk in self.blocks:\n            x = blk(x)\n\n        all_x = x\n        output = []\n        for x, masks "
          },
          {
            "col": 30,
            "line": 255,
            "ln": 9782,
            "s": "_take:\n                output.append(x)\n        assert len(output) == len(blocks_to_take), f\"only {len(output)} / {len(blocks_to_take)} blocks found\"\n        return output\n\n    def _get_intermediate_layers_chunked(self, x, n=1):\n        x = self.p"
          },
          {
            "col": 58,
            "line": 264,
            "ln": 10255,
            "s": "_block_len) if isinstance(n, int) else n\n        for block_chunk in self.blocks:\n            for blk in block_chunk[i:]:  # Passing the nn.Identity()\n              "
          },
          {
            "col": 8,
            "line": 286,
            "ln": 11147,
            "s": " if norm:\n            outputs = [self.norm(out) for out in outputs]\n        class_tokens = [out[:, 0] for out in outputs]\n        outputs = [out[:, 1 + se"
          },
          {
            "col": 11,
            "line": 310,
            "ln": 12001,
            "s": "= DinoVisionTransformer(\n        patch_size=patch_size,\n        embed_dim=384,\n        depth=12,\n        num_heads=6,\n        mlp_ratio=4,\n        block_fn=partial(Block, attn_class=MemEffAttention),\n     "
          },
          {
            "col": 11,
            "line": 338,
            "ln": 12731,
            "s": "= DinoVisionTransformer(\n        patch_size=patch_size,\n        embed_dim=1024,\n        depth=24,\n        num_heads=16,\n        mlp_ratio=4,\n        block_fn=partial(Block, attn_class=MemEffAttention),\n    "
          },
          {
            "col": 45,
            "line": 351,
            "ln": 13069,
            "s": "okens=0, **kwargs):\n    \"\"\"\n    Close to ViT-giant, with embed-dim 1536 and 24 heads =\u003e embed-dim per h"
          },
          {
            "col": 13,
            "line": 373,
            "ln": 13625,
            "s": "g\": vit_giant2\n    }\n\n    return model_zoo[model_name](\n        img_size=518,\n        patch_size=14,\n        init_values=1.0,\n        ffn_layer=\"mlp\" if model_name != \"vitg\" else \"swiglufused\",\n        bl"
          }
        ],
        "depth": 1,
        "facts": {
          "funcs": [
            [
              "forward",
              704
            ],
            [
              "__init__",
              833
            ],
            [
              "f",
              4524
            ],
            [
              "interpolate_pos_encoding",
              5895
            ],
            [
              "prepare_tokens_with_masks",
              7401
            ],
            [
              "forward_features_list",
              8071
            ],
            [
              "forward_features",
              8794
            ],
            [
              "_get_intermediate_layers_not_chunked",
              9353
            ],
            [
              "_get_intermediate_layers_chunked",
              9959
            ],
            [
              "get_intermediate_layers",
              10669
            ],
            [
              "forward",
              11703
            ],
            [
              "vit_small",
              11928
            ],
            [
              "vit_base",
              12293
            ],
            [
              "vit_large",
              12658
            ],
            [
              "vit_giant2",
              13025
            ],
            [
              "DINOv2",
              13491
            ]
          ],
          "imp": [
            [
              "",
              "logging.getLogger"
            ],
            [
              "",
              "super.__init__"
            ],
            [
              "",
              "super"
            ],
            [
              "",
              "partial"
            ],
            [
              "",
              "embed_layer"
            ],
            [
              "",
              "nn.Parameter"
            ],
            [
              "",
              "torch.zeros"
            ],
            [
              "",
              "nn.Parameter"
            ],
            [
              "",
              "torch.zeros"
            ],
            [
              "",
              "nn.Parameter"
            ],
            [
              "",
              "torch.zeros"
            ],
            [
              "",
              "x.item"
            ],
            [
              "",
              "torch.linspace"
            ],
            [
              "",
              "logger.info"
            ],
            [
              "",
              "logger.info"
            ],
            [
              "",
              "logger.info"
            ],
            [
              "",
              "nn.Identity"
            ],
            [
              "",
              "block_fn"
            ],
            [
              "",
              "range"
            ],
            [
              "",
              "range"
            ],
            [
              "",
              "chunked_blocks.append"
            ],
            [
              "",
              "nn.Identity"
            ],
            [
              "",
              "nn.ModuleList"
            ],
            [
              "",
              "BlockChunk"
            ],
            [
              "",
              "nn.ModuleList"
            ],
            [
              "",
              "norm_layer"
            ],
            [
              "",
              "nn.Identity"
            ],
            [
              "",
              "nn.Parameter"
            ],
            [
              "",
              "torch.zeros"
            ],
            [
              "",
              "self.pos_embed.float"
            ],
            [
              "",
              "math.sqrt"
            ],
            [
              "",
              "float"
            ],
            [
              "",
              "float"
            ],
            [
              "",
              "nn.functional.interpolate"
            ],
            [
              "",
              "patch_pos_embed.reshape.permute"
            ],
            [
              "",
              "patch_pos_embed.reshape"
            ],
            [
              "",
              "int"
            ],
            [
              "",
              "int"
            ],
            [
              "",
              "int"
            ],
            [
              "",
              "int"
            ],
            [
              "",
              "patch_pos_embed.permute.view"
            ],
            [
              "",
              "patch_pos_embed.permute"
            ],
            [
              "",
              "torch.cat.to"
            ],
            [
              "",
              "torch.cat"
            ],
            [
              "",
              "class_pos_embed.unsqueeze"
            ],
            [
              "",
              "self.patch_embed"
            ],
            [
              "",
              "torch.where"
            ],
            [
              "",
              "masks.unsqueeze"
            ],
            [
              "",
              "self.mask_token.to.unsqueeze"
            ],
            [
              "",
              "self.mask_token.to"
            ],
            [
              "",
              "torch.cat"
            ],
            [
              "",
              "self.cls_token.expand"
            ],
            [
              "",
              "self.interpolate_pos_encoding"
            ],
            [
              "",
              "torch.cat"
            ],
            [
              "",
              "self.register_tokens.expand"
            ],
            [
              "",
              "self.prepare_tokens_with_masks"
            ],
            [
              "",
              "zip"
            ],
            [
              "",
              "blk"
            ],
            [
              "",
              "zip"
            ],
            [
              "",
              "self.norm"
            ],
            [
              "",
              "output.append"
            ],
            [
              "",
              "isinstance"
            ],
            [
              "",
              "self.forward_features_list"
            ],
            [
              "",
              "self.prepare_tokens_with_masks"
            ],
            [
              "",
              "blk"
            ],
            [
              "",
              "self.norm"
            ],
            [
              "",
              "self.prepare_tokens_with_masks"
            ],
            [
              "",
              "len"
            ],
            [
              "",
              "range"
            ],
            [
              "",
              "isinstance"
            ],
            [
              "",
              "enumerate"
            ],
            [
              "",
              "blk"
            ],
            [
              "",
              "output.append"
            ],
            [
              "",
              "len"
            ],
            [
              "",
              "len"
            ],
            [
              "",
              "len"
            ],
            [
              "",
              "len"
            ],
            [
              "",
              "self.prepare_tokens_with_masks"
            ],
            [
              "",
              "len"
            ],
            [
              "",
              "range"
            ],
            [
              "",
              "isinstance"
            ],
            [
              "",
              "blk"
            ],
            [
              "",
              "output.append"
            ],
            [
              "",
              "len"
            ],
            [
              "",
              "len"
            ],
            [
              "",
              "len"
            ],
            [
              "",
              "len"
            ],
            [
              "",
              "self._get_intermediate_layers_chunked"
            ],
            [
              "",
              "self._get_intermediate_layers_not_chunked"
            ],
            [
              "",
              "self.norm"
            ],
            [
              "",
              "out.reshape.permute.contiguous"
            ],
            [
              "",
              "out.reshape.permute"
            ],
            [
              "",
              "out.reshape"
            ],
            [
              "",
              "tuple"
            ],
            [
              "",
              "zip"
            ],
            [
              "",
              "tuple"
            ],
            [
              "",
              "self.forward_features"
            ],
            [
              "",
              "self.head"
            ],
            [
              "",
              "DinoVisionTransformer"
            ],
            [
              "",
              "partial"
            ],
            [
              "",
              "DinoVisionTransformer"
            ],
            [
              "",
              "partial"
            ],
            [
              "",
              "DinoVisionTransformer"
            ],
            [
              "",
              "partial"
            ],
            [
              "",
              "DinoVisionTransformer"
            ],
            [
              "",
              "partial"
            ],
            [
              "",
              ".dinov2_layers"
            ],
            [
              ".dinov2_layers",
              ".dinov2_layers.MemEffAttention"
            ],
            [
              ".dinov2_layers",
              ".dinov2_layers.Mlp"
            ],
            [
              ".dinov2_layers",
              ".dinov2_layers.NestedTensorBlock"
            ],
            [
              ".dinov2_layers",
              ".dinov2_layers.PatchEmbed"
            ],
            [
              ".dinov2_layers",
              ".dinov2_layers.SwiGLUFFNFused"
            ],
            [
              "typing",
              "Sequence"
            ],
            [
              "typing",
              "Tuple"
            ],
            [
              "typing",
              "Union"
            ],
            [
              "",
              "functools"
            ],
            [
              "",
              "logging"
            ],
            [
              "",
              "math"
            ],
            [
              "functools",
              "partial"
            ],
            [
              "",
              "torch"
            ],
            [
              "",
              "torch.nn"
            ],
            [
              "",
              "typing"
            ]
          ],
          "mbr": [
            "chunked_blocks.append",
            "class_pos_embed.unsqueeze",
            "logger.info",
            "logging.getLogger",
            "masks.unsqueeze",
            "math.sqrt",
            "nn.GELU",
            "nn.Identity",
            "nn.LayerNorm",
            "nn.Module",
            "nn.ModuleList",
            "nn.Parameter",
            "nn.functional",
            "nn.functional.interpolate",
            "out.reshape",
            "out.reshape.permute",
            "out.reshape.permute.contiguous",
            "output.append",
            "patch_pos_embed.permute",
            "patch_pos_embed.permute.view",
            "patch_pos_embed.reshape",
            "patch_pos_embed.reshape.permute",
            "patch_pos_embed.shape",
            "ret.x_norm_clstoken",
            "self._get_intermediate_layers_chunked",
            "self._get_intermediate_layers_not_chunked",
            "self.blocks",
            "self.chunked_blocks",
            "self.cls_token",
            "self.cls_token.expand",
            "self.embed_dim",
            "self.forward_features",
            "self.forward_features_list",
            "self.head",
            "self.interpolate_antialias",
            "self.interpolate_offset",
            "self.interpolate_pos_encoding",
            "self.mask_token",
            "self.mask_token.to",
            "self.mask_token.to.unsqueeze",
            "self.n_blocks",
            "self.norm",
            "self.num_features",
            "self.num_heads",
            "self.num_register_tokens",
            "self.num_tokens",
            "self.patch_embed",
            "self.patch_embed.num_patches",
            "self.patch_size",
            "self.pos_embed",
            "self.pos_embed.float",
            "self.pos_embed.shape",
            "self.prepare_tokens_with_masks",
            "self.register_tokens",
            "self.register_tokens.expand",
            "super.__init__",
            "torch.Tensor",
            "torch.cat",
            "torch.cat.to",
            "torch.linspace",
            "torch.where",
            "torch.zeros",
            "x.dtype",
            "x.item",
            "x.shape"
          ],
          "metrics": {
            "ast": {
              "call_count": 108,
              "max_array_length": 3,
              "max_concat_chain": 3,
              "max_depth": 18,
              "max_member_depth": 4,
              "member_count": 65,
              "node_count": 3213,
              "op.add": 12,
              "op.div": 2,
              "op.floordiv": 5,
              "op.land": 1,
              "op.lor": 1,
              "op.mul": 2,
              "op.sub": 15,
              "op_density.add": 0,
              "op_density.div": 0,
              "op_density.floordiv": 0,
              "op_density.land": 0,
              "op_density.lor": 0,
              "op_density.mul": 0,
              "op_density.sub": 0
            },
            "binary": {
              "peak_region_bytes": 7804,
              "peak_region_entropy": 4.85
            },
            "binds": {
              "count": 76
            },
            "comments": {
              "chars": 1044,
              "count": 20,
              "empty": 1,
              "lines": 19,
              "to_code_ratio": 0.05,
              "url_count": 3
            },
            "file": {
              "entropy": 4.5,
              "size": 13948
            },
            "functions": {
              "avg_length_lines": 21.44,
              "avg_name_length": 15.13,
              "avg_nesting_depth": 0.06,
              "avg_param_name_length": 8.53,
              "avg_params": 4.38,
              "code_ratio": 0.89,
              "count": 17,
              "density": 4.16,
              "high_entropy_names": 5,
              "length_stddev": 27.94,
              "many_params_count": 1,
              "max_length_lines": 126,
              "max_nesting_depth": 1,
              "max_params": 23,
              "min_length_lines": 2,
              "nested": 1,
              "numeric_suffix_names": 2,
              "over_100_lines": 1,
              "single_char_names": 1,
              "single_char_params": 12
            },
            "identifiers": {
              "all_lowercase_ratio": 0.83,
              "all_uppercase_ratio": 0.02,
              "avg_entropy": 2.43,
              "avg_length": 8.35,
              "count": 773,
              "double_underscore_count": 1,
              "has_digit_ratio": 0.03,
              "high_entropy_count": 12,
              "high_entropy_ratio": 0.07,
              "length_stddev": 5.81,
              "max_length": 36,
              "min_length": 1,
              "numeric_suffix_count": 4,
              "reuse_ratio": 0.21,
              "sequential_names": 12,
              "single_char_count": 11,
              "single_char_ratio": 0.07,
              "underscore_prefix_count": 4,
              "unique": 161
            },
            "imports": {
              "aliased": 2,
              "count": 16,
              "relative": 6,
              "relative_ratio": 0.38,
              "stdlib_count": 4,
              "stdlib_ratio": 0.25,
              "third_party_count": 12,
              "third_party_ratio": 0.75
            },
            "source": {
              "class_count": 2,
              "function_count": 15
            },
            "strings": {
              "avg_entropy": 2.93,
              "avg_length": 61.09,
              "bytes": 1955,
              "count": 32,
              "entropy_stddev": 0.89,
              "max_length": 1465,
              "sql": 1,
              "very_long": 1
            },
            "text": {
              "avg_line_length": 35.23,
              "char_entropy": 4.5,
              "digit_ratio": 0.02,
              "empty_line_ratio": 0.12,
              "identifier_density": 2.01,
              "identifiers_to_functions_ratio": 10.06,
              "import_density": 4.16,
              "imports_to_functions_ratio": 1,
              "last_line_length": 5,
              "line_length_stddev": 26.32,
              "lines": 385,
              "max_line_length": 120,
              "max_whitespace_run": 3,
              "normalized_function_count": 0.82,
              "normalized_import_count": 0.82,
              "normalized_string_count": 1.63,
              "normalized_unique_identifiers": 18.75,
              "repeated_char_sequences": 110,
              "space_count": 3913,
              "string_density": 0.08,
              "strings_to_functions_ratio": 2,
              "suspicious_identifier_ratio": 0.07,
              "suspicious_string_ratio": 0.03,
              "top_char": 101,
              "top_char_null": 0,
              "top_char_ratio": 0.06,
              "unique_chars": 75,
              "whitespace_ratio": 0.31
            }
          },
          "tgt": [
            "BlockChunk",
            "DinoVisionTransformer",
            "b",
            "blk",
            "block_fn",
            "chunked_blocks.append",
            "class_pos_embed.unsqueeze",
            "embed_layer",
            "enumerate",
            "float",
            "int",
            "isinstance",
            "len",
            "logger.info",
            "logging.getLogger",
            "masks.unsqueeze",
            "math.sqrt",
            "nn.Identity",
            "nn.ModuleList",
            "nn.Parameter",
            "nn.functional.interpolate",
            "norm_layer",
            "out.reshape",
            "out.reshape.permute",
            "out.reshape.permute.contiguous",
            "output.append",
            "partial",
            "patch_pos_embed.permute",
            "patch_pos_embed.permute.view",
            "patch_pos_embed.reshape",
            "patch_pos_embed.reshape.permute",
            "range",
            "self._get_intermediate_layers_chunked",
            "self._get_intermediate_layers_not_chunked",
            "self.cls_token.expand",
            "self.forward_features",
            "self.forward_features_list",
            "self.head",
            "self.interpolate_pos_encoding",
            "self.mask_token.to",
            "self.mask_token.to.unsqueeze",
            "self.norm",
            "self.patch_embed",
            "self.pos_embed.float",
            "self.prepare_tokens_with_masks",
            "self.register_tokens.expand",
            "super",
            "super.__init__",
            "torch.cat",
            "torch.cat.to",
            "torch.linspace",
            "torch.where",
            "torch.zeros",
            "tuple",
            "x.item",
            "zip"
          ]
        },
        "id": 29,
        "mol": "K(Am)H₂(CmDb)",
        "path": "time-image-1.0.1.zip!!depth_anything_v2/dinov2.py",
        "pid": 0,
        "risk": 3,
        "sha": "4185a38fb9b03c19d21bc17fa2a1b333c1786c1a02f0c32ebb3edfa3089a4b65",
        "sid": 6726208379,
        "size": 13948,
        "traits": [
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Python comment contains a URL",
            "id": "micro-behaviors/communications/url/reference::python-comment-url-reference",
            "spans": [
              [
                210,
                12
              ],
              [
                6419,
                36
              ]
            ]
          },
          {
            "conf": 0.88,
            "crit": 3,
            "desc": "Assigns or defaults bound to 1000-1024",
            "id": "micro-behaviors/data/string/assembly::variable-bound-1000-to-1024",
            "spans": [
              [
                12795,
                14
              ]
            ]
          },
          {
            "conf": 0.88,
            "crit": 3,
            "desc": "Assigns variable to 257-999 numeric bound",
            "id": "micro-behaviors/data/string/assembly::variable-bound-257-to-999",
            "spans": [
              [
                934,
                13
              ],
              [
                12065,
                13
              ],
              [
                13689,
                12
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "GitHub service URL reference",
            "id": "well-known/app/development/code-forge/github::github-service-url",
            "spans": [
              [
                214,
                19
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports partial from functools",
            "id": "metadata/import/python/functools/partial::partial",
            "spans": [
              [
                410,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports functools",
            "id": "metadata/import/python/functools::functools",
            "spans": [
              [
                393,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports logging",
            "id": "metadata/import/python/logging::logging",
            "spans": [
              [
                437,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports math",
            "id": "metadata/import/python/math::math",
            "spans": [
              [
                425,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports .dinov2_layers.MemEffAttention from .dinov2_layers",
            "id": "metadata/import/python/relative/1/dinov2_layers/memeffattention::memeffattention",
            "spans": [
              [
                584,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports .dinov2_layers.Mlp from .dinov2_layers",
            "id": "metadata/import/python/relative/1/dinov2_layers/mlp::mlp",
            "spans": [
              [
                551,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports .dinov2_layers.NestedTensorBlock from .dinov2_layers as Block",
            "id": "metadata/import/python/relative/1/dinov2_layers/nestedtensorblock::Block",
            "spans": [
              [
                601,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports .dinov2_layers.PatchEmbed from .dinov2_layers",
            "id": "metadata/import/python/relative/1/dinov2_layers/patchembed::patchembed",
            "spans": [
              [
                556,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports .dinov2_layers.SwiGLUFFNFused from .dinov2_layers",
            "id": "metadata/import/python/relative/1/dinov2_layers/swigluffnfused::swigluffnfused",
            "spans": [
              [
                568,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports .dinov2_layers",
            "id": "metadata/import/python/relative/1/dinov2_layers::relative/1/dinov2_layers",
            "spans": [
              [
                529,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports torch.nn as nn",
            "id": "metadata/import/python/torch/nn::nn",
            "spans": [
              [
                508,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports torch",
            "id": "metadata/import/python/torch::torch",
            "spans": [
              [
                495,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports Sequence from typing",
            "id": "metadata/import/python/typing/sequence::sequence",
            "spans": [
              [
                464,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports Tuple from typing",
            "id": "metadata/import/python/typing/tuple::tuple",
            "spans": [
              [
                474,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports Union from typing",
            "id": "metadata/import/python/typing/union::union",
            "spans": [
              [
                481,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports typing",
            "id": "metadata/import/python/typing::typing",
            "spans": [
              [
                450,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"the\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-1",
            "spans": [
              [
                92,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"and\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-2",
            "spans": [
              [
                37,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"for\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-5",
            "spans": [
              [
                734,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"with\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-6",
            "spans": [
              [
                3102,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"this\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-7",
            "spans": [
              [
                57,
                0
              ]
            ]
          }
        ],
        "type": "python"
      },
      {
        "depth": 1,
        "id": 30,
        "path": "time-image-1.0.1.zip!!depth_anything_v2/dinov2_layers/attention.py",
        "pid": 0,
        "risk": 0,
        "sha": "845d9a500553fc4e25e55b12e512a0764bcd3e41c574fb4627bf64bde3dc8428",
        "sid": 6726208387,
        "size": 2830,
        "type": "python"
      },
      {
        "depth": 1,
        "id": 31,
        "path": "time-image-1.0.1.zip!!depth_anything_v2/dinov2_layers/block.py",
        "pid": 0,
        "risk": 0,
        "sha": "093266ea08084c7cce7b8ddd779ecfaaa13055735faa8a7d68b5924f385b395b",
        "sid": 1106085922,
        "size": 9332,
        "type": "python"
      },
      {
        "depth": 1,
        "id": 32,
        "path": "time-image-1.0.1.zip!!depth_anything_v2/dinov2_layers/drop_path.py",
        "pid": 0,
        "risk": 0,
        "sha": "949100aac4d9c19c9d65319dbd362886c5d46a72d7586ba4fd500e9f1d51570c",
        "sid": 1106085998,
        "size": 1160,
        "type": "python"
      },
      {
        "depth": 1,
        "id": 33,
        "path": "time-image-1.0.1.zip!!depth_anything_v2/dinov2_layers/layer_scale.py",
        "pid": 0,
        "risk": 0,
        "sha": "356817b5d1390737128cbcc03a5333fd3060b73beae478772282ccb851d0ef85",
        "sid": 1106085944,
        "size": 823,
        "type": "python"
      },
      {
        "depth": 1,
        "id": 34,
        "path": "time-image-1.0.1.zip!!depth_anything_v2/dinov2_layers/mlp.py",
        "pid": 0,
        "risk": 0,
        "sha": "c18c5b3f021408597a473bb710070ec3fb3b39f5a2e42e88ae83ced425a608b5",
        "sid": 1106086025,
        "size": 1272,
        "type": "python"
      },
      {
        "depth": 1,
        "id": 35,
        "path": "time-image-1.0.1.zip!!depth_anything_v2/dinov2_layers/patch_embed.py",
        "pid": 0,
        "risk": 0,
        "sha": "af77941a4a811d32edfdaa623a4c52e7bd64d50da6e4d3fb6171b9990d4afd52",
        "sid": 6726208394,
        "size": 2877,
        "type": "python"
      },
      {
        "depth": 1,
        "id": 36,
        "path": "time-image-1.0.1.zip!!depth_anything_v2/dinov2_layers/swiglu_ffn.py",
        "pid": 0,
        "risk": 0,
        "sha": "df81d9901240214edc1831ce1b77558dcd6227b29a2f000fc5f546df55d2d09a",
        "sid": 1106086041,
        "size": 1859,
        "type": "python"
      },
      {
        "depth": 1,
        "id": 37,
        "path": "time-image-1.0.1.zip!!depth_anything_v2/dpt.py",
        "pid": 0,
        "risk": 0,
        "sha": "be2386a57de24067b27a8a065e974c085e5b901409356e2959722f44f6af8aee",
        "sid": 6726208396,
        "size": 6729,
        "type": "python"
      },
      {
        "analysis_gaps": [
          "flow-graph-limited",
          "flow-query-incomplete"
        ],
        "ctx": [
          {
            "col": 1,
            "line": 1,
            "ln": 0,
            "s": "import torch.nn as nn\nimport comfy.ops\nops = comfy.ops.manual_cast\n\ndef _make_scratch(in_shape, out_shape, groups=1, expand=False):\n  "
          },
          {
            "col": 25,
            "line": 8,
            "ln": 183,
            "s": "pe\n    out_shape2 = out_shape\n    out_shape3 = out_shape\n    if len(in_shape) \u003e= 4:\n        out_shape4 = out_shape\n\n    if expand:\n        out_shape1 = out_shape\n        out_shape2 = out_shape * 2\n        out_s"
          },
          {
            "col": 118,
            "line": 25,
            "ln": 999,
            "s": "s=groups)\n\n    return scratch\n\n\nclass ResidualConvUnit(nn.Module):\n    \"\"\"Residual convolution module.\n    \"\"\"\n\n    def"
          },
          {
            "col": 38,
            "line": 79,
            "ln": 2276,
            "s": ")\n\n        return self.skip_add.add(out, x)\n\n\nclass FeatureFusionBlock(nn.Module):\n    \"\"\"Feature f"
          },
          {
            "col": 39,
            "line": 136,
            "ln": 3630,
            "s": "put)\n\n        if (size is None) and (self.size is None):\n            modifier = {\"scale_factor\": 2}"
          }
        ],
        "depth": 1,
        "facts": {
          "funcs": [
            [
              "_make_scratch",
              68
            ],
            [
              "__init__",
              1115
            ],
            [
              "forward",
              1796
            ],
            [
              "__init__",
              2401
            ],
            [
              "forward",
              3330
            ]
          ],
          "imp": [
            [
              "",
              "nn.Module"
            ],
            [
              "",
              "len"
            ],
            [
              "",
              "len"
            ],
            [
              "",
              "ops.Conv2d"
            ],
            [
              "",
              "ops.Conv2d"
            ],
            [
              "",
              "ops.Conv2d"
            ],
            [
              "",
              "len"
            ],
            [
              "",
              "ops.Conv2d"
            ],
            [
              "",
              "super.__init__"
            ],
            [
              "",
              "super"
            ],
            [
              "",
              "ops.Conv2d"
            ],
            [
              "",
              "ops.Conv2d"
            ],
            [
              "",
              "nn.BatchNorm2d"
            ],
            [
              "",
              "nn.BatchNorm2d"
            ],
            [
              "",
              "nn.quantized.FloatFunctional"
            ],
            [
              "",
              "self.activation"
            ],
            [
              "",
              "self.conv1"
            ],
            [
              "",
              "self.bn1"
            ],
            [
              "",
              "self.activation"
            ],
            [
              "",
              "self.conv2"
            ],
            [
              "",
              "self.bn2"
            ],
            [
              "",
              "self.conv_merge"
            ],
            [
              "",
              "self.skip_add.add"
            ],
            [
              "",
              "super.__init__"
            ],
            [
              "",
              "super"
            ],
            [
              "",
              "ops.Conv2d"
            ],
            [
              "",
              "ResidualConvUnit"
            ],
            [
              "",
              "ResidualConvUnit"
            ],
            [
              "",
              "nn.quantized.FloatFunctional"
            ],
            [
              "",
              "len"
            ],
            [
              "",
              "self.resConfUnit1"
            ],
            [
              "",
              "self.skip_add.add"
            ],
            [
              "",
              "self.resConfUnit2"
            ],
            [
              "",
              "nn.functional.interpolate"
            ],
            [
              "",
              "self.out_conv"
            ],
            [
              "",
              "comfy.ops"
            ],
            [
              "",
              "torch.nn"
            ]
          ],
          "mbr": [
            "comfy.ops",
            "comfy.ops.manual_cast",
            "nn.BatchNorm2d",
            "nn.Module",
            "nn.functional",
            "nn.functional.interpolate",
            "nn.quantized",
            "nn.quantized.FloatFunctional",
            "ops.Conv2d",
            "scratch.layer1_rn",
            "scratch.layer2_rn",
            "scratch.layer3_rn",
            "scratch.layer4_rn",
            "self.activation",
            "self.align_corners",
            "self.bn",
            "self.bn1",
            "self.bn2",
            "self.conv1",
            "self.conv2",
            "self.conv_merge",
            "self.deconv",
            "self.expand",
            "self.groups",
            "self.out_conv",
            "self.resConfUnit1",
            "self.resConfUnit2",
            "self.size",
            "self.skip_add",
            "self.skip_add.add",
            "super.__init__"
          ],
          "metrics": {
            "ast": {
              "call_count": 35,
              "max_depth": 13,
              "max_member_depth": 3,
              "member_count": 31,
              "node_count": 1187,
              "op.floordiv": 1,
              "op.land": 1,
              "op.mul": 3,
              "op_density.floordiv": 0,
              "op_density.land": 0,
              "op_density.mul": 0
            },
            "binary": {
              "peak_region_bytes": 3014,
              "peak_region_entropy": 4.64
            },
            "binds": {
              "count": 49
            },
            "file": {
              "entropy": 4.44,
              "size": 4038
            },
            "functions": {
              "avg_length_lines": 26.2,
              "avg_name_length": 8.6,
              "avg_param_name_length": 5.76,
              "avg_params": 4.2,
              "code_ratio": 0.88,
              "count": 5,
              "density": 3.36,
              "length_stddev": 4.53,
              "many_params_count": 1,
              "max_length_lines": 35,
              "max_params": 8,
              "min_length_lines": 23,
              "single_char_params": 1
            },
            "identifiers": {
              "all_lowercase_ratio": 0.67,
              "avg_entropy": 2.51,
              "avg_length": 7.52,
              "base64_like_names": 3,
              "count": 303,
              "double_underscore_count": 1,
              "has_digit_ratio": 0.26,
              "high_entropy_count": 2,
              "high_entropy_ratio": 0.03,
              "length_stddev": 3.71,
              "max_length": 18,
              "min_length": 1,
              "numeric_suffix_count": 10,
              "reuse_ratio": 0.2,
              "sequential_names": 1,
              "single_char_count": 1,
              "single_char_ratio": 0.02,
              "underscore_prefix_count": 2,
              "unique": 61
            },
            "imports": {
              "aliased": 1,
              "count": 2,
              "third_party_count": 2,
              "third_party_ratio": 1
            },
            "source": {
              "class_count": 2,
              "function_count": 3
            },
            "strings": {
              "avg_entropy": 3.04,
              "avg_length": 42.6,
              "bytes": 426,
              "count": 10,
              "entropy_stddev": 0.61,
              "max_length": 112
            },
            "text": {
              "avg_line_length": 26.1,
              "char_entropy": 4.44,
              "digit_ratio": 0.03,
              "empty_line_ratio": 0.28,
              "identifier_density": 2.03,
              "identifiers_to_functions_ratio": 12.2,
              "import_density": 1.34,
              "imports_to_functions_ratio": 0.4,
              "last_line_length": 21,
              "line_length_stddev": 27.67,
              "lines": 149,
              "max_line_length": 126,
              "max_whitespace_run": 1,
              "normalized_function_count": 0.41,
              "normalized_import_count": 0.16,
              "normalized_string_count": 0.82,
              "normalized_unique_identifiers": 8.45,
              "repeated_char_sequences": 17,
              "space_count": 1091,
              "string_density": 0.07,
              "strings_to_functions_ratio": 2,
              "suspicious_identifier_ratio": 0.07,
              "top_char": 101,
              "top_char_null": 0,
              "top_char_ratio": 0.06,
              "trailing_whitespace_lines": 13,
              "unique_chars": 58,
              "whitespace_ratio": 0.31
            }
          },
          "tgt": [
            "ResidualConvUnit",
            "len",
            "nn.BatchNorm2d",
            "nn.Module",
            "nn.functional.interpolate",
            "nn.quantized.FloatFunctional",
            "ops.Conv2d",
            "self.activation",
            "self.bn1",
            "self.bn2",
            "self.conv1",
            "self.conv2",
            "self.conv_merge",
            "self.out_conv",
            "self.resConfUnit1",
            "self.resConfUnit2",
            "self.skip_add.add",
            "super",
            "super.__init__"
          ]
        },
        "id": 38,
        "mol": "Md",
        "path": "time-image-1.0.1.zip!!depth_anything_v2/util/blocks.py",
        "pid": 0,
        "risk": 2,
        "sha": "1f34984a48640e43cabc270c6062459a5862ce537a2dd34850f447dd6bb37a2e",
        "sid": 6726208374,
        "size": 4038,
        "traits": [
          {
            "conf": 0.72,
            "crit": 3,
            "desc": "Small Python source: 10+ trailing-space lines",
            "id": "metadata/file/line::python-small-file-trailing-whitespace"
          },
          {
            "conf": 0.5,
            "crit": 3,
            "desc": "Python len result compared with minimum",
            "id": "micro-behaviors/data/collection/measure::python-min-length-check",
            "spans": [
              [
                247,
                18
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports comfy.ops",
            "id": "metadata/import/python/comfy/ops::comfy/ops",
            "spans": [
              [
                29,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports torch.nn as nn",
            "id": "metadata/import/python/torch/nn::nn",
            "spans": [
              [
                7,
                0
              ]
            ]
          }
        ],
        "type": "python"
      },
      {
        "depth": 1,
        "id": 39,
        "path": "time-image-1.0.1.zip!!pyproject.toml",
        "pid": 0,
        "risk": 0,
        "sha": "9ddae88a8067752203f44760343b40aeb81733748c2c25f42edf756b54352744",
        "sid": 6726208390,
        "size": 860,
        "type": "pyproject.toml"
      },
      {
        "depth": 2,
        "facts": {
          "imp": [
            [
              "",
              "grep"
            ],
            [
              "",
              "echo"
            ],
            [
              "",
              "echo"
            ],
            [
              "",
              "echo"
            ],
            [
              "",
              "echo"
            ],
            [
              "",
              "echo"
            ]
          ],
          "metrics": {
            "ast": {
              "call_count": 6,
              "max_depth": 7,
              "node_count": 91
            },
            "binary": {
              "peak_region_bytes": 340,
              "peak_region_entropy": 5.18
            },
            "file": {
              "entropy": 5.18,
              "size": 340
            },
            "identifiers": {
              "all_lowercase_ratio": 0.33,
              "all_uppercase_ratio": 0.33,
              "avg_entropy": 2.55,
              "avg_length": 8.67,
              "count": 12,
              "length_stddev": 5.02,
              "max_length": 14,
              "min_length": 3,
              "reuse_ratio": 0.5,
              "unique": 6
            },
            "strings": {
              "avg_entropy": 3.46,
              "avg_length": 20.7,
              "bytes": 207,
              "count": 10,
              "entropy_stddev": 0.53,
              "max_length": 59
            },
            "text": {
              "avg_line_length": 36.78,
              "char_entropy": 5.18,
              "identifier_density": 1.33,
              "last_line_length": 2,
              "line_length_stddev": 20.37,
              "lines": 9,
              "max_line_length": 68,
              "max_whitespace_run": 1,
              "normalized_string_count": 3.33,
              "normalized_unique_identifiers": 1.89,
              "space_count": 44,
              "string_density": 1.11,
              "top_char": 101,
              "top_char_null": 0,
              "top_char_ratio": 0.07,
              "unique_chars": 54,
              "whitespace_ratio": 0.16
            }
          },
          "tgt": [
            "echo",
            "grep"
          ]
        },
        "id": 40,
        "mol": "H₂(F₂Os)Md(Bk)",
        "path": "time-image-1.0.1.zip!!.github/workflows/publish_action.yml!!/jobs/publish-node/steps/1/run",
        "pid": 1,
        "risk": 3,
        "sha": "3ecef63d993196171be548a80fb14564067063aa05006c816728a37f24e1898e",
        "sid": 6726208378,
        "size": 340,
        "traits": [
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "Shell path under .github or actions",
            "id": "metadata/build/ci/github-actions::repository-github-script-path"
          },
          {
            "conf": 0.99,
            "crit": 3,
            "desc": "GitHub Actions workflow definition path",
            "id": "metadata/build/ci/github-actions::workflow-definition-path"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "File content write capability",
            "id": "micro-behaviors/fs/write/content::file-write-capability",
            "spans": [
              [
                57,
                4
              ],
              [
                79,
                16
              ]
            ],
            "uses": [
              3,
              4
            ]
          },
          {
            "conf": 0.86,
            "crit": 3,
            "desc": "Shell echo redirects output to file",
            "id": "micro-behaviors/fs/write/file/redirect::shell-echo-file-write",
            "spans": [
              [
                57,
                4
              ],
              [
                79,
                16
              ]
            ]
          },
          {
            "conf": 0.86,
            "crit": 3,
            "desc": "Shell command writes output to a file",
            "id": "micro-behaviors/fs/write/file/redirect::shell-file-write-command",
            "spans": [
              [
                57,
                4
              ],
              [
                79,
                16
              ]
            ],
            "uses": [
              3
            ]
          },
          {
            "conf": 0.85,
            "crit": 3,
            "desc": "Shell expands secret-named variable",
            "id": "micro-behaviors/os/env/secret-name::shell-secret-env-dollar-ref",
            "spans": [
              [
                157,
                15
              ]
            ]
          },
          {
            "conf": 0.45,
            "crit": 1,
            "desc": "Secret vocabulary word",
            "id": "micro-behaviors/data/parse/vocabulary::secret",
            "spans": [
              [
                253,
                0
              ]
            ]
          },
          {
            "conf": 0.7,
            "crit": 1,
            "desc": "Contains the grep command keyword",
            "id": "micro-behaviors/fs/search/command::grep-keyword",
            "spans": [
              [
                3,
                0
              ]
            ]
          }
        ],
        "type": "shell"
      }
    ],
    "v": 8
  }
}