The Modular Platform (includes MAX & Mojo)
This report summarizes scanner evidence for modular/modular, a Mojo project with 29,939 GitHub stars. SynthScan examined 1,596,301 lines of code across 5679 source files, recording 27154 pattern matches distributed across 26 syntactic categories. The legacy adjusted pattern signal is 22.5 (Elevated 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? 19329 finding(s).
Are imports declared and package/API names verified? 4505 finding(s).
Are wrappers, guards, and repeated structures necessary? 14432 finding(s).
Which changes need focused human review? 27154 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 27154 distinct pattern matches across 26 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 | …/integration-test/python/test_signal_handler_python.py | 19 | def test_python_stack_trace_in_signal_handler() -> None: | CODE |
| LOW | …egration-test/python/test_signal_handler_python_gil.py | 20 | def test_signal_handler_with_gil_held() -> None: | CODE |
| LOW | docs/write-nightly-release.py | 66 | def _default_nightly_changelog_path() -> Path: | CODE |
| LOW | docs/post-process-docs.py | 144 | def inject_mojo_api_package_list(docs_path: str) -> None: | CODE |
| LOW | docs/post-process-docs.py | 187 | def replace_zero_width_joiner(file_path) -> None: # noqa: ANN001 | CODE |
| LOW | docs/generate-models-table.py | 198 | def _resolve_module_level_collections( | CODE |
| LOW | docs/generate-models-table.py | 244 | def _resolve_class_collections( | CODE |
| LOW | docs/code/develop/layer-comparison/layer_comparison.py | 174 | def capture_reference_tensors( | CODE |
| LOW | max/kernels/benchmarks/misc/utils/bench.py | 276 | def bench_kineto_with_cupti_warmup( | CODE |
| LOW⚡ | …ernels/benchmarks/misc/comparison/bench_amd_mx_gemm.py | 390 | def _compile_dense_preshuffle( | CODE |
| LOW | …kernels/benchmarks/misc/comparison/test_moe_routing.py | 30 | def test_each_token_picks_distinct_experts( | CODE |
| LOW | …kernels/benchmarks/misc/comparison/test_moe_routing.py | 44 | def test_balanced_spreads_experts_and_ranks(num_tokens: int) -> None: | CODE |
| LOW⚡ | …kernels/benchmarks/misc/comparison/test_moe_routing.py | 56 | def test_random_routings_are_seeded() -> None: | CODE |
| LOW⚡ | …kernels/benchmarks/misc/comparison/test_moe_routing.py | 63 | def test_skewed_routing_has_hot_experts() -> None: | CODE |
| LOW⚡ | …kernels/benchmarks/misc/comparison/test_moe_routing.py | 72 | def test_top_k_above_num_experts_raises() -> None: | CODE |
| LOW⚡ | …kernels/benchmarks/misc/comparison/test_moe_routing.py | 77 | def test_rank_counts_needs_an_even_split() -> None: | CODE |
| LOW | …kernels/benchmarks/misc/comparison/test_moe_routing.py | 91 | def test_dispatch_layout_starts_each_expert_on_a_fresh_block() -> None: | CODE |
| LOW | …kernels/benchmarks/misc/comparison/test_moe_routing.py | 109 | def test_scale_rows_capacity_pads_one_block_per_expert() -> None: | CODE |
| LOW | …ernels/benchmarks/misc/comparison/bench_ep_baseline.py | 68 | def _make_dispatch_quant_config(dispatch_dtype: DType) -> QuantConfig | None: | CODE |
| LOW | …/benchmarks/misc/comparison/test_sparse_mla_indices.py | 25 | def test_topk_positions_are_causal_distinct_and_padded(cache_len: int) -> None: | CODE |
| LOW | …/benchmarks/misc/comparison/test_sparse_mla_indices.py | 45 | def test_topk_positions_are_seeded() -> None: | CODE |
| LOW | …/benchmarks/misc/comparison/test_sparse_mla_indices.py | 51 | def test_copies_to_exceed_counts_rows_per_request() -> None: | CODE |
| LOW | …/benchmarks/misc/comparison/test_sparse_mla_indices.py | 63 | def test_copies_to_exceed_ignores_pads() -> None: | CODE |
| LOW | …/benchmarks/misc/comparison/test_sparse_mla_indices.py | 68 | def test_physical_rows_follow_the_page_table() -> None: | CODE |
| LOW | …hmarks/misc/comparison/bench_blackwell_grouped_gemm.py | 93 | def generate_contiguous_inputs( | CODE |
| LOW | …x/kernels/benchmarks/misc/comparison/install_sglang.py | 44 | def _matching_torchvision_version() -> str: | CODE |
| LOW | …nchmarks/misc/comparison/bench_blackwell_mla_decode.py | 133 | def calculate_mla_memory_bytes( | CODE |
| LOW | …hmarks/misc/comparison/bench_allreduce_subgraph_max.py | 114 | def bench_allreduce_modular_max( | CODE |
| LOW | …benchmarks/misc/comparison/bench_allreduce_subgraph.py | 128 | def _init_sglang_parallel_state() -> None: | CODE |
| LOW | max/kernels/benchmarks/misc/comparison/bench_amd_mla.py | 903 | def _build_mla_persistent_metadata( | CODE |
| LOW | max/kernels/benchmarks/autotune/kdiff.py | 70 | def check_argo_workflow_exists(git_sha): # noqa: ANN001, ANN201 | CODE |
| LOW | max/kernels/benchmarks/autotune/kbench_model.py | 1562 | def schedule_unique_build_items( | CODE |
| LOW | max/kernels/benchmarks/autotune/utils.py | 71 | def _get_visible_device_prefix(target_accelerator: str = "") -> str: | CODE |
| LOW | max/kernels/benchmarks/autotune/utils.py | 222 | def get_target_accelerator_helpstr() -> str: | CODE |
| LOW | max/kernels/benchmarks/autotune/utils.py | 230 | def check_valid_target_accelerator(target_accelerator: str) -> bool: | CODE |
| LOW | max/kernels/benchmarks/autotune/kplot.py | 57 | def _get_max_groups_per_chart(x_labels, width_px, font_size_pt): # noqa: ANN001, ANN202 | CODE |
| LOW | max/kernels/benchmarks/autotune/tests/test_bench.py | 41 | def test_met_label_indicates_seconds() -> None: | CODE |
| LOW | max/kernels/benchmarks/autotune/tests/test_bench.py | 65 | def test_dump_report_time_and_throughput() -> None: | CODE |
| LOW⚡ | max/kernels/benchmarks/autotune/tests/test_kbench.py | 515 | def test_get_gpu_count_nvidia_no_smi(mocker: MockerFixture) -> None: | CODE |
| LOW⚡ | max/kernels/benchmarks/autotune/tests/test_kbench.py | 521 | def test_get_gpu_count_unknown_accelerator() -> None: | CODE |
| LOW⚡ | max/kernels/benchmarks/autotune/tests/test_kbench.py | 527 | def test_get_gpu_count_nvidia_smi_failure(mocker: MockerFixture) -> None: | CODE |
| LOW⚡ | max/kernels/benchmarks/autotune/tests/test_kbench.py | 570 | def test_get_gpu_count_amd_no_smi(mocker: MockerFixture) -> None: | CODE |
| LOW⚡ | max/kernels/benchmarks/autotune/tests/test_kbench.py | 576 | def test_get_gpu_count_amd_smi_failure(mocker: MockerFixture) -> None: | CODE |
| LOW⚡ | max/kernels/benchmarks/autotune/tests/test_kbench.py | 586 | def test_cli_rejects_num_gpu_exceeding_available(mocker: MockerFixture) -> None: | CODE |
| LOW | max/kernels/benchmarks/autotune/tests/test_kbench.py | 83 | def test_check_valid_target_accelerator() -> None: | CODE |
| LOW | max/kernels/benchmarks/autotune/tests/test_kbench.py | 285 | def test_scheduler_init_validates_num_gpu(tmp_path: Path) -> None: | CODE |
| LOW | max/kernels/benchmarks/autotune/tests/test_kbench.py | 316 | def test_scheduler_get_chunksize(tmp_path: Path) -> None: | CODE |
| LOW | max/kernels/benchmarks/autotune/tests/test_kbench.py | 337 | def test_scheduler_kbench_mkdir_creates_directory(tmp_path: Path) -> None: | CODE |
| LOW | max/kernels/benchmarks/autotune/tests/test_kbench.py | 355 | def test_scheduler_kbench_mkdir_run_only_requires_existing( | CODE |
| LOW | max/kernels/benchmarks/autotune/tests/test_kbench.py | 372 | def test_kbench_cache_basic_operations(tmp_path: Path) -> None: | CODE |
| LOW | max/kernels/benchmarks/autotune/tests/test_kbench.py | 403 | def test_param_define_regular() -> None: | CODE |
| LOW | max/kernels/benchmarks/autotune/tests/test_kbench.py | 412 | def test_param_define_variable() -> None: | CODE |
| LOW | max/kernels/benchmarks/autotune/tests/test_kbench.py | 477 | def test_get_gpu_count_nvidia_basic(mocker: MockerFixture) -> None: | CODE |
| LOW | max/kernels/benchmarks/autotune/tests/test_kbench.py | 489 | def test_get_gpu_count_nvidia_capped_by_env(mocker: MockerFixture) -> None: | CODE |
| LOW | max/kernels/benchmarks/autotune/tests/test_kbench.py | 504 | def test_get_gpu_count_nvidia_env_fewer_than_hw(mocker: MockerFixture) -> None: | CODE |
| LOW | max/kernels/benchmarks/autotune/tests/test_kbench.py | 547 | def test_get_gpu_count_amd_basic(mocker: MockerFixture) -> None: | CODE |
| LOW | max/kernels/benchmarks/autotune/tests/test_kbench.py | 559 | def test_get_gpu_count_amd_capped_by_env(mocker: MockerFixture) -> None: | CODE |
| LOW | max/kernels/benchmarks/autotune/tests/test_kbench.py | 608 | def test_cli_accepts_num_gpu_within_available(mocker: MockerFixture) -> None: | CODE |
| LOW | max/kernels/benchmarks/autotune/tests/test_kbench.py | 650 | def _make_minimal_spec_instance() -> SpecInstance: | CODE |
| LOW | max/kernels/benchmarks/autotune/tests/test_kbench.py | 708 | def test_build_shared_lib_minimal(tmp_path: Path) -> None: | CODE |
| 10884 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .pre-commit-config.yaml | 1 | ##===----------------------------------------------------------------------===## | COMMENT |
| LOW | Init/include/Init/DevelopmentSignalHandler.h | 1 | //===----------------------------------------------------------------------===// | COMMENT |
| LOW | Init/include/Init/DevelopmentSignalHandler.h | 21 | namespace M::Init { | COMMENT |
| LOW | Init/include/Init/Init.h | 1 | //===----------------------------------------------------------------------===// | COMMENT |
| LOW | Init/unittests/DevelopmentSignalHandlerTests.cpp | 1 | //===----------------------------------------------------------------------===// | COMMENT |
| LOW | Init/integration-test/python/InitBindings.cpp | 1 | //===----------------------------------------------------------------------===// | COMMENT |
| LOW | Init/integration-test/python/test_script.py | 1 | # ===----------------------------------------------------------------------=== # | COMMENT |
| LOW | …/integration-test/python/test_signal_handler_python.py | 1 | # ===----------------------------------------------------------------------=== # | COMMENT |
| LOW | Init/integration-test/python/test_script_gil.py | 1 | # ===----------------------------------------------------------------------=== # | COMMENT |
| LOW | …egration-test/python/test_signal_handler_python_gil.py | 1 | # ===----------------------------------------------------------------------=== # | COMMENT |
| LOW | Init/lib/DevelopmentSignalHandler.cpp | 1 | //===----------------------------------------------------------------------===// | COMMENT |
| LOW | Init/lib/Init.cpp | 1 | //===----------------------------------------------------------------------===// | COMMENT |
| LOW | Cache/tools/cache-mgr/cache-mgr.cpp | 1 | //===----------------------------------------------------------------------===// | COMMENT |
| LOW | Cache/tools/cache-mgr/cache-mgr.cpp | 21 | #include "Support/ADT/SmartVariant.h" | COMMENT |
| LOW | Cache/include/Cache/CachedTransform.h | 1 | //===----------------------------------------------------------------------===// | COMMENT |
| LOW | Cache/include/Cache/CachedTransform.h | 21 | #include "Cache/BlobCache.h" | COMMENT |
| LOW | Cache/include/Cache/CachedTransform.h | 61 | /// The most basic function that performs a transformation, writing the | COMMENT |
| LOW | Cache/include/Cache/BlobCache.h | 1 | //===----------------------------------------------------------------------===// | COMMENT |
| LOW | Cache/include/Cache/BlobCache.h | 21 | #include "Support/Buffer.h" | COMMENT |
| LOW | Cache/include/Cache/BlobCache.h | 101 | virtual ErrorOr<std::optional<BufferRef>> findSyncImpl(StringRef keyHash) = 0; | COMMENT |
| LOW | Cache/include/Cache/CacheTelemetryContext.h | 1 | //===----------------------------------------------------------------------===// | COMMENT |
| LOW | Cache/include/Cache/Support/Keys.h | 1 | //===----------------------------------------------------------------------===// | COMMENT |
| LOW | Cache/unittests/CachedTransformTest.cpp | 1 | //===----------------------------------------------------------------------===// | COMMENT |
| LOW | Cache/unittests/BlobCacheTest.cpp | 1 | //===----------------------------------------------------------------------===// | COMMENT |
| LOW | Cache/unittests/KeyTest.cpp | 1 | //===----------------------------------------------------------------------===// | COMMENT |
| LOW | Cache/lib/CacheTelemetryContext.cpp | 1 | //===----------------------------------------------------------------------===// | COMMENT |
| LOW | Cache/lib/CachedTransform.cpp | 1 | //===----------------------------------------------------------------------===// | COMMENT |
| LOW | Cache/lib/CachedTransform.cpp | 21 | #include "Support/HashUtils.h" | COMMENT |
| LOW | Cache/lib/BlobCache.cpp | 1 | //===----------------------------------------------------------------------===// | COMMENT |
| LOW | Cache/lib/BlobCache.cpp | 21 | #include "Support/Buffer.h" | COMMENT |
| LOW | Cache/lib/BlobCache.cpp | 41 | #include <cstring> | COMMENT |
| LOW | Cache/lib/BlobCache.cpp | 601 | // If we have write access, do a little cache pruning on the host system in | COMMENT |
| LOW | Config/include/Config/Version.h | 1 | //===----------------------------------------------------------------------===// | COMMENT |
| LOW | Config/lib/Version.cpp | 1 | //===----------------------------------------------------------------------===// | COMMENT |
| LOW | utils/setup-gpu-clock.sh | 1 | #!/bin/bash | COMMENT |
| LOW | …s/local_transformers_setup/setup_local_transformers.sh | 1 | #!/bin/bash | COMMENT |
| LOW | …local_transformers_setup/cleanup_local_transformers.sh | 1 | #!/bin/bash | COMMENT |
| LOW | docs/write-nightly-release.py | 1 | # ===----------------------------------------------------------------------=== # | COMMENT |
| LOW | docs/post-process-docs.py | 1 | # ===----------------------------------------------------------------------=== # | COMMENT |
| LOW | docs/update-github-links.py | 1 | # ===----------------------------------------------------------------------=== # | COMMENT |
| LOW | docs/generate-arch-docs.py | 1 | # ===----------------------------------------------------------------------=== # | COMMENT |
| LOW | docs/generate-models-table.py | 1 | # ===----------------------------------------------------------------------=== # | COMMENT |
| LOW | docs/generate-metrics-table.py | 1 | # ===----------------------------------------------------------------------=== # | COMMENT |
| LOW | docs/code/develop/broadcasting/explicit_broadcast.py | 1 | # ===----------------------------------------------------------------------=== # | COMMENT |
| LOW | docs/code/develop/broadcasting/auto_broadcast.py | 1 | # ===----------------------------------------------------------------------=== # | COMMENT |
| LOW | docs/code/develop/broadcasting/mask_broadcast.py | 1 | # ===----------------------------------------------------------------------=== # | COMMENT |
| LOW | docs/code/develop/broadcasting/fix_rank.py | 1 | # ===----------------------------------------------------------------------=== # | COMMENT |
| LOW | docs/code/develop/layers/subclass_rms_norm.py | 1 | # ===----------------------------------------------------------------------=== # | COMMENT |
| LOW | docs/code/develop/layers/define_module.py | 1 | # ===----------------------------------------------------------------------=== # | COMMENT |
| LOW | docs/code/develop/layers/compose_and_run.py | 1 | # ===----------------------------------------------------------------------=== # | COMMENT |
| LOW | docs/code/develop/logit-comparison/logit_comparison.py | 1 | # ===----------------------------------------------------------------------=== # | COMMENT |
| LOW | docs/code/develop/tensors/properties_num_elements.py | 1 | # ===----------------------------------------------------------------------=== # | COMMENT |
| LOW | docs/code/develop/tensors/properties_device.py | 1 | # ===----------------------------------------------------------------------=== # | COMMENT |
| LOW | docs/code/develop/tensors/properties_shape.py | 1 | # ===----------------------------------------------------------------------=== # | COMMENT |
| LOW | docs/code/develop/tensors/create_factory.py | 1 | # ===----------------------------------------------------------------------=== # | COMMENT |
| LOW | docs/code/develop/tensors/properties_rank.py | 1 | # ===----------------------------------------------------------------------=== # | COMMENT |
| LOW | docs/code/develop/tensors/create_first_tensor.py | 1 | # ===----------------------------------------------------------------------=== # | COMMENT |
| LOW | docs/code/develop/tensors/properties_dtype.py | 1 | # ===----------------------------------------------------------------------=== # | COMMENT |
| LOW | docs/code/develop/tensors/create_random.py | 1 | # ===----------------------------------------------------------------------=== # | COMMENT |
| LOW | docs/code/develop/tensors/create_multi_dim.py | 1 | # ===----------------------------------------------------------------------=== # | COMMENT |
| 6394 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | docs/generate-arch-docs.py | 87 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | docs/generate-arch-docs.py | 89 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | docs/generate-arch-docs.py | 149 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | docs/generate-arch-docs.py | 151 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | docs/generate-arch-docs.py | 228 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | docs/generate-arch-docs.py | 230 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | docs/generate-arch-docs.py | 362 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | docs/generate-arch-docs.py | 364 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …ernels/benchmarks/misc/comparison/bench_amd_mx_gemm.py | 128 | # ---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …ernels/benchmarks/misc/comparison/bench_amd_mx_gemm.py | 130 | # ---------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …ernels/benchmarks/misc/comparison/bench_amd_mx_gemm.py | 385 | # ---------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …ernels/benchmarks/misc/comparison/bench_amd_mx_gemm.py | 387 | # ---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …ernels/benchmarks/misc/comparison/bench_amd_mx_gemm.py | 627 | # ---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …ernels/benchmarks/misc/comparison/bench_amd_mx_gemm.py | 629 | # ---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …ernels/benchmarks/misc/comparison/bench_amd_mx_gemm.py | 727 | # ---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …ernels/benchmarks/misc/comparison/bench_amd_mx_gemm.py | 729 | # ---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …nels/benchmarks/misc/comparison/bench_amd_mx_gemm.yaml | 51 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …nels/benchmarks/misc/comparison/bench_amd_mx_gemm.yaml | 53 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …nels/benchmarks/misc/comparison/bench_amd_mx_gemm.yaml | 74 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …nels/benchmarks/misc/comparison/bench_amd_mx_gemm.yaml | 76 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …nels/benchmarks/misc/comparison/bench_amd_mx_gemm.yaml | 97 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …nels/benchmarks/misc/comparison/bench_amd_mx_gemm.yaml | 99 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …nels/benchmarks/misc/comparison/bench_amd_mx_gemm.yaml | 130 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …nels/benchmarks/misc/comparison/bench_amd_mx_gemm.yaml | 135 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …nels/benchmarks/misc/comparison/bench_amd_mx_gemm.yaml | 161 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …nels/benchmarks/misc/comparison/bench_amd_mx_gemm.yaml | 164 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …nels/benchmarks/misc/comparison/bench_amd_mx_gemm.yaml | 190 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …nels/benchmarks/misc/comparison/bench_amd_mx_gemm.yaml | 198 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …/kernels/benchmarks/misc/comparison/setup_bench_env.py | 107 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …/kernels/benchmarks/misc/comparison/setup_bench_env.py | 109 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …/kernels/benchmarks/misc/comparison/setup_bench_env.py | 160 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …/kernels/benchmarks/misc/comparison/setup_bench_env.py | 162 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | max/kernels/benchmarks/misc/comparison/bench_amd_mla.py | 255 | # ---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | max/kernels/benchmarks/misc/comparison/bench_amd_mla.py | 257 | # ---------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | max/kernels/benchmarks/misc/comparison/bench_amd_mla.py | 844 | # ---------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | max/kernels/benchmarks/misc/comparison/bench_amd_mla.py | 846 | # ---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | max/kernels/benchmarks/misc/comparison/bench_amd_mla.py | 1519 | # ---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | max/kernels/benchmarks/misc/comparison/bench_amd_mla.py | 1521 | # ---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …kernels/benchmarks/gpu/bench_matmul_reducescatter.yaml | 37 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …kernels/benchmarks/gpu/bench_matmul_reducescatter.yaml | 39 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …kernels/benchmarks/gpu/bench_matmul_reducescatter.yaml | 62 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …kernels/benchmarks/gpu/bench_matmul_reducescatter.yaml | 64 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …kernels/benchmarks/gpu/bench_matmul_reducescatter.yaml | 87 | # ============================================================================= | COMMENT |
| MEDIUM | …kernels/benchmarks/gpu/bench_matmul_reducescatter.yaml | 89 | # ============================================================================= | COMMENT |
| MEDIUM | …kernels/benchmarks/gpu/bench_matmul_reducescatter.yaml | 140 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …kernels/benchmarks/gpu/bench_matmul_reducescatter.yaml | 143 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | max/python/docs/check_api_coverage.py | 64 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | max/python/docs/check_api_coverage.py | 66 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | max/python/docs/check_api_coverage.py | 243 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | max/python/docs/check_api_coverage.py | 245 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | max/python/docs/check_api_coverage.py | 393 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | max/python/docs/check_api_coverage.py | 395 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | max/python/docs/check_api_coverage.py | 523 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | max/python/docs/check_api_coverage.py | 525 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | max/python/docs/check_api_coverage.py | 631 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | max/python/docs/check_api_coverage.py | 633 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | max/python/docs/check_api_coverage.py | 698 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | max/python/docs/check_api_coverage.py | 700 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | max/python/max/tree.py | 767 | # ─── reads ────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | max/python/max/tree.py | 882 | # ─── transform ────────────────────────────────────────────────────────────── | COMMENT |
| 1609 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | docs/generate-metrics-table.py | 33 | CODE | |
| LOW | docs/code/develop/logit-comparison/logit_comparison.py | 15 | CODE | |
| LOW | docs/code/develop/layer-comparison/layer_comparison.py | 15 | CODE | |
| LOW | max/kernels/test/gpu/fuzz/fuzz.py | 39 | CODE | |
| LOW | …ernels/benchmarks/misc/comparison/bench_amd_mx_gemm.py | 52 | CODE | |
| LOW | …ernels/benchmarks/misc/comparison/bench_ep_baseline.py | 30 | CODE | |
| LOW | …s/benchmarks/misc/comparison/bench_amd_m3_moe_chain.py | 56 | CODE | |
| LOW | …s/benchmarks/misc/comparison/bench_blackwell_decode.py | 21 | CODE | |
| LOW | …c/comparison/bench_blackwell_mla_prefill_sparse_fp8.py | 27 | CODE | |
| LOW | max/kernels/benchmarks/misc/comparison/moe_routing.py | 20 | CODE | |
| LOW | …nchmarks/misc/comparison/bench_blackwell_mla_decode.py | 19 | CODE | |
| LOW | …hmarks/misc/comparison/bench_allreduce_subgraph_max.py | 21 | CODE | |
| LOW | max/kernels/benchmarks/misc/comparison/sweep_decode.py | 33 | CODE | |
| LOW | …nchmarks/misc/comparison/bench_mega_ffn_nvfp4_graph.py | 29 | CODE | |
| LOW | …/benchmarks/misc/comparison/bench_blackwell_prefill.py | 17 | CODE | |
| LOW | …benchmarks/misc/comparison/bench_allreduce_subgraph.py | 31 | CODE | |
| LOW | …s/misc/comparison/bench_flashinfer_trtllm_moe_nvfp4.py | 36 | CODE | |
| LOW | max/kernels/benchmarks/misc/comparison/bench_softmax.py | 17 | CODE | |
| LOW | max/kernels/benchmarks/misc/comparison/gpu_telemetry.py | 25 | CODE | |
| LOW | …/misc/comparison/bench_blackwell_mla_prefill_sparse.py | 26 | CODE | |
| LOW | max/kernels/benchmarks/misc/comparison/bench_amd_mha.py | 18 | CODE | |
| LOW | …s/benchmarks/misc/comparison/bench_mla_sparse_graph.py | 30 | CODE | |
| LOW | max/kernels/benchmarks/misc/comparison/bench_amd_mla.py | 22 | CODE | |
| LOW | …rnels/benchmarks/misc/comparison/sparse_mla_indices.py | 21 | CODE | |
| LOW | …/misc/comparison/bench_flashinfer_trtllm_mla_sparse.py | 27 | CODE | |
| LOW | max/kernels/benchmarks/autotune/terminal_viz.py | 15 | CODE | |
| LOW | max/kernels/benchmarks/autotune/kbench.py | 13 | CODE | |
| LOW | max/kernels/benchmarks/autotune/kbench_model.py | 13 | CODE | |
| LOW | max/kernels/benchmarks/autotune/tuning_codegen.py | 16 | CODE | |
| LOW | max/python/docs/check_api_coverage.py | 40 | CODE | |
| LOW | max/python/max/tree.py | 50 | CODE | |
| LOW | max/python/max/_validation_hooks.py | 22 | CODE | |
| LOW | max/python/max/_interpreter.py | 31 | CODE | |
| LOW | max/python/max/_mlir_context.py | 14 | CODE | |
| LOW | …/max/benchmark/sweep_benchmark_serving_result_utils.py | 23 | CODE | |
| LOW | max/python/max/benchmark/sweep_benchmark_serving.py | 23 | CODE | |
| LOW | max/python/max/benchmark/serve_replay.py | 14 | CODE | |
| LOW | max/python/max/benchmark/benchmark_serving.py | 16 | CODE | |
| LOW | max/python/max/benchmark/results_to_csv.py | 61 | CODE | |
| LOW | max/python/max/benchmark/benchmark_shared/multi_turn.py | 16 | CODE | |
| LOW | max/python/max/benchmark/benchmark_shared/metrics.py | 26 | CODE | |
| LOW | max/python/max/benchmark/benchmark_shared/metrics.py | 36 | CODE | |
| LOW | max/python/max/benchmark/benchmark_shared/metrics.py | 36 | CODE | |
| LOW | …/python/max/benchmark/benchmark_shared/steady_state.py | 27 | CODE | |
| LOW | max/python/max/benchmark/benchmark_shared/config.py | 16 | CODE | |
| LOW | …hon/max/benchmark/benchmark_shared/prometheus_fetch.py | 21 | CODE | |
| LOW | …ax/benchmark/benchmark_shared/serving_result_output.py | 19 | CODE | |
| LOW | …python/max/benchmark/benchmark_shared/backend_names.py | 34 | CODE | |
| LOW | max/python/max/benchmark/benchmark_shared/request.py | 16 | CODE | |
| LOW | …ython/max/benchmark/benchmark_shared/server_metrics.py | 16 | CODE | |
| LOW | …thon/max/benchmark/benchmark_shared/serving_metrics.py | 16 | CODE | |
| LOW | max/python/max/benchmark/benchmark_shared/sse.py | 19 | CODE | |
| LOW | …x/benchmark/benchmark_shared/gpu_metrics_prometheus.py | 34 | CODE | |
| LOW | …/max/benchmark/benchmark_shared/gpu_metrics_scraper.py | 33 | CODE | |
| LOW | max/python/max/benchmark/benchmark_shared/warmup.py | 36 | CODE | |
| LOW | max/python/max/benchmark/benchmark_shared/utils.py | 16 | CODE | |
| LOW | …x/python/max/benchmark/benchmark_shared/single_turn.py | 16 | CODE | |
| LOW | max/python/max/benchmark/benchmark_shared/model_csv.py | 44 | CODE | |
| LOW | …python/max/benchmark/benchmark_shared/workload_file.py | 29 | CODE | |
| LOW | …python/max/benchmark/benchmark_shared/result_groups.py | 34 | CODE | |
| 4317 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …xperimental/nn/common_layers/multi_latent_attention.py | 0 | creates the prefill planning metadata required by fp8 mla prefill kernels. args: input_row_offsets: ragged row offsets t | STRING |
| HIGH | max/python/max/nn/attention/multi_latent_attention.py | 0 | creates the prefill planning metadata required by fp8 mla prefill kernels. args: input_row_offsets: ragged row offsets t | STRING |
| HIGH | …/python/max/nn/attention/multi_latent_attention_fp8.py | 0 | creates the prefill planning metadata required by fp8 mla prefill kernels. args: input_row_offsets: ragged row offsets t | STRING |
| HIGH | max/python/max/experimental/nn/common_layers/mlp.py | 0 | applies the mlp2 transformation to the input. args: x: input tensor to transform. returns: the transformed tensor after | STRING |
| HIGH | max/python/max/nn/linear.py | 0 | applies the mlp2 transformation to the input. args: x: input tensor to transform. returns: the transformed tensor after | STRING |
| HIGH | …/pipelines/architectures/kimik2_5/layers/vision/mlp.py | 0 | applies the mlp2 transformation to the input. args: x: input tensor to transform. returns: the transformed tensor after | STRING |
| HIGH | …/max/experimental/nn/common_layers/rotary_embedding.py | 0 | rotaryembedding layer to calculate and apply the frequency tensor for complex exponentials. | STRING |
| HIGH | …tectures/pixtral/vision_encoder/rotary_embedding_2d.py | 0 | rotaryembedding layer to calculate and apply the frequency tensor for complex exponentials. | STRING |
| HIGH | …pixtral_modulev3/vision_encoder/rotary_embedding_2d.py | 0 | rotaryembedding layer to calculate and apply the frequency tensor for complex exponentials. | STRING |
| HIGH | …/max/experimental/nn/common_layers/rotary_embedding.py | 0 | hyperparameter used to control the frequency scaling of the sinusoidal components of the embeddings. | STRING |
| HIGH | …tectures/pixtral/vision_encoder/rotary_embedding_2d.py | 0 | hyperparameter used to control the frequency scaling of the sinusoidal components of the embeddings. | STRING |
| HIGH | …pixtral_modulev3/vision_encoder/rotary_embedding_2d.py | 0 | hyperparameter used to control the frequency scaling of the sinusoidal components of the embeddings. | STRING |
| HIGH | max/python/max/nn/linear.py | 0 | create sharded views of this moegate module across multiple devices. args: devices: iterable of devices to place the sha | STRING |
| HIGH | max/python/max/nn/conv.py | 0 | create sharded views of this moegate module across multiple devices. args: devices: iterable of devices to place the sha | STRING |
| HIGH | max/python/max/nn/attention/multi_latent_attention.py | 0 | create sharded views of this moegate module across multiple devices. args: devices: iterable of devices to place the sha | STRING |
| HIGH | …/python/max/nn/attention/multi_latent_attention_fp8.py | 0 | create sharded views of this moegate module across multiple devices. args: devices: iterable of devices to place the sha | STRING |
| HIGH | max/python/max/nn/norm/rms_norm.py | 0 | create sharded views of this moegate module across multiple devices. args: devices: iterable of devices to place the sha | STRING |
| HIGH | …/max/pipelines/architectures/gemma3/layers/rms_norm.py | 0 | create sharded views of this moegate module across multiple devices. args: devices: iterable of devices to place the sha | STRING |
| HIGH | max/python/max/nn/norm/layer_norm.py | 0 | create sharded views of this moegate module across multiple devices. args: devices: iterable of devices to place the sha | STRING |
| HIGH | max/python/max/nn/moe/moe.py | 0 | create sharded views of this moegate module across multiple devices. args: devices: iterable of devices to place the sha | STRING |
| HIGH | …/pipelines/architectures/deepseekV3/layers/moe_gate.py | 0 | create sharded views of this moegate module across multiple devices. args: devices: iterable of devices to place the sha | STRING |
| HIGH | …/max/pipelines/architectures/gemma4/layers/rms_norm.py | 0 | create sharded views of this moegate module across multiple devices. args: devices: iterable of devices to place the sha | STRING |
| HIGH | …on/max/pipelines/architectures/qwen2_5vl/nn/decoder.py | 0 | create sharded views of this moegate module across multiple devices. args: devices: iterable of devices to place the sha | STRING |
| HIGH | …pelines/architectures/qwen2_5vl/nn/vision_attention.py | 0 | create sharded views of this moegate module across multiple devices. args: devices: iterable of devices to place the sha | STRING |
| HIGH | …ython/max/pipelines/architectures/internvl/internvl.py | 0 | create sharded views of this moegate module across multiple devices. args: devices: iterable of devices to place the sha | STRING |
| HIGH | …/pipelines/architectures/kimik2_5/layers/vision/mlp.py | 0 | create sharded views of this moegate module across multiple devices. args: devices: iterable of devices to place the sha | STRING |
| HIGH | max/python/max/nn/attention/attention_with_rope.py | 0 | an opaque kv cache optimized attention mechanism with rope. | STRING |
| HIGH | max/python/max/nn/attention/multi_latent_attention.py | 0 | an opaque kv cache optimized attention mechanism with rope. | STRING |
| HIGH | …/python/max/nn/attention/multi_latent_attention_fp8.py | 0 | an opaque kv cache optimized attention mechanism with rope. | STRING |
| HIGH | max/python/max/nn/attention/attention_with_rope.py | 0 | the concatenation of q, k, and v bias weight vectors. | STRING |
| HIGH | …/max/pipelines/architectures/olmo3/layers/attention.py | 0 | the concatenation of q, k, and v bias weight vectors. | STRING |
| HIGH | …nes/architectures/gpt_oss_modulev3/layers/attention.py | 0 | the concatenation of q, k, and v bias weight vectors. | STRING |
| HIGH | …ines/architectures/gemma3_modulev3/layers/attention.py | 0 | the concatenation of q, k, and v bias weight vectors. | STRING |
| HIGH | …on/max/pipelines/architectures/qwen2_5vl/nn/decoder.py | 0 | the concatenation of q, k, and v bias weight vectors. | STRING |
| HIGH | …lines/architectures/olmo2_modulev3/layers/attention.py | 0 | the concatenation of q, k, and v bias weight vectors. | STRING |
| HIGH | …x/python/max/nn/transformer/distributed_transformer.py | 0 | stack of attention, feedforward, and rmsnorm layers. | STRING |
| HIGH | max/python/max/nn/transformer/transformer.py | 0 | stack of attention, feedforward, and rmsnorm layers. | STRING |
| HIGH | …es/architectures/pixtral/vision_encoder/transformer.py | 0 | stack of attention, feedforward, and rmsnorm layers. | STRING |
| HIGH | …ectures/pixtral_modulev3/vision_encoder/transformer.py | 0 | stack of attention, feedforward, and rmsnorm layers. | STRING |
| HIGH | max/python/max/nn/moe/sigmoid_router.py | 0 | replicates the correction bias alongside the base gate weights. | STRING |
| HIGH | …/pipelines/architectures/deepseekV3/layers/moe_gate.py | 0 | replicates the correction bias alongside the base gate weights. | STRING |
| HIGH | …/max/pipelines/architectures/laguna/layers/moe_gate.py | 0 | replicates the correction bias alongside the base gate weights. | STRING |
| HIGH | …x/python/max/_interpreter_ops/elementwise_binary_gc.py | 0 | the input-dtype set an op is swept over (see ``_supported_dtypes``). | STRING |
| HIGH | max/python/max/_interpreter_ops/reduce_axis_gc.py | 0 | the input-dtype set an op is swept over (see ``_supported_dtypes``). | STRING |
| HIGH | max/python/max/_interpreter_ops/unary_elementwise_gc.py | 0 | the input-dtype set an op is swept over (see ``_supported_dtypes``). | STRING |
| HIGH | …x/python/max/_interpreter_ops/elementwise_binary_gc.py | 0 | conservative swept dtype set for a (dtype_class, device). | STRING |
| HIGH | max/python/max/_interpreter_ops/reduce_axis_gc.py | 0 | conservative swept dtype set for a (dtype_class, device). | STRING |
| HIGH | max/python/max/_interpreter_ops/unary_elementwise_gc.py | 0 | conservative swept dtype set for a (dtype_class, device). | STRING |
| HIGH | …x/python/max/_interpreter_ops/elementwise_binary_gc.py | 0 | graph ``sym_name`` and cache key for one (op, device, dtype). | STRING |
| HIGH | max/python/max/_interpreter_ops/unary_elementwise_gc.py | 0 | graph ``sym_name`` and cache key for one (op, device, dtype). | STRING |
| HIGH | max/python/max/_interpreter_ops/topk_gc.py | 0 | graph ``sym_name`` and cache key for one (op, device, dtype). | STRING |
| HIGH | …x/python/max/_interpreter_ops/elementwise_binary_gc.py | 0 | per-slot counterpart of :meth:`build_module`: one *device* only. | STRING |
| HIGH | max/python/max/_interpreter_ops/reduce_axis_gc.py | 0 | per-slot counterpart of :meth:`build_module`: one *device* only. | STRING |
| HIGH | max/python/max/_interpreter_ops/gather_gc.py | 0 | per-slot counterpart of :meth:`build_module`: one *device* only. | STRING |
| HIGH | max/python/max/_interpreter_ops/scatter_gc.py | 0 | per-slot counterpart of :meth:`build_module`: one *device* only. | STRING |
| HIGH | max/python/max/_interpreter_ops/scatter_nd_gc.py | 0 | the same-bit-width unsigned int a dtype is bit-cast to for copying. raises: notimplementederror: for sub-byte dtypes (su | STRING |
| HIGH | max/python/max/_interpreter_ops/gather_gc.py | 0 | the same-bit-width unsigned int a dtype is bit-cast to for copying. raises: notimplementederror: for sub-byte dtypes (su | STRING |
| HIGH | max/python/max/_interpreter_ops/scatter_gc.py | 0 | the same-bit-width unsigned int a dtype is bit-cast to for copying. raises: notimplementederror: for sub-byte dtypes (su | STRING |
| HIGH | max/python/max/pipelines/sampling/sampling_config.py | 0 | the section name to use when loading this config from a maxconfig file. this is used to differentiate between different | STRING |
| HIGH | max/python/max/pipelines/kv_cache/config.py | 0 | the section name to use when loading this config from a maxconfig file. this is used to differentiate between different | STRING |
| 515 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | docs/generate-metrics-table.py | 104 | Returns one table with its Type and Description columns refreshed. The rows keep the order the page gives them, and | STRING |
| HIGH | docs/generate-metrics-table.py | 179 | Returns the page with every table's cells refreshed. Args: current: The full text of the metrics reference. | STRING |
| HIGH | …/kernels/benchmarks/misc/comparison/setup_bench_env.py | 113 | Ensure a source repository exists, cloning if necessary. Args: name: Repository key in REPOS dict (e.g., "d | STRING |
| HIGH | max/python/max/tree.py | 322 | Takes one interior node apart, one level deep. Args: value: An interior node, as :func:`is_node` judges it. | STRING |
| HIGH | max/python/max/tree.py | 435 | Flattens ``tree`` using this structure to locate the leaves. The walk descends into ``tree`` wherever this stru | STRING |
| HIGH | max/python/max/tree.py | 569 | Splits ``tree`` into its leaves and the structure around them. Args: tree: The value to take apart. | STRING |
| HIGH | max/python/max/tree.py | 633 | Rebuilds a tree from a structure and its leaves. The inverse of :func:`flatten`, always building a fresh tree. | STRING |
| HIGH | max/python/max/tree.py | 804 | Returns ``tree``'s leaves keyed by their dotted path. The result is what :func:`update` consumes. Args: | STRING |
| HIGH | max/python/max/tree.py | 892 | Builds a new tree with each leaf replaced by what ``f`` returns. With extra trees in ``rest``, ``f`` receives one l | STRING |
| HIGH | max/python/max/tree.py | 933 | Writes path-keyed values into ``tree``, in place. The counterpart of :func:`paths`, taking the same knobs. Only lea | STRING |
| HIGH | max/python/max/_interpreter.py | 202 | Execute an MO graph and return output buffers. Args: graph: The finalized MO graph to execute. inpu | STRING |
| HIGH | max/python/max/benchmark/benchmark_serving.py | 192 | Choose the GPU-stats recorder for this run, or None to disable it. The remote sources are source selectors, not add | STRING |
| HIGH | max/python/max/benchmark/benchmark_serving.py | 236 | Parse response format from CLI arg (inline JSON or @filepath). Args: arg: Either a JSON string or '@path/to | STRING |
| HIGH | max/python/max/benchmark/benchmark_serving.py | 272 | Parses tool definitions from a CLI arg (inline JSON or @filepath). Args: arg: Either a JSON list or '@path/ | STRING |
| HIGH | max/python/max/benchmark/benchmark_shared/config.py | 273 | Resolve one argument into a mapping, from any of its three spellings. A field holding structured data is reachable | STRING |
| HIGH | …hon/max/benchmark/benchmark_shared/prometheus_fetch.py | 27 | Fetch raw metrics text from a Prometheus endpoint. Args: url: Prometheus metrics endpoint URL. time | STRING |
| HIGH | …ython/max/benchmark/benchmark_shared/server_metrics.py | 101 | Get a histogram by name and optional labels. Args: metric_name: Base metric name (such as "maxserve | STRING |
| HIGH | …ython/max/benchmark/benchmark_shared/server_metrics.py | 147 | Get the metrics URL for a backend. Args: backend: Backend name (Backend enum) base_url: Base API UR | STRING |
| HIGH | …ython/max/benchmark/benchmark_shared/server_metrics.py | 281 | Fetch and parse metrics for a backend. Convenience function that combines get_metrics_url, fetch_metrics, and parse | STRING |
| HIGH | …x/benchmark/benchmark_shared/lora_benchmark_manager.py | 109 | Get LoRA name for a given request index. Args: request_idx: The request index Returns: | STRING |
| HIGH | max/python/max/benchmark/benchmark_shared/model_csv.py | 406 | Loads a result JSON file and returns one flattened row per result. Supports the shapes the benchmarks emit: - | STRING |
| HIGH | max/python/max/benchmark/benchmark_shared/model_csv.py | 461 | Chooses the ordered CSV columns from those available in the input. The default (no options) is ``profile.summary``, | STRING |
| HIGH | max/python/max/benchmark/benchmark_shared/model_csv.py | 615 | Reads result JSON ``inputs`` and writes a CSV with selected columns. Args: inputs: The result J | STRING |
| HIGH | max/python/max/benchmark/benchmark_shared/model_csv.py | 878 | Applies a function to every key in a mapping and returns a new dict. Args: f: The function to a | STRING |
| HIGH | …n/max/benchmark/benchmark_shared/datasets/interface.py | 77 | Factory method to create the appropriate dataset subclass based on dataset name. This factory method automatica | STRING |
| HIGH | …n/max/benchmark/benchmark_shared/datasets/interface.py | 140 | Get the appropriate dataset class for the given dataset name. Args: dataset_name: Name of the datas | STRING |
| HIGH | …n/max/benchmark/benchmark_shared/datasets/interface.py | 222 | Sample requests from the dataset. This is the standardized interface that all dataset implementations must foll | STRING |
| HIGH | …x/benchmark/benchmark_shared/datasets/agentic_tools.py | 95 | Build the per-tool load profiles from a ``tools`` mapping. Args: profiles: A mapping holding a ``tools`` li | STRING |
| HIGH | …ython/max/benchmark/benchmark_shared/datasets/types.py | 224 | Read an image file as raw bytes and encode in base64 without any transformations. Preserves the exact original | STRING |
| HIGH | …/python/max/benchmark/benchmark_shared/datasets/all.py | 94 | Resolve ``--agentic-tool-profiles``, rejecting incoherent combinations. Args: args: The parsed benchmark co | STRING |
| HIGH | …ax/benchmark/benchmark_shared/datasets/distribution.py | 104 | Parse a distribution parameter that the caller must supply. Args: param: An int or float, or a dist | STRING |
| HIGH | …ax/benchmark/benchmark_shared/datasets/distribution.py | 126 | Parse a distribution parameter into a concrete distribution instance. Args: param: An int or float, | STRING |
| HIGH | …ax/benchmark/benchmark_shared/datasets/distribution.py | 268 | Parse a string like "Cat(v1:w1, v2:w2, ...)" into a CategoricalDistribution. Args: schema: A string | STRING |
| HIGH | …ax/benchmark/benchmark_shared/datasets/distribution.py | 328 | Parse a string like "N(mean, std)" into a NormalDistribution. Args: schema: A string in the format | STRING |
| HIGH | …ax/benchmark/benchmark_shared/datasets/distribution.py | 374 | Parse a string like "U(lower, upper)" into a UniformDistribution. Args: schema: A string in the for | STRING |
| HIGH | …ax/benchmark/benchmark_shared/datasets/distribution.py | 419 | Parse a string like "G(shape, scale)" into a GammaDistribution. Args: schema: A string in the forma | STRING |
| HIGH | …ax/benchmark/benchmark_shared/datasets/distribution.py | 469 | Parse a string like "LN(mean, std)" into a LogNormalDistribution. Args: schema: A string in the for | STRING |
| HIGH | …ax/benchmark/benchmark_shared/datasets/distribution.py | 533 | Parse a string like "Burr12(c, d, scale)" into a Burr12Distribution. Args: schema: A string in the | STRING |
| HIGH | …ax/benchmark/benchmark_shared/datasets/distribution.py | 587 | Parse a string like "DU(lower, upper)" into a DiscreteUniformDistribution. Args: schema: A string i | STRING |
| HIGH | …ax/benchmark/benchmark_shared/datasets/distribution.py | 645 | Parse a string like "NB(n, p)" into a NegativeBinomialDistribution. Args: schema: A string in the f | STRING |
| HIGH | …chmark/benchmark_shared/datasets/image_augmentation.py | 94 | Sample pixel dimensions from long-side and aspect-ratio distributions. Args: long_side_dist: Distribution f | STRING |
| HIGH | max/python/max/experimental/custom.py | 856 | Resolves an output's dtype, following a dtype variable if used. Args: spec: The output's declared : | STRING |
| HIGH | max/python/max/experimental/custom.py | 943 | Declares a custom op from its signature. Validates the signature, compiles any Mojo source package, and resolves | STRING |
| HIGH | max/python/max/experimental/compile_pool.py | 336 | Schedules a multi-graph :class:`~max.graph.Module` for compilation. Args: module: The module to com | STRING |
| HIGH | max/python/max/experimental/realization_context.py | 362 | Adds a realized tensor as an input source to the computation graph. Registers a realized tensor as a graph inpu | STRING |
| HIGH | max/python/max/experimental/random.py | 73 | Creates a tensor filled with random values from a uniform distribution. Generates a tensor with values uniformly di | STRING |
| HIGH | max/python/max/experimental/random.py | 125 | Creates a tensor filled with random values from a Gaussian (normal) distribution. Generates a tensor with values sa | STRING |
| HIGH | max/python/max/experimental/tensor.py | 625 | Returns this tensor's shards under a new placement, moving no data. Use it to claim the placement of a per-devi | STRING |
| HIGH | max/python/max/experimental/tensor.py | 854 | Materializes a dimension as a rank-0 (scalar) tensor on CPU. Converts a shape dimension — static, symbolic, or | STRING |
| HIGH | max/python/max/experimental/tensor.py | 941 | Creates a tensor from one value per device, moving no data. Each value is one device's shard: a graph value, or | STRING |
| HIGH | max/python/max/experimental/tensor.py | 1152 | Creates a constant tensor from a Python literal or array-like value. .. deprecated:: 26.2 Use ``Ten | STRING |
| HIGH | max/python/max/experimental/tensor.py | 1418 | Creates a tensor with evenly spaced values within a given interval. Returns a new 1-D tensor containing a seque | STRING |
| HIGH | max/python/max/experimental/tensor.py | 2024 | Returns the indices of the maximum values along an axis. It's useful for finding the position of the largest el | STRING |
| HIGH | max/python/max/experimental/tensor.py | 2064 | Computes the maximum along a specified axis. .. code-block:: python from max.experimental import t | STRING |
| HIGH | max/python/max/experimental/tensor.py | 2104 | Computes the minimum along a specified axis. .. code-block:: python from max.experimental import t | STRING |
| HIGH | max/python/max/experimental/tensor.py | 2144 | Computes the mean along a specified axis. .. code-block:: python from max.experimental import tens | STRING |
| HIGH | max/python/max/experimental/tensor.py | 2184 | Computes the sum along a specified axis. .. code-block:: python from max.experimental import tenso | STRING |
| HIGH | max/python/max/experimental/tensor.py | 2224 | Computes the product along a specified axis. Args: axis: The axis along which to compute the produc | STRING |
| HIGH | max/python/max/experimental/tensor.py | 2283 | Removes a dimension of size ``1`` from the tensor. This is useful for removing singleton dimensions from tensor | STRING |
| HIGH | max/python/max/experimental/tensor.py | 2315 | Inserts a dimension of size ``1`` into the tensor. This is the inverse of :meth:`squeeze` and is useful for add | STRING |
| 472 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | max/kernels/benchmarks/misc/utils/bench.py | 48 | except ImportError: | CODE |
| HIGH | max/kernels/benchmarks/misc/utils/bench.py | 327 | except (AssertionError, ZeroDivisionError, RuntimeError): | CODE |
| HIGH | max/kernels/benchmarks/misc/utils/bench.py | 244 | except (ValueError, ZeroDivisionError): | CODE |
| HIGH | max/kernels/benchmarks/autotune/kbench_model.py | 1210 | except Exception: | CODE |
| HIGH | max/kernels/benchmarks/autotune/kbench_model.py | 259 | except Exception: | CODE |
| HIGH | max/kernels/benchmarks/autotune/kprofile.py | 637 | except: | CODE |
| HIGH | max/python/max/_interpreter.py | 76 | except Exception: | CODE |
| HIGH | max/python/max/benchmark/serve_replay.py | 52 | except Exception: | CODE |
| HIGH | max/python/max/benchmark/serve_replay.py | 74 | except Exception: | CODE |
| HIGH | max/python/max/benchmark/serve_replay.py | 88 | except Exception: | CODE |
| HIGH | max/python/max/benchmark/benchmark_shared/utils.py | 151 | except (urllib.error.URLError, ConnectionError, OSError): | CODE |
| HIGH | …/python/max/benchmark/benchmark_shared/datasets/all.py | 154 | except Exception: | CODE |
| HIGH | …ax/benchmark/benchmark_shared/datasets/distribution.py | 152 | except ValueError: | CODE |
| HIGH | max/python/max/experimental/executor.py | 312 | except UnsupportedGraphError: | CODE |
| HIGH | …python/max/experimental/cascade/grpc_runtime/server.py | 131 | except asyncio.CancelledError: | CODE |
| HIGH | …ython/max/experimental/cascade/grpc_runtime/subproc.py | 72 | except FileNotFoundError: | CODE |
| HIGH | …python/max/experimental/cascade/grpc_runtime/client.py | 82 | except grpc.RpcError: | CODE |
| HIGH | …ython/max/experimental/cascade/http_runtime/subproc.py | 128 | except aiohttp.ClientError: | CODE |
| HIGH | max/python/max/nn/parallel/numpy_parallel_ops.py | 100 | except Exception: | CODE |
| HIGH | max/python/max/nn/parallel/numpy_parallel_ops.py | 108 | except Exception: | CODE |
| HIGH | max/python/max/nn/parallel/numpy_parallel_ops.py | 126 | except Exception: | CODE |
| HIGH | max/python/max/config/__init__.py | 388 | except ValueError: | CODE |
| HIGH | max/python/max/pipelines/context/video.py | 241 | except ValueError: | CODE |
| HIGH | max/python/max/pipelines/context/video.py | 575 | except av.error.FFmpegError: | CODE |
| HIGH | max/python/max/pipelines/context/video.py | 598 | except av.error.FFmpegError: | CODE |
| HIGH | max/python/max/pipelines/context/video.py | 616 | except av.error.FFmpegError: | CODE |
| HIGH | max/python/max/pipelines/architectures/__init__.py | 452 | except ModuleNotFoundError: | CODE |
| HIGH | max/python/max/pipelines/architectures/__init__.py | 460 | except ModuleNotFoundError: | CODE |
| HIGH | max/python/max/pipelines/architectures/__init__.py | 470 | except ModuleNotFoundError: | CODE |
| HIGH | max/python/max/pipelines/architectures/__init__.py | 478 | except ModuleNotFoundError: | CODE |
| HIGH | max/python/max/pipelines/architectures/__init__.py | 488 | except ModuleNotFoundError: | CODE |
| HIGH | max/python/max/pipelines/architectures/__init__.py | 496 | except ModuleNotFoundError: | CODE |
| HIGH | max/python/max/pipelines/architectures/__init__.py | 506 | except ModuleNotFoundError: | CODE |
| HIGH | max/python/max/pipelines/architectures/__init__.py | 516 | except ModuleNotFoundError: | CODE |
| HIGH | max/python/max/pipelines/architectures/__init__.py | 528 | except ModuleNotFoundError: | CODE |
| HIGH | …/python/max/pipelines/architectures/hf_config_shims.py | 65 | except ValueError: | CODE |
| HIGH | …/python/max/pipelines/architectures/hf_config_shims.py | 77 | except ValueError: | CODE |
| HIGH | …/python/max/pipelines/architectures/hf_config_shims.py | 142 | except ValueError: | CODE |
| HIGH | …/python/max/pipelines/architectures/hf_config_shims.py | 204 | except ValueError: | CODE |
| HIGH | …/python/max/pipelines/architectures/hf_config_shims.py | 269 | except ValueError: | CODE |
| HIGH | …/python/max/pipelines/architectures/hf_config_shims.py | 409 | except ValueError: | CODE |
| HIGH | …/python/max/pipelines/architectures/hf_config_shims.py | 49 | except ValueError: | CODE |
| HIGH | …/python/max/pipelines/architectures/hf_config_shims.py | 441 | except ValueError: | CODE |
| HIGH | …/python/max/pipelines/architectures/hf_config_shims.py | 471 | except ValueError: | CODE |
| HIGH | …thon/max/pipelines/architectures/laguna/tool_parser.py | 81 | except json.JSONDecodeError: | CODE |
| HIGH | …hon/max/pipelines/architectures/laguna/model_config.py | 276 | except (AttributeError, TypeError): | CODE |
| HIGH | …hon/max/pipelines/architectures/laguna/model_config.py | 293 | except (AttributeError, TypeError): | CODE |
| HIGH | …pelines/architectures/gemma4_assistant/model_config.py | 45 | except ValueError: | CODE |
| HIGH | …thon/max/pipelines/architectures/gemma4/tool_parser.py | 76 | except ValueError: | CODE |
| HIGH | …hon/max/pipelines/architectures/qwen3_5/tool_parser.py | 97 | except json.JSONDecodeError: | CODE |
| HIGH | …pelines/architectures/kimik2_5_modulev3/tool_parser.py | 84 | except (ValueError, IndexError): | CODE |
| HIGH | …on/max/pipelines/architectures/kimik2_5/tool_parser.py | 84 | except (ValueError, IndexError): | CODE |
| HIGH | …thon/max/pipelines/kv_cache/connectors/_offload_dir.py | 80 | except FileNotFoundError: | CODE |
| HIGH | …x/pipelines/kv_cache/paged_kv_cache/transfer_engine.py | 123 | except OSError: | CODE |
| HIGH | max/python/max/pipelines/lib/device_specs.py | 173 | except (ValueError, TypeError, msgspec.ValidationError): | CODE |
| HIGH | max/python/max/pipelines/lib/device_specs.py | 184 | except ValueError: | CODE |
| HIGH | max/python/max/pipelines/lib/config/model_config.py | 1837 | except Exception: | CODE |
| HIGH | …lines/lib/pipeline_variants/overlap_text_generation.py | 3478 | except Exception: | CODE |
| HIGH | max/python/max/support/host_memory.py | 152 | except (AttributeError, OSError, ValueError): | CODE |
| HIGH | max/python/max/support/host_memory.py | 171 | except (OSError, RuntimeError): | CODE |
| 84 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …local_transformers_setup/cleanup_local_transformers.sh | 30 | # Create a temp file to build the cleaned version | COMMENT |
| MEDIUM | docs/code/develop/tensors/create_first_tensor.py | 17 | # Create a simple 1-D tensor (a vector) | COMMENT |
| MEDIUM | docs/code/develop/tensors/create_multi_dim.py | 17 | # Create a 2-D tensor (a matrix) | COMMENT |
| MEDIUM | docs/code/develop/tensors/create_multi_dim.py | 21 | # Create a 3-D tensor (a cube of numbers) | COMMENT |
| MEDIUM | docs/code/develop/dtypes/specify_dtype.py | 19 | # Create a tensor with float32 (default for most operations) | COMMENT |
| MEDIUM | docs/code/develop/dtypes/specify_dtype.py | 23 | # Create a tensor with int32 for indices or counts | COMMENT |
| MEDIUM | docs/code/develop/dtypes/dlpack_conversion.py | 18 | # Create a NumPy array | COMMENT |
| MEDIUM | docs/code/develop/dtypes/cast_dtype.py | 19 | # Create a float32 tensor | COMMENT |
| MEDIUM | …enchmarks/misc/utils/bench_vllm_flashinfer_decoding.py | 88 | # Create the block tables. | COMMENT |
| MEDIUM | …nchmarks/misc/utils/bench_vllm_flashinfer_attention.py | 82 | # Create the block tables. | COMMENT |
| MEDIUM | …ernels/benchmarks/misc/utils/warp_profiling/profile.py | 237 | # Create a dictionary of dataframes, one for each group | COMMENT |
| MEDIUM | …benchmarks/misc/comparison/bench_allreduce_subgraph.py | 193 | # Create a CPU group for coordination (CustomAllreduce needs this) | COMMENT |
| MEDIUM | …chmarks/gpu/linalg/bench_matmul_llama3_70B_4xH100.yaml | 20 | # This file is facilitate development before GTC and should be combined | COMMENT |
| MEDIUM | max/python/docs/build-rsts.sh | 71 | # Create the directory if it does not exist | COMMENT |
| MEDIUM | max/python/max/_interpreter.py | 216 | # Create a new interpreter slots dictionary for this execution. | COMMENT |
| MEDIUM | max/python/max/benchmark/benchmark_serving.py | 507 | # Create a request driver instance without pbar for test prompt | COMMENT |
| MEDIUM | …hmark/benchmark_shared/datasets/arxiv_summarization.py | 70 | # Create a summarization prompt | COMMENT |
| MEDIUM | …hmark/benchmark_shared/datasets/arxiv_summarization.py | 107 | # Create the full prompt | COMMENT |
| MEDIUM⚡ | max/python/max/experimental/tensor.py | 1435 | # Create a range from 0 to 10 (exclusive) | STRING |
| MEDIUM⚡ | max/python/max/experimental/tensor.py | 1439 | # Create a range from 5 to 15 with step 2 | STRING |
| MEDIUM⚡ | max/python/max/experimental/tensor.py | 1447 | # Create a range with a floating-point step | STRING |
| MEDIUM⚡ | max/python/max/experimental/tensor.py | 1451 | # Create a descending range with negative step | STRING |
| MEDIUM | max/python/max/experimental/tensor.py | 1024 | # Create a NumPy array | STRING |
| MEDIUM | max/python/max/experimental/tensor.py | 1213 | # Create a 3x3 tensor filled with 7 | STRING |
| MEDIUM | max/python/max/experimental/tensor.py | 1216 | # Create a 2x4 tensor filled with pi | STRING |
| MEDIUM | max/python/max/experimental/tensor.py | 1250 | # Create a reference tensor | STRING |
| MEDIUM | max/python/max/experimental/tensor.py | 1288 | # Create a 2x3 tensor of zeros | STRING |
| MEDIUM | max/python/max/experimental/tensor.py | 1293 | # Create a 1D tensor using default dtype and device | STRING |
| MEDIUM | max/python/max/experimental/tensor.py | 1324 | # Create a reference tensor | STRING |
| MEDIUM | max/python/max/experimental/tensor.py | 1359 | # Create a 2x3 tensor of ones | STRING |
| MEDIUM | max/python/max/experimental/tensor.py | 1389 | # Create a reference tensor | STRING |
| MEDIUM | max/python/max/experimental/tensor.py | 1509 | # Create a reference tensor with shape (2, 4) | STRING |
| MEDIUM | max/python/max/experimental/tensor.py | 2070 | # Create a 2x4 tensor | STRING |
| MEDIUM | max/python/max/experimental/tensor.py | 2110 | # Create a 2x4 tensor | STRING |
| MEDIUM | max/python/max/experimental/tensor.py | 2150 | # Create a 2x4 tensor | STRING |
| MEDIUM | max/python/max/experimental/tensor.py | 2190 | # Create a 2x3 tensor | STRING |
| MEDIUM | max/python/max/experimental/tensor.py | 2254 | # Create a 2x4 tensor | STRING |
| MEDIUM | max/python/max/experimental/tensor.py | 2365 | # Create a 10x4 tensor | STRING |
| MEDIUM | max/python/max/experimental/tensor.py | 2471 | # Create a float32 tensor | STRING |
| MEDIUM | max/python/max/experimental/tensor.py | 2574 | # Create a 2x3 matrix | STRING |
| MEDIUM | max/python/max/experimental/validation.py | 410 | # The following methods are called from max._validation_hooks. | COMMENT |
| MEDIUM | max/python/max/nn/attention/multihead_attention.py | 164 | # Create a module instance for this device | COMMENT |
| MEDIUM | max/python/max/nn/moe/quant_strategy.py | 358 | # Create a dummy expert scales tensor with shape (num_experts,) for | COMMENT |
| MEDIUM | max/python/max/config/__init__.py | 1052 | # Create a wrapper class to override parse_args method | COMMENT |
| MEDIUM | max/python/max/graph/quantization.py | 80 | # Create a quantized weight using Q4_K encoding | STRING |
| MEDIUM | max/python/max/graph/graph.py | 869 | # Create an always-ready chain that is never advanced by the graph. | COMMENT |
| MEDIUM | max/python/max/graph/type.py | 136 | # Create a GPU device reference (default id=0) | STRING |
| MEDIUM | max/python/max/graph/type.py | 139 | # Create a CPU device with specific id | STRING |
| MEDIUM | max/python/max/graph/type.py | 375 | # Create a tensor type with float32 elements and static dimensions 2x3 | STRING |
| MEDIUM | max/python/max/graph/type.py | 543 | # Create an opaque type with parameters | STRING |
| MEDIUM⚡ | max/python/max/graph/value.py | 377 | # Create a sample matrix | STRING |
| MEDIUM⚡ | max/python/max/graph/value.py | 380 | # Create a Graph context to work with tensors | STRING |
| MEDIUM⚡ | max/python/max/graph/value.py | 382 | # Create a constant tensor from the matrix | STRING |
| MEDIUM⚡ | max/python/max/graph/value.py | 487 | # Create a 2x2 matrix | STRING |
| MEDIUM⚡ | max/python/max/graph/value.py | 490 | # Create a Graph context to work with tensors | STRING |
| MEDIUM⚡ | max/python/max/graph/value.py | 492 | # Create a constant tensor from the matrix | STRING |
| MEDIUM⚡ | max/python/max/graph/value.py | 517 | # Create a matrix with float32 values | STRING |
| MEDIUM⚡ | max/python/max/graph/value.py | 520 | # Create a Graph context to work with tensors | STRING |
| MEDIUM⚡ | max/python/max/graph/value.py | 522 | # Create a constant tensor from the matrix | STRING |
| MEDIUM⚡ | max/python/max/graph/value.py | 542 | # Create a 2x2 matrix (2-dimensional array) | STRING |
| 174 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | docs/write-nightly-release.py | 29 | CODE | |
| LOW | docs/post-process-docs.py | 25 | CODE | |
| LOW | docs/post-process-docs.py | 46 | CODE | |
| LOW | docs/post-process-docs.py | 153 | CODE | |
| LOW | docs/post-process-docs.py | 172 | CODE | |
| LOW | docs/post-process-docs.py | 187 | CODE | |
| LOW | docs/post-process-docs.py | 200 | CODE | |
| LOW | docs/post-process-docs.py | 215 | CODE | |
| LOW | docs/generate-arch-docs.py | 110 | CODE | |
| LOW | docs/generate-arch-docs.py | 244 | CODE | |
| LOW | docs/generate-models-table.py | 244 | CODE | |
| LOW | docs/generate-models-table.py | 366 | CODE | |
| LOW | max/kernels/test/gpu/fuzz/fuzz.py | 1044 | CODE | |
| LOW | max/kernels/test/gpu/fuzz/fuzz.py | 1286 | CODE | |
| LOW | max/kernels/benchmarks/misc/analyze_4wave_autotune.py | 55 | CODE | |
| LOW | max/kernels/benchmarks/misc/utils/bench.py | 128 | CODE | |
| LOW | max/kernels/benchmarks/misc/utils/bench.py | 215 | CODE | |
| LOW | …ernels/benchmarks/misc/comparison/bench_ep_baseline.py | 457 | CODE | |
| LOW | …s/benchmarks/misc/comparison/bench_amd_m3_moe_chain.py | 253 | CODE | |
| LOW | max/kernels/benchmarks/misc/comparison/sweep_decode.py | 50 | CODE | |
| LOW | …nchmarks/misc/comparison/bench_mega_ffn_nvfp4_graph.py | 322 | CODE | |
| LOW | …/benchmarks/misc/comparison/bench_blackwell_prefill.py | 452 | CODE | |
| LOW | …s/misc/comparison/bench_flashinfer_trtllm_moe_nvfp4.py | 268 | CODE | |
| LOW | max/kernels/benchmarks/autotune/kbench_model.py | 1298 | CODE | |
| LOW | max/kernels/benchmarks/autotune/kbench_model.py | 686 | CODE | |
| LOW | max/kernels/benchmarks/autotune/kbench_model.py | 736 | CODE | |
| LOW | max/kernels/benchmarks/autotune/kbench_model.py | 857 | CODE | |
| LOW | max/kernels/benchmarks/autotune/kbench_model.py | 1562 | CODE | |
| LOW | max/kernels/benchmarks/autotune/kbench_model.py | 1793 | CODE | |
| LOW | max/kernels/benchmarks/autotune/kbench_model.py | 1954 | CODE | |
| LOW | max/kernels/benchmarks/autotune/kbench_model.py | 1987 | CODE | |
| LOW | max/kernels/benchmarks/autotune/kbench_model.py | 2045 | CODE | |
| LOW | max/kernels/benchmarks/autotune/tuning_codegen.py | 95 | CODE | |
| LOW | max/kernels/benchmarks/autotune/kplot.py | 111 | CODE | |
| LOW | max/kernels/benchmarks/autotune/kprofile.py | 750 | CODE | |
| LOW | max/python/docs/check_api_coverage.py | 90 | CODE | |
| LOW | max/python/docs/check_api_coverage.py | 216 | CODE | |
| LOW | max/python/docs/check_api_coverage.py | 408 | CODE | |
| LOW | max/python/max/tree.py | 630 | CODE | |
| LOW | max/python/max/tree.py | 926 | CODE | |
| LOW | max/python/max/tree.py | 682 | CODE | |
| LOW | max/python/max/tree.py | 960 | CODE | |
| LOW | max/python/max/_interpreter.py | 247 | CODE | |
| LOW | max/python/max/benchmark/sweep_benchmark_serving.py | 108 | CODE | |
| LOW | max/python/max/benchmark/serve_replay.py | 60 | CODE | |
| LOW | max/python/max/benchmark/benchmark_serving.py | 417 | CODE | |
| LOW | max/python/max/benchmark/benchmark_serving.py | 1041 | CODE | |
| LOW | max/python/max/benchmark/benchmark_serving.py | 1395 | CODE | |
| LOW | max/python/max/benchmark/benchmark_serving.py | 1576 | CODE | |
| LOW | max/python/max/benchmark/benchmark_shared/multi_turn.py | 80 | CODE | |
| LOW | max/python/max/benchmark/benchmark_shared/multi_turn.py | 776 | CODE | |
| LOW | max/python/max/benchmark/benchmark_shared/metrics.py | 1434 | CODE | |
| LOW | max/python/max/benchmark/benchmark_shared/metrics.py | 387 | CODE | |
| LOW | …ax/benchmark/benchmark_shared/serving_result_output.py | 208 | CODE | |
| LOW | …ax/benchmark/benchmark_shared/serving_result_output.py | 419 | CODE | |
| LOW | max/python/max/benchmark/benchmark_shared/request.py | 710 | CODE | |
| LOW | max/python/max/benchmark/benchmark_shared/request.py | 540 | CODE | |
| LOW | max/python/max/benchmark/benchmark_shared/request.py | 1418 | CODE | |
| LOW | …ython/max/benchmark/benchmark_shared/server_metrics.py | 214 | CODE | |
| LOW | …ython/max/benchmark/benchmark_shared/server_metrics.py | 407 | CODE | |
| 578 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | max/kernels/benchmarks/autotune/kdiff.py | 50 | export KUBECONFIG=/dev/null ; # recommended | STRING |
| HIGH | …/architectures/deepseekV3_modulev3/layers/quant_mla.py | 253 | """Fused ``q_a_proj || kv_a_proj_with_mqa`` (bf16 or FP8).""" | STRING |
| HIGH | …thon/max/pipelines/architectures/glm5_1/tool_parser.py | 110 | # case; decode only non-string JSON (numbers, booleans, null, arrays, | COMMENT |
| HIGH | max/python/max/pipelines/kv_cache/config.py | 142 | default=KVConnectorType.null, | CODE |
| HIGH | …lines/kv_cache/paged_kv_cache/recurrent_coordinator.py | 35 | Every block behind it is null, a published checkpoint, or one a | STRING |
| HIGH | max/python/max/pipelines/lib/embeddings_pipeline.py | 147 | tracer.push("prepare_response") | CODE |
| HIGH | max/python/max/profiler/tracing.py | 137 | tracer.push("child_operation") | STRING |
| HIGH | max/python/max/profiler/tracing.py | 144 | tracer.push("child_operation") | STRING |
| HIGH | max/python/max/profiler/tracing.py | 164 | self.push(message, color) | CODE |
| HIGH | max/python/max/profiler/tracing.py | 219 | self.push(message, color) | CODE |
| HIGH | max/python/max/serve/parser/json_utils.py | 23 | (?<boolean> true | false | null ) | CODE |
| HIGH | max/python/max/serve/schemas/_decisions.py | 59 | # scalars (numbers, booleans, null) are not accepted. | COMMENT |
| HIGH | max/python/max/serve/worker_interface/zmq_interface.py | 326 | response_queue=self.response_queue_config.push(), | CODE |
| HIGH | max/python/max/serve/worker_interface/_zmq_queue.py | 275 | return self.push(), self.pull() | CODE |
| HIGH⚡ | …ests/integration/unorganized/test_memory_estimation.py | 574 | ([DeviceSpec.cpu()], KVConnectorType.null, 0), | CODE |
| HIGH⚡ | …ests/integration/unorganized/test_memory_estimation.py | 575 | ([DeviceSpec.accelerator(id=0)], KVConnectorType.null, 0), | CODE |
| HIGH⚡ | …ests/integration/unorganized/test_memory_estimation.py | 579 | KVConnectorType.null, | CODE |
| HIGH⚡ | …ests/integration/unorganized/test_memory_estimation.py | 584 | KVConnectorType.null, | CODE |
| HIGH⚡ | …ests/integration/unorganized/test_memory_estimation.py | 589 | KVConnectorType.null, | CODE |
| HIGH⚡ | …ests/integration/unorganized/test_memory_estimation.py | 641 | (1, KVConnectorType.null, 1), | CODE |
| HIGH⚡ | …ests/integration/unorganized/test_memory_estimation.py | 643 | (2, KVConnectorType.null, 1), | CODE |
| HIGH | max/tests/integration/graph/test_horizontal_fusion.py | 173 | accumulation buffer from `dtypeChanges && containsMatmulOrConvOrConcat`, | CODE |
| HIGH⚡ | …unified_dspark_gemma4_12b/test_dspark_gemma4_module.py | 700 | """Mean per-position KL(ref || max) over fp32 softmax distributions.""" | STRING |
| HIGH | …ion/architectures/mimo_v2/test_serving_numerics_gpu.py | 37 | """Bounds on KL(HF || MAX) over the whole vocabulary, and on top-1 | STRING |
| HIGH | …ion/architectures/mimo_v2/test_serving_numerics_gpu.py | 55 | """Each row's KL(gold || test).""" | STRING |
| HIGH | …tion/architectures/mimo_v2/check_reference_fixtures.py | 64 | """The fixtures' ``kl64``: KL(gold || test) over gold's top 64 + tail.""" | STRING |
| HIGH⚡ | …ed_dspark_gemma4_31b/test_dspark_speculators_module.py | 400 | """Mean per-position KL(ref || max) over fp32 softmax distributions.""" | STRING |
| HIGH⚡ | …tegration/pipelines/tokenization/test_xgrammar_shim.py | 4013 | ({"type": "object"}, '{"a": ["x", {"b": null}]}', '{"a": 1 zzz}'), | CODE |
| HIGH⚡ | …tegration/pipelines/tokenization/test_xgrammar_shim.py | 4016 | '{"a": ["x", {"b": null}]}', | CODE |
| HIGH⚡ | …tegration/pipelines/tokenization/test_xgrammar_shim.py | 4019 | ({"type": "array"}, '[1, ["x", {"b": null}]]', "[1 zzz]"), | CODE |
| HIGH | …okenization/test_kimi_reasoning_toolarg_enforcement.py | 161 | # anyOf(string-enum | null): once the value opens with a quote, only the | COMMENT |
| HIGH | …ation/accuracy/llm_fuzz/scenarios/structured_output.py | 207 | # (non-dict, null, recursive $ref) must be rejected. | COMMENT |
| HIGH | …tion/accuracy/llm_fuzz/scenarios/models/kimi_battle.py | 103 | f"Expected str|null, got {type(data['value']).__name__}" | CODE |
| HIGH | …ation/accuracy/llm_fuzz/scenarios/models/glm_battle.py | 222 | detail=f"nickname should be string or null, got {type(data['nickname']).__name__}", | CODE |
| HIGH | …ation/accuracy/llm_fuzz/scenarios/models/glm_battle.py | 297 | detail=f"value should be string or null, got {type(data['value']).__name__}", | CODE |
| HIGH⚡ | …llm_fuzz/scenarios/validation/tc_schema_enforcement.py | 1263 | # 15. anyOf with nullable string: anyOf: [{type:string},{type:null}] | COMMENT |
| HIGH⚡ | …llm_fuzz/scenarios/validation/tc_schema_enforcement.py | 1257 | "and reason is null (must be null, not a string)." | CODE |
| HIGH⚡ | …llm_fuzz/scenarios/validation/tc_schema_enforcement.py | 1426 | f"status={status!r} not in enum ['active','inactive',null]" | CODE |
| HIGH⚡ | …llm_fuzz/scenarios/validation/tc_schema_enforcement.py | 1461 | f"not in [true, false, null]" | CODE |
| HIGH⚡ | …llm_fuzz/scenarios/validation/tc_schema_enforcement.py | 2033 | "a next pointer (another node or null)." | CODE |
| HIGH⚡ | …llm_fuzz/scenarios/validation/tc_schema_enforcement.py | 2809 | "string 'none' instead of null. Do not use null, " | CODE |
| HIGH⚡ | …llm_fuzz/scenarios/validation/tc_schema_enforcement.py | 4082 | f"name: expected string or null, got {type(name).__name__}" | CODE |
| HIGH⚡ | …llm_fuzz/scenarios/validation/tc_schema_enforcement.py | 4088 | f"age: expected integer or null, got " | CODE |
| HIGH⚡ | …llm_fuzz/scenarios/validation/tc_schema_enforcement.py | 4095 | f"tags: expected array or null, got " | CODE |
| HIGH | …llm_fuzz/scenarios/validation/tc_schema_enforcement.py | 139 | "integer vs number, null, nested objects, fixed property order" | CODE |
| HIGH | …llm_fuzz/scenarios/validation/tc_schema_enforcement.py | 918 | f"nickname: expected string or null, got {type(nickname).__name__}" | CODE |
| HIGH | …llm_fuzz/scenarios/validation/tc_schema_enforcement.py | 1180 | f"nickname: expected string or null, got {type(nn).__name__}" | CODE |
| HIGH | …llm_fuzz/scenarios/validation/tc_schema_enforcement.py | 1231 | f"reason: expected null, got " | CODE |
| HIGH | …llm_fuzz/scenarios/validation/tc_schema_enforcement.py | 1279 | f"middle_name: expected string or null, " | CODE |
| HIGH | …llm_fuzz/scenarios/validation/tc_schema_enforcement.py | 1874 | f"score: expected number or null, " | CODE |
| HIGH | …llm_fuzz/scenarios/validation/tc_schema_enforcement.py | 2080 | f"metadata: expected object or null, " | CODE |
| HIGH | …llm_fuzz/scenarios/validation/tc_schema_enforcement.py | 2158 | f"tags: expected array or null, " | CODE |
| HIGH | …llm_fuzz/scenarios/validation/tc_schema_enforcement.py | 2761 | f"backup_contact: expected object or null, got " | CODE |
| HIGH | …llm_fuzz/scenarios/validation/tc_schema_enforcement.py | 3456 | "kind (file or directory), and children (array or null)." | CODE |
| HIGH | …llm_fuzz/scenarios/validation/tc_schema_enforcement.py | 3575 | f"{field}: expected string or null, got " | CODE |
| HIGH | …llm_fuzz/scenarios/validation/tc_schema_enforcement.py | 3641 | f"count: expected integer or null, got " | CODE |
| HIGH | …llm_fuzz/scenarios/validation/tc_schema_enforcement.py | 3691 | f"enabled: expected boolean or null, got " | CODE |
| HIGH | …llm_fuzz/scenarios/validation/tc_schema_enforcement.py | 3745 | f"score: expected number or null, got " | CODE |
| HIGH | …llm_fuzz/scenarios/validation/tc_schema_enforcement.py | 3796 | f"tags: expected array or null, got " | CODE |
| HIGH | …llm_fuzz/scenarios/validation/tc_schema_enforcement.py | 3862 | f"address: expected object or null, got " | CODE |
| 36 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …egration-test/python/test_signal_handler_python_gil.py | 86 | except Exception as e: | CODE |
| MEDIUM | docs/update-github-links.py | 62 | print(f"Error: '{docs_dir}' is not a valid directory") | CODE |
| LOW | …ernels/benchmarks/misc/comparison/bench_amd_mx_gemm.py | 593 | except Exception as e: | CODE |
| LOW | …ernels/benchmarks/misc/comparison/bench_amd_mx_gemm.py | 780 | except Exception as e: | CODE |
| LOW | …s/benchmarks/misc/comparison/bench_amd_m3_moe_chain.py | 746 | except Exception as e: | CODE |
| MEDIUM | …s/benchmarks/misc/comparison/bench_blackwell_decode.py | 58 | print(f"Error: flashinfer not available: {e}") | CODE |
| LOW | …s/benchmarks/misc/comparison/bench_blackwell_decode.py | 506 | except Exception as e: | CODE |
| LOW | …s/benchmarks/misc/comparison/bench_blackwell_decode.py | 524 | except Exception as e: | CODE |
| LOW | …c/comparison/bench_blackwell_mla_prefill_sparse_fp8.py | 374 | except Exception as e: | CODE |
| MEDIUM | …nchmarks/misc/comparison/bench_blackwell_mla_decode.py | 121 | print(f"Error: flashinfer not available: {e}") | CODE |
| LOW | …nchmarks/misc/comparison/bench_blackwell_mla_decode.py | 1044 | except Exception as e: | CODE |
| LOW | …nchmarks/misc/comparison/bench_blackwell_mla_decode.py | 1065 | except Exception as e: | CODE |
| LOW | max/kernels/benchmarks/misc/comparison/sweep_decode.py | 169 | except Exception as e: | CODE |
| LOW | max/kernels/benchmarks/misc/comparison/sweep_decode.py | 193 | except Exception as e: | CODE |
| LOW | …/kernels/benchmarks/misc/comparison/setup_bench_env.py | 385 | except Exception as e: | CODE |
| LOW | …/kernels/benchmarks/misc/comparison/setup_bench_env.py | 673 | except Exception as e: | CODE |
| LOW | …/kernels/benchmarks/misc/comparison/setup_bench_env.py | 698 | except Exception as e: | CODE |
| LOW | …/kernels/benchmarks/misc/comparison/setup_bench_env.py | 714 | except Exception as e: | CODE |
| MEDIUM | …/benchmarks/misc/comparison/bench_blackwell_prefill.py | 46 | print(f"Error: flashinfer not available: {e}") | CODE |
| MEDIUM | …/benchmarks/misc/comparison/bench_blackwell_prefill.py | 76 | print(f"Error: flash_attn not available: {e}") | CODE |
| LOW | …/benchmarks/misc/comparison/bench_blackwell_prefill.py | 512 | except Exception as e: | CODE |
| LOW | …/benchmarks/misc/comparison/bench_blackwell_prefill.py | 532 | except Exception as e: | CODE |
| LOW | …/benchmarks/misc/comparison/bench_blackwell_prefill.py | 551 | except Exception as e: | CODE |
| LOW | …benchmarks/misc/comparison/bench_allreduce_subgraph.py | 148 | except Exception as e: | CODE |
| LOW | …benchmarks/misc/comparison/bench_allreduce_subgraph.py | 196 | except Exception: | CODE |
| LOW | …benchmarks/misc/comparison/bench_allreduce_subgraph.py | 226 | except Exception as e: | CODE |
| LOW | …benchmarks/misc/comparison/bench_allreduce_subgraph.py | 267 | except Exception as e: | CODE |
| MEDIUM | …benchmarks/misc/comparison/bench_allreduce_subgraph.py | 355 | print("Error: This benchmark requires mpirun for multi-GPU execution.") | CODE |
| LOW | max/kernels/benchmarks/misc/comparison/bench_softmax.py | 136 | except Exception as e: | CODE |
| LOW | …/misc/comparison/bench_blackwell_mla_prefill_sparse.py | 347 | except Exception as e: | CODE |
| LOW | max/kernels/benchmarks/misc/comparison/bench_amd_mha.py | 501 | except Exception as e: | CODE |
| LOW⚡ | max/kernels/benchmarks/misc/comparison/bench_amd_mla.py | 838 | except Exception as e: | CODE |
| LOW | max/kernels/benchmarks/misc/comparison/bench_amd_mla.py | 1287 | except Exception as e: | CODE |
| LOW | max/kernels/benchmarks/misc/comparison/bench_amd_mla.py | 1488 | except Exception as e: | CODE |
| LOW | max/kernels/benchmarks/misc/comparison/bench_amd_mla.py | 1558 | except Exception as e: | CODE |
| LOW | max/kernels/benchmarks/autotune/kbench.py | 714 | except Exception: | CODE |
| MEDIUM | max/kernels/benchmarks/autotune/kbench.py | 711 | def main() -> None: | CODE |
| LOW | max/kernels/benchmarks/autotune/kbench_model.py | 160 | except Exception as e: | CODE |
| LOW | max/kernels/benchmarks/autotune/kbench_model.py | 169 | except Exception as exc: | CODE |
| LOW | max/kernels/benchmarks/autotune/kbench_model.py | 259 | except Exception: | CODE |
| LOW | max/kernels/benchmarks/autotune/kbench_model.py | 627 | except Exception as e: | CODE |
| LOW | max/kernels/benchmarks/autotune/kbench_model.py | 1176 | except Exception as e: | CODE |
| LOW | max/kernels/benchmarks/autotune/kbench_model.py | 1210 | except Exception: | CODE |
| LOW | max/kernels/benchmarks/autotune/tests/test_kbench.py | 104 | except Exception: | CODE |
| LOW | max/python/max/tree.py | 154 | except Exception: | CODE |
| LOW | max/python/max/_interpreter.py | 49 | except Exception as _e: | CODE |
| LOW | max/python/max/_interpreter.py | 76 | except Exception: | CODE |
| LOW | max/python/max/benchmark/serve_replay.py | 52 | except Exception: | CODE |
| LOW | max/python/max/benchmark/serve_replay.py | 74 | except Exception: | CODE |
| LOW | max/python/max/benchmark/serve_replay.py | 88 | except Exception: | CODE |
| LOW | max/python/max/benchmark/benchmark_serving.py | 624 | except Exception as e: | CODE |
| LOW | max/python/max/benchmark/benchmark_serving.py | 662 | except Exception: | CODE |
| LOW | max/python/max/benchmark/benchmark_serving.py | 898 | except Exception as e: | CODE |
| LOW | max/python/max/benchmark/benchmark_shared/request.py | 603 | except Exception: | CODE |
| LOW | max/python/max/benchmark/benchmark_shared/request.py | 817 | except Exception: | CODE |
| LOW | max/python/max/benchmark/benchmark_shared/request.py | 901 | except Exception: | CODE |
| LOW | max/python/max/benchmark/benchmark_shared/request.py | 1207 | except Exception: | CODE |
| LOW | max/python/max/benchmark/benchmark_shared/request.py | 1299 | except Exception: | CODE |
| LOW | max/python/max/benchmark/benchmark_shared/request.py | 1520 | except Exception: | CODE |
| LOW | max/python/max/benchmark/benchmark_shared/request.py | 1630 | except Exception: | CODE |
| 412 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …x/kernels/benchmarks/misc/comparison/install_sglang.py | 18 | def update_pip() -> None: | CODE |
| LOW | max/python/max/tree.py | 60 | __all__ = [ | CODE |
| LOW | max/python/max/_eager_policy.py | 24 | logger = logging.getLogger(__name__) | CODE |
| LOW | max/python/max/benchmark/benchmark_serving.py | 163 | logger = logging.getLogger(__name__) | CODE |
| LOW | max/python/max/benchmark/results_to_csv.py | 79 | logger = logging.getLogger(__name__) | CODE |
| LOW | max/python/max/benchmark/benchmark_shared/multi_turn.py | 62 | logger = logging.getLogger(__name__) | CODE |
| LOW | max/python/max/benchmark/benchmark_shared/metrics.py | 57 | __all__ = [ | CODE |
| LOW | …ax/benchmark/benchmark_shared/serving_result_output.py | 68 | logger = logging.getLogger(__name__) | CODE |
| LOW | max/python/max/benchmark/benchmark_shared/request.py | 69 | logger = logging.getLogger(__name__) | CODE |
| LOW | …ython/max/benchmark/benchmark_shared/server_metrics.py | 35 | logger = logging.getLogger(__name__) | CODE |
| LOW | …thon/max/benchmark/benchmark_shared/serving_metrics.py | 53 | logger = logging.getLogger(__name__) | CODE |
| LOW | …x/benchmark/benchmark_shared/gpu_metrics_prometheus.py | 52 | logger = logging.getLogger(__name__) | CODE |
| LOW | …/max/benchmark/benchmark_shared/gpu_metrics_scraper.py | 52 | logger = logging.getLogger(__name__) | CODE |
| LOW | max/python/max/benchmark/benchmark_shared/warmup.py | 46 | logger = logging.getLogger(__name__) | CODE |
| LOW | max/python/max/benchmark/benchmark_shared/utils.py | 38 | logger = logging.getLogger(__name__) | CODE |
| LOW | max/python/max/benchmark/benchmark_shared/utils.py | 316 | def set_ulimit(target_soft_limit: int = 65535) -> None: | CODE |
| LOW | …x/benchmark/benchmark_shared/lora_benchmark_manager.py | 30 | logger = logging.getLogger(__name__) | CODE |
| LOW | …x/python/max/benchmark/benchmark_shared/single_turn.py | 63 | logger = logging.getLogger(__name__) | CODE |
| LOW | max/python/max/benchmark/benchmark_shared/model_csv.py | 74 | logger = logging.getLogger(__name__) | CODE |
| LOW | …python/max/benchmark/benchmark_shared/workload_file.py | 51 | logger = logging.getLogger(__name__) | CODE |
| LOW | …nchmark/benchmark_shared/datasets/tool_augmentation.py | 40 | logger = logging.getLogger(__name__) | CODE |
| LOW | …chmark_shared/datasets/response_format_augmentation.py | 44 | logger = logging.getLogger(__name__) | CODE |
| LOW | …/benchmark/benchmark_shared/datasets/instruct_coder.py | 38 | logger = logging.getLogger(__name__) | CODE |
| LOW | …enchmark_shared/datasets/multiturn_distribution_fit.py | 88 | logger = logging.getLogger(__name__) | CODE |
| LOW | …nchmark/benchmark_shared/datasets/nemotron_opencode.py | 41 | logger = logging.getLogger(__name__) | CODE |
| LOW | …on/max/benchmark/benchmark_shared/datasets/__init__.py | 55 | __all__ = [ | CODE |
| LOW | …/python/max/benchmark/benchmark_shared/datasets/all.py | 88 | logger = logging.getLogger(__name__) | CODE |
| LOW | …thon/max/benchmark/benchmark_shared/datasets/random.py | 43 | logger = logging.getLogger(__name__) | CODE |
| LOW | …ax/benchmark/benchmark_shared/datasets/agentic_code.py | 40 | logger = logging.getLogger(__name__) | CODE |
| LOW | …chmark/benchmark_shared/datasets/image_augmentation.py | 49 | logger = logging.getLogger(__name__) | CODE |
| LOW | …hmark/benchmark_shared/datasets/artificial_analysis.py | 45 | logger = logging.getLogger(__name__) | CODE |
| LOW | …n/max/benchmark/benchmark_shared/datasets/batch_job.py | 40 | logger = logging.getLogger(__name__) | CODE |
| LOW | …/max/benchmark/benchmark_shared/datasets/chat_judge.py | 35 | logger = logging.getLogger(__name__) | CODE |
| LOW | max/python/max/experimental/custom.py | 55 | __all__ = [ | CODE |
| LOW | max/python/max/experimental/realization_context.py | 113 | def set_seed(value: int) -> None: | CODE |
| LOW | max/python/max/experimental/realization_context.py | 721 | __all__ = [ | CODE |
| LOW | max/python/max/experimental/__init__.py | 48 | __all__ = [ | CODE |
| LOW | max/python/max/experimental/random.py | 44 | __all__ = ["gaussian", "normal", "seed", "set_seed", "uniform"] | CODE |
| LOW | max/python/max/experimental/executor.py | 419 | __all__ = [ | CODE |
| LOW | max/python/max/experimental/validation.py | 37 | __all__ = [ | CODE |
| LOW | max/python/max/experimental/nn/__init__.py | 74 | __all__ = [ | CODE |
| LOW | max/python/max/experimental/nn/_compilation_timer.py | 34 | __all__ = [ | CODE |
| LOW | max/python/max/experimental/nn/module.py | 48 | __all__ = [ | CODE |
| LOW | max/python/max/experimental/nn/rope/__init__.py | 17 | __all__ = [ | CODE |
| LOW | max/python/max/experimental/nn/norm/__init__.py | 19 | __all__ = ["GemmaRMSNorm", "GroupNorm", "LayerNorm", "RMSNorm", "rms_norm"] | CODE |
| LOW | …/python/max/experimental/nn/common_layers/mesh_axis.py | 23 | __all__ = ["DP", "TP"] | CODE |
| LOW | …ax/experimental/nn/common_layers/functional_kernels.py | 259 | __all__ = [ | CODE |
| LOW | max/python/max/experimental/nn/common_layers/moe.py | 306 | def _set_mesh(self, mesh: DeviceMesh) -> None: | CODE |
| LOW | max/python/max/experimental/torch/__init__.py | 27 | __all__ = [ | CODE |
| LOW | max/python/max/experimental/sharding/per_shard_dim.py | 31 | __all__ = [ | CODE |
| LOW | max/python/max/experimental/sharding/__init__.py | 88 | __all__ = [ | CODE |
| LOW | max/python/max/experimental/sharding/rules/__init__.py | 92 | __all__ = [ | CODE |
| LOW | max/python/max/experimental/testing/__init__.py | 21 | __all__ = ["assert_all_close"] | CODE |
| LOW | max/python/max/experimental/cascade/__init__.py | 45 | __all__ = [ | CODE |
| LOW | …python/max/experimental/cascade/grpc_runtime/server.py | 48 | logger = logging.getLogger(__name__) | CODE |
| LOW | …python/max/experimental/cascade/grpc_runtime/client.py | 71 | logger = logging.getLogger(__name__) | CODE |
| LOW | …thon/max/experimental/cascade/grpc_runtime/__init__.py | 20 | __all__ = ["GrpcRuntimeClient", "SubprocGrpcRuntimeClient"] | CODE |
| LOW | …ython/max/experimental/cascade/grpc_runtime/runtime.py | 20 | __all__ = ["GrpcRuntimeClient", "SubprocGrpcRuntimeClient"] | CODE |
| LOW | max/python/max/experimental/cascade/core/__init__.py | 29 | __all__ = [ | CODE |
| LOW | max/python/max/experimental/cascade/core/fd_limits.py | 22 | logger = logging.getLogger(__name__) | CODE |
| 395 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | max/kernels/test/gpu/fuzz/fuzz.py | 106 | # target, and `corpus/mega_ffn/` would sit under the harness directory, | COMMENT |
| MEDIUM⚡ | max/kernels/test/gpu/fuzz/fuzz.py | 109 | # `-I max/kernels/test/gpu/fuzz` for `_fuzz`, which makes the harness | COMMENT |
| MEDIUM⚡ | max/kernels/test/gpu/fuzz/fuzz.py | 115 | # corpus out of the harness directory. | COMMENT |
| MEDIUM | …/kernels/test/gpu/compute_sanitizer/stress_schedule.sh | 15 | # Schedule-amplification harness for inter-block global-memory races. | COMMENT |
| MEDIUM | …/kernels/test/gpu/compute_sanitizer/stress_schedule.sh | 26 | # This harness amplifies the schedule with three knobs that need no kernel | COMMENT |
| MEDIUM | …ernels/benchmarks/misc/utils/warp_profiling/profile.py | 119 | # Create comprehensive visualization showing all SMs | COMMENT |
| MEDIUM | …ernels/benchmarks/misc/comparison/bench_amd_mx_gemm.py | 43 | # in that range, so they measure partly L2-warm. What this harness does | COMMENT |
| MEDIUM | …ernels/benchmarks/misc/comparison/bench_amd_mx_gemm.py | 47 | # the narrower ones. Absolute cold-HBM MXFP6 numbers need a harness that | COMMENT |
| MEDIUM | …chmarks/gpu/linalg/bench_matmul_llama3_70B_4xH100.yaml | 20 | # This file is facilitate development before GTC and should be combined | COMMENT |
| LOW | max/kernels/benchmarks/autotune/kbench_model.py | 536 | # just use compile-time parameters and ignore runtime variables. | COMMENT |
| MEDIUM | max/python/max/benchmark/benchmark_shared/metrics.py | 916 | # the harness didn't launch the server (e.g. benchmarking an external | COMMENT |
| LOW | max/python/max/nn/quant_ops.py | 514 | # activation scales are [1xm] which but in the dynamic scaled matmul we expect just use x_scale[0,0] | COMMENT |
| MEDIUM | max/python/max/nn/parallel/numpy_parallel_ops.py | 268 | # to better utilize available parallelism and memory bandwidth. | COMMENT |
| MEDIUM | max/python/max/config/config_file_model.py | 109 | """Optional section name for comprehensive/multi-section config files. | STRING |
| MEDIUM | max/python/max/driver/buffer.py | 422 | # Hardcoded but we should move to a robust versioning system if this | COMMENT |
| MEDIUM | max/python/max/graph/graph.py | 1033 | # This may over-declare but is deterministic and comprehensive. | COMMENT |
| MEDIUM | max/python/max/pipelines/logging_utils.py | 43 | """Logs comprehensive pipeline and KVCache configuration information. | STRING |
| MEDIUM | max/python/max/pipelines/context/sampling_params.py | 341 | """Logs comprehensive sampling parameters information. | STRING |
| MEDIUM | max/python/max/pipelines/lib/eplb_stats.py | 400 | # (wherever the harness injects them), so no separate host counter is | COMMENT |
| MEDIUM | max/python/max/pipelines/lib/config/config.py | 788 | # the v1 dflash harness drives; Eagle, MTP and DFlash2 would load | COMMENT |
| LOW | max/python/max/_entrypoints/pipelines.py | 1062 | # Help was requested and printed, just return | COMMENT |
| MEDIUM | max/python/max/serve/config.py | 502 | """Log comprehensive server configuration information. | STRING |
| MEDIUM | …/max/serve/scheduler/batch_constructor/token_budget.py | 99 | """Whether this budget may shrink the context via ``context.chunk`` in order to fit within the remaining capacit | STRING |
| MEDIUM | max/python/layer_benchmarks/precompile_layer.py | 34 | # A session only because the harness signature takes one; graph building | COMMENT |
| MEDIUM | max/python/layer_benchmarks/testbed/runner.py | 102 | # weights registry (and the reference weights a harness stashes | COMMENT |
| MEDIUM | max/python/layer_benchmarks/testbed/runner.py | 230 | # Compile first so harness can store weights for the torch reference. | COMMENT |
| MEDIUM⚡ | …x/python/layer_benchmarks/testbed/kbench_entrypoint.py | 44 | # harness ABC so each harness declares its own shape keys. | COMMENT |
| MEDIUM⚡ | …x/python/layer_benchmarks/testbed/kbench_entrypoint.py | 48 | # to the harness as static params. | COMMENT |
| MEDIUM | …x/python/layer_benchmarks/testbed/kbench_entrypoint.py | 122 | # Extract harness name from the config bundle. | COMMENT |
| MEDIUM | …x/python/layer_benchmarks/testbed/kbench_entrypoint.py | 136 | # Filter out control keys before passing to the harness. | COMMENT |
| MEDIUM | …ayer_benchmarks/testbed/harnesses/wan_vae_attention.py | 163 | # harness catches that regression), small enough that | COMMENT |
| MEDIUM | …sts/integration/graph/test_custom_kernel_validation.py | 384 | # Test multiple operations in sequence to ensure comprehensive validation | COMMENT |
| MEDIUM | …sts/integration/graph/test_custom_kernel_validation.py | 338 | """Tests for comprehensive kernel signature validation.""" | STRING |
| MEDIUM⚡ | max/tests/integration/xarch_warm/test_cpu_warm_cache.py | 90 | # actually zeroed the count in this harness before relying on it below. | COMMENT |
| LOW | …integration/architectures/deepseekV3_2/test_indexer.py | 329 | # ``slice_freqs_cis`` and just pass ``rope.freqs_cis``. | COMMENT |
| MEDIUM | …ration/architectures/gemma4_modulev3/test_attention.py | 66 | # ModuleV3 harness | COMMENT |
| MEDIUM | …/unified_dspark_gemma4_31b/test_unified_step_parity.py | 429 | # drafts; this harness feeds drafts as a plain graph input instead, so | COMMENT |
| MEDIUM | max/tests/integration/accuracy/llm_fuzz_matrix.py | 107 | # Tiny model on CPU: a cheap end-to-end check of the fuzz harness and the | COMMENT |
| MEDIUM | max/tests/integration/accuracy/run_mmmu_video_eval.py | 757 | # Fail on a broken harness (no successful inferences / mostly errors) so | COMMENT |
| LOW | max/tests/integration/accuracy/verify_pipelines.py | 1305 | # Let generate_llm_logits.py validate the `--devices` CLI arg and just pass | COMMENT |
| MEDIUM⚡ | …gration/accuracy/model_evals/run_omnidocbench_local.sh | 19 | # OmniDocBench scores with a third-party harness (pdf_validation.py) that needs | COMMENT |
| MEDIUM⚡ | …gration/accuracy/model_evals/run_omnidocbench_local.sh | 36 | # Passed to the harness by environment, never written to | COMMENT |
| MEDIUM | …gration/accuracy/model_evals/run_omnidocbench_local.sh | 59 | # --refresh Re-clone the harness and rebuild its venv. | COMMENT |
| MEDIUM⚡ | …gration/accuracy/model_evals/run_omnidocbench_local.sh | 145 | # while the harness appends its own; normalize so either form works. | COMMENT |
| MEDIUM⚡ | …gration/accuracy/model_evals/run_omnidocbench_local.sh | 150 | # The harness takes a directory, so the pages to run are staged as symlinks: | COMMENT |
| MEDIUM⚡ | …gration/accuracy/model_evals/run_omnidocbench_local.sh | 156 | # build_save_name() in the harness derives its output name from the prediction | COMMENT |
| MEDIUM | …gration/accuracy/model_evals/run_omnidocbench_local.sh | 183 | # into the harness venv would shadow that venv's own packages (the same hazard | COMMENT |
| MEDIUM | …gration/accuracy/model_evals/run_omnidocbench_local.sh | 221 | # The harness requires Python < 3.12. | COMMENT |
| MEDIUM | …gration/accuracy/model_evals/run_omnidocbench_local.sh | 230 | # The display-formula CDM metric renders LaTeX; without it the harness leaves | COMMENT |
| MEDIUM | …gration/accuracy/model_evals/run_omnidocbench_local.sh | 256 | # ImageMagick 6 on Ubuntu ships `convert`; the harness calls IM7's `magick`. | COMMENT |
| MEDIUM | …gration/accuracy/model_evals/run_omnidocbench_local.sh | 395 | # ./result is written relative to the harness's working directory. | COMMENT |
| MEDIUM | …ests/integration/accuracy/model_evals/exacto_report.py | 50 | #: The openbench harness normalizes the OpenAI finish_reason "length" onto | COMMENT |
| MEDIUM | …ests/integration/accuracy/model_evals/exacto_report.py | 52 | #: (verified against inspect_ai 0.3.125); "length" is kept for a harness that | COMMENT |
| MEDIUM | …ests/integration/accuracy/model_evals/exacto_report.py | 197 | # The task names the harness it reproduces; openbench's own tasks do not. | COMMENT |
| MEDIUM | …ests/integration/accuracy/model_evals/exacto_report.py | 240 | #: chance — an API or harness failure, not the agent losing. ``max_steps`` is | COMMENT |
| MEDIUM | …ests/integration/accuracy/model_evals/exacto_report.py | 374 | # This module is executed by the pinned third-party harness venv (openbench or | COMMENT |
| MEDIUM⚡ | …integration/accuracy/model_evals/test_exacto_report.py | 275 | # A field the server volunteers must never shadow a harness field, so the | COMMENT |
| MEDIUM | …/integration/accuracy/model_evals/run_scicode_local.sh | 14 | # Provisions the scicode/h5py harness venv + test_data.h5 (cached in /tmp), then | COMMENT |
| MEDIUM⚡ | …tion/accuracy/model_evals/run_exacto_taubench_local.sh | 24 | # OpenRouter benchmarks with its own harness, | COMMENT |
| MEDIUM⚡ | …tion/accuracy/model_evals/run_exacto_taubench_local.sh | 25 | # https://github.com/OpenRouterTeam/benchmark-harness | COMMENT |
| 56 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …s/benchmarks/misc/comparison/bench_blackwell_decode.py | 430 | CODE | |
| LOW | …/benchmarks/misc/comparison/bench_blackwell_prefill.py | 350 | CODE | |
| LOW | max/kernels/benchmarks/misc/comparison/bench_amd_mha.py | 146 | CODE | |
| LOW | max/kernels/benchmarks/misc/comparison/bench_amd_mha.py | 349 | CODE | |
| LOW | max/kernels/benchmarks/misc/comparison/bench_amd_mha.py | 390 | CODE | |
| LOW | max/kernels/benchmarks/misc/comparison/bench_amd_mha.py | 431 | CODE | |
| LOW | max/kernels/benchmarks/autotune/kbench.py | 105 | CODE | |
| LOW | max/kernels/benchmarks/autotune/kbench_model.py | 515 | CODE | |
| LOW | max/python/max/benchmark/benchmark_shared/multi_turn.py | 80 | CODE | |
| LOW | max/python/max/benchmark/benchmark_shared/multi_turn.py | 420 | CODE | |
| LOW | max/python/max/benchmark/benchmark_shared/multi_turn.py | 592 | CODE | |
| LOW | …/benchmark/benchmark_shared/datasets/instruct_coder.py | 198 | CODE | |
| LOW | …nchmark/benchmark_shared/datasets/nemotron_opencode.py | 449 | CODE | |
| LOW | …ax/benchmark/benchmark_shared/datasets/agentic_code.py | 281 | CODE | |
| LOW | max/python/max/experimental/nn/conv.py | 79 | CODE | |
| LOW | …xperimental/nn/common_layers/multi_latent_attention.py | 71 | CODE | |
| LOW | max/python/max/nn/kernels.py | 286 | CODE | |
| LOW | max/python/max/nn/kernels.py | 3189 | CODE | |
| LOW | max/python/max/nn/kernels.py | 5134 | CODE | |
| LOW | max/python/max/nn/kernels.py | 5311 | CODE | |
| LOW | max/python/max/nn/kernels.py | 6808 | CODE | |
| LOW | max/python/max/nn/kernels.py | 6811 | CODE | |
| LOW | max/python/max/nn/kernels.py | 7365 | CODE | |
| LOW | max/python/max/nn/kernels.py | 7092 | CODE | |
| LOW | max/python/max/nn/kernels.py | 7792 | CODE | |
| LOW | max/python/max/nn/kernels.py | 8162 | CODE | |
| LOW | max/python/max/nn/kernels.py | 8425 | CODE | |
| LOW | max/python/max/nn/kernels.py | 8917 | CODE | |
| LOW | max/python/max/nn/kernels.py | 9068 | CODE | |
| LOW | max/python/max/nn/kernels.py | 9126 | CODE | |
| LOW | max/python/max/nn/kernels.py | 9174 | CODE | |
| LOW | max/python/max/nn/kernels.py | 9260 | CODE | |
| LOW | max/python/max/nn/kernels.py | 9346 | CODE | |
| LOW | max/python/max/nn/kernels.py | 10066 | CODE | |
| LOW | max/python/max/nn/kernels.py | 11464 | CODE | |
| LOW | max/python/max/nn/kernels.py | 11537 | CODE | |
| LOW | max/python/max/nn/conv_transpose.py | 86 | CODE | |
| LOW | max/python/max/nn/conv_transpose.py | 295 | CODE | |
| LOW | max/python/max/nn/conv.py | 95 | CODE | |
| LOW | max/python/max/nn/conv.py | 382 | CODE | |
| LOW | max/python/max/nn/conv.py | 587 | CODE | |
| LOW | max/python/max/nn/quant_ops.py | 164 | CODE | |
| LOW | max/python/max/nn/quant_ops.py | 197 | CODE | |
| LOW | max/python/max/nn/attention/attention_with_rope.py | 60 | CODE | |
| LOW | max/python/max/nn/attention/attention_with_rope.py | 977 | CODE | |
| LOW | max/python/max/nn/attention/attention_with_rope.py | 1134 | CODE | |
| LOW | max/python/max/nn/attention/multi_latent_attention.py | 91 | CODE | |
| LOW | max/python/max/nn/attention/multi_latent_attention.py | 580 | CODE | |
| LOW | …/python/max/nn/attention/multi_latent_attention_fp8.py | 59 | CODE | |
| LOW | max/python/max/nn/sampling/rejection_sampler.py | 1106 | CODE | |
| LOW | max/python/max/nn/sampling/rejection_sampler.py | 726 | CODE | |
| LOW | max/python/max/nn/moe/quant_strategy.py | 648 | CODE | |
| LOW | max/python/max/nn/moe/stacked_moe.py | 302 | CODE | |
| LOW | max/python/max/nn/moe/moe.py | 350 | CODE | |
| LOW | max/python/max/graph/graph.py | 805 | CODE | |
| LOW | max/python/max/graph/ops/concat.py | 97 | CODE | |
| LOW | max/python/max/pipelines/context/video.py | 453 | CODE | |
| LOW | max/python/max/pipelines/context/video.py | 734 | CODE | |
| LOW | …/max/pipelines/architectures/olmo3/layers/attention.py | 216 | CODE | |
| LOW | …elines/architectures/deepseekV3_2/layers/transforms.py | 161 | CODE | |
| 108 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | CONTRIBUTING.md | 46 | ### Step 1: Evaluate and get buy-in on the change | COMMENT |
| LOW | CONTRIBUTING.md | 95 | ### Step 2: Create a pull request | COMMENT |
| LOW | CONTRIBUTING.md | 244 | ### Step 3: PR triage and review | COMMENT |
| LOW | CONTRIBUTING.md | 257 | ### Step 4: Internal review and syncing | COMMENT |
| LOW | CONTRIBUTING.md | 276 | ### Step 5: Review feedback and iteration | COMMENT |
| LOW⚡ | docs/code/develop/index/graph_simple.py | 21 | # Step 1: Define the graph structure | COMMENT |
| LOW⚡ | docs/code/develop/index/graph_simple.py | 30 | # Step 2: Compile the graph | COMMENT |
| LOW⚡ | docs/code/develop/index/graph_simple.py | 35 | # Step 3: Execute with data | COMMENT |
| LOW⚡ | …/max/pipelines/architectures/olmo3/layers/attention.py | 170 | # Step 1: QKV matmul. | COMMENT |
| LOW⚡ | …/max/pipelines/architectures/olmo3/layers/attention.py | 177 | # Step 2: Apply full-dimension QK norm before rope. | COMMENT |
| LOW⚡ | …/max/pipelines/architectures/olmo3/layers/attention.py | 187 | # Step 3: Fused rope + split + KV store. | COMMENT |
| LOW | …/max/pipelines/architectures/olmo3/layers/attention.py | 202 | # Step 5: Compute flash attention (reads K/V from cache) | COMMENT |
| LOW | …n/max/pipelines/architectures/qwen3vl_moe/tokenizer.py | 792 | # Step 1: Extract prompt from request and apply chat template if needed | COMMENT |
| LOW | …n/max/pipelines/architectures/qwen3vl_moe/tokenizer.py | 829 | # Step 2: Load and process images | COMMENT |
| LOW | …n/max/pipelines/architectures/qwen3vl_moe/tokenizer.py | 847 | # Step 3: Process images with custom image processor (if any) and expand <|image_pad|> placeholders in text | COMMENT |
| LOW | …n/max/pipelines/architectures/qwen3vl_moe/tokenizer.py | 943 | # Step 4: Tokenize the expanded text | COMMENT |
| LOW | …n/max/pipelines/architectures/qwen3vl_moe/tokenizer.py | 1003 | # Step 5: Assemble the vision encoder's inputs, in PROMPT order. | COMMENT |
| LOW⚡ | …lines/architectures/olmo2_modulev3/layers/attention.py | 143 | # Step 1: QKV matmul. | COMMENT |
| LOW⚡ | …lines/architectures/olmo2_modulev3/layers/attention.py | 150 | # Step 2: Apply full-dimension QK norm before rope. | COMMENT |
| LOW⚡ | …lines/architectures/olmo2_modulev3/layers/attention.py | 159 | # Step 3: Fused rope + split + KV store. | COMMENT |
| LOW | …lines/architectures/olmo2_modulev3/layers/attention.py | 174 | # Step 5: Compute flash attention | COMMENT |
| LOW | max/python/max/pipelines/lib/eplb_rebalance.py | 151 | # Step 1: pack groups to nodes. | COMMENT |
| LOW⚡ | max/python/max/pipelines/lib/eplb_rebalance.py | 167 | # Step 2: construct redundant experts within nodes. | COMMENT |
| LOW⚡ | max/python/max/pipelines/lib/eplb_rebalance.py | 175 | # Step 3: pack physical experts to GPUs within each node. | COMMENT |
| LOW | max/tests/integration/accuracy/llm_fuzz/model_config.py | 199 | # Step 1: Try HuggingFace fetch using --model as repo ID | COMMENT |
| LOW | max/tests/integration/accuracy/llm_fuzz/model_config.py | 212 | # Step 2: Apply manual overrides (highest priority) | COMMENT |
| LOW⚡ | …/accuracy/llm_fuzz/scenarios/tool_schema_validation.py | 1371 | # Step 1: initial tool call | COMMENT |
| LOW | …/accuracy/llm_fuzz/scenarios/tool_schema_validation.py | 1390 | # Step 2: provide tool result, ask follow-up that triggers another call | COMMENT |
| LOW | …/accuracy/llm_fuzz/scenarios/tool_schema_validation.py | 1440 | # Step 3: multi-tool conversation | COMMENT |
| LOW⚡ | …/accuracy/llm_fuzz/scenarios/models/kimi_production.py | 537 | # Step 1: Structured output request | COMMENT |
| LOW⚡ | …/accuracy/llm_fuzz/scenarios/models/kimi_production.py | 561 | # Step 2: Tool calling request | COMMENT |
| LOW⚡ | …/accuracy/llm_fuzz/scenarios/models/kimi_production.py | 576 | # Step 3: Plain chat request | COMMENT |
| LOW | max/docs/accuracy-debugging.md | 52 | ## Step 1: Dump the intermediate tensors with `debug_model` | COMMENT |
| LOW | max/docs/accuracy-debugging.md | 79 | ## Step 2: Compare to find the area of divergence | COMMENT |
| LOW | max/docs/accuracy-debugging.md | 106 | ## Step 3: Add fine-grained print logging | COMMENT |
| LOW | max/docs/accuracy-debugging.md | 183 | ## Step 4: Export full tensors with `debug_model` | COMMENT |
| LOW | max/docs/accuracy-debugging.md | 212 | ## Step 5: Compare the tensors with `compare_tensors` | COMMENT |
| LOW⚡ | max/examples/diffusion/simple_offline_generation.py | 707 | # Step 6: Prepare inputs for the pipeline | COMMENT |
| LOW⚡ | max/examples/diffusion/simple_offline_generation.py | 767 | # Step 8: Get the output for our request | COMMENT |
| LOW⚡ | max/examples/diffusion/simple_offline_generation.py | 778 | # Step 9: Extract and save images from OutputImageContent | COMMENT |
| LOW | max/examples/diffusion/simple_offline_generation.py | 413 | # Step 1: Initialize pipeline configuration | COMMENT |
| LOW | max/examples/diffusion/simple_offline_generation.py | 502 | # Step 2: Initialize the tokenizer | COMMENT |
| LOW | max/examples/diffusion/simple_offline_generation.py | 551 | # Step 3: Initialize the pipeline | COMMENT |
| LOW | max/examples/diffusion/simple_offline_generation.py | 575 | # Step 4: Create an OpenResponsesRequest | COMMENT |
| LOW | max/examples/diffusion/simple_offline_generation.py | 671 | # Step 5: Create a PixelContext object from the request | COMMENT |
| LOW | max/examples/diffusion/simple_offline_generation.py | 751 | # Step 7: Execute the pipeline | COMMENT |
| LOW | bazel/internal/pytest-shard.py | 72 | # Step 1: Pull out anything marked with either | COMMENT |
| LOW | Mojo/test/mojo-integration/extern-c-abi/README.md | 158 | ### Step 1: Build the C Library | COMMENT |
| LOW | Mojo/test/mojo-integration/extern-c-abi/README.md | 183 | ### Step 2: Build and Run a Test | COMMENT |
| LOW | Mojo/test/mojo-integration/extern-c-abi/README.md | 195 | ### Step 3: Validate with FileCheck (Optional) | COMMENT |
| LOW | Mojo/docs/contributing/stdlib/adding-gpu-targets.md | 350 | ### Step 1: Gather GPU information | COMMENT |
| LOW | Mojo/docs/contributing/stdlib/adding-gpu-targets.md | 379 | ### Step 2: Create the target configuration | COMMENT |
| LOW | Mojo/docs/contributing/stdlib/adding-gpu-targets.md | 404 | ### Step 3: Create the `GPUInfo` alias | COMMENT |
| LOW | Mojo/docs/contributing/stdlib/adding-gpu-targets.md | 422 | ### Step 4: Update `_get_info_from_target` | COMMENT |
| LOW | Mojo/docs/contributing/stdlib/adding-gpu-targets.md | 456 | ### Step 5: Update `GPUInfo.target` method | COMMENT |
| LOW | Mojo/docs/contributing/stdlib/adding-gpu-targets.md | 474 | ### Step 6: Build and test | COMMENT |
| LOW | Mojo/docs/compiler/MojoCompilerWalkthrough.md | 519 | #### Step 1: Lowering Passes | COMMENT |
| LOW | Mojo/docs/compiler/MojoCompilerWalkthrough.md | 530 | #### Step 2: Optimization Passes | COMMENT |
| LOW | Mojo/lib/KGENToLLVM/LowerPOPToLLVMExternalCalls.cpp | 276 | // Step 4: Compute the final LLVM-level attributes we expect on the | COMMENT |
| LOW | Mojo/lib/KGENToLLVM/LowerPOPToLLVMExternalCalls.cpp | 296 | // Step 5: Lookup existing function (unified path - no early return!) | COMMENT |
| 12 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | max/kernels/benchmarks/autotune/kplot.py | 93 | y_text: bool = True # Print value on top of the bar | CODE |
| LOW | …ython/max/benchmark/benchmark_shared/datasets/types.py | 246 | # Check if extension is supported | COMMENT |
| LOW | max/python/max/nn/linear.py | 327 | # Check if head boundaries align with block boundaries | COMMENT |
| LOW | max/python/max/nn/kernels.py | 11118 | # Set min_top_p to the scalar value if provided, otherwise use top_p | COMMENT |
| LOW | max/python/max/nn/parallel/numpy_parallel_ops.py | 229 | # Check if all arrays are contiguous | COMMENT |
| LOW | max/python/max/nn/layer/layer.py | 750 | # Check if weight has symbolic dimensions | COMMENT |
| LOW | max/python/max/nn/kv_cache/cache_params.py | 3744 | # Check if we are allocating sufficient blocks. | COMMENT |
| LOW | max/python/max/nn/hooks/base_print_hook.py | 132 | # Print outputs. | COMMENT |
| LOW | max/python/max/config/__init__.py | 75 | # Check if the class has a custom enum mapping | COMMENT |
| LOW | max/python/max/config/__init__.py | 134 | # Check if this is Optional[T] (Union[T, None]) | COMMENT |
| LOW | max/python/max/config/__init__.py | 219 | # Check if this is Optional[T] (Union[T, None]) | COMMENT |
| LOW | max/python/max/config/__init__.py | 533 | # Check if this looks like a full MAXConfig file | COMMENT |
| LOW | max/python/max/config/__init__.py | 542 | # Check if the top-level keys are mostly class fields (individual config) | COMMENT |
| LOW | max/python/max/config/__init__.py | 652 | # Check if the base class has a _get_enum_mapping method | COMMENT |
| LOW | max/python/max/graph/weight.py | 465 | # Check if this is a partial function wrapping head_aware_col_sharding_strategy. | COMMENT |
| LOW | max/python/max/graph/weight.py | 478 | # Check if this is a partial function wrapping stacked_qkv_sharding_strategy. | COMMENT |
| LOW | max/python/max/graph/weight.py | 496 | # Check if this is a partial function wrapping gate_up_sharding_strategy. | COMMENT |
| LOW | max/python/max/graph/weights/load_gguf.py | 90 | # Check if a weight exists | STRING |
| LOW | max/python/max/graph/ops/stack.py | 79 | # Check if axis is within bounds | COMMENT |
| LOW | max/python/max/_interpreter_ops/handlers.py | 1181 | # Check if it's an index/integer type by looking at the attribute | COMMENT |
| LOW | …ax/pipelines/architectures/deepseekV4/encoding_dsv4.py | 379 | # Check if previous message has a task - if so, this is a task output (no thinking) | COMMENT |
| LOW | …python/max/pipelines/architectures/deepseekV3/model.py | 127 | # Check if EP should be configured | COMMENT |
| LOW | max/python/max/pipelines/architectures/gpt_oss/model.py | 239 | # Check if input_row_offsets is a list or a single tensor | COMMENT |
| LOW | …hon/max/pipelines/architectures/qwen2_5vl/tokenizer.py | 109 | # Check if spatial merging is possible early | COMMENT |
| LOW | …rchitectures/autoencoders/autoencoder_kl_qwen_image.py | 738 | # Check if this weight needs numpy transformation | COMMENT |
| LOW | …x/python/max/pipelines/architectures/kimik2_5/model.py | 309 | # Check if EP should be configured | COMMENT |
| LOW | …lines/modeling/dataprocessing/causal_attention_mask.py | 70 | # Set diagonal to k + 1 so that tokens attend to themselves. | COMMENT |
| LOW | …x/pipelines/kv_cache/paged_kv_cache/transfer_engine.py | 164 | # Set SO_REUSEADDR to avoid TIME_WAIT issues | COMMENT |
| LOW | …x/pipelines/kv_cache/paged_kv_cache/transfer_engine.py | 1097 | # Check if the relevant transport env vars are set. You can get away | COMMENT |
| LOW | …on/max/pipelines/kv_cache/paged_kv_cache/block_pool.py | 101 | # Check if a block with the same hash is already committed. | COMMENT |
| LOW | …pelines/kv_cache/paged_kv_cache/jenga_block_manager.py | 438 | # Check if we have enough blocks available to satisfy the demand. | COMMENT |
| LOW | max/python/max/pipelines/lib/registry.py | 802 | # Check if there's a secondary tokenizer (tokenizer_2) in the manifest | COMMENT |
| LOW | max/python/max/pipelines/lib/config/config.py | 1458 | # Check if the architecture is Llama3 (LlamaForCausalLM) | COMMENT |
| LOW | max/python/max/pipelines/lib/config/model_config.py | 1431 | # Check if file exists locally (direct, local repo, or cache). | COMMENT |
| LOW | max/python/max/pipelines/lib/pipeline_variants/utils.py | 1180 | # Check if any context has structured output | COMMENT |
| LOW | max/python/max/serve/scheduler/lora_scheduler_utils.py | 57 | # Check if (protected LoRAs + new LoRA) fits within capacity. | COMMENT |
| LOW | max/python/max/serve/scheduler/decode_scheduler.py | 549 | # Set dst_idx to -1 to denote pages which the decode already has due | COMMENT |
| LOW | …/scheduler/batch_constructor/text_batch_constructor.py | 1300 | # Check if the request fits in memory | COMMENT |
| LOW | …/scheduler/batch_constructor/text_batch_constructor.py | 1349 | # Check if it fits within the token budget | COMMENT |
| LOW | …/scheduler/batch_constructor/text_batch_constructor.py | 1398 | # Check if it fits within the token budget | COMMENT |
| LOW | …/scheduler/batch_constructor/text_batch_constructor.py | 1921 | # Set priority to the majority case, defaulting to TG if tied | COMMENT |
| LOW | max/python/max/serve/pipelines/llm.py | 418 | # Check if reasoning was disabled in the prompt. Use the | COMMENT |
| LOW | max/python/max/serve/pipelines/echo_gen.py | 191 | # Check if we have more tokens to echo and haven't reached max length | COMMENT |
| LOW⚡ | max/python/max/serve/telemetry/common.py | 513 | # Check if the logger name starts with any of the allowed component prefixes | COMMENT |
| LOW | max/python/max/serve/router/openai_routes.py | 3853 | # Check if LoRA is enabled | COMMENT |
| LOW | max/python/max/serve/router/_image_resolution.py | 995 | # Check if path is within allowed roots before touching the filesystem. | COMMENT |
| LOW | max/python/max/serve/router/_image_resolution.py | 1028 | # Read the file with its own local-file size limit. | COMMENT |
| LOW | max/tests/integration/tools/debugging_utils.py | 486 | # Check if we found the tensors | COMMENT |
| LOW | max/tests/integration/graph/test_engine.py | 342 | # Check if the outputs really alias. | COMMENT |
| LOW | …/architectures/deepseekV3_2/test_hadamard_transform.py | 35 | # Check if outputs are close with appropriate tolerance | COMMENT |
| LOW | …ration/architectures/qwen2_5vl/test_image_processor.py | 211 | # Check if the difference is systematic | COMMENT |
| LOW | …ration/architectures/qwen2_5vl/test_image_processor.py | 219 | # Check if it's a scaling issue | COMMENT |
| LOW | …ion/architectures/qwen2_5vl/tests/test_patch_merger.py | 206 | # Check if outputs are close with appropriate tolerance | COMMENT |
| LOW | …on/architectures/qwen2_5vl/tests/test_qwen_vl_utils.py | 379 | # Check if both are numpy arrays or lists of PIL Images | COMMENT |
| LOW | …s/integration/architectures/idefics3/test_connector.py | 291 | # Check if outputs are close with appropriate tolerance | COMMENT |
| LOW | …on/architectures/idefics3/test_vision_encoder_layer.py | 296 | # Check if outputs are close with appropriate tolerance | COMMENT |
| LOW | …/integration/architectures/idefics3/test_vision_mlp.py | 268 | # Check if outputs are close with appropriate tolerance | COMMENT |
| LOW | …ration/architectures/idefics3/test_vision_attention.py | 241 | # Check if outputs are close with appropriate tolerance | COMMENT |
| LOW | …ests/integration/architectures/idefics3/torch_utils.py | 51 | # Check if prompt already contains chat template tokens | COMMENT |
| LOW | …egration/architectures/qwen3vl/test_image_processor.py | 198 | # Check if the difference is systematic | COMMENT |
| 15 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | docs/code/develop/index/graph_simple.py | 21 | # Step 1: Define the graph structure | COMMENT |
| LOW⚡ | docs/code/develop/index/graph_simple.py | 30 | # Step 2: Compile the graph | COMMENT |
| LOW⚡ | docs/code/develop/index/graph_simple.py | 35 | # Step 3: Execute with data | COMMENT |
| LOW⚡ | …/max/pipelines/architectures/olmo3/layers/attention.py | 170 | # Step 1: QKV matmul. | COMMENT |
| LOW⚡ | …/max/pipelines/architectures/olmo3/layers/attention.py | 177 | # Step 2: Apply full-dimension QK norm before rope. | COMMENT |
| LOW⚡ | …/max/pipelines/architectures/olmo3/layers/attention.py | 187 | # Step 3: Fused rope + split + KV store. | COMMENT |
| LOW | …/max/pipelines/architectures/olmo3/layers/attention.py | 202 | # Step 5: Compute flash attention (reads K/V from cache) | COMMENT |
| LOW | …n/max/pipelines/architectures/qwen3vl_moe/tokenizer.py | 792 | # Step 1: Extract prompt from request and apply chat template if needed | COMMENT |
| LOW | …n/max/pipelines/architectures/qwen3vl_moe/tokenizer.py | 829 | # Step 2: Load and process images | COMMENT |
| LOW | …n/max/pipelines/architectures/qwen3vl_moe/tokenizer.py | 847 | # Step 3: Process images with custom image processor (if any) and expand <|image_pad|> placeholders in text | COMMENT |
| LOW | …n/max/pipelines/architectures/qwen3vl_moe/tokenizer.py | 943 | # Step 4: Tokenize the expanded text | COMMENT |
| LOW | …n/max/pipelines/architectures/qwen3vl_moe/tokenizer.py | 1003 | # Step 5: Assemble the vision encoder's inputs, in PROMPT order. | COMMENT |
| LOW⚡ | …lines/architectures/olmo2_modulev3/layers/attention.py | 143 | # Step 1: QKV matmul. | COMMENT |
| LOW⚡ | …lines/architectures/olmo2_modulev3/layers/attention.py | 150 | # Step 2: Apply full-dimension QK norm before rope. | COMMENT |
| LOW⚡ | …lines/architectures/olmo2_modulev3/layers/attention.py | 159 | # Step 3: Fused rope + split + KV store. | COMMENT |
| LOW | …lines/architectures/olmo2_modulev3/layers/attention.py | 174 | # Step 5: Compute flash attention | COMMENT |
| LOW | max/python/max/pipelines/lib/eplb_rebalance.py | 151 | # Step 1: pack groups to nodes. | COMMENT |
| LOW⚡ | max/python/max/pipelines/lib/eplb_rebalance.py | 167 | # Step 2: construct redundant experts within nodes. | COMMENT |
| LOW⚡ | max/python/max/pipelines/lib/eplb_rebalance.py | 175 | # Step 3: pack physical experts to GPUs within each node. | COMMENT |
| LOW | max/tests/integration/accuracy/llm_fuzz/model_config.py | 199 | # Step 1: Try HuggingFace fetch using --model as repo ID | COMMENT |
| LOW | max/tests/integration/accuracy/llm_fuzz/model_config.py | 212 | # Step 2: Apply manual overrides (highest priority) | COMMENT |
| LOW⚡ | …/accuracy/llm_fuzz/scenarios/tool_schema_validation.py | 1371 | # Step 1: initial tool call | COMMENT |
| LOW | …/accuracy/llm_fuzz/scenarios/tool_schema_validation.py | 1390 | # Step 2: provide tool result, ask follow-up that triggers another call | COMMENT |
| LOW | …/accuracy/llm_fuzz/scenarios/tool_schema_validation.py | 1440 | # Step 3: multi-tool conversation | COMMENT |
| LOW⚡ | …/accuracy/llm_fuzz/scenarios/models/kimi_production.py | 537 | # Step 1: Structured output request | COMMENT |
| LOW⚡ | …/accuracy/llm_fuzz/scenarios/models/kimi_production.py | 561 | # Step 2: Tool calling request | COMMENT |
| LOW⚡ | …/accuracy/llm_fuzz/scenarios/models/kimi_production.py | 576 | # Step 3: Plain chat request | COMMENT |
| LOW⚡ | max/examples/diffusion/simple_offline_generation.py | 707 | # Step 6: Prepare inputs for the pipeline | COMMENT |
| LOW⚡ | max/examples/diffusion/simple_offline_generation.py | 767 | # Step 8: Get the output for our request | COMMENT |
| LOW⚡ | max/examples/diffusion/simple_offline_generation.py | 778 | # Step 9: Extract and save images from OutputImageContent | COMMENT |
| LOW | max/examples/diffusion/simple_offline_generation.py | 413 | # Step 1: Initialize pipeline configuration | COMMENT |
| LOW | max/examples/diffusion/simple_offline_generation.py | 502 | # Step 2: Initialize the tokenizer | COMMENT |
| LOW | max/examples/diffusion/simple_offline_generation.py | 551 | # Step 3: Initialize the pipeline | COMMENT |
| LOW | max/examples/diffusion/simple_offline_generation.py | 575 | # Step 4: Create an OpenResponsesRequest | COMMENT |
| LOW | max/examples/diffusion/simple_offline_generation.py | 671 | # Step 5: Create a PixelContext object from the request | COMMENT |
| LOW | max/examples/diffusion/simple_offline_generation.py | 751 | # Step 7: Execute the pipeline | COMMENT |
| LOW | bazel/internal/pytest-shard.py | 72 | # Step 1: Pull out anything marked with either | COMMENT |
| LOW | Mojo/lib/KGENToLLVM/LowerPOPToLLVMExternalCalls.cpp | 276 | // Step 4: Compute the final LLVM-level attributes we expect on the | COMMENT |
| LOW | Mojo/lib/KGENToLLVM/LowerPOPToLLVMExternalCalls.cpp | 296 | // Step 5: Lookup existing function (unified path - no early return!) | COMMENT |
| LOW | Mojo/lib/KGENToLLVM/LowerPOPToLLVMExternalCalls.cpp | 316 | // Step 6: Create function if needed (only branch on creation) | COMMENT |
| LOW | Mojo/lib/KGENToLLVM/LowerPOPToLLVMExternalCalls.cpp | 344 | // Step 7: Create call | COMMENT |
| LOW | Mojo/lib/KGENToLLVM/LowerPOPToLLVMExternalCalls.cpp | 356 | // Step 8: Handle return value | COMMENT |
| LOW | Mojo/lib/KGENToLLVM/LowerKGENToLLVMRewriteCABIFns.cpp | 206 | // Step 1: Coerce arguments — replace original block args with C ABI args | COMMENT |
| LOW | Mojo/lib/MojoParser/ParserStmts.cpp | 2968 | // If we see a 'try' block in a context that cannot raise, we need to check if | COMMENT |
| LOW | Mojo/lib/MojoParser/ClosureEmitter.cpp | 984 | // Step 1: prepend a new origin slot for self and collect origin decls. | COMMENT |
| LOW⚡ | Mojo/lib/MojoParser/ClosureEmitter.cpp | 996 | // Step 2: prepend explicit params for each captured parameter. | COMMENT |
| LOW⚡ | Mojo/lib/MojoParser/ClosureEmitter.cpp | 1006 | // Step 3: prepend the self runtime argument so it becomes arg[0]. | COMMENT |
| LOW | Mojo/lib/MojoParser/ClosureEmitter.cpp | 1019 | // Step 4: resolve depth-local index refs to named param/origin references. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …hmarks/misc/comparison/bench_blackwell_grouped_gemm.py | 15 | # Mimics bench.py scaffolding; uses naive float64 reference for correctness. | COMMENT |
| MEDIUM | …ython/max/benchmark/benchmark_shared/datasets/types.py | 79 | # Usually list[TextContentBlock], but not guaranteed: agentic-code passes | COMMENT |
| MEDIUM | max/python/max/graph/graph.py | 793 | # ``device_chains[DeviceRef.CPU()]`` is the host orchestration chain (the | COMMENT |
| MEDIUM | max/python/max/pipelines/architectures/laguna/arch.py | 51 | # scaffolding in ``model.py`` is in place but not yet validated. | COMMENT |
| MEDIUM | …on/max/pipelines/architectures/flux2/flux2_executor.py | 693 | # -- Denoising loop orchestration ----------------------------------------- | COMMENT |
| MEDIUM | …elines/architectures/qwen3_embedding_modulev3/model.py | 116 | # Remove lm_head weights — embedding model doesn't use them | COMMENT |
| MEDIUM | max/python/max/serve/telemetry/common.py | 232 | # covers slow ops (request time, model load, compile) and long agentic requests. | COMMENT |
| MEDIUM | max/python/max/serve/router/openresponses_routes.py | 82 | # Request is already parsed and validated via dependency injection | COMMENT |
| MEDIUM | max/python/max/serve/router/openai_routes.py | 1820 | # so replayed chain-of-thought is not silently dropped before the | COMMENT |
| MEDIUM | …tion_pipeline/test_overlap_text_generation_pipeline.py | 396 | # Worst-case boundary request: committed tokens fill the context window and | COMMENT |
| MEDIUM | max/tests/integration/accuracy/run_mmmu_video_eval.py | 276 | # not here: when a reasoning parser is active, chain-of-thought is split out | COMMENT |
| MEDIUM | max/tests/integration/accuracy/run_mmmu_video_eval.py | 443 | # The server's reasoning parser (if any) already removed chain-of-thought | COMMENT |
| MEDIUM | max/tests/integration/accuracy/run_longbench_v2.py | 121 | # Truncate prompt to fit context window | COMMENT |
| MEDIUM | …sts/integration/accuracy/model_evals/run_text_evals.sh | 14 | # Runs all five non-agentic text evals in sequence against a running server. | COMMENT |
| MEDIUM⚡ | …tion/accuracy/model_evals/run_exacto_taubench_local.sh | 15 | # tau2-bench airline — the agentic tool-calling half of OpenRouter's AutoExacto | COMMENT |
| MEDIUM⚡ | …tion/accuracy/model_evals/run_exacto_taubench_local.sh | 18 | # This is the half of the gate we had no coverage for: the suite's other agentic | COMMENT |
| MEDIUM | max/tests/integration/accuracy/llm_fuzz/client.py | 74 | # derives it from the model's context window). | COMMENT |
| MEDIUM | max/tests/integration/accuracy/llm_fuzz/README.md | 170 | # Default: 8 short conversations plus 2 at half the context window, | COMMENT |
| MEDIUM | …ation/accuracy/llm_fuzz/scenarios/kv_cache_pressure.py | 119 | # Probe near the model's context window boundary. | COMMENT |
| MEDIUM | …ntegration/accuracy/llm_fuzz/scenarios/tool_calling.py | 936 | # multi-step agentic prompt encourages several tool calls; the | COMMENT |
| MEDIUM | …gration/accuracy/llm_fuzz/scenarios/models/kimi_3am.py | 152 | # 8K char tool result in history -- common in RAG pipelines | COMMENT |
| MEDIUM⚡ | max/tests/tests/benchmark/test_benchmark_config.py | 488 | # --agentic-tool-profiles validation | COMMENT |
| MEDIUM | max/tests/tests/benchmark/test_benchmark_datasets.py | 1519 | # at run time, like agentic-code / instruct-coder). | COMMENT |
| MEDIUM | max/examples/embedding-knowledge-base/README.md | 1 | # Knowledge base with a text embedding model | COMMENT |
| MEDIUM | …/stdlib/scripts/unicode-data/GraphemeBreakProperty.txt | 1200 | B77D..B797 ; LVT # Lo [27] HANGUL SYLLABLE RAG..HANGUL SYLLABLE RAH | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | Mojo/test/mojo-lsp-server-node/src/hover.spec.ts | 26 | print(other) | CODE |
| HIGH | Mojo/test/mojo-lsp-server-node/src/hover.spec.ts | 613 | print("string") | CODE |
| HIGH | Mojo/test/mojo-lsp-server-node/src/hover.spec.ts | 614 | print(arg) | CODE |
| HIGH | Mojo/test/mojo-lsp-server-node/src/completion.spec.ts | 349 | elif arg.value:` | CODE |
| HIGH | Mojo/test/mojo-lsp-server-node/src/codeAction.spec.ts | 22 | print(repr(b)) | CODE |
| HIGH | Mojo/test/mojo-lsp-server-node/src/definitions.spec.ts | 33 | print(y) | CODE |
| HIGH | Mojo/test/mojo-lsp-server-node/src/definitions.spec.ts | 69 | print(arg) | CODE |
| HIGH | Mojo/test/mojo-lsp-server-node/src/references.spec.ts | 24 | print(foo) | CODE |
| HIGH | Mojo/test/mojo-lsp-server-node/src/references.spec.ts | 25 | print("foo") | CODE |
| HIGH | Mojo/test/mojo-lsp-server-node/src/regression.spec.ts | 20 | print("hi") | STRING |
| HIGH | Mojo/test/mojo-lsp-server-node/src/rename.spec.ts | 21 | print(someVar) | CODE |
| HIGH | Mojo/test/mojo-lsp-server-node/src/rename.spec.ts | 120 | print(1 + 2) | CODE |
| HIGH | Mojo/test/mojo-lsp-server-node/src/rename.spec.ts | 153 | print(1 + 2) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …rnels/benchmarks/misc/utils/cutlass_profiler_parser.py | 18 | # Usage: | COMMENT |
| LOW | …enchmarks/misc/utils/bench_vllm_flashinfer_decoding.py | 17 | # Usage: | COMMENT |
| LOW | …nchmarks/misc/utils/bench_vllm_flashinfer_attention.py | 17 | # Usage: | COMMENT |
| LOW | …s/misc/comparison/bench_mla_decode_sm100_kimi_fp8.yaml | 21 | # Usage: | COMMENT |
| LOW | …hmarks/misc/comparison/bench_blackwell_grouped_gemm.py | 18 | # Usage example: | COMMENT |
| LOW | …c/comparison/bench_mla_decode_sm100_deepseek_bf16.yaml | 21 | # Usage: | COMMENT |
| LOW | …/misc/comparison/bench_mla_decode_sm100_kimi_bf16.yaml | 21 | # Usage: | COMMENT |
| LOW | …sc/comparison/bench_mla_decode_sm100_deepseek_fp8.yaml | 21 | # Usage: | COMMENT |
| LOW | …kernels/benchmarks/gpu/nn/bench_fp8_index_prefill.yaml | 18 | # Usage: | COMMENT |
| LOW | …s/benchmarks/gpu/nn/bench_mla_sparse_prefill_tune.yaml | 18 | # Usage: | COMMENT |
| LOW | …els/benchmarks/gpu/nn/bench_mla_decode_sparse_fp8.yaml | 17 | # Usage: | COMMENT |
| LOW | …benchmark/configs/serving_flux2_t2i_random_config.yaml | 15 | # Usage: | COMMENT |
| LOW⚡ | …gration/accuracy/model_evals/run_omnidocbench_local.sh | 28 | # Usage: | COMMENT |
| LOW | …tion/accuracy/model_evals/run_exacto_taubench_local.sh | 56 | # Usage: | COMMENT |
| LOW⚡ | …egration/accuracy/model_evals/run_exacto_gpqa_local.sh | 54 | # Usage: | COMMENT |
| LOW | …s/embedding-knowledge-base/src/embeddings/kb_system.py | 134 | # Example usage | COMMENT |
| LOW | Support/include/Support/ADT/ConcurrentAppendingVector.h | 44 | /// Example usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …ration/accuracy/llm_fuzz/scenarios/openrouter_tests.py | 1765 | lorem = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. " * ( | CODE |
| LOW | …ration/accuracy/llm_fuzz/scenarios/openrouter_tests.py | 1765 | lorem = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. " * ( | CODE |
| LOW | …scenarios/validation/basic_reasoning_and_tool_usage.py | 150 | "lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do " | CODE |
| LOW | …scenarios/validation/basic_reasoning_and_tool_usage.py | 150 | "lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do " | CODE |
| LOW | max/tests/tests/graph/ops/test_call.py | 241 | "placeholder", | CODE |
| LOW | …thon-extension-modules/feature-overview/test_module.py | 78 | person.change_name("John Doe") | CODE |
| LOW | …thon-extension-modules/feature-overview/test_module.py | 79 | assert person.name() == "John Doe" | CODE |
| LOW | …est/python-extension-modules/def-method/test_module.py | 41 | same_person = person._with("Jane Doe", 25) | CODE |
| LOW | …est/python-extension-modules/def-method/test_module.py | 42 | assert person.get_name() == "Jane Doe" | CODE |
| LOW | …est/python-extension-modules/def-method/test_module.py | 59 | assert person.get_name() == "Jane Doe" | CODE |
| LOW⚡ | …est/python-extension-modules/def-method/test_module.py | 85 | person.set_name_and_age("John Doe", 25) | CODE |
| LOW⚡ | …est/python-extension-modules/def-method/test_module.py | 86 | assert person.get_name() == "John Doe" | CODE |
| LOW⚡ | …est/python-extension-modules/def-method/test_module.py | 96 | person.set_name_and_age("John Doe", 25) | CODE |
| LOW⚡ | …est/python-extension-modules/def-method/test_module.py | 105 | person.set_name("John Doe") | CODE |
| LOW⚡ | …est/python-extension-modules/def-method/test_module.py | 106 | assert person.get_name() == "John Doe" | CODE |
| LOW | Mojo/docs/site/releases/2022-11.md | 40 | a new "placeholder" attribute. This allows us to expose the power of the KGEN | CODE |
| LOW | Mojo/stdlib/test/builtin/test_file_dummy_input.txt | 1 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. | CODE |
| LOW | Mojo/stdlib/test/builtin/test_file_dummy_input.txt | 1 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | docs/max/nightly-changelog.md | 178 | `max.experimental.nn.common_layers.functional_kernels.local_map()` is | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | max/python/max/serve/router/openai_routes.py | 205 | CODE | |
| MEDIUM | max/tests/tests/serve/test_start_stream.py | 76 | CODE | |
| MEDIUM | max/tests/tests/serve/test_openresponses_routes.py | 480 | CODE | |
| MEDIUM | max/tests/tests/serve/test_completions_stream_errors.py | 116 | CODE | |
| MEDIUM | max/tests/tests/serve/test_completions_stream_errors.py | 133 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | Mojo/include/Mojo/Compiler/Target/TargetBackend.h | 227 | /// host policy (AddressSanitizer and ThreadSanitizer as requested in | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | max/tests/integration/accuracy/verify_pipelines.py | 290 | # Even if verdicts is empty, we want to make sure to call write. When we | COMMENT |
| LOW | Mojo/lib/MojoJupyter/enable_matplotlib.py | 81 | # end of our display data. We also make sure to flush the output stream | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | max/python/max/serve/process_control.py | 251 | async def run_task() -> None: | CODE |
| LOW | max/tests/integration/test_common/registry.py | 34 | def test_function(manage_production_models): | STRING |
| LOW | Mojo/stdlib/test/python/my_module.py | 31 | def my_function(name) -> str: # noqa: ANN001 | CODE |