Repository Analysis

oumi-ai/oumi

Easily fine-tune, evaluate and deploy Gemma 4, Qwen3.5, Qwen3.6, gpt-oss, DeepSeek-R1, or any open source LLM / VLM!

36.2 Strong AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of oumi-ai/oumi, a Python project with 9,344 GitHub stars. SynthScan v2.0 examined 230,234 lines of code across 1390 source files, recording 6340 pattern matches distributed across 23 syntactic categories. The overall adjusted score of 36.2 places this repository in the Strong AI signal band.

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

36.2
Adjusted Score
36.2
Raw Score
100%
Time Factor
2026-07-14
Last Push
9.3K
Stars
Python
Language
230.2K
Lines of Code
1.4K
Files
6.3K
Pattern Hits
2026-07-14
Scan Date
0.17
HC Hit Rate

What These Metrics Mean

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

Score History

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

Severity Breakdown

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

CRITICAL 2HIGH 229MEDIUM 337LOW 5772

Directory Score Breakdown

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

Pattern Findings

The scanner identified 6340 distinct pattern matches across 23 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Hyper-Verbose Identifiers3196 hits · 3101 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/quantize/test_awq_quantizer.py48 def test_supports_method_valid(self):CODE
LOWtests/unit/quantize/test_awq_quantizer.py55 def test_supports_method_invalid(self):CODE
LOWtests/unit/quantize/test_awq_quantizer.py61 def test_validate_config_valid(self):CODE
LOWtests/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
LOWtests/unit/quantize/test_awq_quantizer.py92 def test_raise_if_requirements_not_met_missing_awq(self):CODE
LOWtests/unit/quantize/test_awq_quantizer.py102 def test_raise_if_requirements_not_met_no_gpu(self):CODE
LOWtests/unit/quantize/test_awq_quantizer.py127 def test_validate_config_valid_simple(self):CODE
LOWtests/unit/quantize/test_awq_quantizer.py137 def test_raise_if_requirements_not_met_no_awq_simple(self):CODE
LOWtests/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
LOWtests/unit/quantize/test_base_quantization.py57 def test_supports_method_true(self):CODE
LOWtests/unit/quantize/test_base_quantization.py61 def test_supports_method_false(self):CODE
LOWtests/unit/quantize/test_base_quantization.py65 def test_supports_format_true(self):CODE
LOWtests/unit/quantize/test_base_quantization.py70 def test_supports_format_false(self):CODE
LOWtests/unit/quantize/test_base_quantization.py74 def test_validate_config_valid(self):CODE
LOWtests/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
LOWtests/unit/quantize/test_quantize_module.py100 def test_quantize_invalid_config_type(self):CODE
LOWtests/unit/quantize/test_quantize_module.py105 def test_quantize_unsupported_method(self):CODE
LOWtests/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
LOWtests/unit/launcher/test_launcher.py1158def test_launcher_stop_succeeds(mock_registry):CODE
LOWtests/unit/launcher/test_launcher.py1193def test_launcher_which_clouds_updates_over_time(mock_registry):CODE
LOWtests/unit/launcher/test_launcher.py1226def test_launcher_does_not_initialize_clouds_eagerly(mock_registry):CODE
LOWtests/unit/launcher/test_launcher.py1234def test_launcher_initializes_cloud_on_first_use(mock_registry):CODE
3136 more matches not shown…
Over-Commented Block967 hits · 952 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
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/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_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/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_executable_environment.py1# Copyright 2025 - OumiCOMMENT
LOWtests/unit/environments/test_executable_tool.py1# Copyright 2025 - OumiCOMMENT
LOWtests/unit/environments/test_synthetic_environment.py1# Copyright 2025 - OumiCOMMENT
LOWtests/unit/environments/test_base_environment.py1# Copyright 2025 - OumiCOMMENT
LOW…ts/unit/environments/test_deterministic_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/utils/test_placeholders.py1# Copyright 2025 - OumiCOMMENT
LOWtests/unit/utils/test_analysis_utils.py1# Copyright 2025 - OumiCOMMENT
LOWtests/unit/utils/test_http.py1# Copyright 2025 - OumiCOMMENT
LOWtests/unit/utils/test_cache_utils.py1# Copyright 2025 - OumiCOMMENT
LOWtests/unit/judges/test_base_judge.py1# Copyright 2025 - OumiCOMMENT
LOWtests/unit/judges/test_simple_judge.py1# Copyright 2025 - OumiCOMMENT
LOWtests/unit/cli/test_cli_analyze.py1# Copyright 2025 - OumiCOMMENT
LOWtests/unit/cli/test_cli_synth.py1# Copyright 2025 - OumiCOMMENT
LOWtests/unit/cli/test_cli_completions.py1# Copyright 2025 - OumiCOMMENT
LOWtests/unit/inference/test_vllm_gdn_backend.py1# Copyright 2025 - OumiCOMMENT
LOW…ts/unit/inference/test_huggingface_inference_engine.py1# Copyright 2025 - OumiCOMMENT
LOW…unit/inference/test_adaptive_concurrency_controller.py1# Copyright 2025 - OumiCOMMENT
LOWtests/unit/inference/test_list_models.py1# Copyright 2025 - OumiCOMMENT
LOWtests/unit/inference/test_adaptive_semaphore.py1# Copyright 2025 - OumiCOMMENT
907 more matches not shown…
Decorative Section Separators241 hits · 933 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
MEDIUMtests/unit/core/types/test_conversation.py1268# -----------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/core/types/test_conversation.py1270# -----------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/core/types/test_conversation.py1355# -----------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/core/types/test_conversation.py1357# -----------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/core/types/test_conversation.py1009# -----------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/core/types/test_conversation.py1011# -----------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/core/types/test_conversation.py1179# -----------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/core/types/test_conversation.py1181# -----------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/core/synthesis/test_dataset_planner.py1195# ===========================COMMENT
MEDIUMtests/unit/core/synthesis/test_dataset_planner.py1197# ===========================COMMENT
MEDIUM…s/unit/core/synthesis/test_conversation_synthesizer.py1712# ---------------------------------------------------------------------------COMMENT
MEDIUM…s/unit/core/synthesis/test_conversation_synthesizer.py1714# ---------------------------------------------------------------------------COMMENT
MEDIUM…s/unit/core/synthesis/test_conversation_synthesizer.py2676# ---------------------------------------------------------------------------COMMENT
MEDIUM…s/unit/core/synthesis/test_conversation_synthesizer.py2678# ---------------------------------------------------------------------------COMMENT
MEDIUM…s/unit/core/synthesis/test_conversation_synthesizer.py1915# ---------------------------------------------------------------------------COMMENT
MEDIUM…s/unit/core/synthesis/test_conversation_synthesizer.py1917# ---------------------------------------------------------------------------COMMENT
MEDIUM…llators/test_text_completions_collator_with_padding.py296# ---------------------------------------------------------------------------COMMENT
MEDIUM…llators/test_text_completions_collator_with_padding.py298# ---------------------------------------------------------------------------COMMENT
MEDIUM…llators/test_text_completions_collator_with_padding.py316# ---------------------------------------------------------------------------COMMENT
MEDIUM…llators/test_text_completions_collator_with_padding.py318# ---------------------------------------------------------------------------COMMENT
MEDIUM…llators/test_text_completions_collator_with_padding.py364# ---------------------------------------------------------------------------COMMENT
MEDIUM…llators/test_text_completions_collator_with_padding.py366# ---------------------------------------------------------------------------COMMENT
MEDIUM…llators/test_text_completions_collator_with_padding.py427# ---------------------------------------------------------------------------COMMENT
MEDIUM…llators/test_text_completions_collator_with_padding.py429# ---------------------------------------------------------------------------COMMENT
MEDIUM…llators/test_text_completions_collator_with_padding.py481# ---------------------------------------------------------------------------COMMENT
MEDIUM…llators/test_text_completions_collator_with_padding.py483# ---------------------------------------------------------------------------COMMENT
MEDIUM…llators/test_text_completions_collator_with_padding.py256# ===========================================================================COMMENT
MEDIUM…llators/test_text_completions_collator_with_padding.py258# ===========================================================================COMMENT
MEDIUMtests/unit/builders/test_collators.py401# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/builders/test_collators.py403# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/builders/test_collators.py457# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/builders/test_collators.py459# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/builders/test_collators.py259# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/builders/test_collators.py262# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/deploy/test_parasail_client.py648 # ------------------------------------------------------------------COMMENT
MEDIUMtests/unit/deploy/test_parasail_client.py650 # ------------------------------------------------------------------COMMENT
MEDIUMtests/unit/deploy/test_parasail_client.py683 # ------------------------------------------------------------------COMMENT
MEDIUMtests/unit/deploy/test_parasail_client.py685 # ------------------------------------------------------------------COMMENT
MEDIUMtests/unit/deploy/test_parasail_client.py723 # ------------------------------------------------------------------COMMENT
MEDIUMtests/unit/deploy/test_parasail_client.py725 # ------------------------------------------------------------------COMMENT
MEDIUMtests/unit/deploy/test_parasail_client.py757 # ------------------------------------------------------------------COMMENT
MEDIUMtests/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
MEDIUMtests/unit/deploy/test_deploy_config.py150# ===================================================================COMMENT
MEDIUMtests/unit/deploy/test_deploy_config.py152# ===================================================================COMMENT
MEDIUMtests/unit/deploy/test_deploy_config.py185# ===================================================================COMMENT
MEDIUMtests/unit/deploy/test_deploy_config.py187# ===================================================================COMMENT
MEDIUMtests/unit/deploy/test_deploy_config.py310# ===================================================================COMMENT
MEDIUMtests/unit/deploy/test_deploy_config.py312# ===================================================================COMMENT
MEDIUMtests/unit/deploy/test_deploy_config.py347# ===================================================================COMMENT
MEDIUMtests/unit/deploy/test_deploy_config.py349# ===================================================================COMMENT
MEDIUMtests/unit/deploy/test_deploy_config.py380# ===================================================================COMMENT
MEDIUMtests/unit/deploy/test_deploy_config.py382# ===================================================================COMMENT
MEDIUMtests/unit/deploy/test_deploy_config.py418# ===================================================================COMMENT
181 more matches not shown…
Example Usage Blocks483 hits · 725 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
423 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…
Docstring Block Structure90 hits · 450 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.py117Judge a dataset from a JSONL file using Oumi's Judge framework. This is a convenience wrapper around judge_dataset.STRING
HIGHsrc/oumi/judge.py151Judge 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/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.py197Applies 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.py270Synthesize a multi-turn conversation. Order will be identical to the order of the samples. Args: STRING
HIGHsrc/oumi/core/synthesis/conversation_synthesizer.py495Plan 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/inference/base_inference_engine.py776Gets 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
HIGHsrc/oumi/builders/models.py543Builds a chat template based on code name. Args: template_name: the code name describing the chat-template.STRING
HIGHsrc/oumi/builders/inference_engines.py79Returns 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.py208Builds a data collator based on the given collator name. Args: collator_name: The name of the collator to bSTRING
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.py1302Gets the status of an uploaded model. Args: model_id: Fireworks model ID (short ID or full path) STRING
HIGHsrc/oumi/deploy/fireworks_client.py1375Creates 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
HIGHsrc/oumi/deploy/parasail_client.py531Resumes a paused / offline endpoint. Args: endpoint_id: Numeric deployment ID (as a string). STRING
HIGHsrc/oumi/deploy/parasail_client.py551Pauses a running endpoint to save costs. Args: endpoint_id: Numeric deployment ID (as a string). STRING
HIGHsrc/oumi/datasets/sft/sft_jsonlines.py142Detect the format of the data based on the first item. Args: data_frame: The DataFrame containing tSTRING
HIGHsrc/oumi/datasets/sft/sft_jsonlines.py245Convert an Alpaca-style turn to a Conversation object. Args: turn: A dictionary containing 'instrucSTRING
HIGHsrc/oumi/utils/str_utils.py56Attempts to convert a string representation to a boolean value. This function interprets various string inputs as bSTRING
HIGHsrc/oumi/utils/str_utils.py90Convert a string representation to a boolean value. This function interprets various string inputs as boolean valueSTRING
HIGHsrc/oumi/utils/peft_utils.py23Gets the LoRA rank for a saved adapter model. Example config: https://github.com/huggingface/peft/blob/b5db9c93STRING
HIGHsrc/oumi/utils/cache_utils.py25Recursively convert unhashable objects to hashable ones. Converts: - dict -> frozenset of (key, value) pairs STRING
HIGHsrc/oumi/utils/io_utils.py29Load JSON data from a file. Args: filename: Path to the JSON file. Returns: dict: Parsed JSON STRING
HIGHsrc/oumi/utils/io_utils.py66Load a file as a string. Args: filename: Path to the file. encoding: Encoding to use when reading tSTRING
HIGHsrc/oumi/utils/io_utils.py96Load a jsonlines file. Args: filename: Path to the jsonlines file. Returns: List[Dict[str, AnySTRING
HIGHsrc/oumi/utils/io_utils.py143Load all sheets from an XLSX file and concatenate them into a single DataFrame. Args: filename: Path to theSTRING
HIGHsrc/oumi/utils/analysis_utils.py355Convert a dataset to conversations and messages DataFrames. This method handles different dataset types: - SFT/STRING
30 more matches not shown…
Unused Imports498 hits · 447 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.py9CODE
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_executable_environment.py17CODE
LOWtests/unit/environments/test_executable_tool.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/inference/test_inference_engine_init.py36CODE
LOWtests/unit/inference/test_inference_engine_init.py43CODE
LOWtests/unit/inference/test_inference_engine_init.py50CODE
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
LOWsrc/oumi/launcher/clouds/__init__.py39CODE
LOWsrc/oumi/launcher/clouds/__init__.py40CODE
LOWsrc/oumi/launcher/clouds/__init__.py41CODE
LOWsrc/oumi/core/tokenizers/__init__.py22CODE
LOWsrc/oumi/core/tokenizers/__init__.py23CODE
LOWsrc/oumi/core/launcher/__init__.py24CODE
LOWsrc/oumi/core/launcher/__init__.py25CODE
LOWsrc/oumi/core/launcher/__init__.py25CODE
LOWsrc/oumi/core/launcher/__init__.py25CODE
438 more matches not shown…
Excessive Try-Catch Wrapping207 hits · 214 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_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.py350 except Exception as e:CODE
LOWsrc/oumi/launcher/clients/slurm_client.py427 except Exception as e:CODE
LOWsrc/oumi/launcher/clients/slurm_client.py451 except Exception as e:CODE
LOWsrc/oumi/launcher/clients/slurm_client.py457 except Exception:CODE
LOWsrc/oumi/launcher/clients/slurm_client.py464 except Exception as e:CODE
LOWsrc/oumi/launcher/clients/slurm_client.py605 except Exception:CODE
LOWsrc/oumi/launcher/clients/sky_client.py226 except Exception:CODE
LOWsrc/oumi/launcher/clients/sky_client.py244 except Exception:CODE
LOWsrc/oumi/launcher/clients/sky_client.py272 except Exception:CODE
LOWsrc/oumi/launcher/clients/modal_client.py250 except Exception as e: # noqa: BLE001CODE
LOWsrc/oumi/launcher/clients/modal_client.py292 except Exception as e: # noqa: BLE001CODE
LOWsrc/oumi/launcher/clients/modal_client.py306 except Exception as e: # noqa: BLE001CODE
LOWsrc/oumi/launcher/clients/modal_client.py328 except Exception as e: # noqa: BLE001CODE
LOWsrc/oumi/launcher/clients/modal_client.py348 except Exception as e: # noqa: BLE001CODE
LOWsrc/oumi/core/models/base_model.py235 except Exception:CODE
LOWsrc/oumi/core/synthesis/conversation_synthesizer.py224 except Exception:CODE
LOWsrc/oumi/core/synthesis/conversation_synthesizer.py233 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
LOWsrc/oumi/core/trainers/oumi_trainer.py726 except Exception as e:CODE
LOWsrc/oumi/core/trainers/oumi_trainer.py834 except Exception:CODE
LOWsrc/oumi/core/trainers/verl_grpo_trainer.py185 except Exception as e:CODE
LOWsrc/oumi/core/trainers/verl_grpo_trainer.py542 except Exception as e:CODE
147 more matches not shown…
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
MEDIUMtests/unit/utils/test_io_utils.py235 # Create a dummy file pathCOMMENT
MEDIUMtests/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
MEDIUMtests/unit/cli/test_cli_completions.py176 # Create a test yaml fileCOMMENT
MEDIUMtests/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
MEDIUMtests/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
MEDIUMsrc/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.py681 # 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 Nesting171 hits · 162 pts
SeverityFileLineSnippetContext
LOWtests/markers.py8CODE
LOWtests/unit/launcher/clients/test_sky_client.py99CODE
LOWtests/unit/launcher/clients/test_sky_client.py146CODE
LOWtests/unit/launcher/clients/test_sky_client.py208CODE
LOWtests/unit/launcher/clients/test_sky_client.py268CODE
LOWtests/unit/launcher/clients/test_sky_client.py287CODE
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.py413CODE
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.py91CODE
LOWtests/unit/inference/test_generation_params.py76CODE
LOWtests/unit/inference/test_generation_params.py413CODE
LOWtests/unit/inference/test_remote_inference_engine.py1518CODE
LOWtests/unit/inference/test_remote_inference_engine.py1660CODE
LOWtests/unit/inference/test_remote_inference_engine.py1850CODE
LOWtests/unit/inference/test_remote_inference_engine.py3604CODE
LOWtests/unit/inference/test_remote_inference_engine.py3611CODE
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.py66CODE
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.py78CODE
LOWsrc/oumi/core/types/conversation.py314CODE
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.py164CODE
LOWsrc/oumi/core/datasets/base_map_dataset.py249CODE
LOWsrc/oumi/core/datasets/base_map_dataset.py432CODE
LOWsrc/oumi/core/synthesis/conversation_synthesizer.py191CODE
LOWsrc/oumi/core/synthesis/conversation_synthesizer.py489CODE
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
111 more matches not shown…
Cross-Language Confusion22 hits · 122 pts
SeverityFileLineSnippetContext
HIGHtests/unit/launcher/clients/test_modal_client.py211 setup="sudo apt-get update && sudo apt-get install -y zip",CODE
HIGHtests/unit/launcher/clients/test_modal_client.py219 assert "apt-get update && apt-get install -y zip" in scriptCODE
HIGHtests/unit/launcher/clients/test_modal_client.py299 src = "sudo apt-get update && sudo apt-get install -y zip\nsudo dpkg -i bar.deb"CODE
HIGHtests/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.py475 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.py2609 # OpenAI-style error: top-level "error" is null, detail in response.body.errorCOMMENT
HIGHtests/unit/analyze/test_quality_analyzer.py387 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.py118 if not value or value in ("Unknown", "N/A", "(null)"):CODE
HIGHsrc/oumi/utils/str_utils.py201 `pip install uv && uv pip -q install oumi[gpu,dev] vllm`STRING
HIGHsrc/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
HIGHsrc/oumi/mcp/prompts/cloud_launch.py221pip install uv && uv pip install --system 'oumi[gpu]'CODE
HIGHsrc/oumi/mcp/prompts/cloud_launch.py228pip install uv && uv pip install --system 'oumi[gpu]'CODE
HIGHsrc/oumi/mcp/prompts/cloud_launch.py235pip install uv && uv pip install --system 'oumi[gpu,evaluation]'CODE
HIGHsrc/oumi/analyze/analyzers/quality.py97 - 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
LOWtests/unit/quantize/test_awq_quantizer.py94 # Set _awq to None to simulate missing AWQCOMMENT
LOWtests/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
LOWtests/unit/core/test_registry.py299 # Check if the registry contains the key, regardless of caseCOMMENT
LOWtests/unit/core/test_registry.py304 # Check if we can retrieve the builder using different casesCOMMENT
LOWtests/unit/core/test_registry.py309 # 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.py34# 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
LOWsrc/oumi/core/synthesis/dataset_planner.py401 # Check if all attributes in the override combination are in the sampleCOMMENT
LOWsrc/oumi/core/synthesis/dataset_planner.py409 # Check if the attribute values are the sameCOMMENT
LOWsrc/oumi/core/trainers/verl_grpo_trainer.py182 # Check if the conversation_json is valid.COMMENT
LOWsrc/oumi/core/configs/params/model_params.py324 # Check if flash-attention-2 is requested and supportedCOMMENT
LOWsrc/oumi/core/configs/params/training_params.py977 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 Boilerplate79 hits · 78 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__.py164__all__ = [CODE
LOWsrc/oumi/core/registry/__init__.py29__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
LOWsrc/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__.py48__all__ = [CODE
LOWsrc/oumi/datasets/__init__.py104__all__ = [CODE
LOWsrc/oumi/datasets/vision_language/__init__.py42__all__ = [CODE
LOWsrc/oumi/datasets/preference_tuning/__init__.py20__all__ = [CODE
LOWsrc/oumi/datasets/grpo/__init__.py25__all__ = [CODE
LOWsrc/oumi/datasets/grpo/rewards/__init__.py25__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/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
LOWsrc/oumi/mcp/prompts/__init__.py27__all__ = [CODE
LOWsrc/oumi/models/__init__.py43__all__ = ["MLPEncoder", "CNNClassifier"]CODE
LOWsrc/oumi/judges/base_judge.py37logger = logging.getLogger(__name__)CODE
19 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
HIGHconfigs/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 Vocabulary23 hits · 54 pts
SeverityFileLineSnippetContext
LOWtests/unit/inference/test_generation_params.py469 # 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
MEDIUMsrc/oumi/core/evaluation/backends/lm_harness.py115 # https://github.com/EleutherAI/lm-evaluation-harness/blob/365fcda9b85bbb6e0572d91976b8daf409164500/lm_eval/models/hCOMMENT
MEDIUMsrc/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.py397 # 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
LOWtests/unit/inference/test_remote_inference_engine.py3635 # Step 11: Concurrency should be 12, window size 1COMMENT
LOWtests/unit/inference/test_remote_inference_engine.py3637 # Step 21: Backoff to 10, window size 1COMMENT
LOWtests/unit/inference/test_remote_inference_engine.py3639 # Step 31: Concurrency should stay 10, first good windowCOMMENT
LOWtests/unit/inference/test_remote_inference_engine.py3641 # 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
LOWsrc/oumi/quantize/awq_quantizer.py85 # Step 1: AWQ quantizationCOMMENT
LOWsrc/oumi/quantize/awq_quantizer.py88 # Step 2: Save as PyTorch formatCOMMENT
LOW…/collators/trl_data_collator_for_completion_only_lm.py163 # Step 1: mask everything.COMMENT
LOW…/collators/trl_data_collator_for_completion_only_lm.py178 # Step 2: find every assistant response start position.COMMENT
LOW…/collators/trl_data_collator_for_completion_only_lm.py193 # Step 3: find the next end_of_turn after content_start.COMMENT
LOW…/collators/trl_data_collator_for_completion_only_lm.py203 # Step 4: unmask this assistant response span, including theCOMMENT
LOWsrc/oumi/deploy/fireworks_client.py471 # Step 1: Resolve model source to a local directory so we canCOMMENT
LOWsrc/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
Verbosity Indicators20 hits · 38 pts
SeverityFileLineSnippetContext
LOWtests/unit/inference/test_remote_inference_engine.py3635 # Step 11: Concurrency should be 12, window size 1COMMENT
LOWtests/unit/inference/test_remote_inference_engine.py3637 # Step 21: Backoff to 10, window size 1COMMENT
LOWtests/unit/inference/test_remote_inference_engine.py3639 # Step 31: Concurrency should stay 10, first good windowCOMMENT
LOWtests/unit/inference/test_remote_inference_engine.py3641 # Step 41: 2nd good window, exit backoff, warmup to 12, window size 1COMMENT
LOWsrc/oumi/quantize/awq_quantizer.py85 # Step 1: AWQ quantizationCOMMENT
LOWsrc/oumi/quantize/awq_quantizer.py88 # Step 2: Save as PyTorch formatCOMMENT
LOW…/collators/trl_data_collator_for_completion_only_lm.py163 # Step 1: mask everything.COMMENT
LOW…/collators/trl_data_collator_for_completion_only_lm.py178 # Step 2: find every assistant response start position.COMMENT
LOW…/collators/trl_data_collator_for_completion_only_lm.py193 # Step 3: find the next end_of_turn after content_start.COMMENT
LOW…/collators/trl_data_collator_for_completion_only_lm.py203 # Step 4: unmask this assistant response span, including theCOMMENT
LOWsrc/oumi/deploy/fireworks_client.py471 # Step 1: Resolve model source to a local directory so we canCOMMENT
LOWsrc/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 Phrases23 hits · 35 pts
SeverityFileLineSnippetContext
LOWpyproject.toml130 # When updating verl version, make sure to also update the default config:COMMENT
MEDIUM…s/unit/core/synthesis/test_conversation_synthesizer.py940 "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
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
Modern AI Meta-Vocabulary12 hits · 34 pts
SeverityFileLineSnippetContext
MEDIUMREADME.md29- [2026/03] [MCP Integration Phase 1](https://github.com/oumi-ai/oumi/pull/2234): package scaffold and dependencies for CODE
MEDIUMREADME.md43- [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
MEDIUMconfigs/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.py666 # Build few-shot examples: convert field values to prompts and responsesCOMMENT
MEDIUMsrc/oumi/judges/base_judge.py828 # Add few-shot examples as alternating user/assistant pairsCOMMENT
Hallucination Indicators2 hits · 25 pts
SeverityFileLineSnippetContext
CRITICALtests/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 Patterns17 hits · 16 pts
SeverityFileLineSnippetContext
LOWscripts/benchmarks/minimal_multimodal_training.py206CODE
LOWsrc/oumi/launcher/clients/slurm_client.py610CODE
LOWsrc/oumi/core/distributed.py607CODE
LOW…tors/vision_language_conversation_feature_generator.py69CODE
LOWsrc/oumi/core/datasets/base_sft_dataset.py37CODE
LOWsrc/oumi/core/datasets/base_map_dataset.py125CODE
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.py259CODE
LOW…re/collators/text_completions_collator_with_padding.py68CODE
LOWsrc/oumi/core/collators/vision_language_sft_collator.py73CODE
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.py199CODE
Fake / Example Data6 hits · 8 pts
SeverityFileLineSnippetContext
LOWtests/unit/inference/test_gcp_inference_engine.py104 mock_credentials.from_service_account_file.return_value.token = "fake_token"CODE
LOWtests/unit/inference/test_gcp_inference_engine.py106 assert token == "fake_token"CODE
LOWtests/unit/inference/test_gcp_inference_engine.py114 with patch.object(gcp_engine, "_get_api_key", return_value="fake_token"):CODE
LOWtests/unit/inference/test_gcp_inference_engine.py117 "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