Open source inference engine that tunes its kernels on your hardware to find the fastest way to run each model. 2x faster than Ollama. Works on Apple Silicon, NVIDIA, AMD, Intel, or just a CPU.
This report summarizes scanner evidence for magnitudedev/magnitude, a Rust project with 7,647 GitHub stars. SynthScan examined 1,009,741 lines of code across 3589 source files, recording 1673 pattern matches distributed across 15 syntactic categories. The legacy adjusted pattern signal is 2.4 (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? 1342 finding(s).
Are imports declared and package/API names verified? 72 finding(s).
Are wrappers, guards, and repeated structures necessary? 659 finding(s).
Which changes need focused human review? 1673 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 1673 distinct pattern matches across 15 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 | desktop/native/tray-status.m | 1 | // The desktop tray addon (macOS): the tray menu's live model status row, a native view on one item | COMMENT |
| LOW | packages/tracing/dashboard/src/vite-env.d.ts | 1 | /// <reference types="svelte" /> | COMMENT |
| LOW | packages/logger/src/index.ts | 1 | // Browser-safe logger — spec §6.5 | COMMENT |
| LOW | packages/agent/src/util/vcs-availability.ts | 21 | // const home = normalize(homedir()) | COMMENT |
| LOW | packages/agent/src/projections/autopilot-state.ts | 61 | autopilot_outcome: ({ event, state, emit }) => { | COMMENT |
| LOW | packages/agent/src/window/projection.ts | 661 | // Update consumer autopilot knowledge after advisor response or leader turn. | COMMENT |
| LOW | packages/agent/src/window/projection.ts | 1081 | } | COMMENT |
| LOW | packages/agent/src/workers/turn-executor.ts | 81 | } | COMMENT |
| LOW | packages/storage/src/chat/store-live.ts | 21 | COMMENT | |
| LOW | packages/markdown-cst/src/handlers/noop.ts | 41 | COMMENT | |
| LOW | packages/markdown-cst/src/handlers/noop.ts | 81 | gfmFootnoteDefinitionLabelString: () => {}, | COMMENT |
| LOW | …kages/daemon-management/native/mac-update-validation.c | 1 | #include "mac-update-validation.h" | COMMENT |
| LOW | packages/daemon-management/native/owned-command.c | 1 | /* A transient command group whose lifetime is bounded by its parent's pipe. | COMMENT |
| LOW | packages/daemon-management/native/mac-update-extract.c | 1 | /* This standalone process extracts only into an empty private staging directory. | COMMENT |
| LOW | packages/daemon-management/native/mac-update-lease.c | 1 | /* Installation admission is close-on-exec except for an explicit installer continuation. */ | COMMENT |
| LOW | …kages/daemon-management/native/mac-update-filesystem.c | 1 | /* Bounded synchronous operations for the finite installer process, under installation exclusion. */ | COMMENT |
| LOW | packages/daemon-management/native/desktop-host.c | 1 | /* Process-lifetime primitives. No JavaScript callbacks run from the watchdog. */ | COMMENT |
| LOW | …es/daemon-management/native/windows-update-signature.h | 1 | #ifndef MAGNITUDE_WINDOWS_UPDATE_SIGNATURE_H | COMMENT |
| LOW | packages/daemon-management/native/machine-identity.c | 1 | /* Local device description only. No serial number or UUID crosses this boundary. */ | COMMENT |
| LOW | packages/daemon-management/native/application-memory.c | 1 | /* Read-only memory sampling. Runs off the Electron thread and never acquires termination rights. */ | COMMENT |
| LOW | …/daemon-management/native/test/mac-update-primitives.c | 1 | /* Isolated mechanical acceptance; this fixture does not authorize application installation. */ | COMMENT |
| LOW | packages/event-core/src/core/projection-bus.ts | 421 | const stateGetters = new Map<string, StateGetterEntry>() | COMMENT |
| LOW | packages/event-core/src/worker/defineForked.ts | 281 | // ----------------------------------------------------------------------- | COMMENT |
| LOW | packages/event-core/src/projection/__test_constraint.ts | 21 | // fields where Encoded includes undefined but Type IS Option<T>. | COMMENT |
| LOW | packages/event-core/src/projection/index.ts | 61 | // type FSMSingletonEventHandler, | COMMENT |
| LOW | packages/event-core/src/projection/fsmCollection.ts | 1 | // /** | COMMENT |
| LOW | packages/event-core/src/projection/fsmCollection.ts | 21 | // type StateNames, | COMMENT |
| LOW | packages/event-core/src/projection/fsmCollection.ts | 41 | // export interface FSMCollectionInstance<TState extends TaggedItem & { id: string }> { | COMMENT |
| LOW | packages/event-core/src/projection/fsmCollection.ts | 61 | // | COMMENT |
| LOW | packages/event-core/src/projection/fsmCollection.ts | 81 | // */ | COMMENT |
| LOW | packages/event-core/src/projection/fsmCollection.ts | 101 | // readonly instanceId: (event: Timestamped<TEvent>) => string | COMMENT |
| LOW | packages/event-core/src/projection/fsmCollection.ts | 121 | // T extends TransitionMatrix, | COMMENT |
| LOW | packages/event-core/src/projection/fsmCollection.ts | 141 | // // --------------------------------------------------------------------------- | COMMENT |
| LOW | packages/event-core/src/projection/fsmCollection.ts | 161 | // >( | COMMENT |
| LOW | packages/event-core/src/projection/fsmCollection.ts | 181 | // return Layer.scoped(signal.tag, PubSub.unbounded<TState>()) | COMMENT |
| LOW | packages/event-core/src/projection/fsmCollection.ts | 201 | // // Main projection layer | COMMENT |
| LOW | packages/event-core/src/projection/fsmCollection.ts | 221 | // PubSub.publish(changeHub, item) | COMMENT |
| LOW | packages/event-core/src/projection/fsmCollection.ts | 241 | // const newItem = spawner(event as Timestamped<Extract<TEvent, { type: typeof eventType }>>) | COMMENT |
| LOW | packages/event-core/src/projection/fsmCollection.ts | 261 | // instances.set(id, newItem) | COMMENT |
| LOW | packages/event-core/src/projection/fsmCollection.ts | 281 | // } else if (signal.type === 'state' && signal.state) { | COMMENT |
| LOW | packages/event-core/src/projection/fsmCollection.ts | 301 | // }) | COMMENT |
| LOW | packages/event-core/src/projection/fsmCollection.ts | 321 | // } | COMMENT |
| LOW | packages/event-core/src/projection/fsmSingleton.ts | 1 | // /** | COMMENT |
| LOW | packages/event-core/src/projection/fsmSingleton.ts | 21 | // type AnyStateClass, | COMMENT |
| LOW | packages/event-core/src/projection/fsmSingleton.ts | 41 | // */ | COMMENT |
| LOW | packages/event-core/src/projection/fsmSingleton.ts | 61 | // */ | COMMENT |
| LOW | packages/event-core/src/projection/fsmSingleton.ts | 81 | // readonly eventHandlers: { | COMMENT |
| LOW | packages/event-core/src/projection/fsmSingleton.ts | 101 | // readonly signals: FSMSingletonSignals<T, StateUnion<Classes>> | COMMENT |
| LOW | packages/event-core/src/projection/fsmSingleton.ts | 121 | // function fsmSingletonImpl< | COMMENT |
| LOW | packages/event-core/src/projection/fsmSingleton.ts | 141 | // // Create signal layers | COMMENT |
| LOW | packages/event-core/src/projection/fsmSingleton.ts | 161 | // for (const state of config.fsm.states) { | COMMENT |
| LOW | packages/event-core/src/projection/fsmSingleton.ts | 181 | // const previousTag = currentState._tag | COMMENT |
| LOW | packages/event-core/src/projection/fsmSingleton.ts | 201 | // | COMMENT |
| LOW | packages/event-core/src/projection/fsmSingleton.ts | 221 | // signals | COMMENT |
| LOW | packages/event-core/src/flow/types.ts | 1 | // /** | COMMENT |
| LOW | packages/event-core/src/flow/types.ts | 21 | // // --------------------------------------------------------------------------- | COMMENT |
| LOW | packages/event-core/src/flow/types.ts | 41 | // readonly id: string | COMMENT |
| LOW | packages/event-core/src/flow/types.ts | 61 | // export interface WaitForOptions<TEvent> { | COMMENT |
| LOW | packages/event-core/src/flow/types.ts | 81 | // * Replay: returns persisted result | COMMENT |
| LOW | packages/event-core/src/flow/types.ts | 101 | // /** | COMMENT |
| 764 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | packages/agent/tests/repro-timer-bugs.vitest.ts | 70 | // ── Event helpers ─────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/agent/tests/repro-timer-bugs.vitest.ts | 101 | // ── Run helper ────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/agent/tests/detached-process.vitest.ts | 34 | // ── Helpers ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/agent/tests/detached-process.vitest.ts | 155 | // ── A. DetachedProcessProjection handlers ────────────────────────────── | COMMENT |
| MEDIUM | packages/agent/tests/detached-process.vitest.ts | 307 | // ── B. TurnProjection shell_completed wake trigger ───────────────────── | COMMENT |
| MEDIUM | packages/agent/tests/detached-process.vitest.ts | 384 | // ── C. WindowProjection shell_process_exited global handler ───────────── | COMMENT |
| MEDIUM | packages/agent/src/tools/task-tools.ts | 19 | // ── Error message helpers (single source of truth) ───────────────── | COMMENT |
| MEDIUM | packages/agent/src/tools/task-tools.ts | 48 | // ── Worker subtree guard ──────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/agent/src/tools/task-tools.ts | 63 | // ── Tool failure helper ───────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/agent/src/tools/task-tools.ts | 68 | // ── Execute functions (exported for testability) ──────────────────── | COMMENT |
| MEDIUM | packages/agent/src/tools/task-tools.ts | 421 | // ── Tool definitions ───────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/agent/src/display-view/tool-presentation.ts | 93 | // ── Phase / tone derivation ───────────────────────────────────── | COMMENT |
| MEDIUM | packages/agent/src/display-view/tool-presentation.ts | 102 | // ── Per-tool presentation builders ────────────────────────────── | COMMENT |
| MEDIUM | packages/agent/src/display-view/tool-presentation.ts | 367 | // ── Dispatch ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/agent/src/display-view/tool-presentation.ts | 396 | // ── Summary ───────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/agent/src/projections/detached-process.ts | 37 | // ── Helpers ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/agent/src/projections/detached-process.ts | 69 | // ── Projection ─────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/agent/src/projections/harness-state.ts | 30 | // ── Translation: AppEvent → HarnessEvent ───────────────────────────── | COMMENT |
| MEDIUM | packages/agent/src/projections/harness-state.ts | 54 | // ── Translation: Agent TurnOutcome → Harness TurnEnd ───────────────── | COMMENT |
| MEDIUM | packages/agent/src/projections/harness-state.ts | 165 | // ── Reducer cache (one per toolkit identity) ───────────────────────── | COMMENT |
| MEDIUM | packages/agent/src/projections/harness-state.ts | 186 | // ── Initial state (toolkit-independent) ────────────────────────────── | COMMENT |
| MEDIUM | packages/agent/src/projections/harness-state.ts | 200 | // ── Projection ─────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/agent/src/projections/harness-state.ts | 272 | // ── Helpers for consumers ──────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/agent/src/execution/harness-adapter.ts | 34 | // ── Identical Response Tracker ─────────────────────────────────────── | COMMENT |
| MEDIUM | packages/agent/src/execution/harness-adapter.ts | 41 | // ── Config ─────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/agent/src/execution/harness-adapter.ts | 57 | // ── Adapter ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/agent/src/execution/harness-adapter.ts | 77 | // ── Per-turn mutable state ─────────────────────────────────────── | COMMENT |
| MEDIUM | packages/agent/src/execution/harness-adapter.ts | 123 | // ── Helpers ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/agent/src/execution/harness-adapter.ts | 140 | // ── Process ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/agent/src/execution/harness-adapter.ts | 145 | // ── Thinking ───────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/agent/src/execution/harness-adapter.ts | 177 | // ── Messages ───────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/agent/src/execution/harness-adapter.ts | 222 | // ── Tool Input Lifecycle ───────────────────────────────── | COMMENT |
| MEDIUM | packages/agent/src/execution/harness-adapter.ts | 262 | // ── Tool Execution Lifecycle ───────────────────────────── | COMMENT |
| MEDIUM | packages/agent/src/execution/harness-adapter.ts | 302 | // ── Turn End ───────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/agent/src/execution/harness-adapter.ts | 472 | // ── Circuit breaker ────────────────────────────────── | COMMENT |
| MEDIUM⚡ | packages/agent/src/workers/turn-executor.ts | 363 | // ────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | packages/agent/src/workers/turn-executor.ts | 365 | // ────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | packages/agent/src/workers/turn-executor.ts | 368 | // ────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | packages/agent/src/workers/turn-executor.ts | 370 | // ────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/agent/src/workers/turn-executor.ts | 126 | // ────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/agent/src/workers/turn-executor.ts | 128 | // ────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/agent/src/workers/turn-executor.ts | 143 | // ────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/agent/src/workers/turn-executor.ts | 145 | // ────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/agent/src/workers/turn-executor.ts | 179 | // ────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/agent/src/workers/turn-executor.ts | 181 | // ────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/agent/src/workers/turn-executor.ts | 197 | // ────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/agent/src/workers/turn-executor.ts | 199 | // ────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/agent/src/workers/turn-executor.ts | 246 | // ────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/agent/src/workers/turn-executor.ts | 248 | // ────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/agent/src/workers/turn-executor.ts | 301 | // ────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/agent/src/workers/turn-executor.ts | 303 | // ────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/agent/src/workers/turn-executor.ts | 332 | // ────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/agent/src/workers/turn-executor.ts | 334 | // ────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/agent/src/workers/turn-executor.ts | 383 | // ────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/agent/src/workers/turn-executor.ts | 385 | // ────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/agent/src/workers/process-metrics.ts | 31 | // ── Worker ──────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/agent/src/workers/process-metrics.ts | 49 | // ── Sampling Loop ───────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/agent/src/display/timeline-projection.ts | 75 | // ── Tool cluster mapping ──────────────────────────────────────── | COMMENT |
| MEDIUM | packages/agent/src/display/timeline-projection.ts | 402 | // ── Tool cluster mapping ──────────────────────────────────────── | COMMENT |
| MEDIUM | packages/agent/src/display/timeline-projection.ts | 416 | // ── Signal definitions ────────────────────────────────────────── | COMMENT |
| 172 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | web/src/app.tsx | 444 | function DesktopHarnessConnections({ canConnect, models, defaultModel, platform, selectedModel }: { canConnect: boolean; | CODE |
| LOW | web/src/service-view.tsx | 30 | export function ServiceConnectionProvider({ connection, children }: { connection: MagnitudeConnection; children: ReactNo | CODE |
| LOW | web/src/components/model-error.tsx | 19 | export function ModelLoadFailureIndicator({ failure }: { failure: ModelInstanceFailure }) { | CODE |
| LOW | web/src/components/add-model-dialog.tsx | 595 | export function UnselectableVersionFooter({ version }: { version: CandidateVersion }) { | CODE |
| LOW | integrations/pi/extensions/onboarding.ts | 41 | export function registerMagnitudeOnboarding(pi: ExtensionAPI): () => Promise<void> { | CODE |
| LOW | packages/providers/src/family-registry.ts | 318 | export function classifyModelFamilyFromMetadata( | CODE |
| LOW | packages/providers/src/family-registry.ts | 330 | export function modelFamilyMetadataConflicts( | CODE |
| LOW | packages/providers/src/family-registry.ts | 349 | export function classifyModelFamilyFromEvidence( | CODE |
| LOW | packages/providers/src/magnitude/errors.ts | 129 | function isSubscriptionRequiredDetails(value: unknown): value is SubscriptionRequiredDetails { | CODE |
| LOW | packages/providers/src/magnitude/errors.ts | 266 | export function classifyMagnitudeRejectedResponse( | CODE |
| LOW | packages/providers/src/magnitude/models.ts | 46 | export function createMagnitudeCompatibleSpec(config: MagnitudeCompatibleSpecConfig) { | CODE |
| LOW | packages/acn-dashboard/src/App.svelte | 291 | function selectedProjectionForInspector( | CODE |
| LOW | packages/acn-dashboard/src/App.svelte | 300 | function selectedClientForInspector( | CODE |
| LOW | packages/client-common/src/project-files/service.ts | 179 | export function useProjectDirectoryRefresh() { | CODE |
| LOW | packages/client-common/src/project-files/demand.ts | 7 | export function visitProjectDirectoryDemand( | CODE |
| LOW | packages/client-common/src/local-models/service.ts | 198 | export function useLocalModelCommandStatus(modelId: ModelId): LocalModelCommandStatus { | CODE |
| LOW | packages/utils/src/schema/render.ts | 42 | function extractDefaultsFromTransformation(ast: AST.AST): Map<string, SchemaShapeJsonValue> { | CODE |
| LOW | …ages/agent/tests/advisor-required-escalation.vitest.ts | 167 | function expectNoAdvisorRequirement(state: ForkTurnState) { | CODE |
| LOW | …ages/agent/tests/advisor-required-escalation.vitest.ts | 172 | function expectActiveTurnWithoutAdvisor(state: ForkTurnState, turnId: string) { | CODE |
| LOW | packages/agent/src/events.ts | 267 | export function cancellationRequiresUserInput(reason: CancelledReason): boolean { | CODE |
| LOW | packages/agent/src/advisor/orchestrate.ts | 59 | export function streamStartFailureMessage(err: AgentModelStartFailure): string { | CODE |
| LOW | packages/agent/src/advisor/orchestrate.ts | 68 | function streamTerminalErrorMessage(terminal: ModelRequestTerminal): string | null { | CODE |
| LOW | packages/agent/src/tools/tool-handle.ts | 8 | export function createToolHandleFromToolkit( | CODE |
| LOW | packages/agent/src/tools/query-image.ts | 38 | function streamTerminalErrorMessage(terminal: ModelRequestTerminal): Option.Option<string> { | CODE |
| LOW | packages/agent/src/memory/transcript.ts | 48 | export function buildExtractionTranscript( | CODE |
| LOW | packages/agent/src/util/folder-tree-knapsack.ts | 246 | function reconstructDirChildrenBudgets( | CODE |
| LOW | packages/agent/src/util/edit.ts | 60 | export function validateAndApply( | CODE |
| LOW | packages/agent/src/util/capture-context-image.ts | 41 | export function captureContextImageFromFile( | CODE |
| LOW | packages/agent/src/util/capture-context-image.ts | 72 | export function captureContextImageInline( | CODE |
| LOW | …ckages/agent/src/display-view/timeline-presentation.ts | 97 | export function buildDisplayTimelinePresentation( | CODE |
| LOW | packages/agent/src/scratchpad/file-tracking.ts | 6 | export function extractWrittenFilePathFromToolEvent(event: ToolEvent): string | null { | CODE |
| LOW | packages/agent/src/ambient/config-ambient.ts | 115 | export function buildConfigStateFromSlots( | CODE |
| LOW | packages/agent/src/observer/prompt.ts | 63 | function isRenderedNonUserTimelineEntry(entry: TimelineEntry): boolean { | CODE |
| LOW | packages/agent/src/observer/prompt.ts | 67 | function renderSingleObserverUserMessage( | CODE |
| LOW | packages/agent/src/observer/prompt.ts | 157 | function contextEntryToObserverMessages(timeline: readonly TimelineEntry[], timezone: string | null): AiMessage[] { | CODE |
| LOW | packages/agent/src/observer/prompt.ts | 208 | function renderTurnToolsWithBudgets(turn: CompletedTurn, paramsBudget: number, resultBudget: number): string | null { | CODE |
| LOW | packages/agent/src/observer/prompt.ts | 236 | function assistantTurnToObserverMessage(turn: CompletedTurn): AiMessage | null { | CODE |
| LOW | packages/agent/src/observer/worker.ts | 91 | function reduceObserverReportState(state: ObserverReportState, event: HarnessEvent): ObserverReportState { | CODE |
| LOW | packages/agent/src/observer/worker.ts | 146 | function finalizeObserverReportState(state: ObserverReportState): ObserverReportStatus { | CODE |
| LOW | packages/agent/src/observer/worker.ts | 154 | function observerProtocolViolationLogData(violation: ObserverProtocolViolation) { | CODE |
| LOW | packages/agent/src/observer/worker.ts | 504 | function markObserverIdleIfCurrent(entry: ObserverForkState, runId: string): ObserverForkState { | CODE |
| LOW | packages/agent/src/truncation/json/truncate.ts | 219 | function truncateHeterogeneousArray(arr: JsonValue[], availableTokens: number): string { | CODE |
| LOW | packages/agent/src/agents/policy-context.ts | 17 | export function createPolicyContextProvider( | CODE |
| LOW | packages/agent/src/models/file-edit.ts | 49 | export function computeProvisionalEditDiffs( | CODE |
| LOW | …src/projections/display-agent-communication-helpers.ts | 17 | export function upsertCommunicationStream( | CODE |
| LOW | …src/projections/display-agent-communication-helpers.ts | 44 | export function finalizeCommunicationStream( | CODE |
| LOW | packages/agent/src/projections/compaction.ts | 42 | function computeContextLimitBlocked( | CODE |
| LOW | packages/agent/src/projections/task-assignment.ts | 209 | function deriveTaskAssignmentAssignee(task: TaskRecord): TaskAssignmentAssignee { | CODE |
| LOW | packages/agent/src/projections/agent-lifecycle.ts | 151 | function isRootProductiveClockRunning(state: RootWorkState): boolean { | CODE |
| LOW | packages/agent/src/projections/agent-lifecycle.ts | 155 | function accumulatedRootProductiveMs(state: RootWorkState, timestamp: number): number { | CODE |
| LOW | packages/agent/src/projections/agent-lifecycle.ts | 233 | function markRootModelActivityStarted(state: RootWorkState): RootWorkState { | CODE |
| LOW | packages/agent/src/projections/turn.ts | 125 | function ensureCommunicationTrigger(triggers: readonly TurnTrigger[]): readonly TurnTrigger[] { | CODE |
| LOW | packages/agent/src/projections/turn.ts | 131 | export function hasPendingAdvisorRequirement(fork: ForkTurnState | undefined): boolean { | CODE |
| LOW | packages/agent/src/projections/turn.ts | 143 | function enqueueInboundCommunication( | CODE |
| LOW | packages/agent/src/projections/atif/mapping.ts | 74 | function attachmentsToContentParts(attachments: UserMessage['attachments']): AtifImagePart[] { | CODE |
| LOW | packages/agent/src/projections/atif/tool-definitions.ts | 34 | export function toolDefinitionsFromToolkit( | CODE |
| LOW | packages/agent/src/window/projection.ts | 271 | function renderTaskTreesForTaskIds( | CODE |
| LOW | packages/agent/src/window/estimate.ts | 36 | export function estimateObserverTurnEntry(data: { readonly justification: string | null; readonly reasoning?: string | n | CODE |
| LOW | packages/agent/src/window/estimate.ts | 42 | export function estimateAdvisorResponseEntry(data: { readonly content: string }): number { | CODE |
| LOW | packages/agent/src/window/estimate.ts | 56 | export function estimateSystemPromptTokens( | CODE |
| 340 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | packages/release/scripts/test-unix-cpu.py | 201 | except ProcessLookupError: | CODE |
| HIGH | inference/evaluation/bench/tests/test_bench_runner.py | 294 | except ProcessLookupError: | CODE |
| HIGH | …/evaluation/bench/src/magnitude_bench/adapters/base.py | 78 | except psutil.Error: | CODE |
| HIGH | …/evaluation/bench/src/magnitude_bench/adapters/base.py | 76 | except psutil.Error: | CODE |
| HIGH | …/evaluation/bench/src/magnitude_bench/adapters/base.py | 372 | except (httpx.ConnectError, httpx.TimeoutException): | CODE |
| HIGH | …ference/evaluation/rig/src/magnitude_rig/connection.py | 344 | except OSError: | CODE |
| HIGH | …ference/evaluation/rig/src/magnitude_rig/connection.py | 272 | except (BrokenPipeError, OSError, ValueError): | CODE |
| HIGH | inference/evaluation/rig/src/magnitude_rig/state.py | 40 | except PermissionError: | CODE |
| HIGH | …ference/evaluation/rig/src/magnitude_rig/host/agent.py | 359 | except ProcessLookupError: | CODE |
| HIGH | …ference/evaluation/rig/src/magnitude_rig/host/agent.py | 400 | except OSError: | CODE |
| HIGH | …ference/evaluation/rig/src/magnitude_rig/host/agent.py | 273 | except OSError: | CODE |
| HIGH | …ference/evaluation/rig/src/magnitude_rig/host/agent.py | 336 | except (BrokenPipeError, OSError, ValueError): | CODE |
| HIGH | …ference/evaluation/rig/src/magnitude_rig/host/agent.py | 412 | except (ProcessLookupError, PermissionError): | CODE |
| HIGH | …ference/evaluation/rig/src/magnitude_rig/host/agent.py | 175 | except OSError: | CODE |
| HIGH | …ce/evaluation/rig/src/magnitude_rig/host/provenance.py | 135 | except FileNotFoundError: | CODE |
| HIGH | …ence/evaluation/rig/src/magnitude_rig/host/__main__.py | 65 | except OSError: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | packages/acn/src/display-view-streams.ts | 299 | yield* acquired.value.entry.session.displayView.close(viewId) | CODE |
| CRITICAL | packages/acn/src/agent-runtime.ts | 240 | entry.session.state.work.subscribe.pipe( | CODE |
| CRITICAL | …src/addressed/__tests__/projection-integration.test.ts | 871 | segments: snapshot.projections.AddressedLog.messages.segments.map((segment: AddressedSequenceSegmentIndex, | CODE |
| CRITICAL | …ence/seismic/hardware/metal-execution-model/helpers.py | 43 | s=s.replace('declare float @air.convert.f.f32.u.i1(i1) local_unnamed_addr','define float @air.convert.f.f32.u.i1 | CODE |
| CRITICAL | inference/seismic/ir/src/kernel/internals.rs | 2661 | self.builder.inner.state.intrinsic_resources.push(resources); | CODE |
| CRITICAL | inference/service/models/src/custom_models.rs | 1309 | .map(|occurrence| occurrence.record.installed.package.id.clone()) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | packages/agent/tests/atif-projection.vitest.ts | 1160 | // Step 1: user message | COMMENT |
| LOW⚡ | packages/agent/tests/atif-projection.vitest.ts | 1167 | // Step 2: agent step with tool calls | COMMENT |
| LOW⚡ | packages/harness/src/turn/harness.ts | 169 | // Step 1: Update unified reducer | COMMENT |
| LOW⚡ | packages/harness/src/turn/harness.ts | 172 | // Step 2: onEvent hook — erased boundary, type coverage enforced by createHarness. | COMMENT |
| LOW⚡ | packages/harness/src/turn/harness.ts | 182 | // Step 3: Enqueue for stream consumers (live turns only) | COMMENT |
| LOW⚡ | packages/vcs/tests/repro-checkpoint-number.test.ts | 80 | // Step 1: getChangedFiles | COMMENT |
| LOW⚡ | packages/vcs/tests/repro-checkpoint-number.test.ts | 84 | // Step 2: buildCommit (index handles staging) | COMMENT |
| LOW⚡ | packages/vcs/tests/repro-checkpoint-number.test.ts | 88 | // Step 4: nextCheckpointNumber | COMMENT |
| LOW⚡ | packages/vcs/tests/repro-checkpoint-number.test.ts | 92 | // Step 5: writeCheckpointRef | COMMENT |
| LOW⚡ | packages/vcs/tests/repro-checkpoint-number.test.ts | 96 | // Step 6: updateHead | COMMENT |
| LOW⚡ | packages/vcs/tests/integration-full.test.ts | 42 | // Step 1: Create initial files + checkpoint | COMMENT |
| LOW⚡ | packages/vcs/tests/integration-full.test.ts | 52 | // Step 2: Make changes | COMMENT |
| LOW⚡ | packages/vcs/tests/integration-full.test.ts | 60 | // Step 3: diff cp1 vs cp2 using the diff() API (diffWorking compares vs HEAD) | COMMENT |
| LOW⚡ | packages/vcs/tests/integration-full.test.ts | 66 | // Step 4: diff with pathFilter | COMMENT |
| LOW⚡ | packages/vcs/tests/integration-full.test.ts | 70 | // Step 5: diff without filter | COMMENT |
| LOW⚡ | packages/vcs/tests/integration-full.test.ts | 74 | // Step 6: Get diff BEFORE restore (same as checkpoint_rollback tool) | COMMENT |
| LOW⚡ | packages/vcs/tests/integration-full.test.ts | 79 | // Step 7: Restore | COMMENT |
| LOW⚡ | packages/vcs/tests/integration-full.test.ts | 83 | // Step 8: Verify files are restored | COMMENT |
| LOW⚡ | packages/vcs/tests/integration-full.test.ts | 95 | // Step 9: Post-restore checkpoint should have real content | COMMENT |
| LOW⚡ | packages/vcs/tests/integration-full.test.ts | 103 | // Step 10: Diff between cp1 and cp2 | COMMENT |
| LOW | packages/markdown-cst/src/tokenizer.ts | 454 | // We need to check if the combined data tokens form a checkbox pattern | COMMENT |
| LOW⚡ | packages/markdown-cst/src/finalize.ts | 372 | // Step 1: Split at blank line boundaries (separate lists) | COMMENT |
| LOW⚡ | packages/markdown-cst/src/finalize.ts | 375 | // Step 2: For each group, split at checkbox boundaries | COMMENT |
| LOW⚡ | packages/markdown-cst/src/finalize.ts | 409 | // Step 1: Split at blank line boundaries (separate lists) | COMMENT |
| LOW⚡ | packages/markdown-cst/src/finalize.ts | 412 | // Step 2: For each group, split at checkbox boundaries | COMMENT |
| LOW | inference/seismic/corpus/tests/common/mod.rs | 181 | /// Step 3: one differential check of one invocation. | COMMENT |
| LOW | inference/seismic/corpus/tests/common/mod.rs | 351 | /// Step 5: the interpreter's own termination class and pinned values, compared | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | packages/agent/tests/atif-projection.vitest.ts | 1160 | // Step 1: user message | COMMENT |
| LOW⚡ | packages/agent/tests/atif-projection.vitest.ts | 1167 | // Step 2: agent step with tool calls | COMMENT |
| LOW⚡ | packages/harness/src/turn/harness.ts | 169 | // Step 1: Update unified reducer | COMMENT |
| LOW⚡ | packages/harness/src/turn/harness.ts | 172 | // Step 2: onEvent hook — erased boundary, type coverage enforced by createHarness. | COMMENT |
| LOW⚡ | packages/harness/src/turn/harness.ts | 182 | // Step 3: Enqueue for stream consumers (live turns only) | COMMENT |
| LOW⚡ | packages/vcs/tests/repro-checkpoint-number.test.ts | 80 | // Step 1: getChangedFiles | COMMENT |
| LOW⚡ | packages/vcs/tests/repro-checkpoint-number.test.ts | 84 | // Step 2: buildCommit (index handles staging) | COMMENT |
| LOW⚡ | packages/vcs/tests/repro-checkpoint-number.test.ts | 88 | // Step 4: nextCheckpointNumber | COMMENT |
| LOW⚡ | packages/vcs/tests/repro-checkpoint-number.test.ts | 92 | // Step 5: writeCheckpointRef | COMMENT |
| LOW⚡ | packages/vcs/tests/repro-checkpoint-number.test.ts | 96 | // Step 6: updateHead | COMMENT |
| LOW⚡ | packages/vcs/tests/integration-full.test.ts | 42 | // Step 1: Create initial files + checkpoint | COMMENT |
| LOW⚡ | packages/vcs/tests/integration-full.test.ts | 52 | // Step 2: Make changes | COMMENT |
| LOW⚡ | packages/vcs/tests/integration-full.test.ts | 60 | // Step 3: diff cp1 vs cp2 using the diff() API (diffWorking compares vs HEAD) | COMMENT |
| LOW⚡ | packages/vcs/tests/integration-full.test.ts | 66 | // Step 4: diff with pathFilter | COMMENT |
| LOW⚡ | packages/vcs/tests/integration-full.test.ts | 70 | // Step 5: diff without filter | COMMENT |
| LOW⚡ | packages/vcs/tests/integration-full.test.ts | 74 | // Step 6: Get diff BEFORE restore (same as checkpoint_rollback tool) | COMMENT |
| LOW⚡ | packages/vcs/tests/integration-full.test.ts | 79 | // Step 7: Restore | COMMENT |
| LOW⚡ | packages/vcs/tests/integration-full.test.ts | 83 | // Step 8: Verify files are restored | COMMENT |
| LOW⚡ | packages/vcs/tests/integration-full.test.ts | 95 | // Step 9: Post-restore checkpoint should have real content | COMMENT |
| LOW⚡ | packages/vcs/tests/integration-full.test.ts | 103 | // Step 10: Diff between cp1 and cp2 | COMMENT |
| LOW⚡ | packages/markdown-cst/src/finalize.ts | 372 | // Step 1: Split at blank line boundaries (separate lists) | COMMENT |
| LOW⚡ | packages/markdown-cst/src/finalize.ts | 375 | // Step 2: For each group, split at checkbox boundaries | COMMENT |
| LOW⚡ | packages/markdown-cst/src/finalize.ts | 409 | // Step 1: Split at blank line boundaries (separate lists) | COMMENT |
| LOW⚡ | packages/markdown-cst/src/finalize.ts | 412 | // Step 2: For each group, split at checkbox boundaries | COMMENT |
| LOW | inference/seismic/corpus/tests/common/mod.rs | 181 | /// Step 3: one differential check of one invocation. | COMMENT |
| LOW | inference/seismic/corpus/tests/common/mod.rs | 351 | /// Step 5: the interpreter's own termination class and pinned values, compared | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …ference/seismic/hardware/feedback-tuning/qwen_suite.py | 4 | CODE | |
| LOW | …e/seismic/hardware/metal-execution-model/test_model.py | 4 | CODE | |
| LOW | …e/seismic/hardware/metal-execution-model/test_model.py | 5 | CODE | |
| LOW | …ence/seismic/hardware/metal-execution-model/program.py | 6 | CODE | |
| LOW | …ence/seismic/hardware/metal-execution-model/program.py | 6 | CODE | |
| LOW | …ce/seismic/frontends/python/python/seismic/__init__.py | 3 | CODE | |
| LOW | …ce/seismic/frontends/python/python/seismic/__init__.py | 896 | CODE | |
| LOW | …ce/seismic/frontends/python/python/seismic/__init__.py | 897 | CODE | |
| LOW | inference/solver/lab/scripts/plot_neighborhood.py | 17 | CODE | |
| LOW | …agnitude_bench/adapters/omlx_native/instrumentation.py | 1 | CODE | |
| LOW | …nch/src/magnitude_bench/adapters/omlx_native/server.py | 1 | CODE | |
| LOW | …nch/src/magnitude_bench/adapters/omlx_native/config.py | 1 | CODE | |
| LOW | …rc/magnitude_bench/adapters/ollama_native/translate.py | 3 | CODE | |
| LOW | …h/src/magnitude_bench/adapters/ollama_native/server.py | 12 | CODE | |
| LOW | inference/evaluation/references/tests/conftest.py | 1 | CODE | |
| LOW | inference/evaluation/references/tests/render_chat.py | 16 | CODE | |
| LOW | inference/evaluation/references/tests/test_kl.py | 8 | CODE | |
| LOW | inference/evaluation/references/tests/test_released.py | 16 | CODE | |
| LOW | …aluation/references/src/magnitude_references/digest.py | 2 | CODE | |
| LOW | …ation/references/src/magnitude_references/synthetic.py | 10 | CODE | |
| LOW | …/evaluation/references/src/magnitude_references/run.py | 14 | CODE | |
| LOW | …evaluation/references/src/magnitude_references/gguf.py | 10 | CODE | |
| LOW | …aluation/references/src/magnitude_references/sanity.py | 36 | CODE | |
| LOW | …aluation/references/src/magnitude_references/checks.py | 16 | CODE | |
| LOW | …uation/references/src/magnitude_references/__init__.py | 7 | CODE | |
| LOW | …valuation/references/src/magnitude_references/model.py | 12 | CODE | |
| LOW | …ation/references/src/magnitude_references/precision.py | 7 | CODE | |
| LOW | …on/references/src/magnitude_references/mlx_released.py | 12 | CODE | |
| LOW | …/evaluation/references/src/magnitude_references/cli.py | 11 | CODE | |
| LOW | …aluation/references/src/magnitude_references/record.py | 2 | CODE | |
| LOW | …uation/references/src/magnitude_references/contract.py | 3 | CODE | |
| LOW | …rences/src/magnitude_references/families/nemotron_h.py | 23 | CODE | |
| LOW | …references/src/magnitude_references/families/gemma4.py | 20 | CODE | |
| LOW | …references/src/magnitude_references/families/qwen35.py | 29 | CODE | |
| LOW | …ferences/src/magnitude_references/families/__init__.py | 2 | CODE | |
| LOW | …n/references/src/magnitude_references/families/muse.py | 19 | CODE | |
| LOW | …/references/src/magnitude_references/families/llama.py | 11 | CODE | |
| LOW | …n/references/src/magnitude_references/families/lfm3.py | 17 | CODE | |
| LOW | …n/references/src/magnitude_references/families/lfm2.py | 16 | CODE | |
| LOW | …references/src/magnitude_references/families/dflash.py | 27 | CODE | |
| LOW | …ferences/src/magnitude_references/families/qwen4exp.py | 29 | CODE | |
| LOW | …ferences/src/magnitude_references/families/qwen4exp.py | 37 | CODE | |
| LOW | …ferences/src/magnitude_references/families/qwen4exp.py | 37 | CODE | |
| LOW | inference/evaluation/rig/src/magnitude_rig/dashboard.py | 11 | CODE | |
| LOW | inference/evaluation/rig/src/magnitude_rig/cli.py | 15 | CODE | |
| LOW | inference/evaluation/rig/src/magnitude_rig/state.py | 9 | CODE | |
| LOW | …ference/evaluation/rig/src/magnitude_rig/host/facts.py | 7 | CODE | |
| LOW | …ference/evaluation/rig/src/magnitude_rig/host/trace.py | 8 | CODE | |
| LOW | inference/evaluation/rig/src/magnitude_rig/host/smc.py | 9 | CODE | |
| LOW | inference/evaluation/rig/src/magnitude_rig/host/gate.py | 12 | CODE | |
| LOW | …ference/evaluation/rig/src/magnitude_rig/host/agent.py | 65 | CODE | |
| LOW | …ce/evaluation/rig/src/magnitude_rig/host/provenance.py | 31 | CODE | |
| LOW | …erence/evaluation/rig/src/magnitude_rig/host/probes.py | 16 | CODE | |
| LOW | …ence/evaluation/rig/src/magnitude_rig/host/__main__.py | 23 | CODE | |
| LOW | …rence/engine/chat/tests/support/tokenizer_reference.py | 20 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/release/scripts/reproduce-linux-catalog.py | 19 | CODE | |
| LOW | …ence/seismic/hardware/feedback-tuning/qwen_controls.py | 33 | CODE | |
| LOW | inference/seismic/hardware/feedback-tuning/tune.py | 193 | CODE | |
| LOW | …rence/seismic/hardware/feedback-tuning/qwen_capture.py | 33 | CODE | |
| LOW | inference/seismic/hardware/feedback-tuning/confirm.py | 10 | CODE | |
| LOW | …ence/seismic/hardware/metal-execution-model/program.py | 72 | CODE | |
| LOW | …ence/seismic/hardware/metal-execution-model/program.py | 133 | CODE | |
| LOW | …ence/seismic/hardware/metal-execution-model/helpers.py | 50 | CODE | |
| LOW | …ence/seismic/hardware/metal-execution-model/helpers.py | 109 | CODE | |
| LOW | …ence/seismic/hardware/metal-execution-model/helpers.py | 56 | CODE | |
| LOW | …rence/seismic/hardware/metal-execution-model/corpus.py | 6 | CODE | |
| LOW | …ce/seismic/frontends/python/python/seismic/__init__.py | 604 | CODE | |
| LOW | …nce/seismic/frontends/python/examples/compare_mnist.py | 23 | CODE | |
| LOW | inference/solver/lab/analyze_neighborhood.py | 17 | CODE | |
| LOW | inference/solver/lab/scripts/plot_neighborhood.py | 80 | CODE | |
| LOW | inference/solver/lab/scripts/plot_neighborhood.py | 133 | CODE | |
| LOW | inference/solver/lab/scripts/plot_neighborhood.py | 227 | CODE | |
| LOW | inference/solver/lab/reference/cp_sat.py | 200 | CODE | |
| LOW | inference/solver/lab/reference/cp_sat.py | 19 | CODE | |
| LOW | inference/solver/lab/reference/cp_sat.py | 68 | CODE | |
| LOW | inference/solver/lab/reference/cp_sat.py | 123 | CODE | |
| LOW | inference/evaluation/bench/tests/test_bench_client.py | 114 | CODE | |
| LOW | inference/evaluation/bench/src/magnitude_bench/plan.py | 64 | CODE | |
| LOW | …ference/evaluation/bench/src/magnitude_bench/runner.py | 69 | CODE | |
| LOW | …ference/evaluation/bench/src/magnitude_bench/runner.py | 229 | CODE | |
| LOW | …ference/evaluation/bench/src/magnitude_bench/client.py | 46 | CODE | |
| LOW | inference/evaluation/bench/src/magnitude_bench/cli.py | 200 | CODE | |
| LOW | …ference/evaluation/bench/src/magnitude_bench/record.py | 18 | CODE | |
| LOW | …/evaluation/bench/src/magnitude_bench/adapters/base.py | 250 | CODE | |
| LOW | …/evaluation/bench/src/magnitude_bench/adapters/base.py | 296 | CODE | |
| LOW | …h/src/magnitude_bench/adapters/ollama_native/server.py | 300 | CODE | |
| LOW | …h/src/magnitude_bench/adapters/ollama_native/server.py | 152 | CODE | |
| LOW | …h/src/magnitude_bench/adapters/ollama_native/server.py | 349 | CODE | |
| LOW | …h/src/magnitude_bench/adapters/ollama_native/render.py | 59 | CODE | |
| LOW | …ation/references/src/magnitude_references/synthetic.py | 73 | CODE | |
| LOW | …evaluation/references/src/magnitude_references/gguf.py | 222 | CODE | |
| LOW | …ation/references/src/magnitude_references/precision.py | 60 | CODE | |
| LOW | …ation/references/src/magnitude_references/precision.py | 177 | CODE | |
| LOW | …ation/references/src/magnitude_references/precision.py | 345 | CODE | |
| LOW | …e/evaluation/references/src/magnitude_references/kl.py | 18 | CODE | |
| LOW | …rences/src/magnitude_references/families/nemotron_h.py | 134 | CODE | |
| LOW | …rences/src/magnitude_references/families/nemotron_h.py | 182 | CODE | |
| LOW | …ference/evaluation/rig/src/magnitude_rig/host/facts.py | 127 | CODE | |
| LOW | inference/evaluation/rig/src/magnitude_rig/host/smc.py | 72 | CODE | |
| LOW | …ference/evaluation/rig/src/magnitude_rig/host/agent.py | 447 | CODE | |
| LOW | …ference/evaluation/rig/src/magnitude_rig/host/agent.py | 544 | CODE | |
| LOW | …ference/evaluation/rig/src/magnitude_rig/host/agent.py | 159 | CODE | |
| LOW | …ce/evaluation/rig/src/magnitude_rig/host/provenance.py | 66 | CODE | |
| LOW | …ce/evaluation/rig/src/magnitude_rig/host/provenance.py | 214 | CODE | |
| LOW | …ce/evaluation/rig/src/magnitude_rig/host/provenance.py | 92 | CODE | |
| LOW | …evaluation/rig/src/magnitude_rig/instruments/kernel.py | 83 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | packages/release/scripts/reproduce-linux-catalog.py | 56 | "apt-get update -qq && apt-get install -y -qq ca-certificates curl >/dev/null && " | CODE |
| HIGH⚡ | inference/evaluation/bench/tests/test_bench_cli.py | 44 | "--magnitude-build", '{"commit":"c","dirty_digest":null}', "--ollama-answer-prefill"] | CODE |
| HIGH | inference/evaluation/bench/src/magnitude_bench/cli.py | 11 | `--magnitude-binary PATH --magnitude-build '{"commit": …, "dirty_digest": null}' | STRING |
| HIGH | …luation/references/src/magnitude_references/quality.py | 4 | `KL(P || Q)` takes P as the truth: the reference when judging an engine, the base when judging | STRING |
| HIGH | …luation/references/src/magnitude_references/quality.py | 51 | """KL(truth || test) and argmax agreement per row of two [rows, vocabulary] logits arrays.""" | STRING |
| HIGH | inference/evaluation/rig/src/magnitude_rig/engine.py | 477 | sync.push(remote, list(side.source.paths), side.source.directory, f"{checkout}/src") | CODE |
| HIGH | inference/evaluation/rig/src/magnitude_rig/engine.py | 652 | sync.push(run.remote, [path.name], path.parent, inputs) | CODE |
| HIGH | …rence/engine/chat/tests/support/tokenizer_reference.py | 100 | "{\"key\": \"value\", \"list\": [1, 2, 3], \"nested\": {\"a\": null, \"b\": true}}", | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | inference/evaluation/bench/tests/test_bench_runner.py | 47 | script.write_text(f"#!/bin/sh\nexec {sys.executable} {harness} \"$@\"\n") | CODE |
| MEDIUM | …erence/evaluation/bench/src/magnitude_bench/options.py | 83 | #: harness's rendering; a template that renders longer in llama.cpp would otherwise end a | COMMENT |
| MEDIUM | inference/evaluation/bench/src/magnitude_bench/cli.py | 39 | #: Engines whose prompts the harness renders host-only (GGUF): their runs need `--harness`. | COMMENT |
| MEDIUM | inference/evaluation/harness/Cargo.toml | 7 | # The evaluation harness: the only in-process driver of the engine. It runs | COMMENT |
| MEDIUM | inference/evaluation/harness/Cargo.toml | 19 | # harness enables; a served engine is built without them. | COMMENT |
| MEDIUM | inference/evaluation/rig/tests/test_instruments.py | 258 | # The served engine and the harness never share a cargo invocation (feature unification). | COMMENT |
| MEDIUM | inference/evaluation/rig/tests/test_instruments.py | 242 | assert argv[argv.index("--device") + 1] == "vulkan" # the harness runs on the run's backend | CODE |
| MEDIUM | inference/engine/Cargo.toml | 37 | # so it runs without the libtest harness (which prints to stdout). | COMMENT |
| MEDIUM | inference/engine/Cargo.toml | 58 | # Development-only: lets `magnitude-harness` record tuned configurations and | COMMENT |
| MEDIUM | inference/engine/Cargo.toml | 62 | # Development-only: lets `magnitude-harness` survey every admissible tuning | COMMENT |
| MEDIUM | inference/engine/executor/Cargo.toml | 23 | # `pinned-tuning` feature by `magnitude-harness`; never by a served engine. | COMMENT |
| MEDIUM | inference/engine/executor/Cargo.toml | 28 | # feature by `magnitude-harness`; never by a served engine. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …erence/seismic/hardware/feedback-tuning/qwen_worker.py | 234 | except Exception as e: | CODE |
| LOW | …ce/seismic/frontends/python/python/seismic/__init__.py | 829 | except Exception: | CODE |
| MEDIUM | …ce/seismic/frontends/python/python/seismic/__init__.py | 332 | def __repr__(self): | CODE |
| LOW | inference/evaluation/bench/src/magnitude_bench/store.py | 55 | except Exception as exc: | CODE |
| MEDIUM | inference/evaluation/bench/src/magnitude_bench/store.py | 49 | def _write_streams(self): | CODE |
| LOW | …ference/evaluation/bench/src/magnitude_bench/runner.py | 343 | except Exception as exc: | CODE |
| LOW | …ference/evaluation/bench/src/magnitude_bench/sizing.py | 50 | except Exception as error: | CODE |
| LOW | …ference/evaluation/rig/src/magnitude_rig/host/trace.py | 61 | except Exception as error: | CODE |
| LOW | …ference/evaluation/rig/src/magnitude_rig/host/trace.py | 132 | except Exception as error: | CODE |
| LOW | …ference/evaluation/rig/src/magnitude_rig/host/trace.py | 152 | except Exception as error: | CODE |
| LOW | …ence/evaluation/rig/src/magnitude_rig/host/__main__.py | 130 | except Exception as error: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | packages/agent/src/compaction/worker.ts | 129 | // 5. Run agentic compaction turn with retry | COMMENT |
| MEDIUM | inference/seismic/backends/metal/src/services.rs | 75 | /// shared loop scaffold, so their signal is much smaller than either raw | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | packages/utils/src/process/interactive-process.test.ts | 149 | print("resize-delivered") | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/vcs/tests/repro-real-repo-bug.test.ts | 17 | execSync("git config user.email 'test@test.com'", { cwd: tmpDir }) | CODE |
| LOW | …kages/ai/src/prompt/__tests__/normalize-vision.test.ts | 99 | expect(parts[1]).toMatchObject({ _tag: "TextPart", text: expect.stringContaining("placeholder") }) | CODE |