AI Slop Code RIsk Monitor

oumi-ai/oumi

Easily fine-tune (SFT/RL), evaluate, and deploy Qwen, Gemma, or any open agentic LLM/VLM!

37.0 High pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for oumi-ai/oumi, a Python project with 9,391 GitHub stars. SynthScan examined 250,274 lines of code across 1450 source files, recording 7062 pattern matches distributed across 24 syntactic categories. The legacy adjusted pattern signal is 37.0 (High 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.

37.0
Adjusted Signal
37.0
Raw Pattern Score
100%
Time Factor
2026-10-08
Last Push
9.4K
Stars
Python
Language
250.3K
Lines of Code
1.4K
Files
7.1K
Pattern Hits
2026-10-12
Scan Date
0.20
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 72.9/100 · HIGH

Can maintainers explain intent, assumptions, and trade-offs? 5778 finding(s).

Hallucinated Dependency & Supply Chain Risk 13.1/100 · LOW

Are imports declared and package/API names verified? 580 finding(s).

Agent Over-Engineering Ratio 67.5/100 · HIGH

Are wrappers, guards, and repeated structures necessary? 4452 finding(s).

PR Review Velocity Impact 84.2/100 · CRITICAL

Which changes need focused human review? 7062 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

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.

Severity Breakdown

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.

CRITICAL 2HIGH 287MEDIUM 353LOW 6420

Directory Score Breakdown

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.

Pattern Findings

The scanner identified 7062 distinct pattern matches across 24 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.

Hyper-Verbose Identifiers3730 hits · 3587 pts
SeverityFileLineSnippetContext
LOWplatform/banking77-classifier/preprocess_banking77.py26def _load_in_context_examples() -> list[str]:CODE
LOWplatform/banking77-classifier/preprocess_banking77.py37def _build_classifier_instruction(CODE
LOWtests/markers.py47def requires_cuda_initialized() -> pytest.MarkDecorator:CODE
LOWtests/markers.py59def requires_cuda_not_available() -> pytest.MarkDecorator:CODE
LOWtests/unit/test_train.py78def mock_build_dataset_mixture():CODE
LOWtests/unit/test_train.py98def test_train_function_passes_debug_flag_correctly(CODE
LOWtests/unit/test_train.py141def _config_with_collator_kwargs(collator_kwargs):CODE
LOWtests/unit/test_train.py167def test_recompile_limit_unset_without_pad_to_multiple_of(CODE
LOWtests/unit/test_train.py182def test_recompile_limit_self_set_with_pad_to_multiple_of(CODE
LOWtests/unit/test_train.py200def test_recompile_limit_env_override_wins(monkeypatch, restore_dynamo_limits):CODE
LOW⚡tests/unit/quantize/test_awq_quantizer.py48 def test_supports_method_valid(self):CODE
LOW⚡tests/unit/quantize/test_awq_quantizer.py55 def test_supports_method_invalid(self):CODE
LOW⚡tests/unit/quantize/test_awq_quantizer.py61 def test_validate_config_valid(self):CODE
LOW⚡tests/unit/quantize/test_awq_quantizer.py66 def test_validate_config_invalid_method(self):CODE
LOWtests/unit/quantize/test_awq_quantizer.py77 def test_validate_config_invalid_format(self):CODE
LOW⚡tests/unit/quantize/test_awq_quantizer.py92 def test_raise_if_requirements_not_met_missing_awq(self):CODE
LOW⚡tests/unit/quantize/test_awq_quantizer.py102 def test_raise_if_requirements_not_met_no_gpu(self):CODE
LOW⚡tests/unit/quantize/test_awq_quantizer.py127 def test_validate_config_valid_simple(self):CODE
LOW⚡tests/unit/quantize/test_awq_quantizer.py137 def test_raise_if_requirements_not_met_no_awq_simple(self):CODE
LOW⚡tests/unit/quantize/test_awq_quantizer.py144 def test_raise_if_requirements_not_met_no_gpu_simple(self, mock_cuda):CODE
LOWtests/unit/quantize/test_base_quantization.py39 def raise_if_requirements_not_met(self) -> None:CODE
LOW⚡tests/unit/quantize/test_base_quantization.py57 def test_supports_method_true(self):CODE
LOW⚡tests/unit/quantize/test_base_quantization.py61 def test_supports_method_false(self):CODE
LOW⚡tests/unit/quantize/test_base_quantization.py65 def test_supports_format_true(self):CODE
LOW⚡tests/unit/quantize/test_base_quantization.py70 def test_supports_format_false(self):CODE
LOW⚡tests/unit/quantize/test_base_quantization.py74 def test_validate_config_valid(self):CODE
LOW⚡tests/unit/quantize/test_base_quantization.py79 def test_validate_config_invalid_method(self):CODE
LOWtests/unit/quantize/test_base_quantization.py91 def test_quantize_implementation(self):CODE
LOWtests/unit/quantize/test_base_quantization.py105 def test_quantization_result_creation(self):CODE
LOWtests/unit/quantize/test_base_quantization.py121 def test_quantization_result_default_additional_info(self):CODE
LOWtests/unit/quantize/test_quantize_module.py39 def test_quantize_awq_success(self, mock_build_quantizer):CODE
LOWtests/unit/quantize/test_quantize_module.py69 def test_quantize_bnb_success(self, mock_build_quantizer):CODE
LOW⚡tests/unit/quantize/test_quantize_module.py100 def test_quantize_invalid_config_type(self):CODE
LOW⚡tests/unit/quantize/test_quantize_module.py105 def test_quantize_unsupported_method(self):CODE
LOW⚡tests/unit/quantize/test_quantize_module.py115 def test_quantize_requirements_not_met(self, mock_build_quantizer):CODE
LOWtests/unit/quantize/test_quantize_module.py128 def test_quantize_quantizer_failure(self, mock_build_quantizer):CODE
LOWtests/unit/quantize/test_quantize_module.py140 def test_quantize_different_output_formats(self, mock_build_quantizer):CODE
LOWtests/unit/quantize/test_quantize_module.py168 def test_quantize_return_type(self, mock_build_quantizer):CODE
LOWtests/unit/quantize/test_bnb_quantizer.py59 def test_supports_method_invalid(self):CODE
LOWtests/unit/quantize/test_bnb_quantizer.py74 def test_validate_config_invalid_method(self):CODE
LOWtests/unit/quantize/test_bnb_quantizer.py88 def test_raise_if_requirements_not_met_missing_bnb(self):CODE
LOWtests/unit/quantize/test_bnb_quantizer.py113 def test_validate_config_valid(self):CODE
LOWtests/unit/launcher/test_launcher.py85def test_launcher_get_cloud_missing_value(mock_registry):CODE
LOWtests/unit/launcher/test_launcher.py106def test_launcher_get_cloud_empty(mock_registry):CODE
LOWtests/unit/launcher/test_launcher.py115def test_launcher_get_cloud_by_name_missing_value(mock_registry):CODE
LOWtests/unit/launcher/test_launcher.py136def test_launcher_get_cloud_by_name_empty(mock_registry):CODE
LOWtests/unit/launcher/test_launcher.py145def test_launcher_up_succeeds(mock_registry):CODE
LOWtests/unit/launcher/test_launcher.py175def test_launcher_up_succeeds_kwargs(mock_registry):CODE
LOWtests/unit/launcher/test_launcher.py205def test_launcher_up_succeeds_no_name(mock_registry):CODE
LOWtests/unit/launcher/test_launcher.py235def test_launcher_up_inavlid_cluster(mock_registry):CODE
LOWtests/unit/launcher/test_launcher.py263def test_launcher_run_succeeds(mock_registry):CODE
LOWtests/unit/launcher/test_launcher.py311def test_launcher_cancel_succeeds(mock_registry):CODE
LOWtests/unit/launcher/test_launcher.py340def test_launcher_cancel_fails(mock_registry):CODE
LOWtests/unit/launcher/test_launcher.py357def test_launcher_down_succeeds(mock_registry):CODE
LOWtests/unit/launcher/test_launcher.py392def test_launcher_status_multiple_clouds(mock_registry):CODE
LOWtests/unit/launcher/test_launcher.py533def test_launcher_status_filters_clusters(mock_registry):CODE
LOWtests/unit/launcher/test_launcher.py651def test_launcher_status_filters_jobs(mock_registry):CODE
LOWtests/unit/launcher/test_launcher.py783def test_launcher_status_filters_clouds(mock_registry):CODE
LOWtests/unit/launcher/test_launcher.py903def test_launcher_status_all_filters(mock_registry):CODE
LOWtests/unit/launcher/test_launcher.py1010def test_launcher_status_inits_new_clouds(mock_registry):CODE
3670 more matches not shown…
Over-Commented Block1013 hits · 996 pts
SeverityFileLineSnippetContext
LOWCONTRIBUTING.md81COMMENT
LOWplatform/banking77-classifier/preprocess_banking77.py141 print("\n 2-shot sample (system prompt, last 200 chars):")COMMENT
LOWplatform/banking77-classifier/preprocess_banking77.py161 # transform_row(COMMENT
LOWplatform/banking77-classifier/preprocess_banking77.py181 # SCRIPT_DIR / "banking77-test-3-shot.jsonl",COMMENT
LOWtests/unit/quantize/test_awq_quantizer.py1# Copyright 2025 - OumiCOMMENT
LOWtests/unit/quantize/test_base_quantization.py1# Copyright 2025 - OumiCOMMENT
LOWtests/unit/quantize/__init__.py1# Copyright 2025 - OumiCOMMENT
LOWtests/unit/quantize/test_quantize_module.py1# Copyright 2025 - OumiCOMMENT
LOWtests/unit/quantize/test_bnb_quantizer.py1# Copyright 2025 - OumiCOMMENT
LOWtests/unit/core/test_length_analyzer.py1# Copyright 2025 - OumiCOMMENT
LOWtests/unit/core/tokenizers/test_special_tokens.py1# Copyright 2025 - OumiCOMMENT
LOW…ts/unit/core/callbacks/test_metrics_logger_callback.py1# Copyright 2025 - OumiCOMMENT
LOWtests/unit/core/synthesis/test_synthesis_pipeline.py1# Copyright 2025 - OumiCOMMENT
LOWtests/unit/core/synthesis/test_tool_router.py1# Copyright 2025 - OumiCOMMENT
LOWtests/unit/core/synthesis/test_dataset_planner.py1# Copyright 2025 - OumiCOMMENT
LOWtests/unit/core/synthesis/test_data_synthesizer.py1# Copyright 2025 - OumiCOMMENT
LOWtests/unit/core/synthesis/test_attribute_formatter.py1# Copyright 2025 - OumiCOMMENT
LOWtests/unit/core/synthesis/test_attribute_synthesizer.py1# Copyright 2025 - OumiCOMMENT
LOW…s/unit/core/synthesis/test_attribute_transformation.py1# Copyright 2025 - OumiCOMMENT
LOWtests/unit/core/synthesis/test_dataset_ingestion.py1# Copyright 2025 - OumiCOMMENT
LOWtests/unit/core/synthesis/test_document_ingestion.py1# Copyright 2025 - OumiCOMMENT
LOW…s/unit/core/synthesis/test_conversation_synthesizer.py1# Copyright 2025 - OumiCOMMENT
LOWtests/unit/core/trainers/test_trl_dpo_trainer.py1# Copyright 2025 - OumiCOMMENT
LOWtests/unit/core/configs/test_analyze_config.py1# Copyright 2025 - OumiCOMMENT
LOWtests/unit/core/configs/test_synthesis_config.py1# Copyright 2025 - OumiCOMMENT
LOWtests/unit/core/configs/params/test_deepspeed_params.py1# Copyright 2025 - OumiCOMMENT
LOWtests/unit/core/configs/params/test_gkd_params.py1# Copyright 2025 - OumiCOMMENT
LOWtests/unit/core/configs/params/test_training_params.py1# Copyright 2025 - OumiCOMMENT
LOW…ts/unit/core/configs/params/test_environment_params.py1# Copyright 2025 - OumiCOMMENT
LOWtests/unit/core/configs/params/test_gold_params.py1# Copyright 2025 - OumiCOMMENT
LOWtests/unit/core/configs/params/test_synthesis_params.py1# Copyright 2025 - OumiCOMMENT
LOWtests/unit/core/configs/params/test_tool_params.py1# Copyright 2025 - OumiCOMMENT
LOWtests/unit/core/configs/params/test_grounding_params.py1# Copyright 2025 - OumiCOMMENT
LOWtests/unit/builders/test_quantizers.py1# Copyright 2025 - OumiCOMMENT
LOWtests/unit/builders/test_environments.py1# Copyright 2025 - OumiCOMMENT
LOWtests/unit/builders/test_adapter_trainable.py1# Copyright 2025 - OumiCOMMENT
LOWtests/unit/deploy/test_base_client.py1# Copyright 2025 - OumiCOMMENT
LOWtests/unit/deploy/test_utils.py1# Copyright 2025 - OumiCOMMENT
LOWtests/unit/deploy/test_fireworks_client.py1# Copyright 2025 - OumiCOMMENT
LOWtests/unit/deploy/test_parasail_client.py1# Copyright 2025 - OumiCOMMENT
LOWtests/unit/deploy/__init__.py1# Copyright 2025 - OumiCOMMENT
LOWtests/unit/deploy/test_deploy_config.py1# Copyright 2025 - OumiCOMMENT
LOWtests/unit/deploy/test_fireworks_errors.py1# Copyright 2026 - OumiCOMMENT
LOWtests/unit/environments/test_database_session.py1# Copyright 2025 - OumiCOMMENT
LOWtests/unit/environments/test_executor_resolution.py1# Copyright 2025 - OumiCOMMENT
LOWtests/unit/environments/test_executable_environment.py1# Copyright 2025 - OumiCOMMENT
LOWtests/unit/environments/test_executable_tool.py1# Copyright 2025 - OumiCOMMENT
LOW…t/environments/test_database_executable_environment.py1# Copyright 2025 - OumiCOMMENT
LOWtests/unit/environments/test_base_environment.py1# Copyright 2025 - OumiCOMMENT
LOWtests/unit/environments/test_simulated_environment.py1# Copyright 2025 - OumiCOMMENT
LOWtests/unit/environments/test_lookup_environment.py1# Copyright 2025 - OumiCOMMENT
LOWtests/unit/environments/test_endpoint_environment.py1# Copyright 2025 - OumiCOMMENT
LOW…sts/unit/datasets/test_vision_dpo_jsonlines_dataset.py1# Copyright 2025 - OumiCOMMENT
LOWtests/unit/datasets/test_base_dpo_dataset.py1# Copyright 2025 - OumiCOMMENT
LOWtests/unit/datasets/test_text_dpo_jsonlines_dataset.py1# Copyright 2025 - OumiCOMMENT
LOWtests/unit/datasets/grpo/test_letter_count.py1# Copyright 2025 - OumiCOMMENT
LOWtests/unit/utils/test_placeholders.py1# Copyright 2025 - OumiCOMMENT
LOWtests/unit/utils/test_analysis_utils.py1# Copyright 2025 - OumiCOMMENT
LOWtests/unit/utils/test_grpo_utils.py1# Copyright 2025 - OumiCOMMENT
LOWtests/unit/utils/test_http.py1# Copyright 2025 - OumiCOMMENT
953 more matches not shown…
Decorative Section Separators253 hits · 984 pts
SeverityFileLineSnippetContext
MEDIUMplatform/banking77-classifier/preprocess_banking77.py115 # ── Step 1: Download and read dataset ──────────────────────────────COMMENT
MEDIUMplatform/banking77-classifier/preprocess_banking77.py126 # ── Step 2: Verify transform function ──────────────────────────────COMMENT
MEDIUMplatform/banking77-classifier/preprocess_banking77.py146 # ── Step 3: Create JSONL datasets ───────────────────────────────────COMMENT
MEDIUM⚡tests/unit/core/types/test_conversation.py1304# -----------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/core/types/test_conversation.py1306# -----------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/core/types/test_conversation.py1442# -----------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/core/types/test_conversation.py1444# -----------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/core/types/test_conversation.py1045# -----------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/core/types/test_conversation.py1047# -----------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/core/types/test_conversation.py1215# -----------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/core/types/test_conversation.py1217# -----------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/core/synthesis/test_dataset_planner.py1195# ===========================COMMENT
MEDIUM⚡tests/unit/core/synthesis/test_dataset_planner.py1197# ===========================COMMENT
MEDIUM⚡…s/unit/core/synthesis/test_conversation_synthesizer.py1770# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…s/unit/core/synthesis/test_conversation_synthesizer.py1772# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…s/unit/core/synthesis/test_conversation_synthesizer.py3002# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…s/unit/core/synthesis/test_conversation_synthesizer.py3004# ---------------------------------------------------------------------------COMMENT
MEDIUM…s/unit/core/synthesis/test_conversation_synthesizer.py2118# ---------------------------------------------------------------------------COMMENT
MEDIUM…s/unit/core/synthesis/test_conversation_synthesizer.py2120# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…llators/test_text_completions_collator_with_padding.py325# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…llators/test_text_completions_collator_with_padding.py327# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…llators/test_text_completions_collator_with_padding.py345# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…llators/test_text_completions_collator_with_padding.py347# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…llators/test_text_completions_collator_with_padding.py393# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…llators/test_text_completions_collator_with_padding.py395# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…llators/test_text_completions_collator_with_padding.py456# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…llators/test_text_completions_collator_with_padding.py458# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…llators/test_text_completions_collator_with_padding.py510# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…llators/test_text_completions_collator_with_padding.py512# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…llators/test_text_completions_collator_with_padding.py670# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…llators/test_text_completions_collator_with_padding.py672# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…llators/test_text_completions_collator_with_padding.py859# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…llators/test_text_completions_collator_with_padding.py861# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…llators/test_text_completions_collator_with_padding.py919# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…llators/test_text_completions_collator_with_padding.py921# ---------------------------------------------------------------------------COMMENT
MEDIUM…llators/test_text_completions_collator_with_padding.py279# ===========================================================================COMMENT
MEDIUM…llators/test_text_completions_collator_with_padding.py281# ===========================================================================COMMENT
MEDIUM⚡tests/unit/builders/test_collators.py451# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/builders/test_collators.py453# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/builders/test_collators.py510# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/builders/test_collators.py512# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/builders/test_collators.py264# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/builders/test_collators.py267# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/builders/test_collators.py554# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/builders/test_collators.py556# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/deploy/test_parasail_client.py648 # ------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/deploy/test_parasail_client.py650 # ------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/deploy/test_parasail_client.py683 # ------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/deploy/test_parasail_client.py685 # ------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/deploy/test_parasail_client.py723 # ------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/deploy/test_parasail_client.py725 # ------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/deploy/test_parasail_client.py757 # ------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/deploy/test_parasail_client.py759 # ------------------------------------------------------------------COMMENT
MEDIUMtests/unit/deploy/test_parasail_client.py557 # ------------------------------------------------------------------COMMENT
MEDIUMtests/unit/deploy/test_parasail_client.py559 # ------------------------------------------------------------------COMMENT
MEDIUMtests/unit/deploy/test_parasail_client.py627 # ------------------------------------------------------------------COMMENT
MEDIUMtests/unit/deploy/test_parasail_client.py629 # ------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/deploy/test_deploy_config.py150# ===================================================================COMMENT
MEDIUM⚡tests/unit/deploy/test_deploy_config.py152# ===================================================================COMMENT
MEDIUM⚡tests/unit/deploy/test_deploy_config.py185# ===================================================================COMMENT
193 more matches not shown…
Example Usage Blocks487 hits · 731 pts
SeverityFileLineSnippetContext
LOWinstall.sh3# Usage:COMMENT
LOWconfigs/apis/gemini/infer_gemini_2_5_pro.yaml6# Usage:COMMENT
LOWconfigs/apis/openrouter/infer_gpt_5_2.yaml6# Usage:COMMENT
LOWconfigs/apis/openrouter/infer_llama4_maverick.yaml6# Usage:COMMENT
LOWconfigs/apis/openrouter/infer_claude_4_5_sonnet.yaml6# Usage:COMMENT
LOWconfigs/apis/atlascloud/infer_deepseek_v3.yaml7# Usage:COMMENT
LOWconfigs/apis/anthropic/infer_claude_opus_4_1.yaml6# Usage:COMMENT
LOW…s/apis/anthropic/infer_claude_sonnet_tool_calling.yaml12# Usage:COMMENT
LOWconfigs/apis/huggingface/infer_llama_3_1_8b.yaml15# Usage:COMMENT
LOWconfigs/apis/openai/infer_gpt_4_1.yaml6# Usage:COMMENT
LOWconfigs/apis/openai/infer_gpt_4o_mini.yaml6# Usage:COMMENT
LOWconfigs/apis/openai/infer_o1_mini.yaml6# Usage:COMMENT
LOWconfigs/apis/openai/infer_gpt_5.yaml6# Usage:COMMENT
LOWconfigs/apis/openai/infer_gpt_5_chat_latest.yaml6# Usage:COMMENT
LOWconfigs/apis/openai/infer_gpt_4o_tool_calling.yaml10# Usage:COMMENT
LOWconfigs/apis/openai/infer_gpt_5_nano.yaml6# Usage:COMMENT
LOWconfigs/apis/openai/infer_o1.yaml6# Usage:COMMENT
LOWconfigs/apis/openai/infer_o3_mini.yaml6# Usage:COMMENT
LOWconfigs/apis/openai/infer_gpt_5_mini.yaml6# Usage:COMMENT
LOWconfigs/apis/openai/infer_chatgpt_4o_latest.yaml6# Usage:COMMENT
LOWconfigs/apis/openai/infer_gpt_4_1_mini.yaml6# Usage:COMMENT
LOW…nfigs/projects/limo/qwen2.5_7b_fft_yarn_deepspeed.yaml10# Usage:COMMENT
LOW…n2.5_7b_fft_yarn_deepspeed_memory_optimized_train.yaml15# Usage:COMMENT
LOWconfigs/projects/limo/qwen2.5_7b_fft.yaml9# Usage:COMMENT
LOWconfigs/projects/limo/qwen2.5_7b_fft_yarn.yaml10# Usage:COMMENT
LOW…s/projects/dcvlr/starter_kit/molmo-d-train-openr1.yaml9# Usage:COMMENT
LOW…s/projects/dcvlr/starter_kit/molmo-o-train-openr1.yaml9# Usage:COMMENT
LOW…figs/projects/judges/rule_based/regex_match_phone.yaml8# Usage:COMMENT
LOW…rojects/judges/rule_based/regex_no_error_keywords.yaml8# Usage:COMMENT
LOWconfigs/projects/chatqa/chatqa_stage2_train.yaml3# Usage:COMMENT
LOWconfigs/projects/chatqa/gcp_job.yaml9# Usage:COMMENT
LOWconfigs/projects/chatqa/chatqa_stage1_train.yaml3# Usage:COMMENT
LOWconfigs/projects/coalm/70b_infer.yaml3# Usage:COMMENT
LOWconfigs/projects/coalm/8b_infer.yaml3# Usage:COMMENT
LOWconfigs/projects/aya/evaluation/gcp_job.yaml9# Usage:COMMENT
LOWconfigs/projects/aya/evaluation/eval.yaml8# Usage:COMMENT
LOWconfigs/projects/aya/sft/gcp_job.yaml9# Usage:COMMENT
LOWconfigs/projects/aya/sft/train.yaml8# Usage:COMMENT
LOWconfigs/projects/halloumi/gcp_job.yaml9# Usage:COMMENT
LOWconfigs/projects/halloumi/8b_train.yaml8# Usage:COMMENT
LOW…igs/recipes/llama4/inference/scout_instruct_infer.yaml7# Usage:COMMENT
LOW…es/llama4/inference/scout_instruct_together_infer.yaml6# Usage:COMMENT
LOW…ecipes/llama4/inference/scout_instruct_vllm_infer.yaml8# Usage:COMMENT
LOW…llama4/inference/maverick_instruct_together_infer.yaml6# Usage:COMMENT
LOW…/llama4/inference/scout_instruct_gguf_macos_infer.yaml6# Usage:COMMENT
LOW…ecipes/llama4/inference/scout_instruct_gguf_infer.yaml6# Usage:COMMENT
LOW…lama4/inference/maverick_instruct_fireworks_infer.yaml6# Usage:COMMENT
LOW…igs/recipes/llama4/evaluation/scout_instruct_eval.yaml8# Usage:COMMENT
LOW…figs/recipes/llama4/sft/scout_instruct_lora/train.yaml8# Usage:COMMENT
LOW…igs/recipes/llama4/sft/scout_instruct_qlora/train.yaml8# Usage:COMMENT
LOWconfigs/recipes/llama4/sft/scout_base_full/gcp_job.yaml9# Usage:COMMENT
LOWconfigs/recipes/llama4/sft/scout_base_full/train.yaml8# Usage:COMMENT
LOW…gs/recipes/llama4/sft/scout_instruct_full/gcp_job.yaml9# Usage:COMMENT
LOW…figs/recipes/llama4/sft/scout_instruct_full/train.yaml8# Usage:COMMENT
LOWconfigs/recipes/olmo3/inference/7b_infer.yaml13# Usage:COMMENT
LOWconfigs/recipes/olmo3/inference/32b_infer.yaml13# Usage:COMMENT
LOWconfigs/recipes/olmo3/evaluation/7b/eval.yaml8# Usage:COMMENT
LOWconfigs/recipes/olmo3/evaluation/32b/eval.yaml8# Usage:COMMENT
LOWconfigs/recipes/olmo3/sft/7b_full/train.yaml11# Usage:COMMENT
LOWconfigs/recipes/olmo3/sft/32b_lora/train.yaml11# Usage:COMMENT
427 more matches not shown…
Docstring Block Structure108 hits · 540 pts
SeverityFileLineSnippetContext
HIGHdocs/_summarize_module.py29Generate a markdown table of objects defined in a Python module. Args: module_name: The name of the module STRING
HIGHdocs/_summarize_module.py130Generate a markdown table summarizing config files in a folder. Args: config_folder: The folder containing STRING
HIGHscripts/benchmarks/benchmark_dataloader.py179Measures the time taken to initialize a dataset using the given dataset function. Parameters: dataset_fn (cSTRING
HIGHsrc/oumi/__init__.py279Quantizes a model using the provided configuration. Args: config: Quantization configuration containing modSTRING
HIGHsrc/oumi/judge.py33Create the appropriate judge based on the configuration. Args: judge_config: JudgeConfig object or path to STRING
HIGHsrc/oumi/judge.py133Judge a dataset from a JSONL file using Oumi's Judge framework. This is a convenience wrapper around judge_dataset.STRING
HIGHsrc/oumi/judge.py167Judge a list of conversations from a JSONL file using Oumi's Judge framework. This is a convenience wrapper around STRING
HIGHsrc/oumi/quantize/__init__.py32Main quantization function that routes to appropriate quantizer. Args: config: Quantization configuration cSTRING
HIGHsrc/oumi/quantize/base.py57Main quantization method - must be implemented by subclasses. Args: config: Quantization configuratSTRING
HIGHsrc/oumi/launcher/clients/sky_client.py266Wait for a submitted launch and return its job information. Args: request_id: ID returned by :meth:STRING
HIGHsrc/oumi/launcher/clients/sky_client.py342Get the current status of a launch request. Args: request_id: ID returned by :meth:`submit`. STRING
HIGHsrc/oumi/launcher/clusters/slurm_cluster.py102Translates an oumi accelerator string into a Slurm ``--gres`` value. Slurm's typed-GRES requires the type string toSTRING
HIGHsrc/oumi/core/distributed.py319Wrap the model for distributed training (DDP, FSDP, or DeepSpeed). Args: model: The model to be wrapped. STRING
HIGHsrc/oumi/core/datasets/base_sft_dataset.py173Applies the chat template carried by the tokenizer to the input example. Args: sample (Dict): MappiSTRING
HIGHsrc/oumi/core/datasets/base_kto_dataset.py125Validate and transform a sample to the KTO format. This method processes raw dataset samples and converts them STRING
HIGHsrc/oumi/core/datasets/base_kto_dataset.py187Extract the assistant's response from a chat-formatted completion. This method handles completions that are proSTRING
HIGHsrc/oumi/core/models/base_model.py124Loads a model from a directory saved with `save_pretrained()`. This classmethod instantiates a model and loads STRING
HIGHsrc/oumi/core/synthesis/conversation_synthesizer.py294Synthesize a multi-turn conversation. Order will be identical to the order of the samples. Args: STRING
HIGHsrc/oumi/core/synthesis/conversation_synthesizer.py531Plan the conversation samples with retry logic for failed parses. Args: samples: The conversation sSTRING
HIGHsrc/oumi/core/synthesis/attribute_synthesizer.py228Submit a batch inference job for attribute synthesis. Args: samples: The samples to synthesize valuSTRING
HIGHsrc/oumi/core/synthesis/attribute_synthesizer.py255Get the status of a batch inference job. Args: batch_id: The batch ID returned from synthesize_batcSTRING
HIGHsrc/oumi/core/synthesis/attribute_synthesizer.py274Cancel a batch inference job. Args: batch_id: The batch ID returned from synthesize_batch(). STRING
HIGHsrc/oumi/core/synthesis/attribute_synthesizer.py298Get results from a completed batch inference job. Args: batch_id: The batch ID returned from syntheSTRING
HIGHsrc/oumi/core/synthesis/attribute_synthesizer.py330Get partial results from a completed batch inference job. This method returns successful results alongside failSTRING
HIGHsrc/oumi/core/synthesis/synthesis_pipeline.py179Extract a value from a nested structure using bracket notation. Args: sample: The sample dictionarySTRING
HIGHsrc/oumi/core/trainers/verl_grpo_trainer.py276Finds prompt, answer, and optional images in a conversation. Supports both single-turn and multi-turn conversatSTRING
HIGHsrc/oumi/core/inference/base_inference_engine.py795Gets partial results of a completed batch job. Engines that support batch inference should override this methodSTRING
HIGHsrc/oumi/core/analyze/dataset_analyzer.py420Query the analysis results using pandas query syntax. Args: query_expression: Pandas query expressiSTRING
HIGHsrc/oumi/core/analyze/dataset_analyzer.py521Query conversation-level analysis results using pandas query expression. Args: query_expression: PaSTRING
HIGHsrc/oumi/core/analyze/dataset_analyzer.py561Filter the original dataset based on analysis results. This method uses analysis results to filter the originalSTRING
HIGHsrc/oumi/core/analyze/dataset_analyzer.py615Create a new dataset containing only the specified conversations. Args: conversation_indices: List STRING
HIGHsrc/oumi/core/collators/vision_language_sft_collator.py209Process a batch of conversation data into model-ready features. This method converts serialized conversations iSTRING
HIGHsrc/oumi/core/collators/vision_language_sft_collator.py300Collate individually processed results by padding to max dimensions. Args: results: List of featureSTRING
HIGH…/collators/trl_data_collator_for_completion_only_lm.py195Re-masks tool results that the chat template nested in an unmasked span. Some templates (e.g. gemma-4) render tSTRING
HIGH…/collators/trl_data_collator_for_completion_only_lm.py280Apply span-based masking for multi-turn conversations. Masks all labels, then unmarks assistant response spans STRING
HIGH…/collators/trl_data_collator_for_completion_only_lm.py363Collates a list of examples into a batch. Args: examples: Examples to collate, each a list of tokenSTRING
HIGHsrc/oumi/builders/models.py574Builds a chat template based on code name. Args: template_name: the code name describing the chat-template.STRING
HIGHsrc/oumi/builders/inference_engines.py82Returns the inference engine based on the provided config. Args: engine_type: Type of inference engine to cSTRING
HIGHsrc/oumi/builders/quantizers.py26Create appropriate quantization instance based on method. Args: method: Quantization method name (e.g., "awSTRING
HIGHsrc/oumi/builders/tuning.py20Build a tuner based on the configuration. Args: tuning_params: Tuning configuration parameters. ReturnSTRING
HIGHsrc/oumi/builders/collators.py91Detect end-of-turn token IDs and template string. Compares token-ID prefixes of the text after the last assistant tSTRING
HIGHsrc/oumi/builders/collators.py166Detect the assistant response header from the user-to-assistant boundary. Strips the leading end-of-turn prefix (whSTRING
HIGHsrc/oumi/builders/collators.py239Clamp the response template to the generation-prompt boundary. Some chat templates render assistant headers that exSTRING
HIGHsrc/oumi/builders/collators.py321Auto-detect response_template and end_of_turn_template. Applies the chat template to a known test conversation, theSTRING
HIGHsrc/oumi/builders/collators.py427The bracket around tool results this model nests inside the assistant turn. Span masking unmasks everything betweenSTRING
HIGHsrc/oumi/builders/collators.py506Builds a data collator based on the given collator name. Args: collator_name: The name of the collator to bSTRING
HIGHsrc/oumi/builders/collators.py620Creates data collator if specified in config. Resolves everything the collator needs from the config: the label ignSTRING
HIGHsrc/oumi/builders/training.py44Builds a trainer creator functor based on the provided configuration. Args: trainer_type (TrainerType): EnuSTRING
HIGHsrc/oumi/deploy/deploy_config.py137Loads and validates a deployment config from a YAML file. Args: config_path: Path to the YAML file.STRING
HIGHsrc/oumi/deploy/base_client.py302Gets the status of an asynchronous upload/processing job. Override in providers that use job-based workflows. STRING
HIGHsrc/oumi/deploy/base_client.py329Starts a stopped endpoint (scales up from 0 replicas). Args: endpoint_id: Provider-specific endpoinSTRING
HIGHsrc/oumi/deploy/base_client.py346Stops an endpoint by scaling to 0 replicas (cost savings). Args: endpoint_id: Provider-specific endSTRING
HIGHsrc/oumi/deploy/fireworks_client.py528Uploads a model using a pre-computed file inventory and resolver. Unlike ``upload_model()`` which requires all STRING
HIGHsrc/oumi/deploy/fireworks_client.py1315Gets the status of an uploaded model. Args: model_id: Fireworks model ID (short ID or full path) STRING
HIGHsrc/oumi/deploy/fireworks_client.py1388Creates an inference endpoint (deployment) for a model. Deploys either by raw ``hardware`` or by a validated STRING
HIGHsrc/oumi/deploy/parasail_client.py208Validates the HuggingFace model source and checks compatibility. Args: model_source: HuggingFace reSTRING
HIGHsrc/oumi/deploy/parasail_client.py322Creates a dedicated Parasail endpoint for a HuggingFace model. Fetches compatible device configurations from ``STRING
HIGHsrc/oumi/deploy/parasail_client.py392Gets details of a dedicated endpoint. Args: endpoint_id: Numeric deployment ID (as a string). STRING
HIGHsrc/oumi/deploy/parasail_client.py423Updates a dedicated endpoint's replica count. Parasail's update flow requires fetching the current deployment aSTRING
HIGHsrc/oumi/deploy/parasail_client.py499Lists available hardware configurations for Parasail. Queries the ``/dedicated/devices`` API for hardware compaSTRING
48 more matches not shown…
Cross-File Repetition108 hits · 540 pts
SeverityFileLineSnippetContext
HIGHdocs/user_guides/launch/custom_cluster.md0gets the jobs on this cluster if it exists, else returns none.STRING
HIGHsrc/oumi/launcher/clusters/sky_cluster.py0gets the jobs on this cluster if it exists, else returns none.STRING
HIGHsrc/oumi/launcher/clusters/local_cluster.py0gets the jobs on this cluster if it exists, else returns none.STRING
HIGHsrc/oumi/launcher/clusters/polaris_cluster.py0gets the jobs on this cluster if it exists, else returns none.STRING
HIGHsrc/oumi/launcher/clusters/frontier_cluster.py0gets the jobs on this cluster if it exists, else returns none.STRING
HIGHsrc/oumi/launcher/clusters/perlmutter_cluster.py0gets the jobs on this cluster if it exists, else returns none.STRING
HIGHdocs/user_guides/launch/custom_cluster.md0gets the cluster with the specified name, or creates one if it doesn't exist. args: name: the name of the cluster. returSTRING
HIGHsrc/oumi/launcher/clouds/local_cloud.py0gets the cluster with the specified name, or creates one if it doesn't exist. args: name: the name of the cluster. returSTRING
HIGHsrc/oumi/launcher/clouds/slurm_cloud.py0gets the cluster with the specified name, or creates one if it doesn't exist. args: name: the name of the cluster. returSTRING
HIGHsrc/oumi/launcher/clouds/frontier_cloud.py0gets the cluster with the specified name, or creates one if it doesn't exist. args: name: the name of the cluster. returSTRING
HIGHsrc/oumi/launcher/clouds/perlmutter_cloud.py0gets the cluster with the specified name, or creates one if it doesn't exist. args: name: the name of the cluster. returSTRING
HIGHsrc/oumi/launcher/clouds/polaris_cloud.py0gets the cluster with the specified name, or creates one if it doesn't exist. args: name: the name of the cluster. returSTRING
HIGHdocs/user_guides/launch/custom_cluster.md0gets the cluster with the specified name, or none if not found.STRING
HIGHsrc/oumi/launcher/clouds/slurm_cloud.py0gets the cluster with the specified name, or none if not found.STRING
HIGHsrc/oumi/launcher/clouds/local_cloud.py0gets the cluster with the specified name, or none if not found.STRING
HIGHsrc/oumi/launcher/clouds/frontier_cloud.py0gets the cluster with the specified name, or none if not found.STRING
HIGHsrc/oumi/launcher/clouds/perlmutter_cloud.py0gets the cluster with the specified name, or none if not found.STRING
HIGHsrc/oumi/launcher/clouds/polaris_cloud.py0gets the cluster with the specified name, or none if not found.STRING
HIGHsrc/oumi/launcher/clouds/sky_cloud.py0gets the cluster with the specified name, or none if not found.STRING
HIGHsrc/oumi/core/launcher/base_cloud.py0gets the cluster with the specified name, or none if not found.STRING
HIGHsrc/oumi/launcher/clients/slurm_client.py0gets a stream that tails the logs of the target job. args: job_id: the id of the job to tail the logs of. cluster_name: STRING
HIGHsrc/oumi/launcher/clusters/sky_cluster.py0gets a stream that tails the logs of the target job. args: job_id: the id of the job to tail the logs of. cluster_name: STRING
HIGHsrc/oumi/launcher/clusters/local_cluster.py0gets a stream that tails the logs of the target job. args: job_id: the id of the job to tail the logs of. cluster_name: STRING
HIGHsrc/oumi/launcher/clusters/polaris_cluster.py0gets a stream that tails the logs of the target job. args: job_id: the id of the job to tail the logs of. cluster_name: STRING
HIGHsrc/oumi/launcher/clusters/frontier_cluster.py0gets a stream that tails the logs of the target job. args: job_id: the id of the job to tail the logs of. cluster_name: STRING
HIGHsrc/oumi/launcher/clusters/perlmutter_cluster.py0gets a stream that tails the logs of the target job. args: job_id: the id of the job to tail the logs of. cluster_name: STRING
HIGHsrc/oumi/launcher/clusters/slurm_cluster.py0formats the provided date as a string. args: date: the date to format. returns: the formatted date.STRING
HIGHsrc/oumi/launcher/clusters/polaris_cluster.py0formats the provided date as a string. args: date: the date to format. returns: the formatted date.STRING
HIGHsrc/oumi/launcher/clusters/frontier_cluster.py0formats the provided date as a string. args: date: the date to format. returns: the formatted date.STRING
HIGHsrc/oumi/launcher/clusters/perlmutter_cluster.py0formats the provided date as a string. args: date: the date to format. returns: the formatted date.STRING
HIGHsrc/oumi/launcher/clusters/slurm_cluster.py0finds the last pbs instruction line in the script. args: script: the lines of the script. returns: the index of the lastSTRING
HIGHsrc/oumi/launcher/clusters/frontier_cluster.py0finds the last pbs instruction line in the script. args: script: the lines of the script. returns: the index of the lastSTRING
HIGHsrc/oumi/launcher/clusters/perlmutter_cluster.py0finds the last pbs instruction line in the script. args: script: the lines of the script. returns: the index of the lastSTRING
HIGHsrc/oumi/launcher/clusters/polaris_cluster.py0finds the last pbs instruction line in the script. args: script: the lines of the script. returns: the index of the lastSTRING
HIGHsrc/oumi/launcher/clusters/slurm_cluster.py0creates a job script for the specified job. args: job: the job to create a script for. returns: the script as a string.STRING
HIGHsrc/oumi/launcher/clusters/polaris_cluster.py0creates a job script for the specified job. args: job: the job to create a script for. returns: the script as a string.STRING
HIGHsrc/oumi/launcher/clusters/frontier_cluster.py0creates a job script for the specified job. args: job: the job to create a script for. returns: the script as a string.STRING
HIGHsrc/oumi/launcher/clusters/perlmutter_cluster.py0creates a job script for the specified job. args: job: the job to create a script for. returns: the script as a string.STRING
HIGHsrc/oumi/launcher/clusters/slurm_cluster.py0validates the provided job configuration. args: job: the job to validate.STRING
HIGHsrc/oumi/launcher/clusters/local_cluster.py0validates the provided job configuration. args: job: the job to validate.STRING
HIGHsrc/oumi/launcher/clusters/polaris_cluster.py0validates the provided job configuration. args: job: the job to validate.STRING
HIGHsrc/oumi/launcher/clusters/frontier_cluster.py0validates the provided job configuration. args: job: the job to validate.STRING
HIGHsrc/oumi/launcher/clusters/perlmutter_cluster.py0validates the provided job configuration. args: job: the job to validate.STRING
HIGHsrc/oumi/launcher/clusters/slurm_cluster.py0parses the cluster name into queue and user components. args: name: the name of the cluster. returns: _clusterinfo: the STRING
HIGHsrc/oumi/launcher/clouds/frontier_cloud.py0parses the cluster name into queue and user components. args: name: the name of the cluster. returns: _clusterinfo: the STRING
HIGHsrc/oumi/launcher/clouds/perlmutter_cloud.py0parses the cluster name into queue and user components. args: name: the name of the cluster. returns: _clusterinfo: the STRING
HIGHsrc/oumi/launcher/clouds/polaris_cloud.py0parses the cluster name into queue and user components. args: name: the name of the cluster. returns: _clusterinfo: the STRING
HIGHsrc/oumi/launcher/clusters/polaris_cluster.py0runs the specified job on this cluster. for perlmutter this method consists of 5 parts: 1. copy the working directory toSTRING
HIGHsrc/oumi/launcher/clusters/frontier_cluster.py0runs the specified job on this cluster. for perlmutter this method consists of 5 parts: 1. copy the working directory toSTRING
HIGHsrc/oumi/launcher/clusters/perlmutter_cluster.py0runs the specified job on this cluster. for perlmutter this method consists of 5 parts: 1. copy the working directory toSTRING
HIGHsrc/oumi/core/callbacks/hf_mfu_callback.py0event called at the end of each train step. note that this will be called after all gradient accumulation substeps.STRING
HIGHsrc/oumi/core/callbacks/telemetry_callback.py0event called at the end of each train step. note that this will be called after all gradient accumulation substeps.STRING
HIGHsrc/oumi/core/callbacks/mfu_callback.py0event called at the end of each train step. note that this will be called after all gradient accumulation substeps.STRING
HIGHsrc/oumi/core/callbacks/profiler_step_callback.py0event called at the end of each train step. note that this will be called after all gradient accumulation substeps.STRING
HIGHsrc/oumi/core/datasets/base_grpo_dataset.py0validate and transform the sample into python `dict`.STRING
HIGHsrc/oumi/datasets/grpo/gsm8k.py0validate and transform the sample into python `dict`.STRING
HIGHsrc/oumi/datasets/grpo/letter_count.py0validate and transform the sample into python `dict`.STRING
HIGHsrc/oumi/datasets/grpo/countdown.py0validate and transform the sample into python `dict`.STRING
HIGHsrc/oumi/core/synthesis/attribute_synthesizer.py0mapping of failed index to structured failure info.STRING
HIGHsrc/oumi/core/inference/base_inference_engine.py0mapping of failed index to structured failure info.STRING
48 more matches not shown…
Unused Imports540 hits · 478 pts
SeverityFileLineSnippetContext
LOWtests/unit/launcher/test_launcher.py1347CODE
LOWtests/unit/launcher/clients/test_modal_client.py12CODE
LOWtests/unit/launcher/clusters/test_modal_cluster.py8CODE
LOWtests/unit/launcher/clouds/test_modal_cloud.py8CODE
LOW…sts/unit/core/datasets/test_vision_language_dataset.py9CODE
LOWtests/unit/core/trainers/test_verl_grpo_trainer.py36CODE
LOWtests/unit/core/configs/test_synthesis_config.py17CODE
LOW…ts/unit/core/configs/params/test_environment_params.py20CODE
LOWtests/unit/deploy/__init__.py17CODE
LOWtests/unit/deploy/__init__.py18CODE
LOWtests/unit/deploy/__init__.py19CODE
LOWtests/unit/deploy/__init__.py20CODE
LOWtests/unit/deploy/__init__.py21CODE
LOWtests/unit/deploy/__init__.py22CODE
LOWtests/unit/deploy/__init__.py23CODE
LOWtests/unit/deploy/__init__.py24CODE
LOWtests/unit/deploy/__init__.py25CODE
LOWtests/unit/environments/test_database_session.py15CODE
LOWtests/unit/environments/test_executor_resolution.py17CODE
LOWtests/unit/environments/test_executable_environment.py17CODE
LOWtests/unit/environments/test_executable_tool.py17CODE
LOW…t/environments/test_database_executable_environment.py17CODE
LOW…nit/datasets/test_vision_language_jsonlines_dataset.py7CODE
LOWtests/unit/utils/test_io_utils.py15CODE
LOWtests/unit/cli/test_cli_speed_regression.py8CODE
LOWtests/unit/examples/test_ehr_database_executors.py17CODE
LOWtests/unit/examples/test_ehr_database_executors.py23CODE
LOWtests/unit/examples/test_ehr_executors.py17CODE
LOWtests/unit/inference/test_inference_engine_init.py37CODE
LOWtests/unit/inference/test_inference_engine_init.py44CODE
LOWtests/unit/inference/test_inference_engine_init.py51CODE
LOWtests/unit/inference/test_remote_inference_engine.py4848CODE
LOW…igs/examples/synthesis/ehr_stateful_agent/executors.py32CODE
LOW…igs/examples/synthesis/ehr_database_agent/executors.py26CODE
LOWsrc/oumi/__init__.py84CODE
LOWsrc/oumi/infer.py30CODE
LOWsrc/oumi/exceptions.py24CODE
LOWsrc/oumi/quantize/__init__.py23CODE
LOWsrc/oumi/quantize/__init__.py24CODE
LOWsrc/oumi/quantize/__init__.py25CODE
LOWsrc/oumi/launcher/__init__.py34CODE
LOWsrc/oumi/launcher/__init__.py35CODE
LOWsrc/oumi/launcher/__init__.py35CODE
LOWsrc/oumi/launcher/__init__.py35CODE
LOWsrc/oumi/launcher/__init__.py36CODE
LOWsrc/oumi/launcher/__init__.py36CODE
LOWsrc/oumi/launcher/__init__.py36CODE
LOWsrc/oumi/launcher/__init__.py36CODE
LOWsrc/oumi/launcher/__init__.py36CODE
LOWsrc/oumi/launcher/__init__.py36CODE
LOWsrc/oumi/launcher/__init__.py36CODE
LOWsrc/oumi/launcher/__init__.py36CODE
LOWsrc/oumi/launcher/__init__.py36CODE
LOWsrc/oumi/launcher/clients/modal_client.py32CODE
LOWsrc/oumi/launcher/clusters/modal_cluster.py31CODE
LOWsrc/oumi/launcher/clouds/modal_cloud.py25CODE
LOWsrc/oumi/launcher/clouds/__init__.py35CODE
LOWsrc/oumi/launcher/clouds/__init__.py36CODE
LOWsrc/oumi/launcher/clouds/__init__.py37CODE
LOWsrc/oumi/launcher/clouds/__init__.py38CODE
480 more matches not shown…
Excessive Try-Catch Wrapping221 hits · 226 pts
SeverityFileLineSnippetContext
LOWtests/conftest.py79 except Exception:CODE
LOWtests/conftest.py92 except Exception:CODE
LOWtests/unit/core/analyze/test_dataset_analyzer.py645 except Exception as e:CODE
LOWtests/unit/mcp/test_job_recovery_and_control.py73 except Exception:CODE
LOWtests/unit/inference/test_base_inference_engine.py765 except Exception as e: # noqa: BLE001 - surface any thread failureCODE
LOWtests/unit/inference/test_base_inference_engine.py807 except Exception as e: # noqa: BLE001 - surface any thread failureCODE
LOWtests/unit/inference/test_adaptive_semaphore.py503 except Exception as e:CODE
LOWtests/e2e/test_sambanova_inference.py59 except Exception as e:CODE
MEDIUMtests/e2e/test_sambanova_inference.py60 print("An error occurred during inference:", str(e))CODE
LOWtests/e2e/test_notebooks.py53 except Exception as e:CODE
LOWtests/e2e/test_train_e2e.py208 except Exception as e:CODE
LOWtests/e2e/test_train_e2e.py368 except Exception as e:CODE
LOWtests/e2e/test_tune_e2e.py65 except Exception as e:CODE
LOWtests/e2e/test_tune_e2e.py153 except Exception as e:CODE
LOWtests/e2e/test_eval_e2e.py75 except Exception as e:CODE
LOWtests/e2e/test_eval_e2e.py162 except Exception as e:CODE
LOWdocs/_summarize_module.py167 except Exception:CODE
LOWconfigs/projects/dcvlr/run_image_synthesis.py55 except Exception as e:CODE
MEDIUMconfigs/projects/dcvlr/run_image_synthesis.py56 print(f"Error processing image: {str(e)}")CODE
LOWconfigs/projects/dcvlr/run_image_synthesis.py161 except Exception as e:CODE
MEDIUMconfigs/projects/dcvlr/run_image_synthesis.py260 print(f"Error: Dataset JSON not found at {json_path}")CODE
MEDIUMconfigs/projects/dcvlr/run_image_synthesis.py345 print("Error: --repo-id is required when using --push-to-hub")CODE
LOWconfigs/projects/dcvlr/run_image_synthesis.py363 except Exception as e:CODE
MEDIUMconfigs/projects/dcvlr/run_image_synthesis.py364 print(f"Error pushing to hub: {str(e)}")CODE
LOWconfigs/projects/dcvlr/synthesize_images_vllm.py113 except Exception as e:CODE
LOWconfigs/projects/dcvlr/synthesize_images_vllm.py365 except Exception as e:CODE
LOWconfigs/projects/dcvlr/synthesize_images_vllm.py516 except Exception as e:CODE
LOWconfigs/projects/dcvlr/synthesize_images_vllm.py526 except Exception as e:CODE
LOWconfigs/projects/dcvlr/synthesize_images_vllm.py625 except Exception as e2:CODE
LOWconfigs/projects/dcvlr/synthesize_images_vllm.py637 except Exception as e:CODE
LOWconfigs/projects/dcvlr/synthesize_images_vllm.py681 except Exception as e:CODE
LOWconfigs/projects/dcvlr/synthesize_images_vllm.py794 except Exception as e:CODE
LOWscripts/demo.py614 except Exception as e:CODE
LOWscripts/polaris/jobs/python/vllm_parallel_inference.py138 except Exception as e:CODE
LOWsrc/oumi/quantize/base.py154 except Exception:CODE
LOWsrc/oumi/launcher/clients/polaris_client.py273 except Exception:CODE
LOWsrc/oumi/launcher/clients/slurm_client.py360 except Exception as e:CODE
LOWsrc/oumi/launcher/clients/slurm_client.py437 except Exception as e:CODE
LOW⚡src/oumi/launcher/clients/slurm_client.py461 except Exception as e:CODE
LOW⚡src/oumi/launcher/clients/slurm_client.py467 except Exception:CODE
LOW⚡src/oumi/launcher/clients/slurm_client.py474 except Exception as e:CODE
LOWsrc/oumi/launcher/clients/slurm_client.py615 except Exception:CODE
LOWsrc/oumi/launcher/clients/sky_client.py249 except Exception:CODE
LOWsrc/oumi/launcher/clients/sky_client.py289 except Exception:CODE
LOWsrc/oumi/launcher/clients/sky_client.py385 except Exception:CODE
LOWsrc/oumi/launcher/clients/modal_client.py253 except Exception as e: # noqa: BLE001CODE
LOWsrc/oumi/launcher/clients/modal_client.py295 except Exception as e: # noqa: BLE001CODE
LOWsrc/oumi/launcher/clients/modal_client.py309 except Exception as e: # noqa: BLE001CODE
LOWsrc/oumi/launcher/clients/modal_client.py344 except Exception as e: # noqa: BLE001CODE
LOWsrc/oumi/launcher/clients/modal_client.py364 except Exception as e: # noqa: BLE001CODE
LOWsrc/oumi/core/tokenizers/utils.py116 except Exception:CODE
LOWsrc/oumi/core/tokenizers/utils.py193 except Exception as e:CODE
LOWsrc/oumi/core/models/base_model.py235 except Exception:CODE
LOWsrc/oumi/core/synthesis/conversation_synthesizer.py248 except Exception:CODE
LOWsrc/oumi/core/synthesis/conversation_synthesizer.py257 except Exception as exc:CODE
LOWsrc/oumi/core/synthesis/document_ingestion.py198 except Exception:CODE
LOWsrc/oumi/core/synthesis/attribute_synthesizer.py200 except Exception as e:CODE
LOWsrc/oumi/core/synthesis/attribute_synthesizer.py366 except Exception as e:CODE
LOWsrc/oumi/core/trainers/oumi_trainer.py704 except Exception as e:CODE
LOWsrc/oumi/core/trainers/oumi_trainer.py713 except Exception as e:CODE
161 more matches not shown…
Empty Error Handlers39 hits · 195 pts
SeverityFileLineSnippetContext
HIGHtests/conftest.py92except Exception:CODE
HIGHtests/unit/mcp/test_job_recovery_and_control.py73except Exception:CODE
HIGHtests/unit/inference/test_adaptive_semaphore.py373except asyncio.CancelledError:CODE
HIGHtests/unit/inference/test_adaptive_semaphore.py575except asyncio.CancelledError:CODE
HIGHtests/unit/inference/test_adaptive_semaphore.py600except ValueError:CODE
HIGHdocs/_summarize_module.py167except Exception:CODE
HIGHscripts/demo.py39except (ImportError, AttributeError):CODE
HIGHsrc/oumi/launcher/clients/slurm_client.py358except ProcessLookupError:CODE
HIGHsrc/oumi/launcher/clients/slurm_client.py459except ProcessLookupError:CODE
HIGHsrc/oumi/launcher/clients/slurm_client.py472except ProcessLookupError:CODE
HIGHsrc/oumi/launcher/clients/sky_client.py385except Exception:CODE
HIGHsrc/oumi/core/synthesis/synthesis_pipeline.py170except (KeyError, IndexError, ValueError):CODE
HIGHsrc/oumi/core/configs/internal/supported_models.py687except (json.JSONDecodeError, OSError):CODE
HIGHsrc/oumi/core/configs/params/tuning_params.py373except Exception:CODE
HIGHsrc/oumi/environments/utils.py91except Exception:CODE
HIGHsrc/oumi/environments/database_session.py83except OSError:CODE
HIGHsrc/oumi/utils/str_utils.py163except json.JSONDecodeError:CODE
HIGHsrc/oumi/utils/str_utils.py181except json.JSONDecodeError:CODE
HIGHsrc/oumi/utils/http.py97except (ValueError, TypeError):CODE
HIGHsrc/oumi/mcp/job_launcher.py138except Exception:CODE
HIGHsrc/oumi/mcp/job_launcher.py307except ProcessLookupError:CODE
HIGHsrc/oumi/mcp/job_launcher.py313except ProcessLookupError:CODE
HIGHsrc/oumi/mcp/job_logs.py189except Exception:CODE
HIGHsrc/oumi/mcp/job_logs.py266except Exception:CODE
HIGHsrc/oumi/mcp/job_logs.py280except Exception:CODE
HIGHsrc/oumi/mcp/job_logs.py194except Exception:CODE
HIGHsrc/oumi/mcp/preflight_service.py662except Exception:CODE
HIGHsrc/oumi/mcp/preflight_service.py638except ValueError:CODE
HIGHsrc/oumi/mcp/preflight_service.py302except Exception:CODE
HIGHsrc/oumi/mcp/preflight_service.py325except Exception:CODE
HIGHsrc/oumi/mcp/docs_service.py464except Exception:CODE
HIGHsrc/oumi/mcp/config_service.py97except (OSError, FileNotFoundError):CODE
HIGHsrc/oumi/mcp/config_service.py90except (OSError, FileNotFoundError):CODE
HIGHsrc/oumi/mcp/job_runtime.py49except Exception:CODE
HIGHsrc/oumi/cli/completions.py283except (PermissionError, OSError):CODE
HIGHsrc/oumi/inference/adaptive_semaphore.py87except ValueError:CODE
HIGHsrc/oumi/inference/together_inference_engine.py199except OSError:CODE
HIGHsrc/oumi/analyze/discovery.py76except Exception:CODE
HIGHsrc/oumi/telemetry/manager.py148except OSError:CODE
Self-Referential Comments57 hits · 176 pts
SeverityFileLineSnippetContext
MEDIUMtests/unit/core/test_length_analyzer.py240 # Create a conversation with multiple messagesCOMMENT
MEDIUMtests/unit/core/test_length_analyzer.py286 # Create a conversation with multiple messagesCOMMENT
MEDIUMtests/unit/core/test_length_analyzer.py329 # Create a conversation with multiple messagesCOMMENT
MEDIUMtests/unit/core/datasets/test_base_map_dataset.py69 # Create a test dataset classCOMMENT
MEDIUMtests/unit/core/synthesis/test_synthesis_pipeline.py553 # Create a config with a bad output path by bypassing validationCOMMENT
MEDIUMtests/unit/core/synthesis/test_synthesis_pipeline.py702 # Create a minimal config to avoid model loadingCOMMENT
MEDIUMtests/unit/core/analyze/test_dataset_analyzer.py123 # Create a subclass that remembers the analyzer_idCOMMENT
MEDIUMtests/unit/core/analyze/test_dataset_analyzer.py260 # Create a real TextSftJsonLinesDataset from the JSONL fileCOMMENT
MEDIUMtests/unit/core/analyze/test_dataset_analyzer.py295 # Create a real dataset from test dataCOMMENT
MEDIUMtests/unit/core/analyze/test_dataset_analyzer.py812 # Create a config with sample_count=1 to only analyze 1 conversationCOMMENT
MEDIUMtests/unit/utils/test_analysis_utils.py357 # Create a mock tokenizer with required attributesCOMMENT
MEDIUMtests/unit/utils/test_device_utils.py234 # Create a mock NVMLError_NotSupported exceptionCOMMENT
MEDIUM⚡tests/unit/utils/test_io_utils.py235 # Create a dummy file pathCOMMENT
MEDIUM⚡tests/unit/utils/test_io_utils.py237 file_path.touch() # Create an empty fileCODE
MEDIUMtests/unit/cli/test_cli_synth.py352 # Create a file that would collide with the auto-generated nameCOMMENT
MEDIUMtests/unit/cli/test_cli_synth.py360 # Create the file that would be auto-generatedCOMMENT
MEDIUMtests/unit/cli/test_cli_distributed_run.py119 # Define the redundant OUMI_ variables to activate consistency checks.COMMENT
MEDIUMtests/unit/cli/test_cli_distributed_run.py185 # Define the redundant OUMI_ variables to activate consistency checks.COMMENT
MEDIUMtests/unit/cli/test_cli_distributed_run.py249 # Define the redundant OUMI_ variables to activate consistency checks.COMMENT
MEDIUMtests/unit/cli/test_cli_distributed_run.py316 # Define the redundant OUMI_ variables to activate consistency checks.COMMENT
MEDIUMtests/unit/cli/test_cli_utils.py367 # Create a mock consoleCOMMENT
MEDIUM⚡tests/unit/cli/test_cli_completions.py176 # Create a test yaml fileCOMMENT
MEDIUM⚡tests/unit/cli/test_cli_completions.py180 # Create a subdirectoryCOMMENT
MEDIUMtests/unit/inference/test_generation_params.py93 # Create a proper BatchEncoding for the tokenizer to returnCOMMENT
MEDIUMtests/unit/inference/test_generation_params.py103 # Create a mock tensor that behaves like model.generate() outputCOMMENT
MEDIUM⚡tests/unit/analyze/test_testing_engine.py341 # Create a non-BaseModel, non-dict objectCOMMENT
MEDIUM…/integration/models/test_integration_cnn_classifier.py274 # Create a model.COMMENT
MEDIUMtests/e2e/test_sambanova_inference.py81 # Create the conversationCOMMENT
MEDIUMtests/e2e/deps/test_circular_deps.py70 # Create a new process with a clean dependency tree.COMMENT
MEDIUMconfigs/projects/dcvlr/run_image_synthesis.py32 # Create a white backgroundCOMMENT
MEDIUMconfigs/projects/dcvlr/run_image_synthesis.py121 # Create a temporary Python fileCOMMENT
MEDIUMconfigs/projects/dcvlr/run_image_synthesis.py127 # Create a temporary directory for executionCOMMENT
MEDIUM…gs/examples/synthesis/instruction_following_synth.yaml53 # Define the domain and complexity attributesCOMMENT
MEDIUMscripts/perlmutter/launcher.sh97 # Create a logs directory for the user if it doesn't exist.COMMENT
MEDIUMscripts/polaris/launcher.sh106 # Create a logs directory for the user if it doesn't exist.COMMENT
MEDIUMscripts/polaris/jobs/vllm_worker.sh53# Create a dir to copy temp files into.COMMENT
MEDIUMscripts/examples/batch_inference/bulk_infer.py6######################## Creating a conversation JSON ########################COMMENT
MEDIUMscripts/frontier/launcher.sh116 # Create a logs directory for the user if it doesn't exist.COMMENT
MEDIUMsrc/oumi/launcher/clusters/slurm_cluster.py339 # Create the job script by merging envs, setup, and run commands.COMMENT
MEDIUMsrc/oumi/launcher/clusters/polaris_cluster.py270 # Create the job script by merging envs, setup, and run commands.COMMENT
MEDIUMsrc/oumi/launcher/clusters/frontier_cluster.py299 # Create the job script by merging envs, setup, and run commands.COMMENT
MEDIUMsrc/oumi/launcher/clusters/perlmutter_cluster.py293 # Create the job script by merging envs, setup, and run commands.COMMENT
MEDIUMsrc/oumi/core/synthesis/attribute_transformation.py144 # Create a TransformationStrategy for the metadata dict transformationCOMMENT
MEDIUMsrc/oumi/core/evaluation/evaluator.py82 # Create a copy of the evaluation config, without tasks, so that there is noCOMMENT
MEDIUMsrc/oumi/core/evaluation/utils/save_utils.py105 # Create the output directory: `<base_output_dir> / <backend_name>_<time>`.COMMENT
MEDIUMsrc/oumi/core/analyze/dataset_analyzer.py594 # Create a new dataset with only the filtered conversationsCOMMENT
MEDIUMsrc/oumi/datasets/vision_language/huggingface.py196 # Create the image content itemCOMMENT
MEDIUMsrc/oumi/datasets/vision_language/huggingface.py199 # Create the user message with image and textCOMMENT
MEDIUMsrc/oumi/datasets/evaluation/utils.py68 # Create a dictionary with the instruction, output, metadata.COMMENT
MEDIUMsrc/oumi/utils/cache_utils.py134 # Create a wrapper that converts args to hashable JSON stringsCOMMENT
MEDIUM⚡src/oumi/utils/analysis_utils.py454 # Create a DataFrame from raw data for analysisCOMMENT
MEDIUMsrc/oumi/utils/analysis_utils.py132 # Create a default tokenizer if none providedCOMMENT
MEDIUMsrc/oumi/utils/analysis_utils.py549 # Create a DataFrame from raw data for analysisCOMMENT
MEDIUMsrc/oumi/judges/base_judge.py751 # Create a conversation for each judgment promptCOMMENT
MEDIUMsrc/oumi/judges/__init__.py15"""This module provides access to various judge configurations for the Oumi project.STRING
MEDIUMsrc/oumi/cli/main.py401 # Create the CLI app when building the docs to auto-generate the CLI reference.COMMENT
MEDIUMsrc/oumi/inference/native_text_inference_engine.py290 # Create a GenerationConfig object with the new parametersCOMMENT
Deep Nesting174 hits · 161 pts
SeverityFileLineSnippetContext
LOWtests/markers.py8CODE
LOWtests/unit/launcher/clients/test_sky_client.py100CODE
LOWtests/unit/launcher/clients/test_sky_client.py147CODE
LOWtests/unit/launcher/clients/test_sky_client.py209CODE
LOWtests/unit/launcher/clients/test_sky_client.py269CODE
LOWtests/unit/launcher/clients/test_sky_client.py288CODE
LOWtests/unit/core/test_distributed.py112CODE
LOWtests/unit/core/configs/test_parse_configs.py29CODE
LOWtests/unit/datasets/test_chat_templates.py226CODE
LOWtests/unit/utils/test_conversation_utils.py424CODE
LOWtests/unit/cli/test_cli_alias.py39CODE
LOWtests/unit/cli/test_cli_alias.py70CODE
LOWtests/unit/inference/test_sglang_inference_engine.py91CODE
LOWtests/unit/inference/test_inference_engine_init.py92CODE
LOWtests/unit/inference/test_generation_params.py76CODE
LOWtests/unit/inference/test_generation_params.py421CODE
LOWtests/unit/inference/test_remote_inference_engine.py1551CODE
LOWtests/unit/inference/test_remote_inference_engine.py1693CODE
LOWtests/unit/inference/test_remote_inference_engine.py1883CODE
LOWtests/unit/inference/test_remote_inference_engine.py3651CODE
LOWtests/unit/inference/test_remote_inference_engine.py3658CODE
LOW…/integration/models/test_integration_cnn_classifier.py79CODE
LOWtests/e2e/test_eval_e2e.py43CODE
LOWtests/e2e/deps/test_circular_deps.py27CODE
LOWdocs/_summarize_module.py197CODE
LOWconfigs/projects/dcvlr/run_image_synthesis.py112CODE
LOWconfigs/projects/dcvlr/run_image_synthesis.py230CODE
LOWconfigs/projects/dcvlr/synthesize_images_vllm.py67CODE
LOWconfigs/projects/dcvlr/synthesize_images_vllm.py182CODE
LOWconfigs/projects/dcvlr/synthesize_images_vllm.py316CODE
LOWconfigs/projects/dcvlr/synthesize_images_vllm.py404CODE
LOWconfigs/projects/dcvlr/synthesize_images_vllm.py734CODE
LOWconfigs/projects/dcvlr/synthesize_images_vllm.py159CODE
LOWscripts/demo.py333CODE
LOWscripts/datasets/pretokenize/process_dataset.py101CODE
LOWsrc/oumi/launcher/launcher.py81CODE
LOWsrc/oumi/launcher/clients/slurm_client.py70CODE
LOWsrc/oumi/launcher/clients/sky_client.py32CODE
LOWsrc/oumi/launcher/clients/local_client.py66CODE
LOWsrc/oumi/launcher/clients/local_client.py121CODE
LOWsrc/oumi/launcher/clusters/sky_cluster.py40CODE
LOWsrc/oumi/launcher/clusters/frontier_cluster.py58CODE
LOWsrc/oumi/launcher/clusters/perlmutter_cluster.py58CODE
LOWsrc/oumi/launcher/clouds/sky_cloud.py113CODE
LOWsrc/oumi/core/types/conversation.py315CODE
LOW…tors/vision_language_conversation_feature_generator.py299CODE
LOWsrc/oumi/core/callbacks/telemetry_callback.py163CODE
LOWsrc/oumi/core/datasets/packed_sft_dataset.py168CODE
LOWsrc/oumi/core/datasets/base_map_dataset.py189CODE
LOWsrc/oumi/core/datasets/base_map_dataset.py274CODE
LOWsrc/oumi/core/datasets/base_map_dataset.py457CODE
LOWsrc/oumi/core/synthesis/conversation_synthesizer.py215CODE
LOWsrc/oumi/core/synthesis/conversation_synthesizer.py525CODE
LOWsrc/oumi/core/synthesis/dataset_ingestion.py193CODE
LOWsrc/oumi/core/synthesis/document_ingestion.py107CODE
LOWsrc/oumi/core/synthesis/attribute_transformation.py69CODE
LOWsrc/oumi/core/synthesis/synthesis_pipeline.py58CODE
LOWsrc/oumi/core/synthesis/dataset_planner.py225CODE
LOWsrc/oumi/core/synthesis/dataset_planner.py303CODE
LOWsrc/oumi/core/tuners/optuna_tuner.py55CODE
114 more matches not shown…
Cross-Language Confusion23 hits · 125 pts
SeverityFileLineSnippetContext
HIGH⚡tests/unit/launcher/clients/test_modal_client.py211 setup="sudo apt-get update && sudo apt-get install -y zip",CODE
HIGH⚡tests/unit/launcher/clients/test_modal_client.py219 assert "apt-get update && apt-get install -y zip" in scriptCODE
HIGH⚡tests/unit/launcher/clients/test_modal_client.py299 src = "sudo apt-get update && sudo apt-get install -y zip\nsudo dpkg -i bar.deb"CODE
HIGH⚡tests/unit/launcher/clients/test_modal_client.py301 "apt-get update && apt-get install -y zip\ndpkg -i bar.deb"CODE
HIGHtests/unit/launcher/clients/test_slurm_client.py524 b" JobState=COMPLETED Reason=None Dependency=(null)\n"CODE
HIGHtests/unit/datasets/test_huggingface_vision_dataset.py193 assert result.equals(pd.DataFrame({"test": [1, 2, 3]}))CODE
HIGHtests/unit/datasets/test_huggingface_vision_dataset.py226 assert result.equals(pd.DataFrame({"test": [1, 2, 3]}))CODE
HIGHtests/unit/utils/test_str_utils.py148 pip install -e uv && uv pip -q install "oumi[gpu,dev]" vllm # commentSTRING
HIGHtests/unit/utils/test_str_utils.py153 pip install -e uv && uv pip -q install -e '.[gpu,dev]' vllm # commentSTRING
HIGHtests/unit/inference/test_remote_inference_engine.py2656 # OpenAI-style error: top-level "error" is null, detail in response.body.errorCOMMENT
HIGH⚡tests/unit/analyze/test_quality_analyzer.py402 Message(role=Role.USER, content="values: NaN, null, undefined"),CODE
HIGHscripts/demo.py688 "run": "oumi infer -c infer_config.yaml && cat responses.jsonl",CODE
HIGHscripts/demo.py692 deploy_config["setup"] = "pip install uv && uv pip install --system oumi[gpu]"CODE
HIGHsrc/oumi/launcher/clients/slurm_client.py125 if not value or value in ("Unknown", "N/A", "(null)"):CODE
HIGHsrc/oumi/environments/lookup_environment.py156 ``output`` may be any JSON value (scalar, list, object, or null).STRING
HIGH⚡src/oumi/utils/str_utils.py201 `pip install uv && uv pip -q install oumi[gpu,dev] vllm`STRING
HIGH⚡src/oumi/utils/str_utils.py203 `pip install uv && uv pip -q install -e '.[gpu,dev]' vllm`STRING
HIGHsrc/oumi/mcp/prompts/cloud_launch.py70pip install uv && uv pip install --system 'oumi[gpu]'CODE
HIGHsrc/oumi/mcp/prompts/cloud_launch.py195 pip install uv && uv pip install --system 'oumi[gpu]'CODE
HIGH⚡src/oumi/mcp/prompts/cloud_launch.py221pip install uv && uv pip install --system 'oumi[gpu]'CODE
HIGH⚡src/oumi/mcp/prompts/cloud_launch.py228pip install uv && uv pip install --system 'oumi[gpu]'CODE
HIGH⚡src/oumi/mcp/prompts/cloud_launch.py235pip install uv && uv pip install --system 'oumi[gpu,evaluation]'CODE
HIGHsrc/oumi/analyze/analyzers/quality.py98 - Values serialized as strings (NaN, null, None, undefined)STRING
Redundant / Tautological Comments77 hits · 104 pts
SeverityFileLineSnippetContext
LOWtests/conftest.py72 # Check if test function uses GPU device mappingCOMMENT
LOW⚡tests/unit/quantize/test_awq_quantizer.py94 # Set _awq to None to simulate missing AWQCOMMENT
LOW⚡tests/unit/quantize/test_awq_quantizer.py104 # Set _awq to a mock to simulate AWQ is installedCOMMENT
LOWtests/unit/quantize/test_bnb_quantizer.py90 # Set _bitsandbytes to None to simulate missing BitsAndBytesCOMMENT
LOW⚡tests/unit/core/test_registry.py304 # Check if the registry contains the key, regardless of caseCOMMENT
LOW⚡tests/unit/core/test_registry.py309 # Check if we can retrieve the builder using different casesCOMMENT
LOW⚡tests/unit/core/test_registry.py314 # Check if the registry does not contain the key, regardless of caseCOMMENT
LOWtests/unit/core/datasets/test_pretraining_dataset.py156 # Check if we've processed all filesCOMMENT
LOWtests/unit/utils/test_torch_naming_heuristics.py166 # Check if the guessed class name matches the expected nameCOMMENT
LOWtests/unit/inference/test_inference_engine_init.py35# Check if optional dependencies are availableCOMMENT
LOWtests/scripts/e2e_tests_job.yaml14num_nodes: 1 # Set it to N for multi-node training.CODE
LOWtests/scripts/runpod_e2e_tests_job.yaml15num_nodes: 1 # Set it to N for multi-node training.CODE
LOWtests/e2e/test_sambanova_inference.py87 # Print the resultsCOMMENT
LOWconfigs/projects/aya/sft/gcp_job.yaml20num_nodes: 1 # Set it to N for multi-node training.CODE
LOWconfigs/recipes/llama4/sft/scout_base_full/gcp_job.yaml25num_nodes: 1 # Set it to N for multi-node training.CODE
LOW…gs/recipes/llama4/sft/scout_instruct_full/gcp_job.yaml25num_nodes: 1 # Set it to N for multi-node training.CODE
LOWconfigs/recipes/phi3/dpo/gcp_job.yaml18num_nodes: 1 # Set it to N for multi-node training.CODE
LOWconfigs/recipes/vision/phi3/sft/full/oumi_gcp_job.yaml29num_nodes: 1 # Set it to N for multi-node training.CODE
LOWconfigs/recipes/vision/phi3/sft/full/trl_gcp_job.yaml29num_nodes: 1 # Set it to N for multi-node training.CODE
LOWconfigs/recipes/vision/phi3/sft/lora/gcp_job.yaml29num_nodes: 1 # Set it to N for multi-node training.CODE
LOWconfigs/recipes/vision/phi4/sft/full/gcp_job.yaml24num_nodes: 1 # Set it to N for multi-node training.CODE
LOWconfigs/recipes/vision/phi4/sft/lora/gcp_job.yaml24num_nodes: 1 # Set it to N for multi-node training.CODE
LOW…nfigs/recipes/vision/qwen2_vl_2b/sft/full/gcp_job.yaml25num_nodes: 1 # Set it to N for multi-node training.CODE
LOW…nfigs/recipes/vision/qwen2_vl_2b/sft/lora/gcp_job.yaml25num_nodes: 1 # Set it to N for multi-node training.CODE
LOW…igs/recipes/vision/qwen2_5_vl_3b/sft/full/gcp_job.yaml25num_nodes: 1 # Set it to N for multi-node training.CODE
LOW…igs/recipes/vision/qwen2_5_vl_3b/sft/lora/gcp_job.yaml25num_nodes: 1 # Set it to N for multi-node training.CODE
LOWconfigs/recipes/vision/llava_7b/sft/oumi_gcp_job.yaml28num_nodes: 1 # Set it to N for multi-node training.CODE
LOWconfigs/recipes/vision/llava_7b/sft/trl_gcp_job.yaml18num_nodes: 1 # Set it to N for multi-node training.CODE
LOWconfigs/recipes/vision/smolvlm/sft/full/gcp_job.yaml25num_nodes: 1 # Set it to N for multi-node training.CODE
LOWconfigs/recipes/vision/smolvlm/sft/lora/gcp_job.yaml25num_nodes: 1 # Set it to N for multi-node training.CODE
LOW…cipes/vision/llama3_2_vision/sft/11b_lora/gcp_job.yaml30num_nodes: 1 # Set it to N for multi-node training.CODE
LOW…cipes/vision/llama3_2_vision/sft/90b_full/gcp_job.yaml30num_nodes: 1 # Set it to N for multi-node training.CODE
LOW…cipes/vision/llama3_2_vision/sft/11b_full/gcp_job.yaml30num_nodes: 1 # Set it to N for multi-node training.CODE
LOWconfigs/recipes/vision/internvl3/sft/full/gcp_job.yaml25num_nodes: 1 # Set it to N for multi-node training.CODE
LOW…es/deepseek_r1/sft/distill_llama_70b/full_gcp_job.yaml29num_nodes: 1 # Set it to N for multi-node training.CODE
LOWconfigs/recipes/llama3_1/sft/8b_lora/polaris_job.yaml23num_nodes: 1 # Set it to N for multi-node training.CODE
LOWconfigs/recipes/llama3_1/sft/8b_full/polaris_job.yaml23num_nodes: 1 # Set it to N for multi-node training.CODE
LOW…nfigs/recipes/llama3_1/pretraining/8b/polaris_job.yaml23num_nodes: 1 # Set it to N for multi-node training.CODE
LOWconfigs/recipes/llama3_3/sft/70b_full/gcp_job.yaml31num_nodes: 1 # Set it to N for multi-node training.CODE
LOWscripts/demo.py514 # Display resultsCOMMENT
LOW…rimental/configs/projects/zephyr/sft/full_gcp_job.yaml20num_nodes: 1 # Set it to N for multi-node training.CODE
LOWsrc/oumi/launcher/clients/local_client.py96 # Check if the user has specified a logging directory.COMMENT
LOWsrc/oumi/launcher/clusters/polaris_cluster.py249 # Check if Oumi is installed in a conda env. If not, install it.COMMENT
LOWsrc/oumi/launcher/clusters/frontier_cluster.py269 # Check if Oumi is installed in a conda env. If not, install it.COMMENT
LOWsrc/oumi/launcher/clouds/frontier_cloud.py51 # Check if any users have open SSH tunnels to Frontier.COMMENT
LOWsrc/oumi/launcher/clouds/perlmutter_cloud.py51 # Check if any users have open SSH tunnels to Perlmutter.COMMENT
LOWsrc/oumi/launcher/clouds/polaris_cloud.py46 # Check if any users have open SSH tunnels to Polaris.COMMENT
LOW…c/oumi/core/datasets/pretraining_async_text_dataset.py222 # Set limit to 1 to account for trailing concat tokenCOMMENT
LOW⚡src/oumi/core/synthesis/dataset_planner.py401 # Check if all attributes in the override combination are in the sampleCOMMENT
LOW⚡src/oumi/core/synthesis/dataset_planner.py409 # Check if the attribute values are the sameCOMMENT
LOWsrc/oumi/core/trainers/verl_grpo_trainer.py246 # Check if the conversation_json is valid.COMMENT
LOWsrc/oumi/core/configs/params/model_params.py349 # Check if flash-attention-2 is requested and supportedCOMMENT
LOWsrc/oumi/core/configs/params/training_params.py990 dataloader_pin_memory=True, # Set it to True to be explicit.CODE
LOWsrc/oumi/core/evaluation/evaluator.py423 # Check if the evaluation function requires an inference engine.COMMENT
LOWsrc/oumi/core/analyze/dataset_analyzer.py431 # Check if analysis has been runCOMMENT
LOWsrc/oumi/core/analyze/dataset_analyzer.py540 # Check if analysis has been runCOMMENT
LOWsrc/oumi/core/analyze/dataset_analyzer.py657 # Check if we have data to analyzeCOMMENT
LOWsrc/oumi/core/analyze/dataframe_analyzer.py255 # Check if all merge columns exist in both DataFramesCOMMENT
LOWsrc/oumi/builders/models.py227 # Check if model_kwargs contains quantization_configCOMMENT
LOWsrc/oumi/builders/data.py76 # Check if the underlying dataset is already packed, or if we need to pack itCOMMENT
17 more matches not shown…
Modern Structural Boilerplate83 hits · 82 pts
SeverityFileLineSnippetContext
LOWtests/unit/deploy/__init__.py27__all__ = [CODE
LOWtests/unit/analyze/test_pipeline.py218 def set_dependencies(self, results: dict[str, Any]) -> None:CODE
LOWtests/unit/analyze/test_pipeline.py273 def set_dependencies(self, results: dict[str, Any]) -> None:CODE
LOWconfigs/projects/dcvlr/synthesize_images_vllm.py30logger = logging.getLogger(__name__)CODE
LOWsrc/oumi/__init__.py309__all__ = [CODE
LOWsrc/oumi/quantize/__init__.py60__all__ = [CODE
LOWsrc/oumi/launcher/__init__.py52__all__ = [CODE
LOWsrc/oumi/launcher/clients/local_client.py80 def _update_job_status(self, job_id: str, status: _JobState) -> None:CODE
LOWsrc/oumi/launcher/clouds/__init__.py47__all__ = [CODE
LOWsrc/oumi/core/distributed.py610def set_random_seeds(seed: int = 42, set_deterministic: bool = False) -> None:CODE
LOWsrc/oumi/core/tokenizers/__init__.py25__all__ = [CODE
LOWsrc/oumi/core/launcher/__init__.py32__all__ = [CODE
LOWsrc/oumi/core/types/__init__.py56__all__ = [CODE
LOWsrc/oumi/core/types/exceptions.py26__all__ = ["HardwareException"]CODE
LOWsrc/oumi/core/feature_generators/__init__.py29__all__ = [CODE
LOWsrc/oumi/core/callbacks/__init__.py32__all__ = [CODE
LOWsrc/oumi/core/datasets/__init__.py46__all__ = [CODE
LOWsrc/oumi/core/models/__init__.py40__all__ = [CODE
LOWsrc/oumi/core/tuners/__init__.py33__all__ = [CODE
LOWsrc/oumi/core/trainers/oumi_trainer.py851 def _set_sampler_epoch(self, epoch: int) -> None:CODE
LOWsrc/oumi/core/trainers/__init__.py37__all__ = [CODE
LOWsrc/oumi/core/configs/__init__.py172__all__ = [CODE
LOWsrc/oumi/core/configs/params/rubric_judge_params.py24logger = logging.getLogger(__name__)CODE
LOWsrc/oumi/core/registry/__init__.py30__all__ = [CODE
LOWsrc/oumi/core/inference/__init__.py29__all__ = [CODE
LOWsrc/oumi/core/evaluation/__init__.py33__all__ = [CODE
LOWsrc/oumi/core/evaluation/backends/lm_harness.py216def _set_random_seeds(random_seed, numpy_random_seed, torch_random_seed) -> None:CODE
LOWsrc/oumi/core/analyze/__init__.py26__all__ = [CODE
LOWsrc/oumi/builders/__init__.py52__all__ = [CODE
LOW⚡src/oumi/deploy/parasail_api.py34logger = logging.getLogger(__name__)CODE
LOWsrc/oumi/deploy/deploy_config.py34logger = logging.getLogger(__name__)CODE
LOWsrc/oumi/deploy/__init__.py33__all__ = [CODE
LOWsrc/oumi/deploy/utils.py32logger = logging.getLogger(__name__)CODE
LOWsrc/oumi/deploy/fireworks_client.py69logger = logging.getLogger(__name__)CODE
LOWsrc/oumi/deploy/parasail_client.py69logger = logging.getLogger(__name__)CODE
LOWsrc/oumi/environments/__init__.py67__all__ = [CODE
LOWsrc/oumi/datasets/__init__.py109__all__ = [CODE
LOWsrc/oumi/datasets/vision_language/__init__.py42__all__ = [CODE
LOWsrc/oumi/datasets/preference_tuning/__init__.py21__all__ = [CODE
LOWsrc/oumi/datasets/grpo/__init__.py29__all__ = [CODE
LOWsrc/oumi/datasets/grpo/rewards/rar_medicine_reward.py29logger = logging.getLogger(__name__)CODE
LOWsrc/oumi/datasets/grpo/rewards/__init__.py26__all__ = [CODE
LOWsrc/oumi/datasets/grpo/rollouts/__init__.py17__all__ = []CODE
LOWsrc/oumi/datasets/evaluation/__init__.py19__all__ = [CODE
LOWsrc/oumi/datasets/sft/__init__.py32__all__ = [CODE
LOWsrc/oumi/datasets/pretraining/__init__.py33__all__ = [CODE
LOWsrc/oumi/utils/logging.py177def update_logger_level(name: str, level: str = "info") -> None:CODE
LOWsrc/oumi/utils/analysis_utils.py28logger = logging.getLogger(__name__)CODE
LOWsrc/oumi/utils/vllm_utils/gemma4_compat.py47logger = logging.getLogger(__name__)CODE
LOWsrc/oumi/mcp/job_launcher.py33logger = logging.getLogger(__name__)CODE
LOWsrc/oumi/mcp/server.py134logger = logging.getLogger(__name__)CODE
LOWsrc/oumi/mcp/job_logs.py28logger = logging.getLogger(__name__)CODE
LOWsrc/oumi/mcp/preflight_service.py79logger = logging.getLogger(__name__)CODE
LOWsrc/oumi/mcp/job_service.py59logger = logging.getLogger(__name__)CODE
LOWsrc/oumi/mcp/job_service.py61__all__ = [CODE
LOWsrc/oumi/mcp/sync_service.py44logger = logging.getLogger(__name__)CODE
LOWsrc/oumi/mcp/docs_service.py55logger = logging.getLogger(__name__)CODE
LOWsrc/oumi/mcp/environment_service.py24logger = logging.getLogger(__name__)CODE
LOWsrc/oumi/mcp/config_service.py56logger = logging.getLogger(__name__)CODE
LOWsrc/oumi/mcp/job_registry.py31logger = logging.getLogger(__name__)CODE
23 more matches not shown…
Magic Placeholder Names9 hits · 66 pts
SeverityFileLineSnippetContext
HIGHdocs/user_guides/infer/configuration.md157 api_key: "your-api-key" # API key for authenticationCODE
HIGHconfigs/examples/deploy/README.md195export FIREWORKS_API_KEY="your-api-key"CODE
HIGH…gs/examples/synthesis/instruction_following_synth.yaml7# - example: `export ANTHROPIC_API_KEY=your_api_key`COMMENT
HIGHconfigs/examples/synthesis/conversation_synth.yaml7# - example: `export ANTHROPIC_API_KEY=your_api_key`COMMENT
HIGHconfigs/examples/synthesis/question_answer_synth.yaml7# - example: `export ANTHROPIC_API_KEY=your_api_key`COMMENT
HIGH⚡configs/examples/synthesis/dynamic_few_shot_synth.yaml7# - example: `export ANTHROPIC_API_KEY=your_api_key`COMMENT
HIGHconfigs/examples/synthesis/data_augmentation_synth.yaml7# - example: `export ANTHROPIC_API_KEY=your_api_key`COMMENT
HIGH…s/examples/synthesis/multiturn_conversation_synth.yaml6# - example: `export ANTHROPIC_API_KEY=your_api_key`COMMENT
HIGHconfigs/examples/synthesis/domain_qa_synth.yaml7# - example: `export ANTHROPIC_API_KEY=your_api_key`COMMENT
AI Slop Vocabulary24 hits · 56 pts
SeverityFileLineSnippetContext
MEDIUMtests/unit/core/evaluation/test_backend_lm_harness.py342 # A dual-mode model with text_only=True must route to the text harness modelCOMMENT
LOWtests/unit/inference/test_generation_params.py477 # To avoid running inference, we just call the method that convertsCOMMENT
LOWtests/e2e/test_eval_e2e.py88 # or impossible. Let's just create a modified config copy instead.COMMENT
MEDIUMconfigs/projects/judges/code/code_quality.yaml2# Evaluates code for readability, maintainability, and best practicesCOMMENT
MEDIUMconfigs/projects/judges/code/performance.yaml2# Evaluates code for efficiency and performance best practicesCOMMENT
MEDIUMconfigs/recipes/qwen3/inference/14b_infer.yaml24 # Set based on recommended Qwen3 best practices for thinking model:COMMENT
MEDIUMconfigs/recipes/qwen3/inference/0.6b_infer.yaml24 # Set based on recommended Qwen3 best practices for thinking model:COMMENT
MEDIUMconfigs/recipes/qwen3/inference/30b_a3b_infer.yaml24 # Set based on recommended Qwen3 best practices for thinking model:COMMENT
MEDIUMconfigs/recipes/qwen3/inference/4b_infer.yaml24 # Set based on recommended Qwen3 best practices for thinking model:COMMENT
MEDIUMconfigs/recipes/qwen3/inference/8b_infer.yaml24 # Set based on recommended Qwen3 best practices for thinking model:COMMENT
MEDIUMconfigs/recipes/qwen3/inference/32b_infer.yaml24 # Set based on recommended Qwen3 best practices for thinking model:COMMENT
MEDIUMconfigs/recipes/qwen3/inference/1.7b_infer.yaml24 # Set based on recommended Qwen3 best practices for thinking model:COMMENT
MEDIUMsrc/oumi/core/callbacks/bitnet_callback.py54 """You need `onebitllms` to be installed in order to saveSTRING
MEDIUMsrc/oumi/core/configs/params/evaluation_params.py148 """Number of few-shot examples (with responses) to add in the prompt, in order toSTRING
MEDIUMsrc/oumi/core/evaluation/backends/lm_harness.py94# LM Harness `model` | Class | File in lm-evaluation-harness repo #COMMENT
MEDIUM⚡src/oumi/core/evaluation/backends/lm_harness.py115 # https://github.com/EleutherAI/lm-evaluation-harness/blob/365fcda9b85bbb6e0572d91976b8daf409164500/lm_eval/models/hCOMMENT
MEDIUM⚡src/oumi/core/evaluation/backends/lm_harness.py119 # https://github.com/EleutherAI/lm-evaluation-harness/blob/main/docs/interface.mdCOMMENT
MEDIUMsrc/oumi/core/analyze/dataset_analyzer.py645 """Generate a comprehensive summary of dataset analysis results.STRING
MEDIUMsrc/oumi/core/analyze/dataset_analyzer.py678 """Get the comprehensive analysis summary.STRING
MEDIUMsrc/oumi/builders/models.py94 """Please install `onebitllms` in order to fine-tuneSTRING
MEDIUMsrc/oumi/builders/models.py428 # Identify the tokenizer we need to leverage for this model.COMMENT
MEDIUMsrc/oumi/utils/system_info.py165 """Get comprehensive system information.STRING
LOWsrc/oumi/utils/cache_utils.py138 # (In practice, we just pass through to the original function)COMMENT
MEDIUMsrc/oumi/utils/torch_naming_heuristics.py17# TODO(OPE-303): These should be replaced with something more robust.STRING
Structural Annotation Overuse29 hits · 49 pts
SeverityFileLineSnippetContext
LOWplatform/banking77-classifier/SPEC.md7### Step 1: Download and read datasetCOMMENT
LOWplatform/banking77-classifier/SPEC.md10### Step 2: Transform into Oumi-compatible datasetCOMMENT
LOWplatform/banking77-classifier/SPEC.md59### Step 3: Create transformed datasetCOMMENT
LOW⚡tests/unit/inference/test_remote_inference_engine.py3682 # Step 11: Concurrency should be 12, window size 1COMMENT
LOW⚡tests/unit/inference/test_remote_inference_engine.py3684 # Step 21: Backoff to 10, window size 1COMMENT
LOW⚡tests/unit/inference/test_remote_inference_engine.py3686 # Step 31: Concurrency should stay 10, first good windowCOMMENT
LOW⚡tests/unit/inference/test_remote_inference_engine.py3688 # Step 41: 2nd good window, exit backoff, warmup to 12, window size 1COMMENT
LOWdocs/user_guides/evaluate/custom_evals.md9### Step 1: Defining Evaluation ConfigurationCOMMENT
LOWdocs/user_guides/evaluate/custom_evals.md31### Step 2: Defining Custom Evaluation FunctionCOMMENT
LOWdocs/user_guides/evaluate/custom_evals.md56### Step 3: Executing the EvaluationCOMMENT
LOWdocs/user_guides/evaluate/custom_evals.md95### Step 1: Defining the Evaluation ConfigurationCOMMENT
LOWdocs/user_guides/evaluate/custom_evals.md112### Step 2: Defining Custom Evaluation FunctionSTRING
LOWdocs/user_guides/evaluate/custom_evals.md137### Step 3: Executing the EvaluationSTRING
LOW⚡src/oumi/quantize/awq_quantizer.py85 # Step 1: AWQ quantizationCOMMENT
LOW⚡src/oumi/quantize/awq_quantizer.py88 # Step 2: Save as PyTorch formatCOMMENT
LOW…/collators/trl_data_collator_for_completion_only_lm.py302 # Step 1: mask everything.COMMENT
LOW…/collators/trl_data_collator_for_completion_only_lm.py317 # Step 2: find every assistant response start position.COMMENT
LOW⚡…/collators/trl_data_collator_for_completion_only_lm.py332 # Step 3: find the next end_of_turn after content_start.COMMENT
LOW⚡…/collators/trl_data_collator_for_completion_only_lm.py342 # Step 4: unmask this assistant response span, including theCOMMENT
LOW⚡src/oumi/deploy/fireworks_client.py471 # Step 1: Resolve model source to a local directory so we canCOMMENT
LOW⚡src/oumi/deploy/fireworks_client.py479 # Step 2: Collect the file manifest. For HF_BASE_MODEL uploads theCOMMENT
LOWsrc/oumi/mcp/prompts/post_training.py38## Step 1: Download Model WeightsCOMMENT
LOWsrc/oumi/mcp/prompts/post_training.py58## Step 2: Run Evaluation (Optional, On-Cluster)COMMENT
LOWsrc/oumi/mcp/prompts/post_training.py69## Step 3: Tear Down the ClusterCOMMENT
LOWsrc/oumi/mcp/prompts/post_training.py82## Step 4: Merge LoRA Adapter (Local)COMMENT
LOWsrc/oumi/mcp/prompts/post_training.py104## Step 5: Push to HuggingFace Hub (Optional)COMMENT
LOWsrc/oumi/inference/together_inference_engine.py133 # Step 1: Request signed upload URLCOMMENT
LOWsrc/oumi/inference/together_inference_engine.py167 # Step 2: Upload file content to signed URLCOMMENT
LOWsrc/oumi/inference/together_inference_engine.py181 # Step 3: Finalize upload by calling preprocess endpointCOMMENT
Slop Phrases25 hits · 39 pts
SeverityFileLineSnippetContext
LOWpyproject.toml135 # When updating verl version, make sure to also update the default config:COMMENT
MEDIUM…s/unit/core/synthesis/test_conversation_synthesizer.py949 "Let me know if you need any changes."CODE
LOWconfigs/projects/aya/sft/gcp_job.yaml26 # However, make sure you are saving your output to a mounted cloud storage in case ofCOMMENT
LOWconfigs/recipes/vision/phi3/sft/full/oumi_gcp_job.yaml23 # However, make sure you are saving your output to a mounted cloud storage in case ofCOMMENT
LOWconfigs/recipes/vision/phi3/sft/full/trl_gcp_job.yaml23 # However, make sure you are saving your output to a mounted cloud storage in case ofCOMMENT
LOWconfigs/recipes/vision/phi3/sft/lora/gcp_job.yaml23 # However, make sure you are saving your output to a mounted cloud storage in case ofCOMMENT
LOWconfigs/recipes/vision/llava_7b/sft/oumi_gcp_job.yaml22 # However, make sure you are saving your output to a mounted cloud storage in case ofCOMMENT
LOWconfigs/recipes/vision/llava_7b/sft/trl_gcp_job.yaml24 # However, make sure you are saving your output to a mounted cloud storage in case ofCOMMENT
LOW…cipes/vision/llama3_2_vision/sft/11b_lora/gcp_job.yaml24 # However, make sure you are saving your output to a mounted cloud storage in case ofCOMMENT
LOW…cipes/vision/llama3_2_vision/sft/90b_full/gcp_job.yaml24 # However, make sure you are saving your output to a mounted cloud storage in case ofCOMMENT
LOW…cipes/vision/llama3_2_vision/sft/11b_full/gcp_job.yaml24 # However, make sure you are saving your output to a mounted cloud storage in case ofCOMMENT
LOW…es/deepseek_r1/sft/distill_llama_70b/full_gcp_job.yaml23 # However, make sure you are saving your output to a mounted cloud storage in case ofCOMMENT
LOW…s/deepseek_r1/sft/distill_llama_70b/qlora_gcp_job.yaml22 # However, make sure you are saving your output to a mounted cloud storage in case ofCOMMENT
LOW…es/deepseek_r1/sft/distill_llama_70b/lora_gcp_job.yaml22 # However, make sure you are saving your output to a mounted cloud storage in case ofCOMMENT
LOWconfigs/recipes/llama3_1/sft/405b_qlora/gcp_job.yaml24 # However, make sure you are saving your output to a mounted cloud storage in case ofCOMMENT
LOWconfigs/recipes/llama3_1/sft/405b_lora/gcp_job.yaml25 # However, make sure you are saving your output to a mounted cloud storage in case ofCOMMENT
LOWconfigs/recipes/llama3_1/sft/70b_qlora/gcp_job.yaml24 # However, make sure you are saving your output to a mounted cloud storage in case ofCOMMENT
LOWconfigs/recipes/llama3_1/sft/70b_full/gcp_job.yaml25 # However, make sure you are saving your output to a mounted cloud storage in case ofCOMMENT
LOWconfigs/recipes/llama3_3/sft/70b_lora/gcp_job.yaml24 # However, make sure you are saving your output to a mounted cloud storage in case ofCOMMENT
LOWconfigs/recipes/llama3_3/sft/70b_qlora/gcp_job.yaml24 # However, make sure you are saving your output to a mounted cloud storage in case ofCOMMENT
LOWconfigs/recipes/llama3_3/sft/70b_full/gcp_job.yaml25 # However, make sure you are saving your output to a mounted cloud storage in case ofCOMMENT
MEDIUM.github/workflows/codeql.yml56 # If you are analyzing a compiled language, you can modify the 'build-mode' for that language to customize howCOMMENT
LOW…rimental/configs/projects/zephyr/sft/full_gcp_job.yaml26 # However, make sure you are saving your output to a mounted cloud storage in case ofCOMMENT
LOW…imental/configs/projects/zephyr/sft/qlora_gcp_job.yaml24 # However, make sure you are saving your output to a mounted cloud storage in case ofCOMMENT
MEDIUMsrc/oumi/builders/models.py396 When ``text_only`` is True the model is treated as a language model regardlessSTRING
Verbosity Indicators20 hits · 38 pts
SeverityFileLineSnippetContext
LOW⚡tests/unit/inference/test_remote_inference_engine.py3682 # Step 11: Concurrency should be 12, window size 1COMMENT
LOW⚡tests/unit/inference/test_remote_inference_engine.py3684 # Step 21: Backoff to 10, window size 1COMMENT
LOW⚡tests/unit/inference/test_remote_inference_engine.py3686 # Step 31: Concurrency should stay 10, first good windowCOMMENT
LOW⚡tests/unit/inference/test_remote_inference_engine.py3688 # Step 41: 2nd good window, exit backoff, warmup to 12, window size 1COMMENT
LOW⚡src/oumi/quantize/awq_quantizer.py85 # Step 1: AWQ quantizationCOMMENT
LOW⚡src/oumi/quantize/awq_quantizer.py88 # Step 2: Save as PyTorch formatCOMMENT
LOW…/collators/trl_data_collator_for_completion_only_lm.py302 # Step 1: mask everything.COMMENT
LOW…/collators/trl_data_collator_for_completion_only_lm.py317 # Step 2: find every assistant response start position.COMMENT
LOW⚡…/collators/trl_data_collator_for_completion_only_lm.py332 # Step 3: find the next end_of_turn after content_start.COMMENT
LOW⚡…/collators/trl_data_collator_for_completion_only_lm.py342 # Step 4: unmask this assistant response span, including theCOMMENT
LOW⚡src/oumi/deploy/fireworks_client.py471 # Step 1: Resolve model source to a local directory so we canCOMMENT
LOW⚡src/oumi/deploy/fireworks_client.py479 # Step 2: Collect the file manifest. For HF_BASE_MODEL uploads theCOMMENT
LOWsrc/oumi/mcp/prompts/post_training.py38## Step 1: Download Model WeightsCOMMENT
LOWsrc/oumi/mcp/prompts/post_training.py58## Step 2: Run Evaluation (Optional, On-Cluster)COMMENT
LOWsrc/oumi/mcp/prompts/post_training.py69## Step 3: Tear Down the ClusterCOMMENT
LOWsrc/oumi/mcp/prompts/post_training.py82## Step 4: Merge LoRA Adapter (Local)COMMENT
LOWsrc/oumi/mcp/prompts/post_training.py104## Step 5: Push to HuggingFace Hub (Optional)COMMENT
LOWsrc/oumi/inference/together_inference_engine.py133 # Step 1: Request signed upload URLCOMMENT
LOWsrc/oumi/inference/together_inference_engine.py167 # Step 2: Upload file content to signed URLCOMMENT
LOWsrc/oumi/inference/together_inference_engine.py181 # Step 3: Finalize upload by calling preprocess endpointCOMMENT
Modern AI Meta-Vocabulary13 hits · 36 pts
SeverityFileLineSnippetContext
MEDIUMREADME.md26- [2026/09] [Oumi v0.9 released](https://github.com/oumi-ai/oumi/releases/tag/v0.9): an end-to-end stack for agentic, toCODE
MEDIUMREADME.md46- [2025/11] [Example notebook to perform RLVF fine-tuning with OpenEnv](https://github.com/oumi-ai/oumi/blob/main/noteboCODE
MEDIUMconfigs/examples/synthesis/README.md126. [Dynamic Few-Shot Sampling](#6-dynamic-few-shot-sampling-dynamic_few_shot_synthyaml) - Randomly sample examples for dCODE
MEDIUMconfigs/examples/synthesis/README.md495# Enable dynamic few-shot samplingCOMMENT
MEDIUM⚡configs/examples/synthesis/dynamic_few_shot_synth.yaml2# Demonstrates the new dynamic few-shot sampling feature for synthesis.COMMENT
MEDIUMconfigs/examples/synthesis/dynamic_few_shot_synth.yaml56 # Generate diverse task instructions using the randomly sampled few-shot examplesCOMMENT
MEDIUMscripts/datasets/save_conversations.py9# --subset zero-shot-exp --split train --max-conversations 100 \COMMENT
MEDIUMsrc/oumi/core/datasets/packed_sft_dataset.py97 # the context window. There is no way to handle this sampleCOMMENT
MEDIUMsrc/oumi/core/evaluation/backends/lm_harness.py45# Used to set the few-shot seed for lm_eval.api.task.Task. The value is consistent withCOMMENT
MEDIUMsrc/oumi/datasets/mmlu.py81 "dev", # For few-shot development; 5 questions per subject (285 questions)CODE
MEDIUMsrc/oumi/judges/base_judge.py736 # Build few-shot examples: convert field values to prompts and responsesCOMMENT
MEDIUMsrc/oumi/judges/base_judge.py898 # Add few-shot examples as alternating user/assistant pairsCOMMENT
MEDIUMsrc/oumi/judges/rubric_judge.py43# Prompt scaffolding: introducing the rubric to the judge.COMMENT
Hallucination Indicators2 hits · 25 pts
SeverityFileLineSnippetContext
CRITICAL⚡tests/unit/launcher/clients/test_modal_client.py142 fake_modal.Sandbox.create.return_value.set_tags.assert_called_once_with(CODE
CRITICALsrc/oumi/core/trainers/hf_trainer.py169 self._hf_trainer.accelerator.state.fsdp_plugin.set_state_dict_type(CODE
AI Structural Patterns18 hits · 17 pts
SeverityFileLineSnippetContext
LOWscripts/benchmarks/minimal_multimodal_training.py206CODE
LOWsrc/oumi/launcher/clients/slurm_client.py620CODE
LOWsrc/oumi/core/distributed.py607CODE
LOW…tors/vision_language_conversation_feature_generator.py69CODE
LOWsrc/oumi/core/datasets/base_sft_dataset.py38CODE
LOWsrc/oumi/core/datasets/base_map_dataset.py126CODE
LOWsrc/oumi/core/datasets/vision_language_dataset.py64CODE
LOWsrc/oumi/core/datasets/vision_language_dpo_dataset.py67CODE
LOW…c/oumi/core/datasets/pretraining_async_text_dataset.py38CODE
LOWsrc/oumi/core/trainers/verl_grpo_trainer.py422CODE
LOW…re/collators/text_completions_collator_with_padding.py29CODE
LOWsrc/oumi/core/collators/vision_language_sft_collator.py73CODE
LOW…/collators/trl_data_collator_for_completion_only_lm.py93CODE
LOWsrc/oumi/utils/device_utils.py121CODE
LOWsrc/oumi/cli/train.py29CODE
LOWsrc/oumi/cli/infer.py33CODE
LOWsrc/oumi/cli/analyze.py393CODE
LOWsrc/oumi/inference/vllm_inference_engine.py286CODE
Fake / Example Data6 hits · 8 pts
SeverityFileLineSnippetContext
LOW⚡tests/unit/inference/test_gcp_inference_engine.py119 mock_credentials.from_service_account_file.return_value.token = "fake_token"CODE
LOW⚡tests/unit/inference/test_gcp_inference_engine.py121 assert token == "fake_token"CODE
LOW⚡tests/unit/inference/test_gcp_inference_engine.py129 with patch.object(gcp_engine, "_get_api_key", return_value="fake_token"):CODE
LOW⚡tests/unit/inference/test_gcp_inference_engine.py133 "Authorization": "Bearer fake_token",CODE
LOWtests/integration/judges/test_rule_based_judge_e2e.py146 {"text": "user@example.com"}, # Valid emailCODE
LOWtests/integration/judges/test_rule_based_judge_e2e.py204 test_data = [{"response": "555-1234"}]CODE
Overly Generic Function Names3 hits · 3 pts
SeverityFileLineSnippetContext
LOWtests/unit/core/test_distributed.py101 def test_function():CODE
LOWtests/unit/core/test_distributed.py254 def test_function():CODE
LOWtests/unit/core/test_distributed.py269 def test_function():CODE