Declarative data automation language and Go runtime for structured extraction workflows.
This report summarizes scanner evidence for MontFerret/ferret, a Go project with 6,019 GitHub stars. SynthScan examined 293,516 lines of code across 1881 source files, recording 93 pattern matches distributed across 7 syntactic categories. The legacy adjusted pattern signal is 0.5 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 73 finding(s).
Are imports declared and package/API names verified? 0 finding(s).
Are wrappers, guards, and repeated structures necessary? 20 finding(s).
Which changes need focused human review? 93 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 93 distinct pattern matches across 7 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | engine_options.go | 161 | // WithMaxActiveSessions sets an engine-wide limit on concurrently active sessions. | COMMENT |
| LOW | engine_options.go | 181 | // WithMaxIdleVMsPerPlan sets how many closed-session VMs each plan keeps warm | COMMENT |
| LOW | engine_options.go | 201 | } | COMMENT |
| LOW | uapi/doc.go | 1 | // Package uapi exposes Ferret Native through the Universal Ferret API. | COMMENT |
| LOW | compat/compat.go | 1 | // Package compat provides a Ferret v1-compatible public API surface, built on top of | COMMENT |
| LOW | compat/runtime/values/values.go | 1 | // Package values provides v1-compatible concrete value types and helpers for the Ferret | COMMENT |
| LOW | .github/stale.yml | 41 | # Your comment here. | COMMENT |
| LOW | .github/stale.yml | 61 | # issues: | COMMENT |
| LOW | .github/workflows/codeql.yml | 1 | # For most projects, this workflow file will not need changing; you simply need | COMMENT |
| LOW | pkg/net/http/doc.go | 1 | // Package http provides Ferret's sandboxed HTTP client and its reusable access | COMMENT |
| LOW | pkg/net/http/doc.go | 21 | // disabled. | COMMENT |
| LOW | pkg/net/http/doc.go | 41 | // - apply Timeout to the backend or request context; | COMMENT |
| LOW | pkg/net/http/doc.go | 61 | // http.WithAllowedHosts("api.example.com"), | COMMENT |
| LOW | pkg/net/http/doc.go | 81 | // if err := policy.Prepare(stdReq); err != nil { | COMMENT |
| LOW | pkg/net/http/doc.go | 101 | // log.Printf( | COMMENT |
| LOW | pkg/module/hooks.go | 21 | // initialization. | COMMENT |
| LOW | pkg/module/hooks.go | 41 | // closed. | COMMENT |
| LOW | pkg/module/hooks.go | 81 | // PlanCloseHook runs when a plan is closed. | COMMENT |
| LOW | pkg/module/host.go | 21 | // the engine. | COMMENT |
| LOW | pkg/module/doc.go | 1 | // Package module defines the extension contracts used to customize engine | COMMENT |
| LOW | pkg/runtime/comparable.go | 21 | Equal(ctx context.Context, other Value) (bool, error) | COMMENT |
| LOW | pkg/runtime/collections.go | 81 | COMMENT | |
| LOW | pkg/runtime/snapshot.go | 1 | package runtime | COMMENT |
| LOW | pkg/runtime/array_test.go | 301 | So(counter, ShouldEqual, size) | COMMENT |
| LOW | pkg/runtime/array_test.go | 321 | // So(counter, ShouldEqual, threshold) | COMMENT |
| LOW | pkg/runtime/array_test.go | 341 | // arr := values.NewArrayWith() | COMMENT |
| LOW | pkg/runtime/array_test.go | 401 | // values.runtime.NewInt(4), | COMMENT |
| LOW | pkg/runtime/array_test.go | 561 | // values.runtime.NewInt(3), | COMMENT |
| LOW | pkg/runtime/object_test.go | 441 | // values.NewObjectProperty("bar", values.NewInt(2)), | COMMENT |
| LOW | pkg/vm/state.go | 721 | // ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ | COMMENT |
| LOW | pkg/vm/internal/mem/doc.go | 1 | // Package mem provides VM storage helpers and the narrow ownership layer used | COMMENT |
| LOW | pkg/sdk/doc.go | 1 | // Package sdk is the supported authoring layer for Ferret modules and host values. | COMMENT |
| LOW | pkg/sdk/function_registration_example_test.go | 81 | // "fixed-one" | COMMENT |
| LOW | pkg/debugger/session.go | 121 | } | COMMENT |
| LOW | pkg/stdlib/strings/find.go | 41 | // find_first returns the position of the first occurrence of the string search inside the string text. Positions start | COMMENT |
| LOW | pkg/stdlib/types/to_int.go | 1 | package types | COMMENT |
| LOW | pkg/stdlib/types/to_number.go | 1 | package types | COMMENT |
| LOW | pkg/stdlib/types/to_float.go | 1 | package types | COMMENT |
| LOW | pkg/stdlib/datetime/legacy.go | 41 | // Now returns new DateTime object with Time equal to time.Now(). | COMMENT |
| LOW | pkg/stdlib/datetime/legacy.go | 81 | // @param date {DateTime} Source DateTime. | COMMENT |
| LOW | pkg/stdlib/datetime/legacy.go | 121 | // The return value range from 1 to 365 (366 in a leap year). | COMMENT |
| LOW | pkg/stdlib/datetime/legacy.go | 161 | COMMENT | |
| LOW | pkg/stdlib/datetime/legacy.go | 181 | return Add(ctx, arg1, arg2, arg3) | COMMENT |
| LOW | pkg/stdlib/objects/legacy.go | 41 | // @param object {Map} Object or map to inspect. | COMMENT |
| LOW | pkg/stdlib/objects/legacy.go | 61 | // @return {Map} Shallow merge with cloned or copied values. | COMMENT |
| LOW | pkg/stdlib/objects/merge_deep.go | 21 | // Conflicting nested maps are cloned before modification so external nested | COMMENT |
| LOW | pkg/stdlib/math/legacy.go | 81 | // @param number {Int | Float} Input number. | COMMENT |
| LOW | pkg/stdlib/math/legacy.go | 121 | // exp returns Euler's constant (2.71828...) raised to the power of value. | COMMENT |
| LOW | pkg/stdlib/math/legacy.go | 161 | COMMENT | |
| LOW | pkg/stdlib/math/range.go | 21 | // @param start {Int | Float} The value to start the range at (inclusive). | COMMENT |
| LOW | pkg/stdlib/testing/types.go | 41 | return args[0] == runtime.False, nil | COMMENT |
| LOW | pkg/stdlib/testing/types.go | 61 | stringAssertion = newTypeAssertion(runtime.TypeString) | COMMENT |
| LOW | pkg/stdlib/testing/types.go | 101 | // @return {None} No value is produced when the configured assertion succeeds. | COMMENT |
| LOW | pkg/stdlib/testing/comparison.go | 21 | // Tests equality of the actual and expected values. | COMMENT |
| LOW | pkg/stdlib/testing/comparison.go | 41 | COMMENT | |
| LOW | pkg/stdlib/collections/legacy.go | 21 | // @param collection {Iterable} Source whose yielded values are counted. | COMMENT |
| LOW | pkg/engine/engine_options.go | 41 | } | COMMENT |
| LOW | pkg/engine/engine_options.go | 61 | opts.maxActiveSessions = n | COMMENT |
| LOW | pkg/engine/engine_options.go | 101 | // by active sessions created from that plan. When the limit is reached and no | COMMENT |
| LOW | pkg/compiler/internal/context.go | 41 | } | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | pkg/vm/vm_lifecycle_test.go | 15 | // ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ | COMMENT |
| MEDIUM | pkg/vm/vm_lifecycle_test.go | 17 | // ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ | COMMENT |
| MEDIUM | pkg/vm/vm_lifecycle_test.go | 231 | // ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ | COMMENT |
| MEDIUM | pkg/vm/vm_lifecycle_test.go | 233 | // ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ | COMMENT |
| MEDIUM | pkg/vm/vm_lifecycle_test.go | 328 | // ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ | COMMENT |
| MEDIUM | pkg/vm/vm_lifecycle_test.go | 330 | // ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ | COMMENT |
| MEDIUM | pkg/vm/vm_lifecycle_test.go | 429 | // ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ | COMMENT |
| MEDIUM | pkg/vm/vm_lifecycle_test.go | 431 | // ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ | COMMENT |
| MEDIUM | pkg/vm/vm_lifecycle_test.go | 664 | // ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ | COMMENT |
| MEDIUM | pkg/vm/vm_lifecycle_test.go | 666 | // ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ | COMMENT |
| MEDIUM | pkg/vm/vm_lifecycle_test.go | 792 | // ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ | COMMENT |
| MEDIUM | pkg/vm/vm_lifecycle_test.go | 794 | // ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ | COMMENT |
| MEDIUM | pkg/vm/state.go | 719 | // ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ | COMMENT |
| MEDIUM | pkg/vm/state.go | 721 | // ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ | COMMENT |
| MEDIUM | pkg/vm/state.go | 739 | // ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ | COMMENT |
| MEDIUM | pkg/compiler/internal/core/emitter_extension.go | 9 | // ─── Loop & State ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | pkg/compiler/internal/core/emitter_extension.go | 57 | // ─── Value & Memory ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | pkg/compiler/internal/core/emitter_extension.go | 157 | // ─── Data Structures ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | pkg/compiler/internal/core/emitter_extension.go | 225 | // ─── Arithmetic and Logical ────────────────────────────────────────────── | COMMENT |
| MEDIUM | pkg/compiler/internal/core/emitter_extension.go | 271 | // ─── Control Flow ──────────────────────────────────────────────────────── | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | pkg/compiler/internal/optimization/builder.go | 33 | // Step 1: Identify leaders (start of basic blocks) | COMMENT |
| LOW⚡ | pkg/compiler/internal/optimization/builder.go | 36 | // Step 2: Build basic blocks | COMMENT |
| LOW⚡ | pkg/compiler/internal/optimization/builder.go | 39 | // Step 3: Create control flow edges | COMMENT |
| LOW⚡ | pkg/compiler/internal/optimization/builder.go | 42 | // Step 4: Create virtual exit block and connect return statements | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | pkg/compiler/internal/optimization/builder.go | 33 | // Step 1: Identify leaders (start of basic blocks) | COMMENT |
| LOW⚡ | pkg/compiler/internal/optimization/builder.go | 36 | // Step 2: Build basic blocks | COMMENT |
| LOW⚡ | pkg/compiler/internal/optimization/builder.go | 39 | // Step 3: Create control flow edges | COMMENT |
| LOW⚡ | pkg/compiler/internal/optimization/builder.go | 42 | // Step 4: Create virtual exit block and connect return statements | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | .golangci.yml | 1 | # This file contains all available configuration options | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | pkg/runtime/type.go | 49 | // Example usage: | COMMENT |
| LOW | pkg/runtime/type.go | 69 | // Example usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | pkg/compiler/internal/loop_sort.go | 191 | // TODO: Handle error if the key variable is not found | COMMENT |
| LOW | pkg/compiler/internal/loop_sort.go | 196 | // TODO: Handle error if the key variable is not found | COMMENT |