Production-grade Rust-native trading engine with deterministic event-driven architecture
This report summarizes scanner evidence for nautechsystems/nautilus_trader, a Rust project with 29,820 GitHub stars. SynthScan examined 2,391,888 lines of code across 4686 source files, recording 10345 pattern matches distributed across 22 syntactic categories. The legacy adjusted pattern signal is 5.1 (Moderate pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 9163 finding(s).
Are imports declared and package/API names verified? 280 finding(s).
Are wrappers, guards, and repeated structures necessary? 3219 finding(s).
Which changes need focused human review? 10345 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 10345 distinct pattern matches across 22 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Cargo.toml | 521 | # ----------------------------------------------------------------------------- | COMMENT |
| LOW | Cargo.toml | 541 | incremental = false | COMMENT |
| LOW | deny.toml | 41 | COMMENT | |
| LOW | deny.toml | 101 | COMMENT | |
| LOW | crates/lib.rs | 1 | // ------------------------------------------------------------------------------------------------- | COMMENT |
| LOW | crates/lib.rs | 21 | //! | COMMENT |
| LOW | crates/core/build.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/nanos_parsing.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/benches/collections.rs | 1 | // ------------------------------------------------------------------------------------------------- | COMMENT |
| LOW | crates/core/benches/nanos_parsing/corpus.rs | 1 | // ------------------------------------------------------------------------------------------------- | COMMENT |
| LOW | crates/core/benches/hex/edges.rs | 1 | // ------------------------------------------------------------------------------------------------- | COMMENT |
| LOW | crates/core/benches/hex/corpus.rs | 1 | // ------------------------------------------------------------------------------------------------- | COMMENT |
| LOW | crates/core/benches/uuid/corpus.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 | 261 | /// Checks if the string `s` is not empty. | COMMENT |
| LOW | crates/core/src/correctness.rs | 321 | COMMENT | |
| LOW | crates/core/src/correctness.rs | 941 | #[case("a")] | COMMENT |
| LOW | crates/core/src/correctness.rs | 1041 | #[rstest] | COMMENT |
| LOW | crates/core/src/correctness.rs | 1061 | assert!(check_string_contains(s, pat, "value").is_err()); | COMMENT |
| LOW | crates/core/src/correctness.rs | 1081 | assert_eq!(result, expected); | COMMENT |
| LOW | crates/core/src/correctness.rs | 1121 | #[case(0, 0, "left", "right", true)] | COMMENT |
| LOW | crates/core/src/correctness.rs | 1201 | } | COMMENT |
| LOW | crates/core/src/correctness.rs | 1301 | #[case] param: &str, | COMMENT |
| LOW | crates/core/src/correctness.rs | 1321 | #[case(1.0 + 1e16, 0.0, 1.0, "value")] | COMMENT |
| LOW | crates/core/src/correctness.rs | 1421 | #[rstest] | COMMENT |
| LOW | crates/core/src/correctness.rs | 1521 | #[case] map_name: &str, | COMMENT |
| LOW | crates/core/src/correctness.rs | 1561 | } | 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/interval.rs | 1 | // ------------------------------------------------------------------------------------------------- | 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 |
| 6480 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | Cargo.toml | 504 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | Cargo.toml | 506 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | Cargo.toml | 511 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | Cargo.toml | 521 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | Cargo.toml | 523 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | Cargo.toml | 534 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | Cargo.toml | 544 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | Cargo.toml | 546 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | Cargo.toml | 555 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | Cargo.toml | 90 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | Cargo.toml | 94 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | Cargo.toml | 114 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | Cargo.toml | 119 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | Cargo.toml | 329 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | Cargo.toml | 331 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | Cargo.toml | 360 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | Cargo.toml | 362 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | Cargo.toml | 385 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | Cargo.toml | 387 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | Cargo.toml | 398 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | Cargo.toml | 400 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | Cargo.toml | 423 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | Cargo.toml | 425 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | deny.toml | 4 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | deny.toml | 6 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | deny.toml | 14 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | deny.toml | 16 | # ============================================================================= | COMMENT |
| MEDIUM | deny.toml | 55 | # ============================================================================= | COMMENT |
| MEDIUM | deny.toml | 57 | # ============================================================================= | COMMENT |
| MEDIUM | deny.toml | 109 | # ============================================================================= | COMMENT |
| MEDIUM | deny.toml | 111 | # ============================================================================= | COMMENT |
| MEDIUM | deny.toml | 234 | # ============================================================================= | COMMENT |
| MEDIUM | deny.toml | 236 | # ============================================================================= | 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 | 386 | // ───────── Both cursors validation | COMMENT |
| MEDIUM | crates/adapters/okx/src/http/query.rs | 394 | // ───────── Cursor chronological validation | COMMENT |
| MEDIUM | crates/adapters/okx/src/http/query.rs | 408 | // ───────── Cursor unit (≤ 13 digits ⇒ milliseconds) | COMMENT |
| MEDIUM | crates/adapters/okx/src/http/query.rs | 421 | // ───────── Limit validation | COMMENT |
| MEDIUM⚡ | crates/infrastructure/src/redis/mod.rs | 91 | /// ┌───────────┬───────────┬────────────────────────────┐ | COMMENT |
| MEDIUM⚡ | crates/infrastructure/src/redis/mod.rs | 93 | /// ├───────────┼───────────┼────────────────────────────┤ | COMMENT |
| MEDIUM⚡ | crates/infrastructure/src/redis/mod.rs | 97 | /// └───────────┴───────────┴────────────────────────────┘ | 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 |
| MEDIUM | python/nautilus_trader/__init__.py | 14 | # ------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | python/nautilus_trader/_fixup.py | 1 | # ------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | python/nautilus_trader/_fixup.py | 14 | # ------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | python/nautilus_trader/core/__init__.py | 1 | # ------------------------------------------------------------------------------------------------- | COMMENT |
| 746 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | MIGRATION_V2.md | 620 | def calculate_from_realized_pnls(self, realized_pnls: list[float]) -> float | None: | CODE |
| LOW | crates/adapters/polymarket/src/positions/wallet.rs | 42 | function predictLegacyWalletAddress(bytes32 id) external view returns (address); | CODE |
| LOW | crates/live/src/python/client/mod.rs | 2269 | def _provides_bulk_position_coverage(self, instrument_id): | CODE |
| LOW | python/generate_stubs.py | 2542 | def _fix_optional_defaults_in_line(line: str) -> str: | CODE |
| LOW | python/generate_stubs.py | 2575 | def _is_property_setter_decorator(line: str) -> bool: | CODE |
| LOW | python/generate_stubs.py | 2822 | def add_missing_model_imports(content: str) -> str: | CODE |
| LOW | python/generate_stubs.py | 2859 | def _line_contains_name_to_remove(line: str, names_to_remove: set[str]) -> bool: | CODE |
| LOW | python/generate_stubs.py | 2925 | def clean_orphaned_decorators(source: str) -> str: | CODE |
| LOW | python/generate_stubs.py | 2958 | def normalize_builtin_type_names(content: str) -> str: | CODE |
| LOW | python/generate_stubs.py | 3079 | def _infer_constant_python_type( | CODE |
| LOW | python/generate_stubs.py | 3157 | def _insert_constants_after_all(content: str, const_block: str) -> str: | CODE |
| LOW | python/generate_stubs.py | 594 | def remove_stale_top_level_adapter_stubs(root: Path) -> None: | STRING |
| LOW | python/generate_stubs.py | 673 | def _extract_signature_params_str(attr: str, open_paren: int) -> str: | STRING |
| LOW | python/generate_stubs.py | 690 | def _resolve_signature_params( | STRING |
| LOW | python/generate_stubs.py | 817 | def collect_rust_class_fixups(workspace_root: Path) -> dict[str, ClassMethodFixup]: | STRING |
| LOW | python/generate_stubs.py | 887 | def collect_renamed_enum_variants(workspace_root: Path) -> dict[str, list[str]]: | STRING |
| LOW | python/generate_stubs.py | 929 | def collect_rust_enum_variants(lines: list[str], enum_start: int) -> list[str]: | STRING |
| LOW | python/generate_stubs.py | 1006 | def renamed_enum_variant_name( | STRING |
| LOW | python/generate_stubs.py | 1036 | def normalize_enum_variant_name(name: str) -> str: | STRING |
| LOW | python/generate_stubs.py | 1043 | def fix_enum_defaults_in_signatures(content: str, renamed_enums: set[str]) -> str: | STRING |
| LOW | python/generate_stubs.py | 1070 | def _replace_forward_local_class_default( | STRING |
| LOW | python/generate_stubs.py | 1082 | def elide_forward_class_defaults_in_signatures(content: str) -> str: | STRING |
| LOW | python/generate_stubs.py | 1130 | def _collect_pyclass_name_fixups(source: str, fixups: dict[str, ClassMethodFixup]) -> None: | STRING |
| LOW | python/generate_stubs.py | 1172 | def _collect_identifier_macro_fixups(source: str, fixups: dict[str, ClassMethodFixup]) -> None: | STRING |
| LOW | python/generate_stubs.py | 1192 | def strip_double_quoted_strings(text: str) -> str: | STRING |
| LOW | python/generate_stubs.py | 1225 | def _collect_custom_data_macro_fixups(source: str, fixups: dict[str, ClassMethodFixup]) -> None: | STRING |
| LOW | python/generate_stubs.py | 1265 | def _collect_struct_field_names(lines: list[str], struct_start: int) -> set[str]: | STRING |
| LOW | python/generate_stubs.py | 1319 | def _collect_pyfunction_signature_defaults( | STRING |
| LOW | python/generate_stubs.py | 1373 | def _register_free_function_defaults( | STRING |
| LOW | python/generate_stubs.py | 1393 | def _collect_block_method_fixups( | STRING |
| LOW | python/generate_stubs.py | 1472 | def consume_rust_method_signature( | STRING |
| LOW | python/generate_stubs.py | 1490 | def register_rust_method_fixup( # noqa: C901 - Keep Rust method classification in one pass | STRING |
| LOW | python/generate_stubs.py | 1555 | def _register_injected_classmethod( | STRING |
| LOW | python/generate_stubs.py | 1572 | def register_rust_setter_fixup( | STRING |
| LOW | python/generate_stubs.py | 1600 | def _extract_method_signature_defaults( | STRING |
| LOW | python/generate_stubs.py | 1633 | def render_missing_staticmethod_stub( | STRING |
| LOW | python/generate_stubs.py | 1652 | def render_missing_classmethod_stub( | STRING |
| LOW | python/generate_stubs.py | 1746 | def remove_final_from_subclassable_classes( | STRING |
| LOW | python/generate_stubs.py | 1960 | def rewrite_stub_method_block( | STRING |
| LOW | python/generate_stubs.py | 2012 | def render_stub_property_setter(property_name: str, method_block: list[str]) -> list[str]: | STRING |
| LOW | python/generate_stubs.py | 2038 | def drop_stub_method_receiver(signature_text: str) -> str: | STRING |
| LOW | python/generate_stubs.py | 2121 | 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/nautilus_trader/analysis/statistic.py | 80 | def calculate_from_realized_pnls(self, realized_pnls: list[float]) -> float | None: | CODE |
| LOW | python/nautilus_trader/analysis/statistic.py | 112 | def calculate_from_returns_with_benchmark( | CODE |
| 2251 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | Cargo.toml | 519 | # 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 | 281 | /// The default leverage, falling back to 10x for margin accounts and 1x otherwise. | COMMENT |
| MEDIUM | crates/backtest/src/config.rs | 283 | /// The leverage overrides for individual instruments. | COMMENT |
| MEDIUM | crates/backtest/src/config.rs | 519 | /// The account default leverage, or `None` to use the account-type default. | COMMENT |
| MEDIUM | crates/backtest/src/config.rs | 521 | /// The instrument specific leverage configuration (for margin accounts). | COMMENT |
| MEDIUM | crates/backtest/src/config.rs | 1348 | fn test_non_positive_default_leverage_rejected(#[case] leverage: Decimal) { | CODE |
| MEDIUM | crates/backtest/src/config.rs | 1366 | fn test_simulated_non_positive_instrument_leverage_rejected(#[case] leverage: Decimal) { | CODE |
| MEDIUM | crates/backtest/src/config.rs | 1596 | fn test_non_positive_sim_default_leverage_rejected(#[case] leverage: Decimal) { | CODE |
| MEDIUM | crates/adapters/okx/src/config.rs | 257 | /// Enables margin/leverage for SPOT trading when true. | COMMENT |
| MEDIUM | crates/adapters/okx/src/http/client.rs | 1228 | /// Requests position tiers information, maximum leverage depends on your borrowings and margin ratio. | COMMENT |
| MEDIUM | crates/adapters/okx/src/http/models.rs | 516 | /// Maximum available leverage. | COMMENT |
| MEDIUM | crates/adapters/okx/src/http/models.rs | 644 | /// Notional leverage. | COMMENT |
| MEDIUM | crates/adapters/okx/src/http/models.rs | 711 | /// Position leverage. | COMMENT |
| MEDIUM | crates/adapters/okx/src/http/models.rs | 1240 | /// 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 | 498 | // Normalize: trim whitespace and convert to lowercase for robust matching | COMMENT |
| MEDIUM | crates/adapters/hyperliquid/src/common/enums.rs | 572 | /// **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 | 495 | /// Creates an action to update leverage for an asset. | COMMENT |
| MEDIUM | crates/adapters/hyperliquid/src/http/query.rs | 763 | assert!(json.contains(r#""leverage":10"#)); | CODE |
| MEDIUM | crates/adapters/hyperliquid/src/http/models.rs | 131 | /// Maximum leverage allowed for this asset. | COMMENT |
| MEDIUM | crates/adapters/hyperliquid/src/http/models.rs | 148 | /// Margin tables for leverage tiers. | COMMENT |
| MEDIUM | crates/adapters/hyperliquid/src/http/models.rs | 164 | /// Maximum leverage allowed for this asset. | COMMENT |
| MEDIUM | crates/adapters/hyperliquid/src/http/models.rs | 181 | /// Margin table with leverage tiers. | COMMENT |
| MEDIUM | crates/adapters/hyperliquid/src/http/models.rs | 202 | /// Maximum leverage for this tier. | COMMENT |
| MEDIUM | crates/adapters/hyperliquid/src/http/models.rs | 1894 | /// Update leverage for a position. | COMMENT |
| MEDIUM | crates/adapters/hyperliquid/src/http/models.rs | 1904 | #[serde(rename = "leverage")] | COMMENT |
| MEDIUM | crates/adapters/hyperliquid/src/http/models.rs | 2255 | /// Maximum leverage allowed for this asset. | COMMENT |
| MEDIUM | crates/adapters/hyperliquid/src/http/rate_limits.rs | 177 | /// 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/coinbase/src/config.rs | 178 | /// Optional default leverage applied to derivatives orders. Ignored on | COMMENT |
| MEDIUM | crates/adapters/derive/tests/integration/data_client.rs | 2105 | // Wait until the REST call lands on the mock so the test is robust | COMMENT |
| MEDIUM | crates/adapters/derive/src/http/models.rs | 780 | /// Effective leverage (perps only). | COMMENT |
| MEDIUM⚡ | crates/adapters/deribit/src/http/models.rs | 1218 | #[case::integer(r#""leverage": 50,"#, Some(dec!(50)))] | COMMENT |
| MEDIUM⚡ | crates/adapters/deribit/src/http/models.rs | 1219 | #[case::whole_float(r#""leverage": 50.0,"#, Some(dec!(50)))] | COMMENT |
| MEDIUM⚡ | crates/adapters/deribit/src/http/models.rs | 1220 | #[case::fractional(r#""leverage": 35.639422,"#, Some(dec!(35.639422)))] | COMMENT |
| MEDIUM⚡ | crates/adapters/deribit/src/http/models.rs | 1221 | #[case::null(r#""leverage": null,"#, None)] | COMMENT |
| MEDIUM | crates/adapters/deribit/src/http/models.rs | 94 | /// Maximal leverage for instrument (only for futures) | COMMENT |
| MEDIUM | crates/adapters/deribit/src/http/models.rs | 1079 | /// Current available leverage for a future position (can be fractional) | 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 | 254 | /// Leverage configuration for futures (symbol -> leverage). | COMMENT |
| MEDIUM | crates/adapters/bybit/src/python/http.rs | 330 | /// Sets leverage for a symbol (requires authentication). | COMMENT |
| MEDIUM | crates/adapters/bybit/src/python/http.rs | 341 | /// - <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 | 1661 | /// expects. BBO, `position_idx`, `smp_type`, and leverage stay separate because they are | COMMENT |
| MEDIUM | crates/adapters/bybit/src/common/rate_limit.rs | 793 | #[case("/v5/position/set-leverage", Some(BybitProductType::Linear), 10)] | COMMENT |
| MEDIUM | crates/adapters/bybit/src/http/client.rs | 1295 | /// Sets leverage for a symbol. | COMMENT |
| MEDIUM | crates/adapters/bybit/src/http/client.rs | 1310 | /// - <https://bybit-exchange.github.io/docs/v5/position/leverage> | COMMENT |
| MEDIUM | crates/adapters/bybit/src/http/client.rs | 2267 | /// Sets leverage for a symbol (requires authentication). | COMMENT |
| MEDIUM | crates/adapters/bybit/src/http/client.rs | 2278 | /// - <https://bybit-exchange.github.io/docs/v5/position/leverage> | COMMENT |
| MEDIUM | crates/adapters/bybit/src/http/query.rs | 281 | /// Body parameters for `POST /v5/position/set-leverage`. | COMMENT |
| MEDIUM | crates/adapters/bybit/src/http/query.rs | 284 | /// - <https://bybit-exchange.github.io/docs/v5/position/leverage> | COMMENT |
| MEDIUM⚡ | crates/adapters/bybit/src/http/models.rs | 1362 | /// Empty result for set leverage operation. | COMMENT |
| MEDIUM⚡ | crates/adapters/bybit/src/http/models.rs | 1366 | /// Response alias for set leverage requests. | COMMENT |
| 77 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_zscore.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_zscore.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 | python/tests/unit/live/test_client_config.py | 0 | retain the component inputs without starting asynchronous work. | STRING |
| HIGH | python/tests/integration/test_python_data_client.py | 0 | retain the component inputs without starting asynchronous work. | STRING |
| HIGH | …thon/tests/integration/test_python_adapter_template.py | 0 | retain the component inputs without starting asynchronous work. | STRING |
| HIGH | python/tests/unit/live/test_client_config.py | 0 | construct clients for the deterministic live scenario. | STRING |
| HIGH | python/tests/integration/test_python_data_client.py | 0 | construct clients for the deterministic live scenario. | STRING |
| HIGH | examples/live/_template/factories.py | 0 | construct clients for the deterministic live scenario. | STRING |
| HIGH | python/tests/unit/model/test_mark_price.py | 0 | test bar setstate rejects invalid state without mutation. | STRING |
| HIGH | python/tests/unit/model/test_index_price.py | 0 | test bar setstate rejects invalid state without mutation. | STRING |
| HIGH | python/tests/unit/model/test_trade.py | 0 | test bar setstate rejects invalid state without mutation. | STRING |
| HIGH | python/tests/unit/model/test_quote.py | 0 | test bar setstate rejects invalid state without mutation. | STRING |
| HIGH | python/tests/unit/model/test_bar.py | 0 | test bar setstate rejects invalid state without mutation. | 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 |
|---|---|---|---|---|
| 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 | 53 | CODE | |
| LOW | python/nautilus_trader/analysis/__init__.py | 56 | 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 | 61 | 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/__init__.py | 71 | CODE | |
| LOW | python/nautilus_trader/analysis/tearsheet.py | 23 | CODE | |
| LOW | python/nautilus_trader/analysis/statistic.py | 19 | 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 | |
| 194 more matches not shown… | ||||
| 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 | 1438 | export BINANCE_API_KEY="your-api-key-from-binance" | CODE |
| HIGH | docs/integrations/binance.md | 1534 | api_key="YOUR_API_KEY", | CODE |
| HIGH | docs/integrations/bybit.md | 113 | api_key="YOUR_API_KEY", | CODE |
| HIGH | docs/integrations/bybit.md | 560 | api_key="YOUR_API_KEY", | CODE |
| HIGH | docs/integrations/bybit.md | 740 | api_key="YOUR_API_KEY", | CODE |
| HIGH | docs/integrations/kraken.md | 817 | api_key="YOUR_API_KEY", | CODE |
| HIGH | docs/integrations/kraken.md | 850 | api_key="YOUR_API_KEY", | CODE |
| HIGH | docs/integrations/okx.md | 1179 | export OKX_API_KEY="your_api_key" | CODE |
| HIGH | docs/integrations/coinbase.md | 143 | api_key="YOUR_API_KEY", | CODE |
| HIGH | docs/tutorials/delta_neutral_options_bybit.md | 34 | export BYBIT_API_KEY="your-api-key" | CODE |
| HIGH | docs/tutorials/gold_book_imbalance_ax.md | 82 | export DATABENTO_API_KEY="your-api-key" | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/generate_docstrings.py | 117 | CODE | |
| LOW | python/generate_docstrings.py | 209 | CODE | |
| LOW | python/generate_docstrings.py | 396 | CODE | |
| LOW | python/generate_stubs.py | 451 | CODE | |
| LOW | python/generate_stubs.py | 673 | CODE | |
| LOW | python/generate_stubs.py | 734 | CODE | |
| LOW | python/generate_stubs.py | 845 | CODE | |
| LOW | python/generate_stubs.py | 1130 | CODE | |
| LOW | python/generate_stubs.py | 1192 | CODE | |
| LOW | python/generate_stubs.py | 1350 | CODE | |
| LOW | python/generate_stubs.py | 1446 | CODE | |
| LOW | python/generate_stubs.py | 1490 | CODE | |
| LOW | python/generate_stubs.py | 2250 | CODE | |
| LOW | python/generate_stubs.py | 2465 | CODE | |
| LOW | python/generate_stubs.py | 2487 | CODE | |
| LOW | python/generate_stubs.py | 2510 | CODE | |
| LOW | python/generate_stubs.py | 2526 | CODE | |
| LOW | python/generate_stubs.py | 2694 | CODE | |
| LOW | python/generate_stubs.py | 2730 | CODE | |
| LOW | python/generate_stubs.py | 2760 | CODE | |
| LOW | python/generate_stubs.py | 3079 | CODE | |
| LOW | python/generate_stubs.py | 3242 | 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 | 1974 | CODE | |
| LOW | python/tests/unit/test_generate_stubs.py | 2128 | CODE | |
| LOW | python/tests/unit/test_generate_stubs.py | 2824 | CODE | |
| LOW | python/tests/unit/test_generate_stubs.py | 3316 | CODE | |
| LOW | python/tests/unit/test_generate_stubs.py | 3390 | CODE | |
| LOW | python/tests/unit/test_public_module_names.py | 67 | CODE | |
| LOW | python/tests/unit/analysis/test_reporter.py | 369 | CODE | |
| LOW | python/tests/unit/indicators/test_python_handlers.py | 65 | CODE | |
| LOW | …sts/unit/adapters/polymarket/test_polymarket_loader.py | 122 | CODE | |
| LOW | python/tests/unit/live/test_client_runtime_stress.py | 82 | 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/integration/test_python_data_client.py | 1085 | CODE | |
| LOW | python/tests/integration/test_python_data_client.py | 1451 | CODE | |
| LOW | …thon/tests/integration/test_python_adapter_template.py | 871 | CODE | |
| LOW | …thon/tests/integration/test_python_adapter_template.py | 882 | CODE | |
| LOW | python/tests/strategies/backtest_surface.py | 121 | CODE | |
| LOW | python/tests/strategies/backtest_surface.py | 323 | CODE | |
| LOW | python/tests/acceptance/test_backtest.py | 1395 | CODE | |
| LOW | .pre-commit-hooks/check_dependency_features.py | 273 | CODE | |
| LOW | .pre-commit-hooks/check_actionlint.py | 35 | CODE | |
| LOW | .pre-commit-hooks/check_actionlint.py | 60 | CODE | |
| LOW | .pre-commit-hooks/check_pyo3_names.py | 39 | CODE | |
| LOW | .pre-commit-hooks/check_pyo3_names.py | 111 | 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 | 170 | CODE | |
| 13 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | python/tests/unit/analysis/test_reporter.py | 422 | assert orders.equals(expected) | CODE |
| HIGH⚡ | python/tests/unit/backtest/test_backtest_node.py | 961 | assert orders_report.equals(ReportProvider.generate_orders_report(orders)) | CODE |
| HIGH⚡ | python/tests/unit/backtest/test_backtest_node.py | 962 | assert order_fills_report.equals(ReportProvider.generate_order_fills_report(orders)) | CODE |
| HIGH⚡ | python/tests/unit/backtest/test_backtest_node.py | 963 | assert fills_report.equals(ReportProvider.generate_fills_report(orders)) | CODE |
| HIGH⚡ | python/tests/unit/backtest/test_backtest_node.py | 964 | assert positions_report.equals( | CODE |
| HIGH⚡ | python/tests/unit/backtest/test_backtest_node.py | 967 | assert account_report.equals(ReportProvider.generate_account_report(account)) | CODE |
| HIGH⚡ | python/tests/unit/backtest/test_backtest_node.py | 968 | assert account_report_by_id.equals(account_report) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | crates/network/src/websocket/auth.rs | 801 | // Step 1: Begin authentication | COMMENT |
| LOW⚡ | crates/network/src/websocket/auth.rs | 804 | // Step 2: Spawn resubscription task that waits for auth | COMMENT |
| LOW⚡ | crates/adapters/okx/src/websocket/client.rs | 4849 | client.subscriptions_state.confirm_unsubscribe(topic); // Step 1: clear pending_unsubscribe | CODE |
| LOW⚡ | crates/adapters/okx/src/websocket/client.rs | 4850 | client.subscriptions_state.mark_subscribe(topic); // Step 2: mark as subscribing | CODE |
| LOW⚡ | crates/adapters/okx/src/websocket/client.rs | 4851 | client.subscriptions_state.confirm_subscribe(topic); // Step 3: confirm subscription | CODE |
| LOW⚡ | crates/adapters/hyperliquid/src/signing/signers.rs | 139 | // Step 4: Create Agent struct | COMMENT |
| LOW⚡ | crates/adapters/hyperliquid/src/signing/signers.rs | 147 | // Step 5: Sign Agent with EIP-712 | COMMENT |
| LOW⚡ | crates/adapters/polymarket/src/websocket/dispatch.rs | 5629 | // Step 1: Dispatch cancel (simulates message A from the bug) | COMMENT |
| LOW⚡ | crates/adapters/polymarket/src/websocket/dispatch.rs | 5639 | // Step 2: Dispatch trade fill (simulates trade arriving after cancel) | COMMENT |
| LOW | crates/adapters/polymarket/src/execution/responses.rs | 3640 | // 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 | 3673 | // Step 2: the submit response arrives, registers the order, and drains the buffered fill | COMMENT |
| LOW | crates/adapters/polymarket/src/execution/responses.rs | 3789 | // Step 1: the WS cancel arrives BEFORE the submit response and buffers (order unregistered) | COMMENT |
| LOW | crates/adapters/polymarket/src/execution/responses.rs | 3813 | // Step 2: the submit response registers the order and drains the buffered cancel | COMMENT |
| LOW⚡ | crates/adapters/blockchain/src/data/subscription.rs | 1252 | // Step 1: Register DEX | COMMENT |
| LOW⚡ | crates/adapters/blockchain/src/data/subscription.rs | 1262 | // Step 2: Subscribe to events | COMMENT |
| LOW⚡ | crates/adapters/blockchain/src/data/subscription.rs | 1268 | // Step 3: Verify subscriptions | COMMENT |
| LOW⚡ | crates/adapters/blockchain/src/data/subscription.rs | 1274 | // Step 4: Get event signatures | COMMENT |
| LOW⚡ | crates/adapters/blockchain/src/data/subscription.rs | 1278 | // Step 5: Unsubscribe from some events | COMMENT |
| LOW⚡ | crates/adapters/blockchain/src/data/subscription.rs | 1282 | // Step 6: Verify remaining subscriptions (only pool1 mint remains) | COMMENT |
| LOW⚡ | …ples/other/minimal_reproducible_example/run_example.py | 132 | # Step 2: Define exchange and add it to the engine | COMMENT |
| LOW⚡ | …ples/other/minimal_reproducible_example/run_example.py | 147 | # Step 3: Create instrument definition and add it to the engine | COMMENT |
| LOW⚡ | …ples/other/minimal_reproducible_example/run_example.py | 172 | # Step 5: Create strategy and add it to the engine | COMMENT |
| LOW⚡ | …ples/other/minimal_reproducible_example/run_example.py | 176 | # Step 6: Run engine = Run backtest | COMMENT |
| LOW⚡ | …ples/other/minimal_reproducible_example/run_example.py | 179 | # Step 7: Release system resources | COMMENT |
| LOW | …ples/other/minimal_reproducible_example/run_example.py | 118 | # Step 1: Configure and create backtest engine | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | crates/network/src/websocket/auth.rs | 801 | // Step 1: Begin authentication | COMMENT |
| LOW⚡ | crates/network/src/websocket/auth.rs | 804 | // Step 2: Spawn resubscription task that waits for auth | COMMENT |
| LOW⚡ | crates/adapters/okx/src/websocket/client.rs | 4849 | client.subscriptions_state.confirm_unsubscribe(topic); // Step 1: clear pending_unsubscribe | CODE |
| LOW⚡ | crates/adapters/okx/src/websocket/client.rs | 4850 | client.subscriptions_state.mark_subscribe(topic); // Step 2: mark as subscribing | CODE |
| LOW⚡ | crates/adapters/okx/src/websocket/client.rs | 4851 | client.subscriptions_state.confirm_subscribe(topic); // Step 3: confirm subscription | CODE |
| LOW⚡ | crates/adapters/hyperliquid/src/signing/signers.rs | 139 | // Step 4: Create Agent struct | COMMENT |
| LOW⚡ | crates/adapters/hyperliquid/src/signing/signers.rs | 147 | // Step 5: Sign Agent with EIP-712 | COMMENT |
| LOW⚡ | crates/adapters/polymarket/src/websocket/dispatch.rs | 5629 | // Step 1: Dispatch cancel (simulates message A from the bug) | COMMENT |
| LOW⚡ | crates/adapters/polymarket/src/websocket/dispatch.rs | 5639 | // Step 2: Dispatch trade fill (simulates trade arriving after cancel) | COMMENT |
| LOW | crates/adapters/polymarket/src/execution/responses.rs | 3640 | // 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 | 3673 | // Step 2: the submit response arrives, registers the order, and drains the buffered fill | COMMENT |
| LOW | crates/adapters/polymarket/src/execution/responses.rs | 3789 | // Step 1: the WS cancel arrives BEFORE the submit response and buffers (order unregistered) | COMMENT |
| LOW | crates/adapters/polymarket/src/execution/responses.rs | 3813 | // Step 2: the submit response registers the order and drains the buffered cancel | COMMENT |
| LOW⚡ | crates/adapters/blockchain/src/data/subscription.rs | 1252 | // Step 1: Register DEX | COMMENT |
| LOW⚡ | crates/adapters/blockchain/src/data/subscription.rs | 1262 | // Step 2: Subscribe to events | COMMENT |
| LOW⚡ | crates/adapters/blockchain/src/data/subscription.rs | 1268 | // Step 3: Verify subscriptions | COMMENT |
| LOW⚡ | crates/adapters/blockchain/src/data/subscription.rs | 1274 | // Step 4: Get event signatures | COMMENT |
| LOW⚡ | crates/adapters/blockchain/src/data/subscription.rs | 1278 | // Step 5: Unsubscribe from some events | COMMENT |
| LOW⚡ | crates/adapters/blockchain/src/data/subscription.rs | 1282 | // Step 6: Verify remaining subscriptions (only pool1 mint remains) | COMMENT |
| LOW⚡ | …ples/other/minimal_reproducible_example/run_example.py | 132 | # Step 2: Define exchange and add it to the engine | COMMENT |
| LOW⚡ | …ples/other/minimal_reproducible_example/run_example.py | 147 | # Step 3: Create instrument definition and add it to the engine | COMMENT |
| LOW⚡ | …ples/other/minimal_reproducible_example/run_example.py | 172 | # Step 5: Create strategy and add it to the engine | COMMENT |
| LOW⚡ | …ples/other/minimal_reproducible_example/run_example.py | 176 | # Step 6: Run engine = Run backtest | COMMENT |
| LOW⚡ | …ples/other/minimal_reproducible_example/run_example.py | 179 | # Step 7: Release system resources | COMMENT |
| LOW | …ples/other/minimal_reproducible_example/run_example.py | 118 | # Step 1: Configure and create backtest engine | COMMENT |
| 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 | 117 | # 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 | 153 | # Define the instrument with the public model API, then convert each loader row | COMMENT |
| MEDIUM | docs/getting_started/backtest_high_level.py | 126 | # Create a catalog instance | COMMENT |
| MEDIUM | docs/getting_started/quickstart.py | 143 | # Create a EUR/USD instrument on the SIM venue | COMMENT |
| MEDIUM | scripts/install-capnp.sh | 53 | # 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 | 60 | __all__ = [ | CODE |
| LOW | python/nautilus_trader/testkit/providers.py | 63 | __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/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 | 35 | __all__ = [ | CODE |
| LOW⚡ | python/tests/unit/test_generate_stubs.py | 1561 | __all__ = ["BINANCE", "MissingSymbol"] | CODE |
| LOW⚡ | python/tests/unit/test_generate_stubs.py | 1567 | __all__ = ["BINANCE"] | CODE |
| LOW | python/tests/unit/test_generate_stubs.py | 938 | def set_actor_id(self, actor_id: model.ActorId | None = ...) -> None: ... | CODE |
| LOW | python/tests/unit/test_generate_stubs.py | 1506 | __all__ = [ | CODE |
| LOW | python/tests/unit/test_generate_stubs.py | 1515 | __all__ = [ | CODE |
| LOW | python/tests/unit/test_generate_stubs.py | 1617 | __all__ = [ | CODE |
| LOW | python/tests/unit/test_generate_stubs.py | 1639 | __all__ = [ | CODE |
| LOW | python/tests/unit/test_generate_stubs.py | 178 | __all__ = [ | STRING |
| LOW | python/tests/unit/test_generate_stubs.py | 216 | __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 | 206 | def _update_bar_state(self, bar: Bar) -> None: | CODE |
| LOW | python/tests/strategies/acceptance.py | 661 | def _update_indicators(self, bar: Bar) -> None: | CODE |
| LOW | examples/live/interactive_brokers/_common.py | 484 | def set_databento_request_contracts_default() -> None: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/generate_stubs.py | 2111 | # 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 | 72 | # Check if allow marker in context or current line | COMMENT |
| LOW | .pre-commit-hooks/check_cargo_conventions.sh | 524 | # Check if the order is correct: rlib before staticlib before cdylib | COMMENT |
| LOW | .pre-commit-hooks/check_cargo_conventions.sh | 558 | # Check if any crate uses this dependency with workspace = true | COMMENT |
| LOW | .pre-commit-hooks/check_cargo_conventions.sh | 675 | # 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 | …ssets/backtest_book_imbalance_betfair/render_panels.py | 8 | # Set LOG_INTERVAL to 200 in crates/adapters/betfair/examples/betfair_backtest.rs | STRING |
| LOW | scripts/regen-capnp.sh | 35 | # Check if capnp is installed | COMMENT |
| LOW | scripts/regen-capnp.sh | 111 | # Check if there are any changes | COMMENT |
| LOW | scripts/install-capnp.sh | 44 | # Check if already installed to save time | COMMENT |
| LOW | scripts/install-capnp.sh | 90 | # 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 | python/nautilus_trader/live/config.py | 197 | except (TypeError, ValueError, InvalidOperation): | CODE |
| HIGH | scripts/clippy-strict-audit.py | 154 | except ValueError: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …es/adapters/betfair/tests/integration/stream_client.rs | 1039 | /// venue partitions matched orders by strategy ref / account id as requested. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …tes/adapters/polymarket/tests/integration/positions.rs | 980 | client = polymarket.PolymarketPositionClient(private_key=private_key, funder=wallet, relayer_api_key='dummy-key', re | CODE |
| LOW | crates/adapters/derive/src/execution.rs | 6276 | 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/nautilus_trader/persistence/catalog_to_df.py | 62 | CODE | |
| LOW | python/tests/unit/model/factories.py | 188 | CODE | |
| LOW | python/tests/unit/model/test_position.py | 58 | CODE | |
| LOW | python/tests/strategies/acceptance.py | 481 | 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 assertion fail loudly on the test scaffold rather than producing | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | python/generate_stubs.py | 305 | print(f"Error: {result.stderr}") | STRING |
| LOW | python/tests/unit/test_generate_stubs.py | 3543 | 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 |