Repository Analysis

TraderAlice/OpenAlice

Your one-person Wall Street. An AI trading agent covering equities, crypto, commodities, forex, and macro — from research through position entry, ongoing management, to exit.

4.4 Likely human-written View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of TraderAlice/OpenAlice, a TypeScript project with 5,976 GitHub stars. SynthScan v2.0 examined 230,114 lines of code across 1407 source files, recording 618 pattern matches distributed across 16 syntactic categories. The overall adjusted score of 4.4 places this repository in the Likely human-written band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

4.4
Adjusted Score
4.4
Raw Score
100%
Time Factor
2026-07-14
Last Push
6.0K
Stars
TypeScript
Language
230.1K
Lines of Code
1.4K
Files
618
Pattern Hits
2026-07-14
Scan Date
0.04
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 0HIGH 53MEDIUM 148LOW 417

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

The scanner identified 618 distinct pattern matches across 16 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Decorative Section Separators114 hits · 318 pts
SeverityFileLineSnippetContext
MEDIUMui/src/components/workspace/api.ts324// ── sessions ─────────────────────────────────────────────────────────────────COMMENT
MEDIUMui/src/components/workspace/api.ts773// ── git ──────────────────────────────────────────────────────────────────────COMMENT
MEDIUMui/src/components/workspace/api.ts808// ── files ────────────────────────────────────────────────────────────────────COMMENT
MEDIUMui/src/components/workspace/api.ts876// ── Agent provider config ───────────────────────────────────────────────────COMMENT
MEDIUMui/src/components/workspace/api.ts931// ── Central credential store ──────────────────────────────────────────────COMMENT
MEDIUMui/src/components/workspace/protocol.ts6// ── client → server ─────────────────────────────────────────────────────────COMMENT
MEDIUMui/src/components/workspace/protocol.ts24// ── server → client ─────────────────────────────────────────────────────────COMMENT
MEDIUMui/src/components/workspace/protocol.ts71// ── parser ──────────────────────────────────────────────────────────────────COMMENT
MEDIUMui/src/components/workspace/Sidebar.tsx533// ── headless runs (the collapsed second tier under a workspace) ─────────────COMMENT
MEDIUMui/src/lib/intl.ts45// ── Relative time ──────────────────────────────────────────────────────────COMMENT
MEDIUMui/src/pages/ChatLandingPage.tsx233 // ── Loginless-runtime credential picker (opencode/pi) ─────────────────────COMMENT
MEDIUMscripts/guardian/smoke.ts108 // ── Spawn the full stack ──────────────────────────────────COMMENT
MEDIUMscripts/guardian/smoke.ts174 // ── HARD: wait for boot, no ENOENT ────────────────────────COMMENT
MEDIUMscripts/guardian/smoke.ts210 // ── SOFT: UTA restart (never fails the run) ───────────────COMMENT
MEDIUMscripts/guardian/smoke.ts234 // ── SOFT: teardown orphan check ───────────────────────────COMMENT
MEDIUMscripts/guardian/dev.ts159 // ── UTA spec (re-used by Guardian for restart) ────────────COMMENT
MEDIUMscripts/guardian/dev.ts182 // ── Alice ─────────────────────────────────────────────────COMMENT
MEDIUMscripts/guardian/dev.ts211 // ── Vite ──────────────────────────────────────────────────COMMENT
MEDIUMscripts/guardian/dev.ts241 // ── Flag watch ────────────────────────────────────────────COMMENT
MEDIUMscripts/guardian/shared.ts45// ── Port configuration (L1 → L2) ────────────────────────────COMMENT
MEDIUMpackages/ibkr/src/wrapper.ts230 // ── Contract details ─────────────────────────────────────────────────COMMENT
MEDIUMpackages/ibkr/src/wrapper.ts240 // ── Executions ───────────────────────────────────────────────────────COMMENT
MEDIUMpackages/ibkr/src/wrapper.ts250 // ── Market depth ─────────────────────────────────────────────────────COMMENT
MEDIUMpackages/ibkr/src/wrapper.ts467 // ── Reroute ──────────────────────────────────────────────────────────COMMENT
MEDIUMpackages/ibkr/src/wrapper.ts473 // ── Display groups ───────────────────────────────────────────────────COMMENT
MEDIUMpackages/ibkr/src/wrapper.ts479 // ── Verify (deprecated) ──────────────────────────────────────────────COMMENT
MEDIUMpackages/ibkr/src/wrapper.ts489 // ── WSH ──────────────────────────────────────────────────────────────COMMENT
MEDIUMpackages/ibkr/src/wrapper.ts495 // ── User info ────────────────────────────────────────────────────────COMMENT
MEDIUMpackages/ibkr/src/wrapper.ts499 // ── Protobuf callbacks ───────────────────────────────────────────────COMMENT
MEDIUMpackages/ibkr/src/wrapper.ts1038 // ── Display groups ───────────────────────────────────────────────────COMMENT
MEDIUMpackages/ibkr/src/wrapper.ts1044 // ── Verify (deprecated) ──────────────────────────────────────────────COMMENT
MEDIUMpackages/ibkr/src/wrapper.ts1054 // ── WSH ──────────────────────────────────────────────────────────────COMMENT
MEDIUMpackages/ibkr/src/wrapper.ts1060 // ── User info ────────────────────────────────────────────────────────COMMENT
MEDIUMpackages/ibkr/src/wrapper.ts1064 // ── Protobuf callbacks ───────────────────────────────────────────────COMMENT
MEDIUMpackages/ibkr/src/wrapper.ts49 // ── Connection & server ──────────────────────────────────────────────COMMENT
MEDIUMpackages/ibkr/src/wrapper.ts65 // ── Market data ──────────────────────────────────────────────────────COMMENT
MEDIUMpackages/ibkr/src/wrapper.ts126 // ── Orders ───────────────────────────────────────────────────────────COMMENT
MEDIUMpackages/ibkr/src/wrapper.ts161 // ── Account ──────────────────────────────────────────────────────────COMMENT
MEDIUMpackages/ibkr/src/wrapper.ts208 // ── Positions ────────────────────────────────────────────────────────COMMENT
MEDIUMpackages/ibkr/src/wrapper.ts276 // ── News ─────────────────────────────────────────────────────────────COMMENT
MEDIUMpackages/ibkr/src/wrapper.ts303 // ── Financial Advisor ────────────────────────────────────────────────COMMENT
MEDIUMpackages/ibkr/src/wrapper.ts309 // ── Historical data ──────────────────────────────────────────────────COMMENT
MEDIUMpackages/ibkr/src/wrapper.ts347 // ── Scanner ──────────────────────────────────────────────────────────COMMENT
MEDIUMpackages/ibkr/src/wrapper.ts363 // ── Real-time bars ───────────────────────────────────────────────────COMMENT
MEDIUMpackages/ibkr/src/wrapper.ts377 // ── Tick-by-tick ─────────────────────────────────────────────────────COMMENT
MEDIUMpackages/ibkr/src/wrapper.ts402 // ── Fundamentals & misc ──────────────────────────────────────────────COMMENT
MEDIUMpackages/ibkr/src/wrapper.ts415 // ── Option chains ────────────────────────────────────────────────────COMMENT
MEDIUMpackages/ibkr/src/wrapper.ts429 // ── Soft dollar tiers ────────────────────────────────────────────────COMMENT
MEDIUMpackages/ibkr/src/wrapper.ts433 // ── Symbol / family / smart / market rules ───────────────────────────COMMENT
MEDIUMpackages/ibkr/src/wrapper.ts449 // ── PnL ──────────────────────────────────────────────────────────────COMMENT
MEDIUMpackages/ibkr/src/wrapper.ts592 // ── Connection & server ──────────────────────────────────────────────COMMENT
MEDIUMpackages/ibkr/src/wrapper.ts608 // ── Market data ──────────────────────────────────────────────────────COMMENT
MEDIUMpackages/ibkr/src/wrapper.ts669 // ── Orders ───────────────────────────────────────────────────────────COMMENT
MEDIUMpackages/ibkr/src/wrapper.ts704 // ── Account ──────────────────────────────────────────────────────────COMMENT
MEDIUMpackages/ibkr/src/wrapper.ts751 // ── Positions ────────────────────────────────────────────────────────COMMENT
MEDIUMpackages/ibkr/src/wrapper.ts773 // ── Contract details ─────────────────────────────────────────────────COMMENT
MEDIUMpackages/ibkr/src/wrapper.ts786 // ── Executions ───────────────────────────────────────────────────────COMMENT
MEDIUMpackages/ibkr/src/wrapper.ts800 // ── Market depth ─────────────────────────────────────────────────────COMMENT
MEDIUMpackages/ibkr/src/wrapper.ts826 // ── News ─────────────────────────────────────────────────────────────COMMENT
MEDIUMpackages/ibkr/src/wrapper.ts853 // ── Financial Advisor ────────────────────────────────────────────────COMMENT
54 more matches not shown…
Cross-File Repetition40 hits · 200 pts
SeverityFileLineSnippetContext
HIGHpackages/ibkr/ref/source/pythonclient/setup.py0copyright (c) 2026 interactive brokers llc. all rights reserved. this code is subject to the terms and conditions of theSTRING
HIGH…ource/pythonclient/ibapi/commission_and_fees_report.py0copyright (c) 2026 interactive brokers llc. all rights reserved. this code is subject to the terms and conditions of theSTRING
HIGH…ges/ibkr/ref/source/pythonclient/ibapi/order_cancel.py0copyright (c) 2026 interactive brokers llc. all rights reserved. this code is subject to the terms and conditions of theSTRING
HIGH…kages/ibkr/ref/source/pythonclient/ibapi/connection.py0copyright (c) 2026 interactive brokers llc. all rights reserved. this code is subject to the terms and conditions of theSTRING
HIGH…/ref/source/pythonclient/ibapi/ineligibility_reason.py0copyright (c) 2026 interactive brokers llc. all rights reserved. this code is subject to the terms and conditions of theSTRING
HIGH…ges/ibkr/ref/samples/Python/Testbed/ContractSamples.py0copyright (c) 2026 interactive brokers llc. all rights reserved. this code is subject to the terms and conditions of theSTRING
HIGH…f/samples/Python/Testbed/ScannerSubscriptionSamples.py0copyright (c) 2026 interactive brokers llc. all rights reserved. this code is subject to the terms and conditions of theSTRING
HIGH…s/ibkr/ref/source/pythonclient/ibapi/softdollartier.py0copyright (c) 2026 interactive brokers llc. all rights reserved. this code is subject to the terms and conditions of theSTRING
HIGH…/ref/source/pythonclient/ibapi/account_summary_tags.py0copyright (c) 2026 interactive brokers llc. all rights reserved. this code is subject to the terms and conditions of theSTRING
HIGH…ckages/ibkr/ref/source/pythonclient/ibapi/tag_value.py0copyright (c) 2026 interactive brokers llc. all rights reserved. this code is subject to the terms and conditions of theSTRING
HIGHpackages/ibkr/ref/source/pythonclient/ibapi/scanner.py0copyright (c) 2026 interactive brokers llc. all rights reserved. this code is subject to the terms and conditions of theSTRING
HIGH…es/ibkr/ref/source/pythonclient/ibapi/object_implem.py0copyright (c) 2026 interactive brokers llc. all rights reserved. this code is subject to the terms and conditions of theSTRING
HIGH…ages/ibkr/ref/source/pythonclient/ibapi/enum_implem.py0copyright (c) 2026 interactive brokers llc. all rights reserved. this code is subject to the terms and conditions of theSTRING
HIGHpackages/ibkr/ref/source/pythonclient/ibapi/ticktype.py0copyright (c) 2026 interactive brokers llc. all rights reserved. this code is subject to the terms and conditions of theSTRING
HIGHpackages/ibkr/ref/source/pythonclient/ibapi/news.py0copyright (c) 2026 interactive brokers llc. all rights reserved. this code is subject to the terms and conditions of theSTRING
HIGH…ckages/ibkr/ref/source/pythonclient/tests/test_comm.py0copyright (c) 2026 interactive brokers llc. all rights reserved. this code is subject to the terms and conditions of theSTRING
HIGH…kages/ibkr/ref/source/pythonclient/tests/test_utils.py0copyright (c) 2026 interactive brokers llc. all rights reserved. this code is subject to the terms and conditions of theSTRING
HIGH…ref/source/pythonclient/tests/test_order_conditions.py0copyright (c) 2026 interactive brokers llc. all rights reserved. this code is subject to the terms and conditions of theSTRING
HIGHpackages/ibkr/ref/source/pythonclient/tests/manual.py0copyright (c) 2026 interactive brokers llc. all rights reserved. this code is subject to the terms and conditions of theSTRING
HIGH…source/pythonclient/tests/test_account_summary_tags.py0copyright (c) 2026 interactive brokers llc. all rights reserved. this code is subject to the terms and conditions of theSTRING
HIGH…ibkr/ref/source/pythonclient/tests/test_enum_implem.py0copyright (c) 2026 interactive brokers llc. all rights reserved. this code is subject to the terms and conditions of theSTRING
HIGH…ibkr/ref/samples/Python/Testbed/AvailableAlgoParams.py0copyright (c) 2026 interactive brokers llc. all rights reserved. this code is subject to the terms and conditions of theSTRING
HIGHpackages/ibkr/ref/source/pythonclient/ibapi/decoder.py0copyright (c) 2026 interactive brokers llc. all rights reserved. this code is subject to the terms and conditions of theSTRING
HIGH…/ibkr/ref/source/pythonclient/ibapi/server_versions.py0copyright (c) 2026 interactive brokers llc. all rights reserved. this code is subject to the terms and conditions of theSTRING
HIGH…ges/ibkr/ref/source/pythonclient/ibapi/client_utils.py0copyright (c) 2026 interactive brokers llc. all rights reserved. this code is subject to the terms and conditions of theSTRING
HIGH…ckages/ibkr/ref/source/pythonclient/ibapi/execution.py0copyright (c) 2026 interactive brokers llc. all rights reserved. this code is subject to the terms and conditions of theSTRING
HIGHpackages/ibkr/ref/source/pythonclient/ibapi/order.py0copyright (c) 2026 interactive brokers llc. all rights reserved. this code is subject to the terms and conditions of theSTRING
HIGHpackages/ibkr/ref/source/pythonclient/ibapi/message.py0copyright (c) 2026 interactive brokers llc. all rights reserved. this code is subject to the terms and conditions of theSTRING
HIGH…ages/ibkr/ref/source/pythonclient/ibapi/order_state.py0copyright (c) 2026 interactive brokers llc. all rights reserved. this code is subject to the terms and conditions of theSTRING
HIGH…/ibkr/ref/source/pythonclient/ibapi/order_condition.py0copyright (c) 2026 interactive brokers llc. all rights reserved. this code is subject to the terms and conditions of theSTRING
HIGHpackages/ibkr/ref/source/pythonclient/ibapi/common.py0copyright (c) 2026 interactive brokers llc. all rights reserved. this code is subject to the terms and conditions of theSTRING
HIGHpackages/ibkr/ref/source/pythonclient/ibapi/utils.py0copyright (c) 2026 interactive brokers llc. all rights reserved. this code is subject to the terms and conditions of theSTRING
HIGHpackages/ibkr/ref/source/pythonclient/ibapi/contract.py0copyright (c) 2026 interactive brokers llc. all rights reserved. this code is subject to the terms and conditions of theSTRING
HIGH…es/ibkr/ref/source/pythonclient/ibapi/decoder_utils.py0copyright (c) 2026 interactive brokers llc. all rights reserved. this code is subject to the terms and conditions of theSTRING
HIGH…ges/ibkr/ref/source/pythonclient/ibapi/orderdecoder.py0copyright (c) 2026 interactive brokers llc. all rights reserved. this code is subject to the terms and conditions of theSTRING
HIGH…ckages/ibkr/ref/samples/Python/Testbed/OrderSamples.py0copyright (c) 2026 interactive brokers llc. all rights reserved. this code is subject to the terms and conditions of theSTRING
HIGHpackages/ibkr/ref/samples/Python/Testbed/Program.py0copyright (c) 2026 interactive brokers llc. all rights reserved. this code is subject to the terms and conditions of theSTRING
HIGHpackages/ibkr/ref/source/pythonclient/ibapi/__init__.py0copyright (c) 2026 interactive brokers llc. all rights reserved. this code is subject to the terms and conditions of theSTRING
HIGH…ibkr/ref/samples/Python/Testbed/FaAllocationSamples.py0copyright (c) 2026 interactive brokers llc. all rights reserved. this code is subject to the terms and conditions of theSTRING
HIGH…kages/ibkr/ref/samples/Python/Testbed/ConfigSamples.py0copyright (c) 2026 interactive brokers llc. all rights reserved. this code is subject to the terms and conditions of theSTRING
Hyper-Verbose Identifiers122 hits · 127 pts
SeverityFileLineSnippetContext
LOWui/src/components/EquityCurve.tsx239function makeCurrencyTickFormatter(range: number, tickSpacing: number): (val: number) => string {CODE
LOWui/src/components/first-run-guide-model.ts38export function parseFirstRunStepOverride(search: string, enabled: boolean): FirstRunStepKey | null {CODE
LOWui/src/components/workspace/terminalTheme.ts55export function resolveTerminalThemeVariant(CODE
LOWui/src/components/workspace/terminalTheme.ts76export function useResolvedTerminalThemeVariant(): TerminalThemeVariant {CODE
LOWui/src/components/workspace/sidebar-order.ts21export function orderWorkspacesForSidebar(CODE
LOWui/src/components/workspace/api.ts249export async function probeAgentRuntimeReadiness(CODE
LOWui/src/components/workspace/api.ts418export async function getWorkspaceSessionDirectory(id: string): Promise<WorkspaceSessionDirectory> {CODE
LOWui/src/components/workspace/api.ts667export async function getWorkspaceOffboardingAssessment(id: string): Promise<WorkspaceOffboardingAssessment> {CODE
LOWui/src/components/workspace/api.ts967export async function detectWorkspaceCredential(CODE
LOW…rc/components/workspace/WorkspaceOffboardingDialog.tsx24export function WorkspaceOffboardingDialog({CODE
LOWui/src/components/workspace/terminalThemeProfile.ts90export function terminalThemeProfileForVariant(variant: TerminalThemeVariant): TerminalThemeProfile {CODE
LOWui/src/components/workspace/terminalThemeProfile.ts116function defineTerminalThemeProfile(input: TerminalThemeProfileInput): TerminalThemeProfile {CODE
LOWui/src/live/inbox.ts79export function removeInboxOptimistically(id: string): void {CODE
LOWui/src/live/inbox.ts88export function setInboxReadAtOptimistically(id: string, readAt: number | null): void {CODE
LOWui/src/pages/TradingPage.tsx52async function writeTradingRuntimeConfig(next: TradingRuntimeConfig): Promise<void> {CODE
LOWui/src/pages/TradingPage.tsx61async function saveTradingRuntimeConfigPatch(patch: Partial<TradingRuntimeConfig>): Promise<TradingRuntimeConfig> {CODE
LOWui/src/pages/TradingPage.tsx68function ExternalOrderMonitoringRow() {CODE
LOWui/src/pages/TradingPage.tsx398function TradingServiceOfflineBanner({ status }: { status: TradingServiceStatus }) {CODE
LOWui/src/pages/ChatLandingPage.tsx56export function resolveChatWorkspaceTarget(CODE
LOWui/src/pages/ChatLandingPage.tsx134export function resolveQuickChatCredentialSlug(CODE
LOWscripts/onboarding-ai-mock.ts6function requestContainsReadinessPrompt(body: string): boolean {CODE
LOWscripts/onboarding-ai-mock.ts42export function createOnboardingAiMockServer(): Server {CODE
LOWscripts/onboarding-ai-mock.ts79export async function startOnboardingAiMockServer(port = 0): Promise<Server> {CODE
LOWscripts/guardian/dev-hot-reload.ts18export function isBackendHotReloadEnabled(env: NodeJS.ProcessEnv = process.env): boolean {CODE
LOWscripts/guardian/dev.ts49async function releaseGuardianRuntimeLock(): Promise<void> {CODE
LOWpackages/guardian-runtime/src/trading-mode.ts18export function parseGuardianTradingModeEnv(env: NodeJS.ProcessEnv): GuardianTradingMode | null {CODE
LOWpackages/guardian-runtime/src/trading-mode.ts24export async function resolveGuardianTradingMode(CODE
LOWpackages/guardian-runtime/src/runtime-lock.ts231export async function acquireOpenAliceRuntimeLocks(opts: OpenAliceRuntimeOptions): Promise<OpenAliceRuntimeLock> {CODE
LOWpackages/ibkr/src/execution.ts38function getOptionExerciseTypeName(entry: OptionExerciseTypeEntry): string {CODE
LOWpackages/ibkr/src/decoder/contract.ts177function decodeContractDetailsFromProto(CODE
LOWpackages/ibkr/src/decoder/contract.ts434function processBondContractDataMsg(d: Decoder, fields: Iterator<string>): void {CODE
LOWpackages/ibkr/src/decoder/contract.ts520function processContractDataEndMsg(d: Decoder, fields: Iterator<string>): void {CODE
LOWpackages/ibkr/src/decoder/contract.ts556function processDeltaNeutralValidationMsg(d: Decoder, fields: Iterator<string>): void {CODE
LOWpackages/ibkr/src/decoder/contract.ts592function processContractDataMsgProtoBuf(d: Decoder, buf: Buffer): void {CODE
LOWpackages/ibkr/src/decoder/contract.ts605function processBondContractDataMsgProtoBuf(d: Decoder, buf: Buffer): void {CODE
LOWpackages/ibkr/src/decoder/contract.ts618function processContractDataEndMsgProtoBuf(d: Decoder, buf: Buffer): void {CODE
LOWpackages/ibkr/src/decoder/contract.ts626function processSymbolSamplesMsgProtoBuf(d: Decoder, buf: Buffer): void {CODE
LOWpackages/ibkr/src/decoder/contract.ts646function processMarketRuleMsgProtoBuf(d: Decoder, buf: Buffer): void {CODE
LOWpackages/ibkr/src/decoder/historical.ts75function decodeHistoricalTickProto(proto: HistoricalTickProto): HistoricalTick {CODE
LOWpackages/ibkr/src/decoder/historical.ts83function decodeHistoricalTickBidAskProto(proto: HistoricalTickBidAskProtoMsg): HistoricalTickBidAsk {CODE
LOWpackages/ibkr/src/decoder/historical.ts101function decodeHistoricalTickLastProto(proto: HistoricalTickLastProtoMsg): HistoricalTickLast {CODE
LOWpackages/ibkr/src/decoder/historical.ts164function processHistoricalDataEndMsg(d: Decoder, fields: Iterator<string>): void {CODE
LOWpackages/ibkr/src/decoder/historical.ts173function processHistoricalDataUpdateMsg(d: Decoder, fields: Iterator<string>): void {CODE
LOWpackages/ibkr/src/decoder/historical.ts253function processHistoricalTicksBidAsk(d: Decoder, fields: Iterator<string>): void {CODE
LOWpackages/ibkr/src/decoder/historical.ts280function processHistoricalTicksLast(d: Decoder, fields: Iterator<string>): void {CODE
LOWpackages/ibkr/src/decoder/historical.ts352function processHistoricalSchedule(d: Decoder, fields: Iterator<string>): void {CODE
LOWpackages/ibkr/src/decoder/historical.ts377function processHistoricalDataMsgProtoBuf(d: Decoder, buf: Buffer): void {CODE
LOWpackages/ibkr/src/decoder/historical.ts390function processHistoricalDataEndMsgProtoBuf(d: Decoder, buf: Buffer): void {CODE
LOWpackages/ibkr/src/decoder/historical.ts400function processHistoricalDataUpdateMsgProtoBuf(d: Decoder, buf: Buffer): void {CODE
LOWpackages/ibkr/src/decoder/historical.ts411function processRealTimeBarMsgProtoBuf(d: Decoder, buf: Buffer): void {CODE
LOWpackages/ibkr/src/decoder/historical.ts427function processHeadTimestampMsgProtoBuf(d: Decoder, buf: Buffer): void {CODE
LOWpackages/ibkr/src/decoder/historical.ts436function processHistogramDataMsgProtoBuf(d: Decoder, buf: Buffer): void {CODE
LOWpackages/ibkr/src/decoder/historical.ts451function processHistoricalTicksMsgProtoBuf(d: Decoder, buf: Buffer): void {CODE
LOWpackages/ibkr/src/decoder/historical.ts467function processHistoricalTicksBidAskMsgProtoBuf(d: Decoder, buf: Buffer): void {CODE
LOWpackages/ibkr/src/decoder/historical.ts483function processHistoricalTicksLastMsgProtoBuf(d: Decoder, buf: Buffer): void {CODE
LOWpackages/ibkr/src/decoder/historical.ts499function processTickByTickMsgProtoBuf(d: Decoder, buf: Buffer): void {CODE
LOWpackages/ibkr/src/decoder/historical.ts534function processHistoricalScheduleMsgProtoBuf(d: Decoder, buf: Buffer): void {CODE
LOWpackages/ibkr/src/decoder/orders.ts119function decodeOrderComboLegsFromProto(cp: ContractProto): OrderComboLeg[] {CODE
LOWpackages/ibkr/src/decoder/orders.ts138function decodeConditionsFromProto(conditions: OrderConditionProto[] | undefined): OrderCondition[] {CODE
LOWpackages/ibkr/src/decoder/orders.ts191function setOperatorConditionFields(ocp: OrderConditionProto, cond: { isMore: boolean | null; isConjunctionConnection: bCODE
62 more matches not shown…
Excessive Try-Catch Wrapping177 hits · 118 pts
SeverityFileLineSnippetContext
LOW…ges/ibkr/ref/source/pythonclient/ibapi/client_utils.py401 except Exception:CODE
LOWpackages/ibkr/ref/source/pythonclient/ibapi/client.py407 except Exception as ex:CODE
LOWpackages/ibkr/ref/source/pythonclient/ibapi/client.py429 except Exception as ex:CODE
LOWpackages/ibkr/ref/source/pythonclient/ibapi/client.py647 except Exception as ex:CODE
LOWpackages/ibkr/ref/source/pythonclient/ibapi/client.py669 except Exception as ex:CODE
LOWpackages/ibkr/ref/source/pythonclient/ibapi/client.py697 except Exception as ex:CODE
LOWpackages/ibkr/ref/source/pythonclient/ibapi/client.py719 except Exception as ex:CODE
LOWpackages/ibkr/ref/source/pythonclient/ibapi/client.py891 except Exception as ex:CODE
LOWpackages/ibkr/ref/source/pythonclient/ibapi/client.py915 except Exception as ex:CODE
LOWpackages/ibkr/ref/source/pythonclient/ibapi/client.py949 except Exception as ex:CODE
LOWpackages/ibkr/ref/source/pythonclient/ibapi/client.py971 except Exception as ex:CODE
LOWpackages/ibkr/ref/source/pythonclient/ibapi/client.py1019 except Exception as ex:CODE
LOWpackages/ibkr/ref/source/pythonclient/ibapi/client.py1038 except Exception as ex:CODE
LOWpackages/ibkr/ref/source/pythonclient/ibapi/client.py1072 except Exception as ex:CODE
LOWpackages/ibkr/ref/source/pythonclient/ibapi/client.py1096 except Exception as ex:CODE
LOWpackages/ibkr/ref/source/pythonclient/ibapi/client.py1123 except Exception as ex:CODE
LOWpackages/ibkr/ref/source/pythonclient/ibapi/client.py1145 except Exception as ex:CODE
LOWpackages/ibkr/ref/source/pythonclient/ibapi/client.py1212 except Exception as ex:CODE
LOWpackages/ibkr/ref/source/pythonclient/ibapi/client.py1236 except Exception as ex:CODE
LOWpackages/ibkr/ref/source/pythonclient/ibapi/client.py1264 except Exception as ex:CODE
LOWpackages/ibkr/ref/source/pythonclient/ibapi/client.py1285 except Exception as ex:CODE
LOWpackages/ibkr/ref/source/pythonclient/ibapi/client.py1383 except Exception as ex:CODE
LOWpackages/ibkr/ref/source/pythonclient/ibapi/client.py1407 except Exception as ex:CODE
LOWpackages/ibkr/ref/source/pythonclient/ibapi/client.py1446 except Exception as ex:CODE
LOWpackages/ibkr/ref/source/pythonclient/ibapi/client.py1467 except Exception as ex:CODE
LOWpackages/ibkr/ref/source/pythonclient/ibapi/client.py1560 except Exception as ex:CODE
LOWpackages/ibkr/ref/source/pythonclient/ibapi/client.py1584 except Exception as ex:CODE
LOWpackages/ibkr/ref/source/pythonclient/ibapi/client.py1623 except Exception as ex:CODE
LOWpackages/ibkr/ref/source/pythonclient/ibapi/client.py1644 except Exception as ex:CODE
LOWpackages/ibkr/ref/source/pythonclient/ibapi/client.py1788 except Exception as ex:CODE
LOWpackages/ibkr/ref/source/pythonclient/ibapi/client.py1812 except Exception as ex:CODE
LOWpackages/ibkr/ref/source/pythonclient/ibapi/client.py2765 except Exception as ex:CODE
LOWpackages/ibkr/ref/source/pythonclient/ibapi/client.py2803 except Exception as ex:CODE
LOWpackages/ibkr/ref/source/pythonclient/ibapi/client.py2911 except Exception as ex:CODE
LOWpackages/ibkr/ref/source/pythonclient/ibapi/client.py2935 except Exception as ex:CODE
LOWpackages/ibkr/ref/source/pythonclient/ibapi/client.py2966 except Exception as ex:CODE
LOWpackages/ibkr/ref/source/pythonclient/ibapi/client.py2984 except Exception as ex:CODE
LOWpackages/ibkr/ref/source/pythonclient/ibapi/client.py3019 except Exception as ex:CODE
LOWpackages/ibkr/ref/source/pythonclient/ibapi/client.py3037 except Exception as ex:CODE
LOWpackages/ibkr/ref/source/pythonclient/ibapi/client.py3065 except Exception as ex:CODE
LOWpackages/ibkr/ref/source/pythonclient/ibapi/client.py3083 except Exception as ex:CODE
LOWpackages/ibkr/ref/source/pythonclient/ibapi/client.py3133 except Exception as ex:CODE
LOWpackages/ibkr/ref/source/pythonclient/ibapi/client.py3155 except Exception as ex:CODE
LOWpackages/ibkr/ref/source/pythonclient/ibapi/client.py3184 except Exception as ex:CODE
LOWpackages/ibkr/ref/source/pythonclient/ibapi/client.py3206 except Exception as ex:CODE
LOWpackages/ibkr/ref/source/pythonclient/ibapi/client.py3251 except Exception as ex:CODE
LOWpackages/ibkr/ref/source/pythonclient/ibapi/client.py3273 except Exception as ex:CODE
LOWpackages/ibkr/ref/source/pythonclient/ibapi/client.py3356 except Exception as ex:CODE
LOWpackages/ibkr/ref/source/pythonclient/ibapi/client.py3380 except Exception as ex:CODE
LOWpackages/ibkr/ref/source/pythonclient/ibapi/client.py3407 except Exception as ex:CODE
LOWpackages/ibkr/ref/source/pythonclient/ibapi/client.py3431 except Exception as ex:CODE
LOWpackages/ibkr/ref/source/pythonclient/ibapi/client.py3462 except Exception as ex:CODE
LOWpackages/ibkr/ref/source/pythonclient/ibapi/client.py3484 except Exception as ex:CODE
LOWpackages/ibkr/ref/source/pythonclient/ibapi/client.py3516 except Exception as ex:CODE
LOWpackages/ibkr/ref/source/pythonclient/ibapi/client.py3538 except Exception as ex:CODE
LOWpackages/ibkr/ref/source/pythonclient/ibapi/client.py3580 except Exception as ex:CODE
LOWpackages/ibkr/ref/source/pythonclient/ibapi/client.py3604 except Exception as ex:CODE
LOWpackages/ibkr/ref/source/pythonclient/ibapi/client.py3637 except Exception as ex:CODE
LOWpackages/ibkr/ref/source/pythonclient/ibapi/client.py3661 except Exception as ex:CODE
LOWpackages/ibkr/ref/source/pythonclient/ibapi/client.py3705 except Exception as ex:CODE
117 more matches not shown…
Docstring Block Structure13 hits · 65 pts
SeverityFileLineSnippetContext
HIGH…ges/ibkr/ref/source/pythonclient/ibapi/sync_wrapper.py110 Wait for a response from TWS for a specific request. Args: req_id: The request ID to wait for event_name: ThSTRING
HIGH…ges/ibkr/ref/source/pythonclient/ibapi/sync_wrapper.py384 Get the next valid order ID from TWS. Args: timeout: Timeout in seconds (uses default if None) Returns: TheSTRING
HIGH…ges/ibkr/ref/source/pythonclient/ibapi/sync_wrapper.py400 Get the current system time on the server side. Args: timeout: Timeout in seconds (uses default if None) RetuSTRING
HIGH…ges/ibkr/ref/source/pythonclient/ibapi/sync_wrapper.py416 Get contract details for a specific contract. Args: contract: Contract object timeout: Timeout in seconds (useSTRING
HIGH…ges/ibkr/ref/source/pythonclient/ibapi/sync_wrapper.py434 Place an order and wait for the initial order status. Args: contract: Contract object order: Order object tiSTRING
HIGH…ges/ibkr/ref/source/pythonclient/ibapi/sync_wrapper.py462 Cancel an order and wait for the cancellation status. Args: order_id: The order ID to cancel orderCancel: OptiSTRING
HIGH…ges/ibkr/ref/source/pythonclient/ibapi/sync_wrapper.py483 Get all open orders. Args: timeout: Timeout in seconds (uses default if None) Returns: A dictionary of openSTRING
HIGH…ges/ibkr/ref/source/pythonclient/ibapi/sync_wrapper.py502 Get executions matching the filter. Args: exec_filter: Optional ExecutionFilter object timeout: Timeout in secSTRING
HIGH…ges/ibkr/ref/source/pythonclient/ibapi/sync_wrapper.py528 Get portfolio information. Args: account_code: Account code (empty for all accounts) timeout: Timeout in seconSTRING
HIGH…ges/ibkr/ref/source/pythonclient/ibapi/sync_wrapper.py553 Get current positions. Args: timeout: Timeout in seconds (uses default if None) Returns: A dictionary of poSTRING
HIGH…ges/ibkr/ref/source/pythonclient/ibapi/sync_wrapper.py577 Get account summary information. Args: tags: Comma-separated string of tags to request group: Account group (dSTRING
HIGH…ges/ibkr/ref/source/pythonclient/ibapi/sync_wrapper.py606 Get a snapshot of market data. Args: contract: Contract object generic_tick_list: String of generic tick typesSTRING
HIGH…ges/ibkr/ref/source/pythonclient/ibapi/sync_wrapper.py647 Get historical data for a contract. Args: contract: Contract object end_date_time: End date and time (format: STRING
Over-Commented Block37 hits · 37 pts
SeverityFileLineSnippetContext
LOWdocker-compose.yml1# Single-service compose for OpenAlice self-hosting.COMMENT
LOWui/vite.config.ts61COMMENT
LOWui/src/tabs/store.ts241 // persisted tab or selectedSidebar of a removed kind would makeCOMMENT
LOWui/src/components/ActivityBar.tsx81COMMENT
LOWui/src/components/workspace/WorkspaceView.tsx41export function WorkspaceView(props: WorkspaceViewProps): ReactElement {COMMENT
LOWui/src/lib/format.ts81// Re-export the Market workbench's helpers from one place so callers onlyCOMMENT
LOWscripts/guardian/smoke.ts101 // Every Guardian smoke gets a disposable data root. Startup and recoveryCOMMENT
LOWscripts/guardian/shared.ts41 /** Vite dev-server port — resolved by Guardian (dev only; prod has no Vite). */COMMENT
LOWscripts/guardian/shared.ts221 const pathResolved = process.platform === 'win32' && directNpm === nullCOMMENT
LOWpackages/ibkr/ref/source/pythonclient/tests/manual.py201 contract.exchange = "SMART"COMMENT
LOWpackages/ibkr/ref/source/pythonclient/tests/manual.py221 # app.reqFundamentalData(6001, contract, "ReportSnapshot")COMMENT
LOW…ckages/ibkr/ref/samples/Python/Testbed/OrderSamples.py281 #! [auction_limit]COMMENT
LOW…ckages/ibkr/ref/samples/Python/Testbed/OrderSamples.py841 COMMENT
LOWpackages/ibkr/ref/samples/Python/Testbed/Program.py341 print("Executing GlobalCancel only")COMMENT
LOWpackages/ibkr/ref/samples/Python/Testbed/Program.py361 #self.financialAdvisorOperations()COMMENT
LOWpackages/ibkr/ref/samples/Python/Testbed/Program.py381 if self.nKeybInt == 1:COMMENT
LOWpackages/ibkr/ref/samples/Python/Testbed/Program.py501COMMENT
LOWpackages/ibkr/ref/samples/Python/Testbed/Program.py821 # ! [reqmktdatapreopenbidask]COMMENT
LOWpackages/ibkr/ref/samples/Python/Testbed/Program.py1301 # ! [reqNewsTicks]COMMENT
LOWpackages/ibkr/ref/samples/Python/Testbed/Program.py1841COMMENT
LOWpackages/ibkr/ref/samples/Python/Testbed/Program.py1961 # OrderSamples.PeggedToBenchmark("SELL", 100, 33, True, 0.1, 1, 208813720, "ARCA", 750, 650, 800))COMMENT
LOWpackages/ibkr/ref/samples/Python/Testbed/Program.py2021 # Placing peg best up to mid orderCOMMENT
LOWapps/desktop/src/main.ts81// Inline mirror of scripts/guardian/shared.ts:killTree. UTA and Alice eachCOMMENT
LOW…rvices/uta/src/domain/trading/UnifiedTradingAccount.ts981 const projected = recomputeCostBasisFromCommits(commits, aliceId)COMMENT
LOW…uta/src/domain/trading/brokers/mock/MockBroker.spec.ts541COMMENT
LOWsrc/server/mcp.ts201 entityStore,COMMENT
LOWsrc/workspaces/context-injector.ts61COMMENT
LOWsrc/workspaces/spawn-env.ts81 // Announce ourselves honestly so well-behaved TUI apps can detect us.COMMENT
LOWsrc/workspaces/service.ts521 } => {COMMENT
LOWsrc/workspaces/service.ts561 // adapter wins on key collisions. (Independent of the seed below — everyCOMMENT
LOWsrc/workspaces/service.ts1441 (wsId, ctx) => {COMMENT
LOWsrc/workspaces/adapters/opencode.ts81 // by-id resume: opencode can't be assigned an id at spawn and its sessionsCOMMENT
LOWsrc/workspaces/adapters/pi.ts141 // Quick-chat seed: `pi [--session-id <id>] <messages…>` opens theCOMMENT
LOWsrc/workspaces/adapters/claude.ts61 // `claude --continue` is intentionally NOT supported. It's a fragileCOMMENT
LOWsrc/workspaces/adapters/codex.ts81 if (ctx.resume === undefined) {COMMENT
LOWsrc/webui/routes/workspaces.ts1661COMMENT
LOWsrc/webui/routes/config.ts321 const validated = await writeConfigSection(section, body)COMMENT
Unused Imports37 hits · 35 pts
SeverityFileLineSnippetContext
LOWpackages/ibkr/ref/source/pythonclient/ibapi/decoder.py7CODE
LOWpackages/ibkr/ref/source/pythonclient/ibapi/decoder.py17CODE
LOWpackages/ibkr/ref/source/pythonclient/ibapi/decoder.py19CODE
LOWpackages/ibkr/ref/source/pythonclient/ibapi/decoder.py20CODE
LOWpackages/ibkr/ref/source/pythonclient/ibapi/decoder.py22CODE
LOWpackages/ibkr/ref/source/pythonclient/ibapi/decoder.py26CODE
LOW…ges/ibkr/ref/source/pythonclient/ibapi/client_utils.py9CODE
LOW…ges/ibkr/ref/source/pythonclient/ibapi/client_utils.py12CODE
LOW…ges/ibkr/ref/source/pythonclient/ibapi/client_utils.py14CODE
LOWpackages/ibkr/ref/source/pythonclient/ibapi/wrapper.py58CODE
LOWpackages/ibkr/ref/source/pythonclient/ibapi/client.py20CODE
LOWpackages/ibkr/ref/source/pythonclient/ibapi/client.py195CODE
LOWpackages/ibkr/ref/source/pythonclient/ibapi/client.py196CODE
LOWpackages/ibkr/ref/source/pythonclient/ibapi/client.py243CODE
LOW…ges/ibkr/ref/source/pythonclient/ibapi/sync_wrapper.py19CODE
LOW…es/ibkr/ref/source/pythonclient/ibapi/decoder_utils.py18CODE
LOW…es/ibkr/ref/source/pythonclient/ibapi/decoder_utils.py26CODE
LOW…es/ibkr/ref/source/pythonclient/ibapi/decoder_utils.py36CODE
LOW…ref/source/pythonclient/tests/test_order_conditions.py8CODE
LOWpackages/ibkr/ref/source/pythonclient/tests/manual.py10CODE
LOWpackages/ibkr/ref/source/pythonclient/tests/manual.py11CODE
LOWpackages/ibkr/ref/source/pythonclient/tests/manual.py12CODE
LOWpackages/ibkr/ref/source/pythonclient/tests/manual.py13CODE
LOWpackages/ibkr/ref/source/pythonclient/tests/manual.py14CODE
LOWpackages/ibkr/ref/source/pythonclient/tests/manual.py17CODE
LOW…ckages/ibkr/ref/samples/Python/Testbed/OrderSamples.py8CODE
LOW…ckages/ibkr/ref/samples/Python/Testbed/OrderSamples.py11CODE
LOW…ges/ibkr/ref/samples/Python/Testbed/ContractSamples.py6CODE
LOWpackages/ibkr/ref/samples/Python/Testbed/sync_tester.py12CODE
LOWpackages/ibkr/ref/samples/Python/Testbed/Program.py21CODE
LOWpackages/ibkr/ref/samples/Python/Testbed/Program.py22CODE
LOWpackages/ibkr/ref/samples/Python/Testbed/Program.py23CODE
LOWpackages/ibkr/ref/samples/Python/Testbed/Program.py24CODE
LOWpackages/ibkr/ref/samples/Python/Testbed/Program.py25CODE
LOWpackages/ibkr/ref/samples/Python/Testbed/Program.py29CODE
LOWpackages/ibkr/ref/samples/Python/Testbed/Program.py32CODE
LOWpackages/ibkr/ref/samples/Python/Testbed/Program.py48CODE
AI Slop Vocabulary12 hits · 34 pts
SeverityFileLineSnippetContext
MEDIUMsafe/harness/runner.ts66 * # safe/harness/cases.yaml (alternative source of truth)COMMENT
MEDIUMui/src/pages/TrackedPage.tsx76// mirroring the BacklinkRow chrome so the swap to real rows is seamless.COMMENT
MEDIUMscripts/guardian/smoke.ts186 // Parse the ports Guardian prints in its banner (robust to port-probe shifts).COMMENT
MEDIUM.github/workflows/ci.yml137 # diff, not a harness bug. See scripts/guardian/smoke.ts.COMMENT
MEDIUM…ices/uta/src/domain/trading/brokers/ccxt/CcxtBroker.ts1052 // Leveraged-derivative risk picture (leverage / liq price / marginCOMMENT
MEDIUM…uta/src/domain/trading/brokers/ccxt/CcxtBroker.spec.ts1162 // No leverage / liquidationPrice / marginMode at all.COMMENT
MEDIUM…uta/src/domain/trading/brokers/ccxt/CcxtBroker.spec.ts1175 // Cross perp: leverage + marginMode reported, liquidationPrice 0 (not computed).COMMENT
MEDIUM…uta/src/domain/trading/brokers/ccxt/CcxtBroker.spec.ts1271 expect(btc.risk).toBeUndefined() // spot holdings never carry leverage riskCODE
MEDIUM…domain/trading/brokers/others/leverup/LeverupBroker.ts238 // amountIn = required margin (collateral). For MVP, leverage=1: amountIn = qty * price (USDC).COMMENT
MEDIUM…domain/trading/brokers/others/leverup/LeverupBroker.ts242 const amountInUsd = notionalUsd // 1x leverage MVPCODE
MEDIUM…uta/src/domain/trading/brokers/others/leverup/pairs.ts41 // ---- High-leverage zero-fee ----COMMENT
MEDIUMsrc/tool/trading.ts400 // Leveraged-derivative risk (crypto perps): leverage,COMMENT
Self-Referential Comments14 hits · 22 pts
SeverityFileLineSnippetContext
MEDIUMpackages/ibkr/ref/source/pythonclient/ibapi/wrapper.py286 """This function is called to feed in open orders.STRING
MEDIUMpackages/ibkr/ref/source/pythonclient/ibapi/wrapper.py303 """This function is called when TWS closes the socketsSTRING
MEDIUMpackages/ibkr/ref/source/pythonclient/ibapi/wrapper.py309 """This function is called only when ReqAccountUpdates onSTRING
MEDIUMpackages/ibkr/ref/source/pythonclient/ibapi/wrapper.py325 """This function is called only when reqAccountUpdates onSTRING
MEDIUMpackages/ibkr/ref/source/pythonclient/ibapi/wrapper.py352 """This function is called when reqContractDetails functionSTRING
MEDIUMpackages/ibkr/ref/source/pythonclient/ibapi/wrapper.py358 """This function is called once all contract details for a givenSTRING
MEDIUMpackages/ibkr/ref/source/pythonclient/ibapi/wrapper.py371 """This function is called once all executions have been sent toSTRING
MEDIUMpackages/ibkr/ref/source/pythonclient/ibapi/wrapper.py547 """This function is called to receive fundamentalSTRING
MEDIUMpackages/ibkr/ref/source/pythonclient/ibapi/wrapper.py595 """This method is called once all account summary data for aSTRING
MEDIUMpackages/ibkr/ref/source/pythonclient/ibapi/wrapper.py694 """This function is called when the market in an option or itsSTRING
MEDIUMpackages/ibkr/ref/source/pythonclient/ibapi/wrapper.py897 """This function is called to feed in completed orders.STRING
MEDIUM…ges/ibkr/ref/source/pythonclient/ibapi/sync_wrapper.py94 # Create a thread for message processingCOMMENT
MEDIUMpackages/ibkr/ref/samples/Python/Testbed/sync_tester.py14# Create the wrapperCOMMENT
MEDIUMpackages/ibkr/ref/samples/Python/Testbed/sync_tester.py39 # Define a contract (e.g., AAPL stock)COMMENT
Deep Nesting24 hits · 19 pts
SeverityFileLineSnippetContext
LOWpackages/ibkr/ref/source/pythonclient/ibapi/decoder.py144CODE
LOWpackages/ibkr/ref/source/pythonclient/ibapi/decoder.py183CODE
LOWpackages/ibkr/ref/source/pythonclient/ibapi/decoder.py1432CODE
LOWpackages/ibkr/ref/source/pythonclient/ibapi/decoder.py1940CODE
LOWpackages/ibkr/ref/source/pythonclient/ibapi/decoder.py1990CODE
LOWpackages/ibkr/ref/source/pythonclient/ibapi/decoder.py2689CODE
LOWpackages/ibkr/ref/source/pythonclient/ibapi/decoder.py2699CODE
LOW…ges/ibkr/ref/source/pythonclient/ibapi/client_utils.py379CODE
LOWpackages/ibkr/ref/source/pythonclient/ibapi/client.py574CODE
LOWpackages/ibkr/ref/source/pythonclient/ibapi/client.py1820CODE
LOWpackages/ibkr/ref/source/pythonclient/ibapi/client.py4011CODE
LOWpackages/ibkr/ref/source/pythonclient/ibapi/client.py4129CODE
LOWpackages/ibkr/ref/source/pythonclient/ibapi/client.py4842CODE
LOWpackages/ibkr/ref/source/pythonclient/ibapi/client.py5513CODE
LOWpackages/ibkr/ref/source/pythonclient/ibapi/client.py5685CODE
LOWpackages/ibkr/ref/source/pythonclient/ibapi/client.py5874CODE
LOWpackages/ibkr/ref/source/pythonclient/ibapi/client.py6105CODE
LOWpackages/ibkr/ref/source/pythonclient/ibapi/client.py6184CODE
LOW…/ibkr/ref/source/pythonclient/ibapi/order_condition.py273CODE
LOWpackages/ibkr/ref/source/pythonclient/ibapi/reader.py25CODE
LOWpackages/ibkr/ref/source/pythonclient/ibapi/utils.py87CODE
LOW…es/ibkr/ref/source/pythonclient/ibapi/decoder_utils.py293CODE
LOW…ges/ibkr/ref/source/pythonclient/ibapi/orderdecoder.py329CODE
LOWpackages/ibkr/ref/samples/Python/Testbed/Program.py212CODE
Verbosity Indicators8 hits · 16 pts
SeverityFileLineSnippetContext
LOW…ntypebb/src/providers/yfinance/models/futures-curve.ts107 // Step 1: Try to get the futures chain from Yahoo's API (like Python's get_futures_symbols)COMMENT
LOW…ntypebb/src/providers/yfinance/models/futures-curve.ts110 // Step 2: If no chain from API, manually construct symbols with exchange mappingCOMMENT
LOW…ntypebb/src/providers/yfinance/models/futures-curve.ts116 // Step 3: Fetch current price for each symbolCOMMENT
LOW…typebb/src/providers/yfinance/models/options-chains.ts23 // Step 1: Get first expiration + list of all expirationsCOMMENT
LOW…uta/src/domain/trading/brokers/mock/MockBroker.spec.ts466 // Step 1: external deposit (transfer-in / 空投) of 1 BTC.COMMENT
LOW…uta/src/domain/trading/brokers/mock/MockBroker.spec.ts469 // Step 2: market BUY 0.5 BTC via the IBroker pipeline. Mimic UTA byCOMMENT
LOW…/src/domain/trading/__test__/e2e/uta-bybit.e2e.spec.ts138 // Step 1: search → get the canonical aliceId the AI would receive.COMMENT
LOW…/src/domain/trading/__test__/e2e/uta-bybit.e2e.spec.ts153 // Step 2: getQuote — would have errored on the legacy code path.COMMENT
Structural Annotation Overuse8 hits · 16 pts
SeverityFileLineSnippetContext
LOW…ntypebb/src/providers/yfinance/models/futures-curve.ts107 // Step 1: Try to get the futures chain from Yahoo's API (like Python's get_futures_symbols)COMMENT
LOW…ntypebb/src/providers/yfinance/models/futures-curve.ts110 // Step 2: If no chain from API, manually construct symbols with exchange mappingCOMMENT
LOW…ntypebb/src/providers/yfinance/models/futures-curve.ts116 // Step 3: Fetch current price for each symbolCOMMENT
LOW…typebb/src/providers/yfinance/models/options-chains.ts23 // Step 1: Get first expiration + list of all expirationsCOMMENT
LOW…uta/src/domain/trading/brokers/mock/MockBroker.spec.ts466 // Step 1: external deposit (transfer-in / 空投) of 1 BTC.COMMENT
LOW…uta/src/domain/trading/brokers/mock/MockBroker.spec.ts469 // Step 2: market BUY 0.5 BTC via the IBroker pipeline. Mimic UTA byCOMMENT
LOW…/src/domain/trading/__test__/e2e/uta-bybit.e2e.spec.ts138 // Step 1: search → get the canonical aliceId the AI would receive.COMMENT
LOW…/src/domain/trading/__test__/e2e/uta-bybit.e2e.spec.ts153 // Step 2: getQuote — would have errored on the legacy code path.COMMENT
Modern Structural Boilerplate8 hits · 8 pts
SeverityFileLineSnippetContext
LOWpackages/ibkr/ref/source/pythonclient/ibapi/decoder.py122logger = logging.getLogger(__name__)CODE
LOWpackages/ibkr/ref/source/pythonclient/ibapi/wrapper.py135logger = logging.getLogger(__name__)CODE
LOWpackages/ibkr/ref/source/pythonclient/ibapi/comm.py17logger = logging.getLogger(__name__)CODE
LOWpackages/ibkr/ref/source/pythonclient/ibapi/client.py283logger = logging.getLogger(__name__)CODE
LOWpackages/ibkr/ref/source/pythonclient/ibapi/reader.py16logger = logging.getLogger(__name__)CODE
LOW…kages/ibkr/ref/source/pythonclient/ibapi/connection.py22logger = logging.getLogger(__name__)CODE
LOWpackages/ibkr/ref/source/pythonclient/ibapi/utils.py27logger = logging.getLogger(__name__)CODE
LOW…ges/ibkr/ref/source/pythonclient/ibapi/orderdecoder.py43logger = logging.getLogger(__name__)CODE
Modern AI Meta-Vocabulary2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMsafe/harness/runner.ts141// minimal scaffold compiles cleanly when `noUnusedLocals` is on).COMMENT
MEDIUMsrc/workspaces/workspace-creation.e2e.spec.ts152 // working tree carries the upstream content + the results scaffold...COMMENT
Overly Generic Function Names1 hit · 1 pts
SeverityFileLineSnippetContext
LOWui/public/mockServiceWorker.js124async function handleRequest(event, requestId, requestInterceptedAt) {CODE
AI Structural Patterns1 hit · 1 pts
SeverityFileLineSnippetContext
LOWpackages/ibkr/ref/source/pythonclient/ibapi/common.py163CODE