Production-grade Rust-native trading engine with deterministic event-driven architecture
This report presents the forensic synthetic code analysis of nautechsystems/nautilus_trader, a Rust project with 28,017 GitHub stars. SynthScan v2.0 examined 1,999,190 lines of code across 4252 source files, recording 9210 pattern matches distributed across 22 syntactic categories. The overall adjusted score of 5.4 places this repository in the Low AI signal 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).
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.
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.
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.
The scanner identified 9210 distinct pattern matches across 22 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Cargo.toml | 521 | # LTO is disabled for faster bench compile times. | COMMENT |
| LOW | Cargo.toml | 541 | # figures. | COMMENT |
| LOW | deny.toml | 41 | COMMENT | |
| LOW | deny.toml | 101 | license-files = [] | COMMENT |
| LOW | crates/lib.rs | 1 | // ------------------------------------------------------------------------------------------------- | COMMENT |
| LOW | crates/core/build.rs | 1 | // ------------------------------------------------------------------------------------------------- | COMMENT |
| LOW | crates/core/tests/layout.rs | 1 | // ------------------------------------------------------------------------------------------------- | COMMENT |
| LOW | crates/core/benches/stack_str_iai.rs | 1 | // ------------------------------------------------------------------------------------------------- | COMMENT |
| LOW | crates/core/benches/stack_str.rs | 1 | // ------------------------------------------------------------------------------------------------- | COMMENT |
| LOW | crates/core/benches/concurrent_map.rs | 1 | // ------------------------------------------------------------------------------------------------- | COMMENT |
| LOW | crates/core/benches/concurrent_map.rs | 21 | //! Results (10k reads/thread, barrier-synced, String keys, u64 values): | COMMENT |
| LOW | crates/core/benches/correctness.rs | 1 | // ------------------------------------------------------------------------------------------------- | COMMENT |
| LOW | crates/core/benches/to_snake_case.rs | 1 | // ------------------------------------------------------------------------------------------------- | COMMENT |
| LOW | crates/core/benches/decimal_deserialization.rs | 1 | // ------------------------------------------------------------------------------------------------- | COMMENT |
| LOW | crates/core/benches/time.rs | 1 | // ------------------------------------------------------------------------------------------------- | COMMENT |
| LOW | crates/core/benches/uuid.rs | 1 | // ------------------------------------------------------------------------------------------------- | COMMENT |
| LOW | crates/core/benches/identifier_comparison.rs | 1 | // ------------------------------------------------------------------------------------------------- | COMMENT |
| LOW | crates/core/benches/hash_map.rs | 1 | // ------------------------------------------------------------------------------------------------- | COMMENT |
| LOW | crates/core/benches/datetime.rs | 1 | // ------------------------------------------------------------------------------------------------- | COMMENT |
| LOW | crates/core/benches/hex.rs | 1 | // ------------------------------------------------------------------------------------------------- | COMMENT |
| LOW | crates/core/benches/urlencoding.rs | 1 | // ------------------------------------------------------------------------------------------------- | COMMENT |
| LOW | crates/core/src/consts.rs | 1 | // ------------------------------------------------------------------------------------------------- | COMMENT |
| LOW | crates/core/src/correctness.rs | 1 | // ------------------------------------------------------------------------------------------------- | COMMENT |
| LOW | crates/core/src/correctness.rs | 61 | /// A string contained a non-ASCII character. | COMMENT |
| LOW | crates/core/src/correctness.rs | 201 | set_type_repr: String, | COMMENT |
| LOW | crates/core/src/correctness.rs | 321 | }); | COMMENT |
| LOW | crates/core/src/correctness.rs | 361 | /// | COMMENT |
| LOW | crates/core/src/correctness.rs | 621 | /// Checks the `f64` value is in range [`l`, `r`] (inclusive). | COMMENT |
| LOW | crates/core/src/correctness.rs | 961 | } | COMMENT |
| LOW | crates/core/src/correctness.rs | 1061 | COMMENT | |
| LOW | crates/core/src/correctness.rs | 1081 | #[case] rhs_param: &str, | COMMENT |
| LOW | crates/core/src/correctness.rs | 1121 | ); | COMMENT |
| LOW | crates/core/src/correctness.rs | 1201 | #[case(f64::NEG_INFINITY, "value")] | COMMENT |
| LOW | crates/core/src/correctness.rs | 1221 | #[case(0, 1, 2, "value")] | COMMENT |
| LOW | crates/core/src/correctness.rs | 1241 | ) { | COMMENT |
| LOW | crates/core/src/correctness.rs | 1261 | fn test_check_in_range_inclusive_i64_when_in_range( | COMMENT |
| LOW | crates/core/src/correctness.rs | 1281 | } | COMMENT |
| LOW | crates/core/src/correctness.rs | 1301 | #[case] r: i64, | COMMENT |
| LOW | crates/core/src/correctness.rs | 1401 | #[case(&HashMap::from([(1, 10), (2, 20)]), 1, "key", "map", false)] // key exists | COMMENT |
| LOW | crates/core/src/correctness.rs | 1461 | assert_eq!(result, expected); | COMMENT |
| LOW | crates/core/src/env.rs | 1 | // ------------------------------------------------------------------------------------------------- | COMMENT |
| LOW | crates/core/src/env.rs | 41 | /// Only attempts to read the environment variable when `value` is `None`, | COMMENT |
| LOW | crates/core/src/lib.rs | 1 | // ------------------------------------------------------------------------------------------------- | COMMENT |
| LOW | crates/core/src/lib.rs | 21 | //! | COMMENT |
| LOW | crates/core/src/lib.rs | 41 | //! depending on the intended use case, i.e. whether to provide Python bindings | COMMENT |
| LOW | crates/core/src/paths.rs | 1 | // ------------------------------------------------------------------------------------------------- | COMMENT |
| LOW | crates/core/src/paths.rs | 21 | /// | COMMENT |
| LOW | crates/core/src/time.rs | 1 | // ------------------------------------------------------------------------------------------------- | COMMENT |
| LOW | crates/core/src/time.rs | 21 | //! # Modes | COMMENT |
| LOW | crates/core/src/time.rs | 61 | /// Returns a static reference to the global atomic clock in **real-time mode**. | COMMENT |
| LOW | crates/core/src/time.rs | 81 | /// Panics if the system time is set before the UNIX epoch. | COMMENT |
| LOW | crates/core/src/time.rs | 101 | /// libc-intercepted by madsim and resolves to the same real syscall it would | COMMENT |
| LOW | crates/core/src/time.rs | 141 | /// [`AtomicTime`] can act as a real-time clock or static clock based on its mode. | COMMENT |
| LOW | crates/core/src/time.rs | 181 | } | COMMENT |
| LOW | crates/core/src/time.rs | 221 | clippy::cast_precision_loss, | COMMENT |
| LOW | crates/core/src/time.rs | 261 | } | COMMENT |
| LOW | crates/core/src/time.rs | 301 | Ok(UnixNanos::from(previous + delta)) | COMMENT |
| LOW | crates/core/src/time.rs | 341 | // Acquire on failure reloads if we lost a CAS race. | COMMENT |
| LOW | crates/core/src/time.rs | 361 | return UnixNanos::from(next); | COMMENT |
| LOW | crates/core/src/time.rs | 381 | pub fn make_realtime(&self) { | COMMENT |
| 6029 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | Cargo.toml | 515 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | Cargo.toml | 517 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | Cargo.toml | 522 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | Cargo.toml | 532 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | Cargo.toml | 534 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | Cargo.toml | 545 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | Cargo.toml | 555 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | Cargo.toml | 557 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | Cargo.toml | 566 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | Cargo.toml | 95 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | Cargo.toml | 99 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | Cargo.toml | 120 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | Cargo.toml | 125 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | Cargo.toml | 320 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | Cargo.toml | 322 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | Cargo.toml | 362 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | Cargo.toml | 364 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | Cargo.toml | 387 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | Cargo.toml | 389 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | Cargo.toml | 400 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | Cargo.toml | 402 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | Cargo.toml | 434 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | Cargo.toml | 436 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | deny.toml | 4 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | deny.toml | 6 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | deny.toml | 14 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | deny.toml | 16 | # ============================================================================= | COMMENT |
| MEDIUM | deny.toml | 56 | # ============================================================================= | COMMENT |
| MEDIUM | deny.toml | 58 | # ============================================================================= | COMMENT |
| MEDIUM | deny.toml | 110 | # ============================================================================= | COMMENT |
| MEDIUM | deny.toml | 112 | # ============================================================================= | COMMENT |
| MEDIUM | deny.toml | 227 | # ============================================================================= | COMMENT |
| MEDIUM | deny.toml | 229 | # ============================================================================= | COMMENT |
| MEDIUM | osv-scanner.toml | 4 | # ============================================================================= | COMMENT |
| MEDIUM | osv-scanner.toml | 6 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | crates/core/benches/concurrent_map.rs | 25 | //! ┌──────────┬──────────┬──────────┬───────────┐ | COMMENT |
| MEDIUM⚡ | crates/core/benches/concurrent_map.rs | 27 | //! ├──────────┼──────────┼──────────┼───────────┤ | COMMENT |
| MEDIUM⚡ | crates/core/benches/concurrent_map.rs | 30 | //! └──────────┴──────────┴──────────┴───────────┘ | COMMENT |
| MEDIUM⚡ | crates/core/benches/concurrent_map.rs | 33 | //! ┌──────────┬──────────┬──────────┬───────────┐ | COMMENT |
| MEDIUM⚡ | crates/core/benches/concurrent_map.rs | 35 | //! ├──────────┼──────────┼──────────┼───────────┤ | COMMENT |
| MEDIUM⚡ | crates/core/benches/concurrent_map.rs | 39 | //! └──────────┴──────────┴──────────┴───────────┘ | COMMENT |
| MEDIUM⚡ | crates/core/benches/concurrent_map.rs | 42 | //! ┌──────────┬──────────┬──────────┬───────────┐ | COMMENT |
| MEDIUM⚡ | crates/core/benches/concurrent_map.rs | 44 | //! ├──────────┼──────────┼──────────┼───────────┤ | COMMENT |
| MEDIUM⚡ | crates/core/benches/concurrent_map.rs | 48 | //! └──────────┴──────────┴──────────┴───────────┘ | COMMENT |
| MEDIUM | crates/adapters/okx/src/http/query.rs | 377 | // ───────── Both cursors validation | COMMENT |
| MEDIUM | crates/adapters/okx/src/http/query.rs | 385 | // ───────── Cursor chronological validation | COMMENT |
| MEDIUM | crates/adapters/okx/src/http/query.rs | 399 | // ───────── Cursor unit (≤ 13 digits ⇒ milliseconds) | COMMENT |
| MEDIUM | crates/adapters/okx/src/http/query.rs | 412 | // ───────── Limit validation | COMMENT |
| MEDIUM | …tes/adapters/derive/tests/oracle-py/generate_oracle.py | 2 | # ------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …tes/adapters/derive/tests/oracle-py/generate_oracle.py | 15 | # ------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …es/adapters/lighter/tests/oracle-py/generate_oracle.py | 2 | # ------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …es/adapters/lighter/tests/oracle-py/generate_oracle.py | 15 | # ------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | crates/infrastructure/src/redis/mod.rs | 89 | /// ┌───────────┬───────────┬────────────────────────────┐ | COMMENT |
| MEDIUM⚡ | crates/infrastructure/src/redis/mod.rs | 91 | /// ├───────────┼───────────┼────────────────────────────┤ | COMMENT |
| MEDIUM⚡ | crates/infrastructure/src/redis/mod.rs | 95 | /// └───────────┴───────────┴────────────────────────────┘ | COMMENT |
| MEDIUM | python/generate_docstrings.py | 2 | # ------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | python/generate_docstrings.py | 15 | # ------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | python/generate_stubs.py | 2 | # ------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | python/generate_stubs.py | 15 | # ------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | python/nautilus_trader/__init__.py | 1 | # ------------------------------------------------------------------------------------------------- | COMMENT |
| 640 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/generate_stubs.py | 2523 | def _fix_optional_defaults_in_line(line: str) -> str: | CODE |
| LOW | python/generate_stubs.py | 2556 | def _is_property_setter_decorator(line: str) -> bool: | CODE |
| LOW | python/generate_stubs.py | 2803 | def add_missing_model_imports(content: str) -> str: | CODE |
| LOW | python/generate_stubs.py | 2840 | def _line_contains_name_to_remove(line: str, names_to_remove: set[str]) -> bool: | CODE |
| LOW | python/generate_stubs.py | 2906 | def clean_orphaned_decorators(source: str) -> str: | CODE |
| LOW | python/generate_stubs.py | 2939 | def normalize_builtin_type_names(content: str) -> str: | CODE |
| LOW | python/generate_stubs.py | 3060 | def _infer_constant_python_type( | CODE |
| LOW | python/generate_stubs.py | 3138 | def _insert_constants_after_all(content: str, const_block: str) -> str: | CODE |
| LOW | python/generate_stubs.py | 588 | def remove_stale_top_level_adapter_stubs(root: Path) -> None: | STRING |
| LOW | python/generate_stubs.py | 667 | def _extract_signature_params_str(attr: str, open_paren: int) -> str: | STRING |
| LOW | python/generate_stubs.py | 684 | def _resolve_signature_params( | STRING |
| LOW | python/generate_stubs.py | 811 | def collect_rust_class_fixups(workspace_root: Path) -> dict[str, ClassMethodFixup]: | STRING |
| LOW | python/generate_stubs.py | 881 | def collect_renamed_enum_variants(workspace_root: Path) -> dict[str, list[str]]: | STRING |
| LOW | python/generate_stubs.py | 923 | def collect_rust_enum_variants(lines: list[str], enum_start: int) -> list[str]: | STRING |
| LOW | python/generate_stubs.py | 1000 | def renamed_enum_variant_name( | STRING |
| LOW | python/generate_stubs.py | 1030 | def normalize_enum_variant_name(name: str) -> str: | STRING |
| LOW | python/generate_stubs.py | 1037 | def fix_enum_defaults_in_signatures(content: str, renamed_enums: set[str]) -> str: | STRING |
| LOW | python/generate_stubs.py | 1064 | def _replace_forward_local_class_default( | STRING |
| LOW | python/generate_stubs.py | 1076 | def elide_forward_class_defaults_in_signatures(content: str) -> str: | STRING |
| LOW | python/generate_stubs.py | 1124 | def _collect_pyclass_name_fixups(source: str, fixups: dict[str, ClassMethodFixup]) -> None: | STRING |
| LOW | python/generate_stubs.py | 1166 | def _collect_identifier_macro_fixups(source: str, fixups: dict[str, ClassMethodFixup]) -> None: | STRING |
| LOW | python/generate_stubs.py | 1186 | def strip_double_quoted_strings(text: str) -> str: | STRING |
| LOW | python/generate_stubs.py | 1219 | def _collect_custom_data_macro_fixups(source: str, fixups: dict[str, ClassMethodFixup]) -> None: | STRING |
| LOW | python/generate_stubs.py | 1259 | def _collect_struct_field_names(lines: list[str], struct_start: int) -> set[str]: | STRING |
| LOW | python/generate_stubs.py | 1313 | def _collect_pyfunction_signature_defaults( | STRING |
| LOW | python/generate_stubs.py | 1367 | def _register_free_function_defaults( | STRING |
| LOW | python/generate_stubs.py | 1387 | def _collect_block_method_fixups( | STRING |
| LOW | python/generate_stubs.py | 1466 | def consume_rust_method_signature( | STRING |
| LOW | python/generate_stubs.py | 1484 | def register_rust_method_fixup( | STRING |
| LOW | python/generate_stubs.py | 1540 | def _register_injected_classmethod( | STRING |
| LOW | python/generate_stubs.py | 1557 | def register_rust_setter_fixup( | STRING |
| LOW | python/generate_stubs.py | 1585 | def _extract_method_signature_defaults( | STRING |
| LOW | python/generate_stubs.py | 1618 | def render_missing_staticmethod_stub( | STRING |
| LOW | python/generate_stubs.py | 1637 | def render_missing_classmethod_stub( | STRING |
| LOW | python/generate_stubs.py | 1731 | def remove_final_from_subclassable_classes( | STRING |
| LOW | python/generate_stubs.py | 1945 | def rewrite_stub_method_block( | STRING |
| LOW | python/generate_stubs.py | 1993 | def render_stub_property_setter(property_name: str, method_block: list[str]) -> list[str]: | STRING |
| LOW | python/generate_stubs.py | 2019 | def drop_stub_method_receiver(signature_text: str) -> str: | STRING |
| LOW | python/generate_stubs.py | 2102 | def relocate_classes_from_libnautilus(root: Path) -> None: | STRING |
| LOW | python/nautilus_trader/_fixup.py | 45 | def _should_fixup_module_name( | CODE |
| LOW | python/nautilus_trader/core/datetime.py | 107 | def _has_more_than_microsecond_precision(value: str) -> bool: | CODE |
| LOW | python/nautilus_trader/analysis/reporter.py | 81 | def generate_order_fills_report(orders: list) -> pd.DataFrame: | CODE |
| LOW | python/nautilus_trader/analysis/reporter.py | 142 | def generate_positions_report( | CODE |
| LOW | python/nautilus_trader/analysis/tearsheet.py | 116 | def _format_optional_duration(start_ns: int | None, end_ns: int | None) -> str: | CODE |
| LOW | python/nautilus_trader/analysis/tearsheet.py | 500 | def _create_tearsheet_from_result( | CODE |
| LOW | python/nautilus_trader/analysis/tearsheet.py | 550 | def _validate_result_node_state(node: BacktestNode, run_config_id: str) -> None: | CODE |
| LOW | python/nautilus_trader/analysis/tearsheet.py | 645 | def _resolve_tearsheet_returns( | CODE |
| LOW | python/nautilus_trader/analysis/tearsheet.py | 668 | def _calculate_snapshot_returns( | CODE |
| LOW | python/nautilus_trader/analysis/tearsheet.py | 824 | def _calculate_account_returns( | CODE |
| LOW | python/nautilus_trader/analysis/tearsheet.py | 908 | def _extract_account_balance_series( | CODE |
| LOW | python/nautilus_trader/analysis/tearsheet.py | 937 | def _calculate_daily_balance_returns(total_balance: pd.Series) -> pd.Series | None: | CODE |
| LOW | python/nautilus_trader/analysis/tearsheet.py | 955 | def _aggregate_period_returns( | CODE |
| LOW | python/nautilus_trader/analysis/tearsheet.py | 975 | def create_tearsheet_from_stats( | CODE |
| LOW | python/nautilus_trader/analysis/tearsheet.py | 1258 | def create_monthly_returns_heatmap( | CODE |
| LOW | python/nautilus_trader/analysis/tearsheet.py | 1361 | def create_returns_distribution( | CODE |
| LOW⚡ | python/tests/unit/test_msgbus.py | 70 | def test_register_adds_endpoint(bus: object) -> None: | CODE |
| LOW⚡ | python/tests/unit/test_msgbus.py | 78 | def test_deregister_removes_endpoint(bus: object) -> None: | CODE |
| LOW⚡ | python/tests/unit/test_msgbus.py | 88 | def test_send_delivers_to_endpoint(bus: object) -> None: | CODE |
| LOW⚡ | python/tests/unit/test_msgbus.py | 166 | def test_has_subscribers_with_pattern(bus: object) -> None: | CODE |
| LOW⚡ | python/tests/unit/test_msgbus.py | 175 | def test_subscribe_adds_topic(bus: object) -> None: | CODE |
| 1719 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | Cargo.toml | 530 | # Cargo ignores `panic` for bench profile (harness requires unwind to catch failures) | COMMENT |
| MEDIUM | crates/testkit/src/lib.rs | 19 | //! file handling, and common testing patterns. This crate supports robust testing workflows | COMMENT |
| MEDIUM | crates/backtest/src/config.rs | 510 | /// The account default leverage, or `None` to use the account-type default. | COMMENT |
| MEDIUM | crates/backtest/src/config.rs | 512 | /// The instrument specific leverage configuration (for margin accounts). | COMMENT |
| MEDIUM | crates/backtest/src/config.rs | 1234 | fn test_non_positive_default_leverage_rejected(#[case] leverage: Decimal) { | CODE |
| MEDIUM | crates/backtest/src/config.rs | 1252 | fn test_simulated_non_positive_instrument_leverage_rejected(#[case] leverage: Decimal) { | CODE |
| MEDIUM | crates/backtest/src/config.rs | 1450 | fn test_non_positive_sim_default_leverage_rejected(#[case] leverage: Decimal) { | CODE |
| MEDIUM | crates/adapters/okx/src/config.rs | 299 | /// Enables margin/leverage for SPOT trading when true. | COMMENT |
| MEDIUM | crates/adapters/okx/src/http/client.rs | 1050 | /// Requests position tiers information, maximum leverage depends on your borrowings and margin ratio. | COMMENT |
| MEDIUM | crates/adapters/okx/src/http/models.rs | 515 | /// Maximum available leverage. | COMMENT |
| MEDIUM | crates/adapters/okx/src/http/models.rs | 617 | /// Notional leverage. | COMMENT |
| MEDIUM | crates/adapters/okx/src/http/models.rs | 684 | /// Position leverage. | COMMENT |
| MEDIUM | crates/adapters/okx/src/http/models.rs | 1202 | /// Algo leverage configuration. | COMMENT |
| MEDIUM | crates/adapters/hyperliquid/src/common/models.rs | 702 | /// converting balances and handling the margin account type since Hyperliquid supports leverage. | COMMENT |
| MEDIUM | crates/adapters/hyperliquid/src/common/enums.rs | 499 | // Normalize: trim whitespace and convert to lowercase for robust matching | COMMENT |
| MEDIUM | crates/adapters/hyperliquid/src/common/enums.rs | 573 | /// **Deprecated**: This method uses substring matching which is fragile and not robust. | COMMENT |
| MEDIUM | crates/adapters/hyperliquid/src/http/query.rs | 39 | /// Update leverage for an asset | COMMENT |
| MEDIUM | crates/adapters/hyperliquid/src/http/query.rs | 82 | /// Parameters for updating leverage. | COMMENT |
| MEDIUM | crates/adapters/hyperliquid/src/http/query.rs | 485 | /// Creates an action to update leverage for an asset. | COMMENT |
| MEDIUM | crates/adapters/hyperliquid/src/http/query.rs | 743 | assert!(json.contains(r#""leverage":10"#)); | CODE |
| MEDIUM | crates/adapters/hyperliquid/src/http/models.rs | 129 | /// Maximum leverage allowed for this asset. | COMMENT |
| MEDIUM | crates/adapters/hyperliquid/src/http/models.rs | 146 | /// Margin tables for leverage tiers. | COMMENT |
| MEDIUM | crates/adapters/hyperliquid/src/http/models.rs | 162 | /// Maximum leverage allowed for this asset. | COMMENT |
| MEDIUM | crates/adapters/hyperliquid/src/http/models.rs | 179 | /// Margin table with leverage tiers. | COMMENT |
| MEDIUM | crates/adapters/hyperliquid/src/http/models.rs | 200 | /// Maximum leverage for this tier. | COMMENT |
| MEDIUM | crates/adapters/hyperliquid/src/http/models.rs | 1838 | /// Update leverage for a position. | COMMENT |
| MEDIUM | crates/adapters/hyperliquid/src/http/models.rs | 1848 | #[serde(rename = "leverage")] | COMMENT |
| MEDIUM | crates/adapters/hyperliquid/src/http/models.rs | 2199 | /// Maximum leverage allowed for this asset. | COMMENT |
| MEDIUM | crates/adapters/hyperliquid/src/http/rate_limits.rs | 147 | /// We count the largest array in the response (robust to schema variants). | COMMENT |
| MEDIUM | crates/adapters/hyperliquid/src/http/parse.rs | 133 | /// Maximum leverage (for perps). | COMMENT |
| MEDIUM | crates/adapters/bitmex/src/websocket/messages.rs | 1186 | /// Margin leverage | COMMENT |
| MEDIUM | crates/adapters/bitmex/src/python/http.rs | 125 | /// Update position leverage. | COMMENT |
| MEDIUM | crates/adapters/bitmex/src/python/http.rs | 142 | // Call the leverage update method once it's implemented | COMMENT |
| MEDIUM | crates/adapters/bitmex/src/python/http.rs | 143 | // let report = client.update_position_leverage(&symbol, leverage) | COMMENT |
| MEDIUM | crates/adapters/bitmex/src/http/client.rs | 860 | /// Update position leverage. | COMMENT |
| MEDIUM | crates/adapters/bitmex/src/http/client.rs | 2721 | /// Update position leverage. | COMMENT |
| MEDIUM⚡ | crates/adapters/bitmex/src/http/query.rs | 445 | /// Parameters for the POST /position/leverage endpoint. | COMMENT |
| MEDIUM⚡ | crates/adapters/bitmex/src/http/query.rs | 451 | /// Symbol to set leverage for. | COMMENT |
| MEDIUM⚡ | crates/adapters/bitmex/src/http/query.rs | 455 | /// Optional leverage for long position (isolated margin only). | COMMENT |
| MEDIUM | crates/adapters/coinbase/src/config.rs | 173 | /// Optional default leverage applied to derivatives orders. Ignored on | COMMENT |
| MEDIUM | crates/adapters/derive/tests/data_client.rs | 1982 | // Wait until the REST call lands on the mock so the test is robust | COMMENT |
| MEDIUM | crates/adapters/derive/src/http/models.rs | 706 | /// Effective leverage (perps only). | COMMENT |
| MEDIUM | crates/adapters/deribit/src/http/models.rs | 78 | /// Maximal leverage for instrument (only for futures) | COMMENT |
| MEDIUM | crates/adapters/sandbox/src/config.rs | 63 | /// The account default leverage (for margin accounts). | COMMENT |
| MEDIUM | crates/adapters/sandbox/src/config.rs | 66 | /// Per-instrument leverage overrides. | COMMENT |
| MEDIUM | crates/adapters/bybit/src/config.rs | 238 | /// Leverage configuration for futures (symbol -> leverage). | COMMENT |
| MEDIUM | crates/adapters/bybit/src/python/http.rs | 335 | /// Sets leverage for a symbol (requires authentication). | COMMENT |
| MEDIUM | crates/adapters/bybit/src/python/http.rs | 346 | /// - <https://bybit-exchange.github.io/docs/v5/position/leverage> | COMMENT |
| MEDIUM⚡ | crates/adapters/bybit/src/common/models.rs | 43 | /// Common leverage filter that describes leverage bounds and step. | COMMENT |
| MEDIUM⚡ | crates/adapters/bybit/src/common/models.rs | 47 | /// Minimum leverage supported. | COMMENT |
| MEDIUM⚡ | crates/adapters/bybit/src/common/models.rs | 49 | /// Maximum leverage supported. | COMMENT |
| MEDIUM⚡ | crates/adapters/bybit/src/common/models.rs | 51 | /// Step between successive leverage values. | COMMENT |
| MEDIUM | crates/adapters/bybit/src/common/parse.rs | 1693 | /// expects. BBO, `position_idx`, and leverage stay separate because they are already | COMMENT |
| MEDIUM | crates/adapters/bybit/src/common/rate_limit.rs | 785 | #[case("/v5/position/set-leverage", Some(BybitProductType::Linear), 10)] | COMMENT |
| MEDIUM | crates/adapters/bybit/src/http/client.rs | 1260 | /// Sets leverage for a symbol. | COMMENT |
| MEDIUM | crates/adapters/bybit/src/http/client.rs | 1275 | /// - <https://bybit-exchange.github.io/docs/v5/position/leverage> | COMMENT |
| MEDIUM | crates/adapters/bybit/src/http/client.rs | 2232 | /// Sets leverage for a symbol (requires authentication). | COMMENT |
| MEDIUM | crates/adapters/bybit/src/http/client.rs | 2243 | /// - <https://bybit-exchange.github.io/docs/v5/position/leverage> | COMMENT |
| MEDIUM | crates/adapters/bybit/src/http/query.rs | 277 | /// Body parameters for `POST /v5/position/set-leverage`. | COMMENT |
| MEDIUM | crates/adapters/bybit/src/http/query.rs | 280 | /// - <https://bybit-exchange.github.io/docs/v5/position/leverage> | COMMENT |
| 62 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …tes/adapters/derive/tests/oracle-py/generate_oracle.py | 49 | CODE | |
| LOW | …es/adapters/lighter/tests/oracle-py/generate_oracle.py | 30 | CODE | |
| LOW | python/generate_docstrings.py | 34 | CODE | |
| LOW | python/generate_stubs.py | 26 | CODE | |
| LOW | python/nautilus_trader/__init__.py | 26 | CODE | |
| LOW | python/nautilus_trader/core/__init__.py | 20 | CODE | |
| LOW | python/nautilus_trader/core/__init__.py | 21 | CODE | |
| LOW | python/nautilus_trader/core/__init__.py | 22 | CODE | |
| LOW | python/nautilus_trader/core/datetime.py | 19 | CODE | |
| LOW | python/nautilus_trader/core/datetime.py | 26 | CODE | |
| LOW | python/nautilus_trader/core/datetime.py | 27 | CODE | |
| LOW | python/nautilus_trader/core/datetime.py | 28 | CODE | |
| LOW | python/nautilus_trader/core/datetime.py | 29 | CODE | |
| LOW | python/nautilus_trader/core/datetime.py | 30 | CODE | |
| LOW | python/nautilus_trader/core/datetime.py | 31 | CODE | |
| LOW | python/nautilus_trader/core/datetime.py | 32 | CODE | |
| LOW | python/nautilus_trader/core/datetime.py | 33 | CODE | |
| LOW | python/nautilus_trader/core/datetime.py | 34 | CODE | |
| LOW | python/nautilus_trader/core/datetime.py | 35 | CODE | |
| LOW | python/nautilus_trader/analysis/themes.py | 19 | CODE | |
| LOW | python/nautilus_trader/analysis/config.py | 19 | CODE | |
| LOW | python/nautilus_trader/analysis/reporter.py | 23 | CODE | |
| LOW | python/nautilus_trader/analysis/__init__.py | 21 | CODE | |
| LOW | python/nautilus_trader/analysis/__init__.py | 27 | CODE | |
| LOW | python/nautilus_trader/analysis/__init__.py | 28 | CODE | |
| LOW | python/nautilus_trader/analysis/__init__.py | 31 | CODE | |
| LOW | python/nautilus_trader/analysis/__init__.py | 32 | CODE | |
| LOW | python/nautilus_trader/analysis/__init__.py | 33 | CODE | |
| LOW | python/nautilus_trader/analysis/__init__.py | 34 | CODE | |
| LOW | python/nautilus_trader/analysis/__init__.py | 35 | CODE | |
| LOW | python/nautilus_trader/analysis/__init__.py | 36 | CODE | |
| LOW | python/nautilus_trader/analysis/__init__.py | 37 | CODE | |
| LOW | python/nautilus_trader/analysis/__init__.py | 40 | CODE | |
| LOW | python/nautilus_trader/analysis/__init__.py | 43 | CODE | |
| LOW | python/nautilus_trader/analysis/__init__.py | 44 | CODE | |
| LOW | python/nautilus_trader/analysis/__init__.py | 45 | CODE | |
| LOW | python/nautilus_trader/analysis/__init__.py | 48 | CODE | |
| LOW | python/nautilus_trader/analysis/__init__.py | 49 | CODE | |
| LOW | python/nautilus_trader/analysis/__init__.py | 50 | CODE | |
| LOW | python/nautilus_trader/analysis/__init__.py | 51 | CODE | |
| LOW | python/nautilus_trader/analysis/__init__.py | 52 | CODE | |
| LOW | python/nautilus_trader/analysis/__init__.py | 55 | CODE | |
| LOW | python/nautilus_trader/analysis/__init__.py | 58 | CODE | |
| LOW | python/nautilus_trader/analysis/__init__.py | 59 | CODE | |
| LOW | python/nautilus_trader/analysis/__init__.py | 60 | CODE | |
| LOW | python/nautilus_trader/analysis/__init__.py | 63 | CODE | |
| LOW | python/nautilus_trader/analysis/__init__.py | 64 | CODE | |
| LOW | python/nautilus_trader/analysis/__init__.py | 65 | CODE | |
| LOW | python/nautilus_trader/analysis/__init__.py | 66 | CODE | |
| LOW | python/nautilus_trader/analysis/__init__.py | 67 | CODE | |
| LOW | python/nautilus_trader/analysis/__init__.py | 68 | CODE | |
| LOW | python/nautilus_trader/analysis/__init__.py | 69 | CODE | |
| LOW | python/nautilus_trader/analysis/__init__.py | 70 | CODE | |
| LOW | python/nautilus_trader/analysis/tearsheet.py | 23 | CODE | |
| LOW | python/nautilus_trader/config/__init__.py | 22 | CODE | |
| LOW | python/nautilus_trader/config/__init__.py | 23 | CODE | |
| LOW | python/nautilus_trader/config/__init__.py | 24 | CODE | |
| LOW | python/nautilus_trader/config/__init__.py | 25 | CODE | |
| LOW | python/nautilus_trader/config/__init__.py | 26 | CODE | |
| LOW | python/nautilus_trader/config/__init__.py | 27 | CODE | |
| 177 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | python/tests/unit/indicators/test_ema.py | 0 | test initialized with required inputs returns true. | STRING |
| HIGH | python/tests/unit/indicators/test_atr.py | 0 | test initialized with required inputs returns true. | STRING |
| HIGH | python/tests/unit/indicators/test_hma.py | 0 | test initialized with required inputs returns true. | STRING |
| HIGH | python/tests/unit/indicators/test_aroon.py | 0 | test initialized with required inputs returns true. | STRING |
| HIGH | python/tests/unit/indicators/test_rsi.py | 0 | test initialized with required inputs returns true. | STRING |
| HIGH | python/tests/unit/indicators/test_dema.py | 0 | test initialized with required inputs returns true. | STRING |
| HIGH | python/tests/unit/indicators/test_rma.py | 0 | test initialized with required inputs returns true. | STRING |
| HIGH | python/tests/unit/indicators/test_sma.py | 0 | test initialized with required inputs returns true. | STRING |
| HIGH | python/tests/unit/indicators/test_efficiency_ratio.py | 0 | test initialized with required inputs returns true. | STRING |
| HIGH | python/tests/unit/indicators/test_ema.py | 0 | test value with three inputs returns expected value. | STRING |
| HIGH | python/tests/unit/indicators/test_hma.py | 0 | test value with three inputs returns expected value. | STRING |
| HIGH | python/tests/unit/indicators/test_dema.py | 0 | test value with three inputs returns expected value. | STRING |
| HIGH | python/tests/unit/indicators/test_rma.py | 0 | test value with three inputs returns expected value. | STRING |
| HIGH | python/tests/unit/indicators/test_sma.py | 0 | test value with three inputs returns expected value. | STRING |
| HIGH | python/tests/unit/indicators/test_ema.py | 0 | test reset successfully returns indicator to fresh state. | STRING |
| HIGH | python/tests/unit/indicators/test_atr.py | 0 | test reset successfully returns indicator to fresh state. | STRING |
| HIGH | python/tests/unit/indicators/test_hma.py | 0 | test reset successfully returns indicator to fresh state. | STRING |
| HIGH | python/tests/unit/indicators/test_aroon.py | 0 | test reset successfully returns indicator to fresh state. | STRING |
| HIGH | python/tests/unit/indicators/test_rsi.py | 0 | test reset successfully returns indicator to fresh state. | STRING |
| HIGH | python/tests/unit/indicators/test_dema.py | 0 | test reset successfully returns indicator to fresh state. | STRING |
| HIGH | python/tests/unit/indicators/test_rma.py | 0 | test reset successfully returns indicator to fresh state. | STRING |
| HIGH | python/tests/unit/indicators/test_sma.py | 0 | test reset successfully returns indicator to fresh state. | STRING |
| HIGH | python/tests/unit/indicators/test_efficiency_ratio.py | 0 | test reset successfully returns indicator to fresh state. | STRING |
| HIGH | examples/live/okx/exec_tester.py | 0 | test binance spot execution with the built-in exectester strategy. warning: this example connects to binance and places | STRING |
| HIGH | examples/live/hyperliquid/exec_tester.py | 0 | test binance spot execution with the built-in exectester strategy. warning: this example connects to binance and places | STRING |
| HIGH | examples/live/coinbase/exec_tester.py | 0 | test binance spot execution with the built-in exectester strategy. warning: this example connects to binance and places | STRING |
| HIGH | examples/live/bybit/exec_tester.py | 0 | test binance spot execution with the built-in exectester strategy. warning: this example connects to binance and places | STRING |
| HIGH | examples/live/dydx/exec_tester.py | 0 | test binance spot execution with the built-in exectester strategy. warning: this example connects to binance and places | STRING |
| HIGH | examples/live/kraken/exec_tester.py | 0 | test binance spot execution with the built-in exectester strategy. warning: this example connects to binance and places | STRING |
| HIGH | examples/live/binance/exec_tester.py | 0 | test binance spot execution with the built-in exectester strategy. warning: this example connects to binance and places | STRING |
| HIGH | examples/live/architect_ax/exec_tester.py | 0 | test deribit execution with the built-in exectester strategy. this example connects to the deribit testnet and places li | STRING |
| HIGH | examples/live/derive/exec_tester.py | 0 | test deribit execution with the built-in exectester strategy. this example connects to the deribit testnet and places li | STRING |
| HIGH | examples/live/deribit/exec_tester.py | 0 | test deribit execution with the built-in exectester strategy. this example connects to the deribit testnet and places li | STRING |
| HIGH | examples/live/hyperliquid/data_tester.py | 0 | stream kraken market data with the built-in datatester actor. running this example connects to kraken and starts subscri | STRING |
| HIGH | examples/live/coinbase/data_tester.py | 0 | stream kraken market data with the built-in datatester actor. running this example connects to kraken and starts subscri | STRING |
| HIGH | examples/live/polymarket/data_tester.py | 0 | stream kraken market data with the built-in datatester actor. running this example connects to kraken and starts subscri | STRING |
| HIGH | examples/live/derive/data_tester.py | 0 | stream kraken market data with the built-in datatester actor. running this example connects to kraken and starts subscri | STRING |
| HIGH | examples/live/deribit/data_tester.py | 0 | stream kraken market data with the built-in datatester actor. running this example connects to kraken and starts subscri | STRING |
| HIGH | examples/live/bybit/data_tester.py | 0 | stream kraken market data with the built-in datatester actor. running this example connects to kraken and starts subscri | STRING |
| HIGH | examples/live/dydx/data_tester.py | 0 | stream kraken market data with the built-in datatester actor. running this example connects to kraken and starts subscri | STRING |
| HIGH | examples/live/kraken/data_tester.py | 0 | stream kraken market data with the built-in datatester actor. running this example connects to kraken and starts subscri | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | crates/adapters/tardis/bin/example_replay.rs | 24 | // -e "TM_API_KEY=YOUR_API_KEY" \ | COMMENT |
| HIGH | crates/adapters/binance/README.md | 51 | export BINANCE_API_KEY="your-api-key-from-binance" | CODE |
| HIGH | docs/how_to/run_rust_live_trading.md | 123 | export OKX_API_KEY="your_api_key" | CODE |
| HIGH | docs/integrations/binance.md | 1182 | export BINANCE_API_KEY="your-api-key-from-binance" | CODE |
| HIGH | docs/integrations/binance.md | 1278 | api_key="YOUR_API_KEY", | CODE |
| HIGH | docs/integrations/bybit.md | 111 | api_key="YOUR_API_KEY", | CODE |
| HIGH | docs/integrations/bybit.md | 581 | api_key="YOUR_API_KEY", | CODE |
| HIGH | docs/integrations/kraken.md | 504 | api_key="YOUR_API_KEY", | CODE |
| HIGH | docs/integrations/kraken.md | 537 | api_key="YOUR_API_KEY", | CODE |
| HIGH | docs/integrations/okx.md | 895 | export OKX_API_KEY="your_api_key" | CODE |
| HIGH | docs/integrations/bitmex.md | 598 | api_key="YOUR_API_KEY", | CODE |
| HIGH | docs/integrations/bitmex.md | 666 | api_key="YOUR_API_KEY", | CODE |
| HIGH | docs/integrations/bitmex.md | 740 | api_key="YOUR_API_KEY", | CODE |
| HIGH | docs/integrations/bitmex.md | 865 | api_key="YOUR_API_KEY", # Or use os.getenv("BITMEX_API_KEY") | CODE |
| HIGH | docs/integrations/bitmex.md | 871 | api_key="YOUR_API_KEY", | CODE |
| HIGH | docs/integrations/coinbase.md | 143 | api_key="YOUR_API_KEY", | CODE |
| HIGH | docs/tutorials/options_data_bybit.md | 62 | export BYBIT_API_KEY="your-api-key" | CODE |
| HIGH | docs/tutorials/delta_neutral_options_bybit.md | 33 | export BYBIT_API_KEY="your-api-key" | CODE |
| HIGH | docs/tutorials/gold_book_imbalance_ax.md | 72 | export DATABENTO_API_KEY="your-api-key" | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | crates/network/src/websocket/auth.rs | 691 | // Step 1: Begin authentication | COMMENT |
| LOW⚡ | crates/network/src/websocket/auth.rs | 694 | // Step 2: Spawn resubscription task that waits for auth | COMMENT |
| LOW⚡ | crates/adapters/okx/src/websocket/client.rs | 4431 | client.subscriptions_state.confirm_unsubscribe(topic); // Step 1: clear pending_unsubscribe | CODE |
| LOW⚡ | crates/adapters/okx/src/websocket/client.rs | 4432 | client.subscriptions_state.mark_subscribe(topic); // Step 2: mark as subscribing | CODE |
| LOW⚡ | crates/adapters/okx/src/websocket/client.rs | 4433 | client.subscriptions_state.confirm_subscribe(topic); // Step 3: confirm subscription | CODE |
| LOW⚡ | crates/adapters/hyperliquid/src/signing/signers.rs | 128 | // Step 4: Create Agent struct | COMMENT |
| LOW⚡ | crates/adapters/hyperliquid/src/signing/signers.rs | 136 | // Step 5: Sign Agent with EIP-712 | COMMENT |
| LOW⚡ | crates/adapters/bitmex/src/websocket/client.rs | 1423 | client.subscriptions.confirm_unsubscribe(&topic); // Step 1: clear pending_unsubscribe | CODE |
| LOW⚡ | crates/adapters/bitmex/src/websocket/client.rs | 1424 | client.subscriptions.mark_subscribe(&topic); // Step 2: mark as subscribing | CODE |
| LOW⚡ | crates/adapters/bitmex/src/websocket/client.rs | 1425 | client.subscriptions.confirm_subscribe(&topic); // Step 3: confirm subscription | CODE |
| LOW⚡ | crates/adapters/polymarket/src/websocket/dispatch.rs | 2476 | // Step 1: Dispatch cancel (simulates message A from the bug) | COMMENT |
| LOW⚡ | crates/adapters/polymarket/src/websocket/dispatch.rs | 2486 | // Step 2: Dispatch trade fill (simulates trade arriving after cancel) | COMMENT |
| LOW | crates/adapters/polymarket/src/execution/responses.rs | 2502 | // Step 1: the WS taker trade arrives BEFORE the submit response. The order is not yet | COMMENT |
| LOW | crates/adapters/polymarket/src/execution/responses.rs | 2527 | // Step 2: the submit response arrives, registers the order, and drains the buffered fill | COMMENT |
| LOW | crates/adapters/polymarket/src/execution/responses.rs | 2611 | // Step 1: the WS cancel arrives BEFORE the submit response and buffers (order unregistered) | COMMENT |
| LOW | crates/adapters/polymarket/src/execution/responses.rs | 2633 | // Step 2: the submit response registers the order and drains the buffered cancel | COMMENT |
| LOW⚡ | crates/adapters/blockchain/src/data/subscription.rs | 1069 | // Step 1: Register DEX | COMMENT |
| LOW⚡ | crates/adapters/blockchain/src/data/subscription.rs | 1079 | // Step 2: Subscribe to events | COMMENT |
| LOW⚡ | crates/adapters/blockchain/src/data/subscription.rs | 1085 | // Step 3: Verify subscriptions | COMMENT |
| LOW⚡ | crates/adapters/blockchain/src/data/subscription.rs | 1091 | // Step 4: Get event signatures | COMMENT |
| LOW⚡ | crates/adapters/blockchain/src/data/subscription.rs | 1095 | // Step 5: Unsubscribe from some events | COMMENT |
| LOW⚡ | crates/adapters/blockchain/src/data/subscription.rs | 1099 | // Step 6: Verify remaining subscriptions (only pool1 mint remains) | COMMENT |
| LOW⚡ | …ples/other/minimal_reproducible_example/run_example.py | 131 | # Step 2: Define exchange and add it to the engine | COMMENT |
| LOW⚡ | …ples/other/minimal_reproducible_example/run_example.py | 142 | # Step 3: Create instrument definition and add it to the engine | COMMENT |
| LOW⚡ | …ples/other/minimal_reproducible_example/run_example.py | 167 | # Step 5: Create strategy and add it to the engine | COMMENT |
| LOW⚡ | …ples/other/minimal_reproducible_example/run_example.py | 171 | # Step 6: Run engine = Run backtest | COMMENT |
| LOW⚡ | …ples/other/minimal_reproducible_example/run_example.py | 174 | # Step 7: Release system resources | COMMENT |
| LOW | …ples/other/minimal_reproducible_example/run_example.py | 117 | # Step 1: Configure and create backtest engine | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | crates/network/src/websocket/auth.rs | 691 | // Step 1: Begin authentication | COMMENT |
| LOW⚡ | crates/network/src/websocket/auth.rs | 694 | // Step 2: Spawn resubscription task that waits for auth | COMMENT |
| LOW⚡ | crates/adapters/okx/src/websocket/client.rs | 4431 | client.subscriptions_state.confirm_unsubscribe(topic); // Step 1: clear pending_unsubscribe | CODE |
| LOW⚡ | crates/adapters/okx/src/websocket/client.rs | 4432 | client.subscriptions_state.mark_subscribe(topic); // Step 2: mark as subscribing | CODE |
| LOW⚡ | crates/adapters/okx/src/websocket/client.rs | 4433 | client.subscriptions_state.confirm_subscribe(topic); // Step 3: confirm subscription | CODE |
| LOW⚡ | crates/adapters/hyperliquid/src/signing/signers.rs | 128 | // Step 4: Create Agent struct | COMMENT |
| LOW⚡ | crates/adapters/hyperliquid/src/signing/signers.rs | 136 | // Step 5: Sign Agent with EIP-712 | COMMENT |
| LOW⚡ | crates/adapters/bitmex/src/websocket/client.rs | 1423 | client.subscriptions.confirm_unsubscribe(&topic); // Step 1: clear pending_unsubscribe | CODE |
| LOW⚡ | crates/adapters/bitmex/src/websocket/client.rs | 1424 | client.subscriptions.mark_subscribe(&topic); // Step 2: mark as subscribing | CODE |
| LOW⚡ | crates/adapters/bitmex/src/websocket/client.rs | 1425 | client.subscriptions.confirm_subscribe(&topic); // Step 3: confirm subscription | CODE |
| LOW⚡ | crates/adapters/polymarket/src/websocket/dispatch.rs | 2476 | // Step 1: Dispatch cancel (simulates message A from the bug) | COMMENT |
| LOW⚡ | crates/adapters/polymarket/src/websocket/dispatch.rs | 2486 | // Step 2: Dispatch trade fill (simulates trade arriving after cancel) | COMMENT |
| LOW | crates/adapters/polymarket/src/execution/responses.rs | 2502 | // Step 1: the WS taker trade arrives BEFORE the submit response. The order is not yet | COMMENT |
| LOW | crates/adapters/polymarket/src/execution/responses.rs | 2527 | // Step 2: the submit response arrives, registers the order, and drains the buffered fill | COMMENT |
| LOW | crates/adapters/polymarket/src/execution/responses.rs | 2611 | // Step 1: the WS cancel arrives BEFORE the submit response and buffers (order unregistered) | COMMENT |
| LOW | crates/adapters/polymarket/src/execution/responses.rs | 2633 | // Step 2: the submit response registers the order and drains the buffered cancel | COMMENT |
| LOW⚡ | crates/adapters/blockchain/src/data/subscription.rs | 1069 | // Step 1: Register DEX | COMMENT |
| LOW⚡ | crates/adapters/blockchain/src/data/subscription.rs | 1079 | // Step 2: Subscribe to events | COMMENT |
| LOW⚡ | crates/adapters/blockchain/src/data/subscription.rs | 1085 | // Step 3: Verify subscriptions | COMMENT |
| LOW⚡ | crates/adapters/blockchain/src/data/subscription.rs | 1091 | // Step 4: Get event signatures | COMMENT |
| LOW⚡ | crates/adapters/blockchain/src/data/subscription.rs | 1095 | // Step 5: Unsubscribe from some events | COMMENT |
| LOW⚡ | crates/adapters/blockchain/src/data/subscription.rs | 1099 | // Step 6: Verify remaining subscriptions (only pool1 mint remains) | COMMENT |
| LOW⚡ | …ples/other/minimal_reproducible_example/run_example.py | 131 | # Step 2: Define exchange and add it to the engine | COMMENT |
| LOW⚡ | …ples/other/minimal_reproducible_example/run_example.py | 142 | # Step 3: Create instrument definition and add it to the engine | COMMENT |
| LOW⚡ | …ples/other/minimal_reproducible_example/run_example.py | 167 | # Step 5: Create strategy and add it to the engine | COMMENT |
| LOW⚡ | …ples/other/minimal_reproducible_example/run_example.py | 171 | # Step 6: Run engine = Run backtest | COMMENT |
| LOW⚡ | …ples/other/minimal_reproducible_example/run_example.py | 174 | # Step 7: Release system resources | COMMENT |
| LOW | …ples/other/minimal_reproducible_example/run_example.py | 117 | # Step 1: Configure and create backtest engine | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/generate_docstrings.py | 117 | CODE | |
| LOW | python/generate_docstrings.py | 209 | CODE | |
| LOW | python/generate_docstrings.py | 385 | CODE | |
| LOW | python/generate_stubs.py | 445 | CODE | |
| LOW | python/generate_stubs.py | 667 | CODE | |
| LOW | python/generate_stubs.py | 728 | CODE | |
| LOW | python/generate_stubs.py | 839 | CODE | |
| LOW | python/generate_stubs.py | 1124 | CODE | |
| LOW | python/generate_stubs.py | 1186 | CODE | |
| LOW | python/generate_stubs.py | 1344 | CODE | |
| LOW | python/generate_stubs.py | 1440 | CODE | |
| LOW | python/generate_stubs.py | 2231 | CODE | |
| LOW | python/generate_stubs.py | 2446 | CODE | |
| LOW | python/generate_stubs.py | 2468 | CODE | |
| LOW | python/generate_stubs.py | 2491 | CODE | |
| LOW | python/generate_stubs.py | 2507 | CODE | |
| LOW | python/generate_stubs.py | 2675 | CODE | |
| LOW | python/generate_stubs.py | 2711 | CODE | |
| LOW | python/generate_stubs.py | 2741 | CODE | |
| LOW | python/generate_stubs.py | 3060 | CODE | |
| LOW | python/generate_stubs.py | 3223 | CODE | |
| LOW | python/nautilus_trader/analysis/tearsheet.py | 596 | CODE | |
| LOW | python/nautilus_trader/analysis/tearsheet.py | 2473 | CODE | |
| LOW | python/tests/unit/test_generate_stubs.py | 1893 | CODE | |
| LOW | python/tests/unit/test_generate_stubs.py | 2048 | CODE | |
| LOW | python/tests/unit/test_generate_stubs.py | 2744 | CODE | |
| LOW | python/tests/unit/test_generate_stubs.py | 3211 | CODE | |
| LOW | python/tests/unit/test_generate_stubs.py | 3285 | CODE | |
| LOW | python/tests/unit/test_public_module_names.py | 67 | CODE | |
| LOW | python/tests/unit/analysis/test_reporter.py | 360 | CODE | |
| LOW | python/tests/unit/indicators/test_python_handlers.py | 65 | CODE | |
| LOW | …sts/unit/adapters/polymarket/test_polymarket_loader.py | 103 | CODE | |
| LOW | python/tests/integration/test_live_node_uvicorn.py | 63 | CODE | |
| LOW | python/tests/integration/test_live_node_uvicorn.py | 71 | CODE | |
| LOW | python/tests/strategies/backtest_surface.py | 131 | CODE | |
| LOW | python/tests/strategies/backtest_surface.py | 343 | CODE | |
| LOW | python/tests/acceptance/test_backtest.py | 1350 | CODE | |
| LOW | .pre-commit-hooks/check_pyo3_names.py | 40 | CODE | |
| LOW | .pre-commit-hooks/check_pyo3_names.py | 112 | CODE | |
| LOW | patches/pyo3-stub-gen/src/docgen/sphinx_ext.py | 19 | CODE | |
| LOW | patches/pyo3-stub-gen/src/docgen/sphinx_ext.py | 158 | CODE | |
| LOW | patches/pyo3-stub-gen/src/docgen/sphinx_ext.py | 272 | CODE | |
| LOW | patches/pyo3-stub-gen/src/docgen/sphinx_ext.py | 313 | CODE | |
| LOW | patches/pyo3-stub-gen/src/docgen/sphinx_ext.py | 410 | CODE | |
| LOW | patches/pyo3-stub-gen/src/docgen/sphinx_ext.py | 583 | CODE | |
| LOW | patches/pyo3-stub-gen/src/docgen/sphinx_ext.py | 609 | CODE | |
| LOW | patches/pyo3-stub-gen/src/docgen/sphinx_ext.py | 32 | CODE | |
| LOW | patches/pyo3-stub-gen/src/docgen/sphinx_ext.py | 1115 | CODE | |
| LOW | patches/pyo3-stub-gen/src/docgen/sphinx_ext.py | 1147 | CODE | |
| LOW | patches/pyo3-stub-gen/src/docgen/sphinx_ext.py | 1252 | CODE | |
| LOW | docs/tutorials/orderbook_data.py | 145 | CODE | |
| LOW | docs/tutorials/ema_cross.py | 63 | CODE | |
| LOW | …cs/tutorials/assets/hurst_vpin_kraken/render_panels.py | 95 | CODE | |
| LOW | docs/getting_started/backtest_low_level.py | 178 | CODE | |
| LOW | docs/getting_started/quickstart.py | 75 | CODE | |
| LOW | scripts/benchmark-backtest-versions.py | 612 | CODE | |
| LOW | scripts/benchmark-backtest-versions.py | 638 | CODE | |
| LOW | scripts/benchmark-backtest-versions.py | 1291 | CODE | |
| LOW | scripts/benchmark-backtest-versions.py | 1508 | CODE | |
| LOW | scripts/benchmark-backtest-versions.py | 687 | CODE | |
| 2 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | python/tests/unit/analysis/test_reporter.py | 413 | assert orders.equals(expected) | CODE |
| HIGH⚡ | python/tests/unit/backtest/test_backtest_node.py | 645 | assert orders_report.equals(ReportProvider.generate_orders_report(orders)) | CODE |
| HIGH⚡ | python/tests/unit/backtest/test_backtest_node.py | 646 | assert order_fills_report.equals(ReportProvider.generate_order_fills_report(orders)) | CODE |
| HIGH⚡ | python/tests/unit/backtest/test_backtest_node.py | 647 | assert fills_report.equals(ReportProvider.generate_fills_report(orders)) | CODE |
| HIGH⚡ | python/tests/unit/backtest/test_backtest_node.py | 648 | assert positions_report.equals( | CODE |
| HIGH⚡ | python/tests/unit/backtest/test_backtest_node.py | 651 | assert account_report.equals(ReportProvider.generate_account_report(account)) | CODE |
| HIGH⚡ | python/tests/unit/backtest/test_backtest_node.py | 652 | assert account_report_by_id.equals(account_report) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | python/generate_stubs.py | 53 | # This file is automatically generated by pyo3_stub_gen | COMMENT |
| MEDIUM | python/tests/unit/test_public_module_names.py | 30 | GENERATED_HEADER = "# This file is automatically generated by pyo3_stub_gen" | CODE |
| MEDIUM | .pre-commit-hooks/cargo_fmt_stable.sh | 11 | # Create an empty rustfmt.toml in the temp directory | COMMENT |
| MEDIUM | patches/pyo3-stub-gen/src/generate/module.rs | 53 | writeln!(f, "# This file is automatically generated by pyo3_stub_gen")?; | CODE |
| MEDIUM | patches/pyo3-stub-gen/src/generate/module.rs | 311 | writeln!(f, "# This file is automatically generated by pyo3_stub_gen")?; | CODE |
| MEDIUM | patches/pyo3-stub-gen/src/docgen/sphinx_ext.py | 988 | # Create a list item with a reference | COMMENT |
| MEDIUM | patches/pyo3-stub-gen/src/docgen/sphinx_ext.py | 995 | # Create a reference to the submodule's documentation page | COMMENT |
| MEDIUM | patches/pyo3-stub-gen/src/docgen/sphinx_ext.py | 1074 | # Create a single bullet list for all submodules | COMMENT |
| MEDIUM | patches/pyo3-stub-gen/src/docgen/sphinx_ext.py | 1209 | # Create a single bullet list for all submodules | COMMENT |
| MEDIUM | docs/how_to/data_catalog_databento.py | 114 | # Create a catalog instance | COMMENT |
| MEDIUM | docs/tutorials/orderbook_imbalance.py | 4 | # Define the reusable order book imbalance strategy used by the Binance and Bybit | COMMENT |
| MEDIUM | docs/tutorials/ema_cross.py | 4 | # Define the reusable bar-based EMA cross strategy used by the FX bars tutorial. | COMMENT |
| MEDIUM | docs/tutorials/backtest_orderbook_binance.py | 139 | # Define the instrument with the public model API, then convert each loader row | COMMENT |
| MEDIUM | docs/getting_started/backtest_high_level.py | 77 | # Create a EUR/USD instrument on the SIM venue and parse the CSV into quote ticks | COMMENT |
| MEDIUM | docs/getting_started/backtest_high_level.py | 99 | # Create a catalog instance | COMMENT |
| MEDIUM | docs/getting_started/quickstart.py | 145 | # Create a EUR/USD instrument on the SIM venue | COMMENT |
| MEDIUM | scripts/install-capnp.sh | 55 | # Create a temp directory with cleanup trap | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/nautilus_trader/core/datetime.py | 42 | __all__ = [ | CODE |
| LOW | python/nautilus_trader/config/__init__.py | 57 | __all__ = [ | CODE |
| LOW | python/nautilus_trader/testkit/providers.py | 59 | __all__ = [ | CODE |
| LOW | python/nautilus_trader/adapters/okx/__init__.py | 23 | __all__ = [ | CODE |
| LOW | …thon/nautilus_trader/adapters/architect_ax/__init__.py | 25 | __all__ = [ | CODE |
| LOW | python/nautilus_trader/adapters/hyperliquid/__init__.py | 23 | __all__ = [ | CODE |
| LOW | …utilus_trader/adapters/interactive_brokers/__init__.py | 25 | __all__ = [ | CODE |
| LOW | python/nautilus_trader/adapters/bitmex/__init__.py | 25 | __all__ = [ | CODE |
| LOW | python/nautilus_trader/adapters/coinbase/__init__.py | 23 | __all__ = [ | CODE |
| LOW | python/nautilus_trader/adapters/polymarket/__init__.py | 25 | __all__ = [ | CODE |
| LOW | python/nautilus_trader/adapters/derive/__init__.py | 23 | __all__ = [ | CODE |
| LOW | python/nautilus_trader/adapters/blockchain/__init__.py | 25 | __all__ = [ | CODE |
| LOW | python/nautilus_trader/adapters/tardis/__init__.py | 23 | __all__ = [ | CODE |
| LOW | python/nautilus_trader/adapters/deribit/__init__.py | 25 | __all__ = [ | CODE |
| LOW | python/nautilus_trader/adapters/sandbox/__init__.py | 25 | __all__ = [ | CODE |
| LOW | python/nautilus_trader/adapters/bybit/__init__.py | 25 | __all__ = [ | CODE |
| LOW | python/nautilus_trader/adapters/betfair/__init__.py | 25 | __all__ = [ | CODE |
| LOW | python/nautilus_trader/adapters/dydx/__init__.py | 25 | __all__ = [ | CODE |
| LOW | python/nautilus_trader/adapters/kraken/__init__.py | 25 | __all__ = [ | CODE |
| LOW | python/nautilus_trader/adapters/lighter/__init__.py | 23 | __all__ = [ | CODE |
| LOW | python/nautilus_trader/adapters/databento/__init__.py | 23 | __all__ = [ | CODE |
| LOW | python/nautilus_trader/adapters/binance/__init__.py | 28 | __all__ = [ | CODE |
| LOW | python/tests/providers.py | 24 | __all__ = [ | CODE |
| LOW⚡ | python/tests/unit/test_generate_stubs.py | 1485 | __all__ = ["BINANCE", "MissingSymbol"] | CODE |
| LOW⚡ | python/tests/unit/test_generate_stubs.py | 1490 | __all__ = ["BINANCE"] | CODE |
| LOW | python/tests/unit/test_generate_stubs.py | 872 | def set_actor_id(self, actor_id: model.ActorId | None = ...) -> None: ... | CODE |
| LOW | python/tests/unit/test_generate_stubs.py | 1432 | __all__ = [ | CODE |
| LOW | python/tests/unit/test_generate_stubs.py | 1440 | __all__ = [ | CODE |
| LOW | python/tests/unit/test_generate_stubs.py | 1539 | __all__ = [ | CODE |
| LOW | python/tests/unit/test_generate_stubs.py | 1561 | __all__ = [ | CODE |
| LOW | python/tests/unit/test_generate_stubs.py | 177 | __all__ = [ | STRING |
| LOW | python/tests/unit/test_generate_stubs.py | 214 | __all__ = ["TearsheetConfig"] | STRING |
| LOW | python/tests/integration/test_live_node_cache.py | 103 | def set_saved_state(cls, saved_state: dict[str, bytes]) -> None: | CODE |
| LOW | python/tests/integration/test_live_node_cache.py | 132 | def set_saved_state(cls, saved_state: dict[str, bytes]) -> None: | CODE |
| LOW | python/tests/strategies/backtest_surface.py | 216 | def _update_bar_state(self, bar: Bar) -> None: | CODE |
| LOW | python/tests/strategies/acceptance.py | 739 | def _update_indicators(self, bar: Bar) -> None: | CODE |
| LOW | …/interactive_brokers/notebooks/order_example_driver.py | 109 | def set_databento_request_contracts_default() -> None: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/generate_stubs.py | 2092 | # Check if D401 is already in the header | STRING |
| LOW | .pre-commit-hooks/check_non_latin_text.sh | 7 | # Check if perl is available | COMMENT |
| LOW | .pre-commit-hooks/check_tokio_usage.sh | 54 | # Check if tokio appears as a regular dependency (not in [dev-dependencies]) | COMMENT |
| LOW | .pre-commit-hooks/check_tokio_usage.sh | 104 | # Check if it's Duration specifically (should use std::time::Duration) | COMMENT |
| LOW | .pre-commit-hooks/check_nautilus_conventions.sh | 71 | # Check if allow marker in context or current line | COMMENT |
| LOW | .pre-commit-hooks/check_cargo_conventions.sh | 343 | # Check if the order is correct: rlib before staticlib before cdylib | COMMENT |
| LOW | .pre-commit-hooks/check_cargo_conventions.sh | 380 | # Check if any crate uses this dependency with workspace = true | COMMENT |
| LOW | .pre-commit-hooks/check_cargo_conventions.sh | 497 | # Check if used by core crates (not in adapters/) | COMMENT |
| LOW | .pre-commit-hooks/check_logging_conventions.sh | 46 | # Read file and accumulate multi-line use statements | COMMENT |
| LOW | .pre-commit-hooks/check_logging_conventions.sh | 66 | # Check if statement is complete (ends with semicolon) | COMMENT |
| LOW | .pre-commit-hooks/check_logging_conventions.sh | 71 | # Check if normalized statement contains a forbidden macro as a word | COMMENT |
| LOW | patches/pyo3-stub-gen/src/docgen/sphinx_ext.py | 60 | # Check if it's a qualified external type | COMMENT |
| LOW | patches/pyo3-stub-gen/src/docgen/sphinx_ext.py | 75 | # Check if it's py:data or py:class in typing module | COMMENT |
| LOW | patches/pyo3-stub-gen/src/docgen/sphinx_ext.py | 198 | # Check if this is a union type by looking for '|' in display | COMMENT |
| LOW | scripts/find-replace.sh | 58 | # Check if ripgrep is available | COMMENT |
| LOW | scripts/regen-capnp.sh | 36 | # Check if capnp is installed | COMMENT |
| LOW | scripts/regen-capnp.sh | 112 | # Check if there are any changes | COMMENT |
| LOW | scripts/install-capnp.sh | 46 | # Check if already installed to save time | COMMENT |
| LOW | scripts/install-capnp.sh | 92 | # Check if already installed with correct version | COMMENT |
| LOW | scripts/ci/install-nautilus-cli.sh | 45 | # Check if forced to build from source | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | crates/adapters/lighter/fuzz/pornin/grind.sh | 7 | # Usage: | COMMENT |
| LOW | scripts/regen-capnp.sh | 12 | # Usage: | COMMENT |
| LOW | scripts/purge-orphan-dev-wheels.sh | 10 | # Usage: | COMMENT |
| LOW | scripts/curate-dataset.sh | 10 | # Usage: | COMMENT |
| LOW | scripts/ci/publish-release-checksums.sh | 4 | # Usage: | COMMENT |
| LOW | scripts/ci/publish-cargo-crates.sh | 4 | # Usage: | COMMENT |
| LOW | scripts/ci/verify-published-registries.bash | 4 | # Usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | crates/adapters/betfair/tests/stream_client.rs | 1042 | /// venue partitions matched orders by strategy ref / account id as requested. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | crates/adapters/derive/src/execution.rs | 3373 | assert!(msg.contains("placeholder"), "unexpected error: {msg}",); | CODE |
| LOW | …ters/deribit/test_data/http_get_account_summaries.json | 6 | "email": "user@example.com", | CODE |
| LOW | …test_data/http_get_account_summaries_cross_margin.json | 6 | "email": "user@example.com", | CODE |
| LOW | crates/common/src/messages/system/socket.rs | 258 | #[case("user@example.com")] | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/nautilus_trader/analysis/tearsheet.py | 366 | CODE | |
| LOW | python/nautilus_trader/analysis/tearsheet.py | 975 | CODE | |
| LOW | python/tests/unit/model/factories.py | 188 | CODE | |
| LOW | python/tests/unit/model/test_position.py | 56 | CODE | |
| LOW | python/tests/strategies/acceptance.py | 560 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | crates/adapters/blockchain/examples/node_data_tester.rs | 53 | // IMPORTANT: The actor definitions below are EXAMPLE CODE for demonstration purposes. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | crates/adapters/lighter/src/signing/tx/encode.rs | 566 | // the helper fail loudly on the test scaffold rather than producing | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | python/generate_stubs.py | 299 | print(f"Error: {result.stderr}") | STRING |
| LOW | python/tests/unit/test_generate_stubs.py | 3438 | except Exception: # noqa: S112 | STRING |
| LOW | python/tests/unit/analysis/test_tearsheet.py | 941 | except Exception as e: | CODE |
| LOW | patches/pyo3-stub-gen/src/docgen/sphinx_ext.py | 383 | except Exception: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | crates/persistence/src/backend/feather.rs | 550 | /// TODO: Fix error type to handle arrow error and object store error | COMMENT |