{
  "ml": {
    "v": "7",
    "eng": "2.12.0-beta.1",
    "lvl": -1,
    "conf": 0,
    "mods": [
      {
        "cls": 0,
        "raw": 0.00000928839,
        "rte": "az",
        "prob": 0.00000928839
      },
      {
        "cls": 0,
        "raw": 0.00032211342,
        "rte": "az/tar",
        "prob": 0.00032211342
      }
    ],
    "prob": 0.000017394623,
    "files": [
      {
        "id": 0,
        "lvl": -1,
        "conf": 0,
        "prob": 0.0000173946227732813,
        "type": "crate"
      },
      {
        "id": 3,
        "lvl": -1,
        "conf": 0,
        "prob": 0.000009347994819108862,
        "type": "cargo.toml"
      },
      {
        "id": 4,
        "lvl": -1,
        "conf": 0,
        "prob": 0.00001290440559387207,
        "type": "rust"
      },
      {
        "id": 5,
        "lvl": -1,
        "conf": 0,
        "prob": 0.0000173946227732813,
        "type": "registry"
      }
    ],
    "version": "v18.18",
    "analyzed_at": "2026-10-10T21:53:46Z"
  },
  "path": "ros-madair-compile-0.1.0-alpha.20.crate",
  "raw": {
    "files": [
      {
        "id": 0,
        "mol": "H(Db)Md",
        "sha": "b6bca48eda9db2db97e7d20e4155e711b5b6e9b9ef59702517fad6a288949868",
        "path": "ros-madair-compile-0.1.0-alpha.20.crate",
        "risk": 3,
        "size": 13405,
        "type": "crate",
        "facts": {
          "metrics": {
            "file": {
              "size": 13405,
              "entropy": 7.98
            },
            "parse": {
              "error_count": 1
            },
            "binary": {
              "peak_region_bytes": 13312,
              "peak_region_entropy": 7.83
            }
          }
        },
        "ident": {
          "name": {
            "value": "ros-madair-compile",
            "source": "crate.name",
            "verified": false
          },
          "urls": [
            {
              "url": "https://github.com/flaxandteal/ros-madair",
              "kind": "repository",
              "source": "crate.repository"
            },
            {
              "url": "https://github.com/flaxandteal/ros-madair",
              "kind": "homepage",
              "source": "crate.homepage"
            }
          ],
          "trust": "unsigned",
          "emails": [
            "phil.weir@flaxandteal.co.uk"
          ],
          "authors": [
            {
              "name": "Phil Weir",
              "role": "author",
              "email": "phil.weir@flaxandteal.co.uk",
              "source": "crate.authors"
            }
          ],
          "version": {
            "value": "0.1.0-alpha.20",
            "source": "crate.version",
            "verified": false
          },
          "identifier": {
            "value": "ros-madair-compile",
            "source": "crate.name",
            "verified": false
          }
        },
        "traits": [
          {
            "id": "metadata/import/rust/alizarin_core/datatype_index/datatype_index_spec::alizarin_core/datatype_index/datatype_index_spec",
            "conf": 0.95,
            "crit": 2,
            "desc": "imports alizarin_core::datatype_index::datatype_index_spec",
            "from": [
              {
                "file": 4
              }
            ]
          },
          {
            "id": "metadata/package/version::cargo-package-version",
            "conf": 0.85,
            "crit": 2,
            "desc": "Cargo package has version"
          },
          {
            "id": "metadata/package/license::cargo-license-field-present",
            "conf": 0.85,
            "crit": 2,
            "desc": "Cargo license field is populated"
          },
          {
            "id": "metadata/import/rust/alizarin_core/extension_type_registry/indexclass::alizarin_core/extension_type_registry/indexclass",
            "conf": 0.95,
            "crit": 2,
            "desc": "imports alizarin_core::extension_type_registry::IndexClass",
            "from": [
              {
                "file": 4
              }
            ]
          },
          {
            "id": "metadata/lang/natural::lang-english--atom-1",
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"the\"",
            "from": [
              {
                "file": 4
              }
            ]
          },
          {
            "id": "metadata/lang/natural::lang-english--atom-3",
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"that\"",
            "from": [
              {
                "file": 4
              }
            ]
          },
          {
            "id": "metadata/lang/natural::lang-english--atom-2",
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"and\"",
            "from": [
              {
                "file": 4
              }
            ]
          },
          {
            "id": "metadata/import/rust/alizarin_core/extension_type_registry/extensiontyperegistry::alizarin_core/extension_type_registry/extensiontyperegistry",
            "conf": 0.95,
            "crit": 2,
            "desc": "imports alizarin_core::extension_type_registry::ExtensionTypeRegistry",
            "from": [
              {
                "file": 4
              }
            ]
          },
          {
            "id": "metadata/import/rust/alizarin_core/graph/staticgraph::alizarin_core/graph/staticgraph",
            "conf": 0.95,
            "crit": 2,
            "desc": "imports alizarin_core::graph::StaticGraph",
            "from": [
              {
                "file": 4
              }
            ]
          },
          {
            "id": "micro-behaviors/data/string/replace::rust-string-replacement-call",
            "conf": 0.9,
            "crit": 3,
            "desc": "Rust replaces matched string content",
            "from": [
              {
                "file": 4
              }
            ]
          },
          {
            "id": "metadata/import/rust/ros_madair_query/query::ros_madair_query/query",
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ros_madair_query::Query",
            "from": [
              {
                "file": 4
              }
            ]
          },
          {
            "id": "metadata/import/rust/alizarin_core/graph/staticnode::alizarin_core/graph/staticnode",
            "conf": 0.95,
            "crit": 2,
            "desc": "imports alizarin_core::graph::StaticNode",
            "from": [
              {
                "file": 4
              }
            ]
          },
          {
            "id": "metadata/package/name/identity::cargo-package-name-present",
            "conf": 0.85,
            "crit": 2,
            "desc": "Cargo package name field is populated"
          },
          {
            "id": "metadata/lang/natural::lang-english--atom-5",
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"for\"",
            "from": [
              {
                "file": 4
              }
            ]
          },
          {
            "id": "metadata/import/rust/std/collections/hashmap::std/collections/hashmap",
            "conf": 0.95,
            "crit": 2,
            "desc": "imports std::collections::HashMap",
            "from": [
              {
                "file": 4
              }
            ]
          },
          {
            "id": "metadata/package/documentation/source::cargo-readme-field-present",
            "conf": 0.85,
            "crit": 2,
            "desc": "Cargo readme field is populated"
          },
          {
            "id": "metadata/package/repository::cargo-repository-field-present",
            "conf": 0.85,
            "crit": 2,
            "desc": "Cargo repository field is populated"
          },
          {
            "id": "metadata/lang/natural::lang-english--atom-7",
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"this\"",
            "from": [
              {
                "file": 4
              }
            ]
          },
          {
            "id": "metadata/package/description/length::cargo-description-at-least-20-characters",
            "conf": 0.78,
            "crit": 2,
            "desc": "Cargo description has at least 20 characters"
          },
          {
            "id": "metadata/import/rust/ros_madair_query/expr::ros_madair_query/expr",
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ros_madair_query::Expr",
            "from": [
              {
                "file": 4
              }
            ]
          },
          {
            "id": "metadata/import/rust/ros_madair_query/conceptop::ros_madair_query/conceptop",
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ros_madair_query::ConceptOp",
            "from": [
              {
                "file": 4
              }
            ]
          },
          {
            "id": "metadata/lang/natural::lang-english--atom-6",
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"with\"",
            "from": [
              {
                "file": 4
              }
            ]
          },
          {
            "id": "metadata/file/archive::archive-member-under-10kb",
            "conf": 0.9,
            "crit": 3,
            "desc": "Archive has a sub-10KB member"
          }
        ]
      },
      {
        "depth": 1,
        "facts": {
          "metrics": {
            "file": {
              "size": 1529,
              "entropy": 5.04
            },
            "binary": {
              "peak_region_bytes": 1529,
              "peak_region_entropy": 5
            }
          }
        },
        "id": 3,
        "path": "ros-madair-compile-0.1.0-alpha.20.crate!!ros-madair-compile-0.1.0-alpha.20/Cargo.toml",
        "pid": 0,
        "refs": [
          {
            "to": "pkg:cargo/alizarin-core?version_requirement=2.0.0-beta.9",
            "off": 0,
            "kind": "dependency"
          },
          {
            "to": "pkg:cargo/ros-madair-query?version_requirement=0.1.0-alpha.20",
            "off": 0,
            "kind": "dependency"
          },
          {
            "to": "pkg:cargo/serde_json?version_requirement=1",
            "off": 0,
            "kind": "dependency"
          },
          {
            "to": "pkg:cargo/getrandom?version_requirement=0.2",
            "off": 0,
            "kind": "dependency"
          },
          {
            "to": "src/lib.rs",
            "off": 1264,
            "file": 4,
            "kind": "local"
          },
          {
            "to": "pkg:github/flaxandteal/ros-madair",
            "off": 920,
            "kind": "repository"
          }
        ],
        "risk": 2,
        "sha": "a2aedbf29acdc4dec9daaaebff9b3526ba4d24fec49293d5f4fcbe7b078b69b7",
        "size": 1529,
        "traits": [
          {
            "id": "metadata/package/description/length::cargo-description-at-least-20-characters",
            "conf": 0.78,
            "crit": 2,
            "desc": "Cargo description has at least 20 characters"
          },
          {
            "id": "metadata/package/documentation/source::cargo-readme-field-present",
            "conf": 0.85,
            "crit": 2,
            "desc": "Cargo readme field is populated"
          },
          {
            "id": "metadata/package/license::cargo-license-field-present",
            "conf": 0.85,
            "crit": 2,
            "desc": "Cargo license field is populated"
          },
          {
            "id": "metadata/package/name/identity::cargo-package-name-present",
            "conf": 0.85,
            "crit": 2,
            "desc": "Cargo package name field is populated"
          },
          {
            "id": "metadata/package/repository::cargo-repository-code-forge-host",
            "conf": 0.85,
            "crit": 2,
            "desc": "Cargo repository names a common code-forge host"
          },
          {
            "id": "metadata/package/repository::cargo-repository-field-present",
            "conf": 0.85,
            "crit": 2,
            "desc": "Cargo repository field is populated"
          },
          {
            "id": "metadata/package/version::cargo-conventional-version",
            "conf": 0.85,
            "crit": 2,
            "desc": "Cargo package uses conventional version"
          },
          {
            "id": "metadata/package/version::cargo-package-version",
            "conf": 0.85,
            "crit": 2,
            "desc": "Cargo package has version"
          },
          {
            "id": "metadata/file/profile/structured::cargo-core-fields-present",
            "conf": 0.88,
            "crit": 2,
            "desc": "Cargo name/version and another project field are present",
            "uses": [
              0,
              1,
              2,
              3,
              5,
              7
            ]
          }
        ],
        "type": "cargo.toml"
      },
      {
        "ctx": [
          {
            "b": "fe1CDp^!zqoLF0FzGxwvnN#yIBzku3wPx*Ok$s:BeI/1kePkUYy*?A%ATBDMaS%-$wGU@mA+cw3qfuC\u003cD0?:^qxT$NK%0env@1F0ax8chaz+$uwPzH5xdLfHx([2hdK]sOdK(MSx\u003c$Q}v@2Q:ay]55wO#3\u0026zEW@A3nj4Q3nj4Qaxi2*B0bgraARpdawU:3ay/tbAa%c1AYLsJA=l1Jzdc%-x(U!oBZ]h{asIboBzk]fdiJCvzFKqoy?Wu?BZ]h$vJY8%wc%$yaS@mCCX7xcBy/IyaARpdax8chaARphB0a$kvru66Ab](cBZ]07j0m@OvSDyhB7GwmvS=y3wfrpdCvtMfgCSt!aAzQxB0bNrwEp7zaS$GfwO#Q7v{%f@yY",
            "ln": 0,
            "col": 1,
            "line": 1
          },
          {
            "b": "aAg+gB7GznCw7Y2xDQbWA=DkkBrCgfy?mVgx(\u003eFrwOkZ#By/G7wg!h@B-RapB97}Ni+98Ay?m9#x(v)giYY/uB7!oRA61ylB-RapvqGU7vrc71uT[1{wJz\u003e.vrt}1D2Nt4x(mD)CSE(@vrt}1D2Nt4x(mD)CWCJhwN^!eB-RapvqGU7vrc71uT[1{wJz\u003e-CYWImB7]MguVZNjwNxE?xk8BeA^oYbDQSg3wO#N6z/eK1AaI{Uxk8BeA^ohUnP56ICTDpQB8#:\u003e3uZA3ayP82Dsp\u0026dzEl)(A+do)xl4B1xGwh3q/(C\u0026x\u003e6UNvq])hax9w\u003cBzkkWz!9Bci%{aKwGV2iB6\u0026=)wmog)uVyj1A^oYbDQzZ?v}xR3pJd\u003ccmr\u0026=(efE/jwPA6Ai%(rFfe1CExK@raB.bPsay/tjy?aVaz/^ahwGU/cCv+/awft#javHuZyEyGiq=cjHayMymD2Nt9flpSpwO\u003e\u0026#wPz*fAV\u003cv(LPTyLaA.NqzF%-p3nj4=aAg+hxDQ-1x\u003c(6layMy6vrt}1D2NsqzF%Rtx(mD)CX7zdw]zYjBzbkdAb]J2x\u003e7N[wH[%jay/s#A=U!mAb]J2x\u003e7N[wGVbkwmY^7vg1UvfcCdzxjk)@z/d9GvixP4ADL#owN({8Bz(hhfj!WbwGV86vR/P#vpBp?zGEALwPRz",
            "ln": 872,
            "col": 4,
            "line": 14
          },
          {
            "b": "arR^HarR^HarR^Q3lQDlarR^HarR^HarR^HaBLWCarR^HarR^HarR^HarR^He[n*oy?m9#c[dj+arR^HarR^HarR^HpIRv$vrcEhkq3X?x(ksytY9bdr7fX-mmg3VzxZIU3lQDlarR^HaBKOtarR^HarR^}CYmW:iZEUec$u}8y?dM$zyDX\u003ej%kgVarR^H",
            "ln": 4195,
            "col": 10,
            "line": 106
          },
          {
            "b": "BzbkdB8Mhwv}u^6wPI^jA:@W4aA}HqB7DF4Aa9\u003c4u)6o1zFHwhvqYQ%azCZoBzb98aAIaoe*9]2B97#73lQDlarR^Hatkw\u003cpI@\u003cuzFKqow]zG@az$RfB-H]by\u003cw5:wNP7ZaA}\u003cmAc0dzxK@r2zF\u003c3aaAIaoazCZovqZ19xK#ibB7Gi5yhW*7efFws",
            "ln": 12672,
            "col": 17,
            "line": 302
          },
          {
            "b": "az#adwOl44B-nEqzGx]dzEWlbefFzABrz@TAa9\u003c4Ej3dKB0bgmaszINxmhcICw7YbwGUz7B7]91x(mMatNzO@arR^HarR^HarR^HarR^HarR^HarR!vB0bgmaszIECXIkvx(mNicN5)uarR^HarR^HarR^HarR^HarR^QdjCPDarR^HarR^HarR^HarQ",
            "ln": 17808,
            "col": 25,
            "line": 428
          },
          {
            "b": "aBsCrarR^HarR!ywPP58xLzo[uUK4(auZ\u0026SxLzo[A+fa}arR^HarR^HarR^He[X:qc$vyuA+fcge]CPrwOCWcvrk^%BAe=UdgdguarR^HarR^HarSpNvq)R}wN^+Zvrk^%y?Wx\u003cdgdguarR^HarR^HarSpVzG*bfA9)K7c)\u0026e7dlv\u003eVarR^HarR!zve",
            "ln": 32315,
            "col": 33,
            "line": 808
          },
          {
            "b": "x(4u6Aa9\u003c4B0babBrCa9w[t\u003c\u003cwN)z2AckRjw]n-jACO##x(\u003e+AiV]+\u003cBAe/MeJ$pQBAh8kxcqKdarR^HB1RGAAbn@)wHF{hcNQC/a$1-ZdggFg",
            "ln": 34014,
            "col": 56,
            "line": 868
          }
        ],
        "depth": 1,
        "facts": {
          "imp": [
            [
              "",
              "compile_expr"
            ],
            [
              "",
              "Ok"
            ],
            [
              "",
              "children.is_empty"
            ],
            [
              "",
              "Ok"
            ],
            [
              "",
              "children.iter.map.collect"
            ],
            [
              "",
              "children.iter.map"
            ],
            [
              "",
              "children.iter"
            ],
            [
              "",
              "compile_expr"
            ],
            [
              "",
              "Ok"
            ],
            [
              "",
              "children.is_empty"
            ],
            [
              "",
              "Ok"
            ],
            [
              "",
              "children.iter.map.collect"
            ],
            [
              "",
              "children.iter.map"
            ],
            [
              "",
              "children.iter"
            ],
            [
              "",
              "compile_expr"
            ],
            [
              "",
              "Ok"
            ],
            [
              "",
              "first_coarse_path"
            ],
            [
              "",
              "Err"
            ],
            [
              "",
              "CompileError"
            ],
            [
              "",
              "compile_expr"
            ],
            [
              "",
              "Ok"
            ],
            [
              "",
              "Err"
            ],
            [
              "",
              "CompileError"
            ],
            [
              "",
              "resolve"
            ],
            [
              "",
              "expect_class"
            ],
            [
              "",
              "Ok"
            ],
            [
              "",
              "Err"
            ],
            [
              "",
              "CompileError"
            ],
            [
              "",
              "Ok"
            ],
            [
              "",
              "Err"
            ],
            [
              "",
              "CompileError"
            ],
            [
              "",
              "resolve"
            ],
            [
              "",
              "expect_class"
            ],
            [
              "",
              "Ok"
            ],
            [
              "",
              "resolve"
            ],
            [
              "",
              "expect_class"
            ],
            [
              "",
              "bbox_predicate"
            ],
            [
              "",
              "Ok"
            ],
            [
              "",
              "Err"
            ],
            [
              "",
              "CompileError"
            ],
            [
              "",
              "resolve"
            ],
            [
              "",
              "expect_class"
            ],
            [
              "",
              "String::new"
            ],
            [
              "",
              "Ok"
            ],
            [
              "",
              "Err"
            ],
            [
              "",
              "CompileError"
            ],
            [
              "",
              "resolve"
            ],
            [
              "",
              "expect_class"
            ],
            [
              "",
              "graphs.iter.copied.find.ok_or_else"
            ],
            [
              "",
              "graphs.iter.copied.find"
            ],
            [
              "",
              "graphs.iter.copied"
            ],
            [
              "",
              "graphs.iter"
            ],
            [
              "",
              "CompileError"
            ],
            [
              "",
              "compile_expr"
            ],
            [
              "",
              "Ok"
            ],
            [
              "",
              "tile_nodegroup"
            ],
            [
              "",
              "ng.ok_or_else"
            ],
            [
              "",
              "CompileError"
            ],
            [
              "",
              "compile_tile_cond"
            ],
            [
              "",
              "ros_madair_query::Expr::All"
            ],
            [
              "",
              "children.clone"
            ],
            [
              "",
              "Ok"
            ],
            [
              "",
              "tile_nodegroup"
            ],
            [
              "",
              "Ok"
            ],
            [
              "",
              "tile_nodegroup"
            ],
            [
              "",
              "resolve"
            ],
            [
              "",
              "Some"
            ],
            [
              "",
              "Err"
            ],
            [
              "",
              "CompileError"
            ],
            [
              "",
              "Ok"
            ],
            [
              "",
              "children.is_empty"
            ],
            [
              "",
              "Ok"
            ],
            [
              "",
              "children.iter.map.collect"
            ],
            [
              "",
              "children.iter.map"
            ],
            [
              "",
              "children.iter"
            ],
            [
              "",
              "compile_tile_cond"
            ],
            [
              "",
              "Ok"
            ],
            [
              "",
              "children.is_empty"
            ],
            [
              "",
              "Ok"
            ],
            [
              "",
              "children.iter.map.collect"
            ],
            [
              "",
              "children.iter.map"
            ],
            [
              "",
              "children.iter"
            ],
            [
              "",
              "compile_tile_cond"
            ],
            [
              "",
              "Ok"
            ],
            [
              "",
              "first_coarse_path"
            ],
            [
              "",
              "Err"
            ],
            [
              "",
              "CompileError"
            ],
            [
              "",
              "Ok"
            ],
            [
              "",
              "Err"
            ],
            [
              "",
              "CompileError"
            ],
            [
              "",
              "resolve"
            ],
            [
              "",
              "expect_class"
            ],
            [
              "",
              "Ok"
            ],
            [
              "",
              "Err"
            ],
            [
              "",
              "CompileError"
            ],
            [
              "",
              "Ok"
            ],
            [
              "",
              "Err"
            ],
            [
              "",
              "CompileError"
            ],
            [
              "",
              "resolve"
            ],
            [
              "",
              "expect_class"
            ],
            [
              "",
              "Ok"
            ],
            [
              "",
              "resolve"
            ],
            [
              "",
              "expect_class"
            ],
            [
              "",
              "Ok"
            ],
            [
              "",
              "bbox_predicate"
            ],
            [
              "",
              "Err"
            ],
            [
              "",
              "CompileError"
            ],
            [
              "",
              "resolve"
            ],
            [
              "",
              "expect_class"
            ],
            [
              "",
              "String::new"
            ],
            [
              "",
              "Ok"
            ],
            [
              "",
              "Err"
            ],
            [
              "",
              "CompileError"
            ],
            [
              "",
              "resolve"
            ],
            [
              "",
              "expect_class"
            ],
            [
              "",
              "graphs.iter.copied.find.ok_or_else"
            ],
            [
              "",
              "graphs.iter.copied.find"
            ],
            [
              "",
              "graphs.iter.copied"
            ],
            [
              "",
              "graphs.iter"
            ],
            [
              "",
              "CompileError"
            ],
            [
              "",
              "compile_expr"
            ],
            [
              "",
              "Ok"
            ],
            [
              "",
              "Err"
            ],
            [
              "",
              "CompileError"
            ],
            [
              "",
              "Some"
            ],
            [
              "",
              "path.as_str"
            ],
            [
              "",
              "children.iter.find_map"
            ],
            [
              "",
              "children.iter"
            ],
            [
              "",
              "first_coarse_path"
            ],
            [
              "",
              "first_coarse_path"
            ],
            [
              "",
              "first_coarse_path"
            ],
            [
              "",
              "resolve_node"
            ],
            [
              "",
              "node.nodegroup_id.clone.ok_or_else"
            ],
            [
              "",
              "node.nodegroup_id.clone"
            ],
            [
              "",
              "CompileError"
            ],
            [
              "",
              "Ok"
            ],
            [
              "",
              "path.split.collect"
            ],
            [
              "",
              "path.split"
            ],
            [
              "",
              "components.len"
            ],
            [
              "",
              "graph.find_node_by_alias.ok_or_else"
            ],
            [
              "",
              "graph.find_node_by_alias"
            ],
            [
              "",
              "CompileError"
            ],
            [
              "",
              "std::collections::HashMap::new"
            ],
            [
              "",
              "graph.edges_slice"
            ],
            [
              "",
              "children.entry.or_default.push"
            ],
            [
              "",
              "children.entry.or_default"
            ],
            [
              "",
              "children.entry"
            ],
            [
              "",
              "edge.domainnode_id.as_str"
            ],
            [
              "",
              "edge.rangenode_id.as_str"
            ],
            [
              "",
              "graph.nodes_slice.iter.map.collect"
            ],
            [
              "",
              "graph.nodes_slice.iter.map"
            ],
            [
              "",
              "graph.nodes_slice.iter"
            ],
            [
              "",
              "graph.nodes_slice"
            ],
            [
              "",
              "n.nodeid.as_str"
            ],
            [
              "",
              "graph.get_root"
            ],
            [
              "",
              "children.get.map.unwrap_or"
            ],
            [
              "",
              "children.get.map"
            ],
            [
              "",
              "children.get"
            ],
            [
              "",
              "current.nodeid.as_str"
            ],
            [
              "",
              "child_ids.iter.filter_map.find"
            ],
            [
              "",
              "child_ids.iter.filter_map"
            ],
            [
              "",
              "child_ids.iter"
            ],
            [
              "",
              "nodes_by_id.get.copied"
            ],
            [
              "",
              "nodes_by_id.get"
            ],
            [
              "",
              "n.alias.as_deref"
            ],
            [
              "",
              "Some"
            ],
            [
              "",
              "Err"
            ],
            [
              "",
              "CompileError"
            ],
            [
              "",
              "Ok"
            ],
            [
              "",
              "node.config.is_empty"
            ],
            [
              "",
              "Some"
            ],
            [
              "",
              "serde_json::Value::Object"
            ],
            [
              "",
              "node.config.iter.map.collect"
            ],
            [
              "",
              "node.config.iter.map"
            ],
            [
              "",
              "node.config.iter"
            ],
            [
              "",
              "k.clone"
            ],
            [
              "",
              "v.clone"
            ],
            [
              "",
              "alizarin_core::datatype_index::datatype_index_spec"
            ],
            [
              "",
              "node_config_value.as_ref"
            ],
            [
              "",
              "node_config_value"
            ],
            [
              "",
              "Some"
            ],
            [
              "",
              "ok"
            ],
            [
              "",
              "Ok"
            ],
            [
              "",
              "Err"
            ],
            [
              "",
              "CompileError"
            ],
            [
              "",
              "s.replace"
            ],
            [
              "",
              "std::collections::HashMap"
            ],
            [
              "",
              "alizarin_core::datatype_index::datatype_index_spec"
            ],
            [
              "",
              "alizarin_core::extension_type_registry::ExtensionTypeRegistry"
            ],
            [
              "",
              "alizarin_core::extension_type_registry::IndexClass"
            ],
            [
              "",
              "alizarin_core::graph::StaticGraph"
            ],
            [
              "",
              "alizarin_core::graph::StaticNode"
            ],
            [
              "",
              "ros_madair_query::ConceptOp"
            ],
            [
              "",
              "ros_madair_query::Expr"
            ],
            [
              "",
              "ros_madair_query::Query"
            ]
          ],
          "mbr": [
            "child_ids.iter",
            "child_ids.iter.filter_map",
            "child_ids.iter.filter_map.find",
            "children.clone",
            "children.entry",
            "children.entry.or_default",
            "children.entry.or_default.push",
            "children.get",
            "children.get.map",
            "children.get.map.unwrap_or",
            "children.is_empty",
            "children.iter",
            "children.iter.find_map",
            "children.iter.map",
            "children.iter.map.collect",
            "components.len",
            "current.nodeid",
            "current.nodeid.as_str",
            "datatype_index_spec.class",
            "edge.domainnode_id",
            "edge.domainnode_id.as_str",
            "edge.rangenode_id",
            "edge.rangenode_id.as_str",
            "g.graphid",
            "graph.edges_slice",
            "graph.find_node_by_alias",
            "graph.find_node_by_alias.ok_or_else",
            "graph.get_root",
            "graph.nodes_slice",
            "graph.nodes_slice.iter",
            "graph.nodes_slice.iter.map",
            "graph.nodes_slice.iter.map.collect",
            "graphs.iter",
            "graphs.iter.copied",
            "graphs.iter.copied.find",
            "graphs.iter.copied.find.ok_or_else",
            "k.clone",
            "n.alias",
            "n.alias.as_deref",
            "n.nodeid",
            "n.nodeid.as_str",
            "ng.ok_or_else",
            "node.config",
            "node.config.is_empty",
            "node.config.iter",
            "node.config.iter.map",
            "node.config.iter.map.collect",
            "node.datatype",
            "node.nodegroup_id",
            "node.nodegroup_id.clone",
            "node.nodegroup_id.clone.ok_or_else",
            "node.nodeid",
            "node_config_value.as_ref",
            "nodes_by_id.get",
            "nodes_by_id.get.copied",
            "path.as_str",
            "path.split",
            "path.split.collect",
            "query.r#where",
            "s.replace",
            "v.clone"
          ],
          "tgt": [
            "CompileError",
            "Err",
            "Ok",
            "Some",
            "String::new",
            "alizarin_core::datatype_index::datatype_index_spec",
            "bbox_predicate",
            "child_ids.iter",
            "child_ids.iter.filter_map",
            "child_ids.iter.filter_map.find",
            "children.clone",
            "children.entry",
            "children.entry.or_default",
            "children.entry.or_default.push",
            "children.get",
            "children.get.map",
            "children.get.map.unwrap_or",
            "children.is_empty",
            "children.iter",
            "children.iter.find_map",
            "children.iter.map",
            "children.iter.map.collect",
            "compile_expr",
            "compile_tile_cond",
            "components.len",
            "current.nodeid.as_str",
            "edge.domainnode_id.as_str",
            "edge.rangenode_id.as_str",
            "expect_class",
            "first_coarse_path",
            "graph.edges_slice",
            "graph.find_node_by_alias",
            "graph.find_node_by_alias.ok_or_else",
            "graph.get_root",
            "graph.nodes_slice",
            "graph.nodes_slice.iter",
            "graph.nodes_slice.iter.map",
            "graph.nodes_slice.iter.map.collect",
            "graphs.iter",
            "graphs.iter.copied",
            "graphs.iter.copied.find",
            "graphs.iter.copied.find.ok_or_else",
            "k.clone",
            "n.alias.as_deref",
            "n.nodeid.as_str",
            "ng.ok_or_else",
            "node.config.is_empty",
            "node.config.iter",
            "node.config.iter.map",
            "node.config.iter.map.collect",
            "node.nodegroup_id.clone",
            "node.nodegroup_id.clone.ok_or_else",
            "node_config_value",
            "node_config_value.as_ref",
            "nodes_by_id.get",
            "nodes_by_id.get.copied",
            "ok",
            "path.as_str",
            "path.split",
            "path.split.collect",
            "resolve",
            "resolve_node",
            "ros_madair_query::Expr::All",
            "s.replace",
            "serde_json::Value::Object",
            "std::collections::HashMap::new",
            "tile_nodegroup",
            "v.clone"
          ],
          "funcs": [
            [
              "fmt",
              1636
            ],
            [
              "compile_query",
              2230
            ],
            [
              "compile_expr",
              3116
            ],
            [
              "tile_nodegroup",
              16877
            ],
            [
              "compile_tile_cond",
              18459
            ],
            [
              "bbox_predicate",
              27979
            ],
            [
              "first_coarse_path",
              29951
            ],
            [
              "resolve",
              30761
            ],
            [
              "resolve_node",
              31399
            ],
            [
              "node_config_value",
              32882
            ],
            [
              "expect_class",
              33300
            ],
            [
              "sql_lit",
              34038
            ]
          ],
          "metrics": {
            "ast": {
              "op.eq": 5,
              "max_depth": 25,
              "call_count": 195,
              "node_count": 5518,
              "member_count": 61,
              "op_density.eq": 0,
              "max_member_depth": 5
            },
            "file": {
              "size": 34102,
              "entropy": 4.3
            },
            "text": {
              "lines": 871,
              "top_char": 101,
              "digit_ratio": 0,
              "space_count": 12449,
              "char_entropy": 4.3,
              "unique_chars": 91,
              "top_char_null": 0,
              "import_density": 1.03,
              "string_density": 0.08,
              "top_char_ratio": 0.06,
              "ascii_art_lines": 4,
              "avg_line_length": 38.15,
              "max_line_length": 99,
              "non_ascii_ratio": 0,
              "empty_line_ratio": 0.02,
              "last_line_length": 1,
              "whitespace_ratio": 0.39,
              "identifier_density": 1.16,
              "line_length_stddev": 25.27,
              "max_whitespace_run": 1,
              "normalized_import_count": 0.3,
              "normalized_string_count": 2.24,
              "repeated_char_sequences": 546,
              "suspicious_string_ratio": 0.29,
              "suspicious_comment_ratio": 0.03,
              "normalized_function_count": 0.41,
              "imports_to_functions_ratio": 0.75,
              "strings_to_functions_ratio": 5.5,
              "suspicious_identifier_ratio": 0.05,
              "normalized_unique_identifiers": 17,
              "identifiers_to_functions_ratio": 13.83
            },
            "binds": {
              "count": 27
            },
            "binary": {
              "peak_region_bytes": 9526,
              "peak_region_entropy": 5.02
            },
            "source": {
              "class_count": 1,
              "function_count": 12
            },
            "imports": {
              "count": 9,
              "third_party_count": 9,
              "third_party_ratio": 1
            },
            "strings": {
              "sql": 17,
              "bytes": 5275,
              "count": 66,
              "shell": 2,
              "avg_length": 79.92,
              "max_length": 419,
              "avg_entropy": 3.37,
              "empty_count": 1,
              "entropy_stddev": 1.06
            },
            "comments": {
              "chars": 8275,
              "count": 121,
              "lines": 121,
              "high_entropy": 4,
              "to_code_ratio": 0.16
            },
            "functions": {
              "count": 13,
              "density": 1.38,
              "avg_params": 4.58,
              "code_ratio": 0.89,
              "max_params": 11,
              "length_stddev": 100.88,
              "over_100_lines": 2,
              "avg_name_length": 12.08,
              "avg_length_lines": 64.33,
              "max_length_lines": 321,
              "min_length_lines": 3,
              "many_params_count": 3,
              "high_entropy_names": 4,
              "single_char_params": 2,
              "avg_param_name_length": 9.36
            },
            "identifiers": {
              "count": 1014,
              "unique": 166,
              "avg_length": 7.16,
              "max_length": 23,
              "min_length": 1,
              "avg_entropy": 2.31,
              "reuse_ratio": 0.16,
              "length_stddev": 4.43,
              "sequential_names": 9,
              "single_char_count": 10,
              "single_char_ratio": 0.06,
              "high_entropy_count": 9,
              "high_entropy_ratio": 0.05,
              "all_lowercase_ratio": 0.73,
              "all_uppercase_ratio": 0.01,
              "underscore_prefix_count": 1
            }
          }
        },
        "id": 4,
        "mol": "H(Db)",
        "path": "ros-madair-compile-0.1.0-alpha.20.crate!!ros-madair-compile-0.1.0-alpha.20/src/lib.rs",
        "pid": 1316,
        "risk": 2,
        "sha": "33f1119c4fbcac06fcb3ed896454f70a38583db6804f2a0a0feea3a543144534",
        "size": 34102,
        "traits": [
          {
            "id": "micro-behaviors/data/string/replace::rust-string-replacement-call",
            "conf": 0.9,
            "crit": 3,
            "desc": "Rust replaces matched string content",
            "spans": [
              [
                34078,
                9
              ]
            ]
          },
          {
            "id": "metadata/file/comment::source-comment-bytes-over-300",
            "conf": 0.92,
            "crit": 2,
            "desc": "Source has over 300 comment bytes"
          },
          {
            "id": "metadata/import/rust/alizarin_core/datatype_index/datatype_index_spec::alizarin_core/datatype_index/datatype_index_spec",
            "conf": 0.95,
            "crit": 2,
            "desc": "imports alizarin_core::datatype_index::datatype_index_spec",
            "spans": [
              [
                952,
                0
              ]
            ]
          },
          {
            "id": "metadata/import/rust/alizarin_core/extension_type_registry/extensiontyperegistry::alizarin_core/extension_type_registry/extensiontyperegistry",
            "conf": 0.95,
            "crit": 2,
            "desc": "imports alizarin_core::extension_type_registry::ExtensionTypeRegistry",
            "spans": [
              [
                1049,
                0
              ]
            ]
          },
          {
            "id": "metadata/import/rust/alizarin_core/extension_type_registry/indexclass::alizarin_core/extension_type_registry/indexclass",
            "conf": 0.95,
            "crit": 2,
            "desc": "imports alizarin_core::extension_type_registry::IndexClass",
            "spans": [
              [
                1072,
                0
              ]
            ]
          },
          {
            "id": "metadata/import/rust/alizarin_core/graph/staticgraph::alizarin_core/graph/staticgraph",
            "conf": 0.95,
            "crit": 2,
            "desc": "imports alizarin_core::graph::StaticGraph",
            "spans": [
              [
                1112,
                0
              ]
            ]
          },
          {
            "id": "metadata/import/rust/alizarin_core/graph/staticnode::alizarin_core/graph/staticnode",
            "conf": 0.95,
            "crit": 2,
            "desc": "imports alizarin_core::graph::StaticNode",
            "spans": [
              [
                1125,
                0
              ]
            ]
          },
          {
            "id": "metadata/import/rust/ros_madair_query/conceptop::ros_madair_query/conceptop",
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ros_madair_query::ConceptOp",
            "spans": [
              [
                1161,
                0
              ]
            ]
          },
          {
            "id": "metadata/import/rust/ros_madair_query/expr::ros_madair_query/expr",
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ros_madair_query::Expr",
            "spans": [
              [
                1172,
                0
              ]
            ]
          },
          {
            "id": "metadata/import/rust/ros_madair_query/query::ros_madair_query/query",
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ros_madair_query::Query",
            "spans": [
              [
                1178,
                0
              ]
            ]
          },
          {
            "id": "metadata/import/rust/std/collections/hashmap::std/collections/hashmap",
            "conf": 0.95,
            "crit": 2,
            "desc": "imports std::collections::HashMap",
            "spans": [
              [
                920,
                0
              ]
            ]
          },
          {
            "id": "metadata/lang/natural::lang-english--atom-1",
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"the\"",
            "spans": [
              [
                50,
                0
              ]
            ]
          },
          {
            "id": "metadata/lang/natural::lang-english--atom-2",
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"and\"",
            "spans": [
              [
                206,
                0
              ]
            ]
          },
          {
            "id": "metadata/lang/natural::lang-english--atom-3",
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"that\"",
            "spans": [
              [
                12720,
                0
              ]
            ]
          },
          {
            "id": "metadata/lang/natural::lang-english--atom-5",
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"for\"",
            "spans": [
              [
                1312,
                0
              ]
            ]
          },
          {
            "id": "metadata/lang/natural::lang-english--atom-6",
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"with\"",
            "spans": [
              [
                95,
                0
              ]
            ]
          },
          {
            "id": "metadata/lang/natural::lang-english--atom-7",
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"this\"",
            "spans": [
              [
                137,
                0
              ]
            ]
          }
        ],
        "type": "rust"
      },
      {
        "depth": 1,
        "facts": {
          "metrics": {
            "file": {
              "size": 1035,
              "entropy": 4.97
            },
            "binary": {
              "peak_region_bytes": 1024,
              "peak_region_entropy": 4.97
            },
            "registry": {
              "age_days": 0,
              "published_at": 1791666497,
              "releases_24h": 2,
              "releases_48h": 2,
              "is_deprecated": 0,
              "release_count": 2,
              "unpacked_size": 13405,
              "downloads_total": 16,
              "version_removed": 0,
              "downloads_recent": 16,
              "package_age_days": 0,
              "first_published_at": 1791650609,
              "previous_published_at": 1791650609,
              "days_since_previous_release": 0
            }
          }
        },
        "id": 5,
        "mol": "Md(Re)",
        "path": "ros-madair-compile@0.1.0-alpha.20.registry.json",
        "pid": 0,
        "rel": "registry",
        "risk": 2,
        "role": "sidecar",
        "sha": "6e357c028c6a728f8c09806534227b09dc4821315de5d520a06bbe6ebff84d7a",
        "size": 1035,
        "traits": [
          {
            "id": "metadata/registry::brand-new-package",
            "conf": 1.0,
            "crit": 3,
            "desc": "Package first published within seven days"
          },
          {
            "id": "metadata/registry::few-releases",
            "conf": 1.0,
            "crit": 3,
            "desc": "Three or fewer releases"
          },
          {
            "id": "metadata/registry::low-adoption",
            "conf": 1.0,
            "crit": 3,
            "desc": "Near-zero recent downloads for registry package"
          },
          {
            "id": "metadata/registry::recent-package",
            "conf": 1.0,
            "crit": 3,
            "desc": "Package under two months old"
          },
          {
            "id": "metadata/registry::freshly-published",
            "conf": 1.0,
            "crit": 3,
            "desc": "Release published within seven days"
          },
          {
            "id": "objectives/supply-chain/impersonation/registry/publish::fresh-unestablished-throwaway",
            "conf": 0.6,
            "crit": 3,
            "desc": "Brand-new low-adoption package",
            "uses": [
              0,
              1,
              2
            ]
          },
          {
            "id": "metadata/registry::fresh-low-adoption-release",
            "conf": 0.7,
            "crit": 3,
            "desc": "Fresh low-adoption registry release",
            "uses": [
              2,
              4
            ]
          }
        ],
        "type": "registry"
      }
    ],
    "rev": "17dc6",
    "v": "8"
  }
}