🤗 ml-intern: an open-source ML engineer that reads papers, trains models, and ships ML models
963 matches across 10 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tests/unit/test_cli_rendering.py | 16 | def test_direct_anthropic_research_model_stays_off_bedrock(): |
| LOW | tests/unit/test_cli_rendering.py | 23 | def test_bedrock_anthropic_research_model_stays_on_bedrock(): |
| LOW | tests/unit/test_cli_rendering.py | 30 | def test_non_anthropic_research_model_is_unchanged(): |
| LOW | tests/unit/test_cli_rendering.py | 34 | def test_help_output_keeps_descriptions_aligned(monkeypatch): |
| LOW | tests/unit/test_cli_rendering.py | 57 | def test_help_output_recomputes_widths_from_rows(): |
| LOW | tests/unit/test_cli_rendering.py | 78 | def test_subagent_display_does_not_spawn_background_redraw(monkeypatch): |
| LOW | tests/unit/test_cli_rendering.py | 100 | def test_cli_forwards_model_flag_to_interactive_main(monkeypatch): |
| LOW | tests/unit/test_cli_rendering.py | 116 | def test_cli_forwards_sandbox_flag_to_interactive_main(monkeypatch): |
| LOW | tests/unit/test_cli_rendering.py | 131 | def test_cli_forwards_sandbox_flag_to_headless_main(monkeypatch): |
| LOW | tests/unit/test_cli_rendering.py | 171 | async def test_interactive_main_applies_model_override_before_banner(monkeypatch): |
| LOW | tests/unit/test_cli_rendering.py | 201 | async def test_local_model_local_runtime_skips_hf_token_prompt(monkeypatch): |
| LOW | tests/unit/test_cli_rendering.py | 235 | async def test_local_model_sandbox_runtime_prompts_for_hf_token(monkeypatch): |
| LOW | tests/unit/test_cli_rendering.py | 275 | async def test_interactive_main_passes_sandbox_runtime_to_tool_router(monkeypatch): |
| LOW | tests/unit/test_cli_rendering.py | 324 | async def test_initial_sandbox_preload_waits_before_prompt(): |
| LOW | tests/unit/test_doom_loop_polling.py | 41 | def test_polling_with_progressing_results_does_not_fire(): |
| LOW | tests/unit/test_doom_loop_polling.py | 56 | def test_truly_stuck_polling_with_identical_results_still_fires(): |
| LOW | tests/unit/test_doom_loop_polling.py | 73 | def test_identical_calls_with_no_results_yet_still_fires(): |
| LOW | tests/unit/test_doom_loop_polling.py | 87 | def test_different_args_does_not_fire(): |
| LOW | tests/unit/test_kpis_scheduler.py | 29 | def test_token_resolution_order(monkeypatch): |
| LOW | tests/unit/test_kpis_scheduler.py | 53 | def test_load_build_kpis_exposes_run_for_hour(): |
| LOW | tests/unit/test_kpis_scheduler.py | 60 | def test_backfill_calls_run_hour_for_each_hour(monkeypatch): |
| LOW | tests/unit/test_kpis_scheduler.py | 79 | def test_start_is_no_op_when_disabled(monkeypatch): |
| LOW | tests/unit/test_kpis_scheduler.py | 88 | def test_start_skips_cleanly_without_apscheduler(monkeypatch): |
| LOW | tests/unit/test_kpis_scheduler.py | 113 | def test_shutdown_is_no_op_when_not_started(): |
| LOW | tests/unit/test_user_quotas.py | 27 | def test_daily_cap_for_known_plans(): |
| LOW | tests/unit/test_user_quotas.py | 33 | def test_daily_cap_for_unknown_or_missing_defaults_to_free(): |
| LOW | tests/unit/test_user_quotas.py | 40 | async def test_increment_and_read_back_same_day(): |
| LOW | tests/unit/test_user_quotas.py | 48 | async def test_independent_users_do_not_share_counts(): |
| LOW | tests/unit/test_user_quotas.py | 57 | async def test_stale_day_resets_before_next_read(): |
| LOW | tests/unit/test_user_quotas.py | 67 | async def test_concurrent_increments_under_lock_do_not_lose_writes(): |
| LOW | tests/unit/test_user_quotas.py | 74 | async def test_try_increment_returns_none_at_cap(): |
| LOW | tests/unit/test_user_quotas.py | 81 | async def test_try_increment_delegates_cap_to_enabled_store(): |
| LOW | tests/unit/test_user_quotas.py | 101 | async def test_refund_decrements_and_drops_entry_at_zero(): |
| LOW | tests/unit/test_user_quotas.py | 110 | async def test_refund_on_nonexistent_user_is_noop(): |
| LOW | tests/unit/test_user_quotas.py | 116 | async def test_refund_on_stale_day_resets_rather_than_underflow(): |
| LOW | tests/unit/test_user_quotas.py | 124 | async def test_free_user_cap_reached_at_one(): |
| LOW | tests/unit/test_user_quotas.py | 132 | async def test_pro_user_cap_reached_at_twenty(): |
| LOW | tests/unit/test_session_uploader.py | 19 | def test_dataset_card_readme_has_metadata_and_public_warning(): |
| LOW | tests/unit/test_session_uploader.py | 40 | def test_upload_dataset_card_only_for_claude_code_format(): |
| LOW | tests/unit/test_session_uploader.py | 64 | def test_personal_token_env_takes_precedence_for_hf_token(monkeypatch): |
| LOW | tests/unit/test_session_uploader.py | 71 | def test_update_upload_status_preserves_other_uploader_fields(tmp_path): |
| LOW | tests/unit/test_session_uploader.py | 102 | def test_claude_code_jsonl_uses_message_timestamps(): |
| LOW | tests/unit/test_session_uploader.py | 136 | def test_row_payload_scrubs_messages_events_and_tools(tmp_path): |
| LOW | tests/unit/test_session_uploader.py | 161 | def test_claude_code_payload_scrubs_messages_before_conversion(tmp_path): |
| LOW | tests/unit/test_cli_new_clear.py | 53 | def test_start_new_conversation_rotates_session_state(monkeypatch): |
| LOW | tests/unit/test_cli_new_clear.py | 101 | async def test_new_submission_resets_context_and_reports_clear_flag(): |
| LOW | tests/unit/test_cli_new_clear.py | 122 | async def test_new_and_clear_slash_commands_share_operation_with_distinct_clear_flags(): |
| LOW | tests/unit/test_web_search_tool.py | 19 | def test_web_search_extracts_duckduckgo_results_and_filters_domains(monkeypatch): |
| LOW | tests/unit/test_web_search_tool.py | 65 | def test_web_search_decodes_duckduckgo_redirects(): |
| LOW | tests/unit/test_web_search_tool.py | 83 | def test_web_search_generic_fallback_dedupes_and_rejects_bad_base_url(monkeypatch): |
| LOW | tests/unit/test_web_search_tool.py | 114 | async def test_web_search_handler_returns_pretty_json(monkeypatch): |
| LOW | tests/unit/test_web_search_tool.py | 163 | def test_web_search_is_registered_for_llm(): |
| LOW | tests/unit/test_session_persistence.py | 13 | async def test_noop_store_keeps_local_cli_and_tests_db_free(): |
| LOW | tests/unit/test_session_persistence.py | 31 | def test_unsafe_message_payload_is_replaced_with_marker(): |
| LOW | tests/unit/test_session_persistence.py | 98 | async def test_mark_pro_seen_returns_none_when_unknown_user_starts_pro(): |
| LOW | tests/unit/test_session_persistence.py | 105 | async def test_mark_pro_seen_emits_conversion_after_seeing_user_as_free(): |
| LOW | tests/unit/test_session_persistence.py | 115 | async def test_mark_pro_seen_only_fires_conversion_once(): |
| LOW | tests/unit/test_session_persistence.py | 126 | async def test_noop_store_mark_pro_seen_returns_none(): |
| LOW | tests/unit/test_sandbox_script_resolution.py | 23 | async def test_resolve_sandbox_script_accepts_bare_python_filename(): |
| LOW | tests/unit/test_sandbox_script_resolution.py | 34 | async def test_resolve_sandbox_script_accepts_relative_python_path(): |
| 438 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | frontend/src/theme.ts | 3 | // ── Shared tokens ──────────────────────────────────────────────── |
| MEDIUM | frontend/src/theme.ts | 34 | // ── Dark palette ───────────────────────────────────────────────── |
| MEDIUM | frontend/src/theme.ts | 71 | // ── Light palette ──────────────────────────────────────────────── |
| MEDIUM | frontend/src/theme.ts | 108 | // ── Shared CSS baseline (scrollbar, code, brand-logo) ──────────── |
| MEDIUM | frontend/src/theme.ts | 175 | // ── Theme builders ─────────────────────────────────────────────── |
| MEDIUM | frontend/src/components/Chat/ToolCallGroup.tsx | 741 | // ── Batch approval state ────────────────────────────────────────── |
| MEDIUM | frontend/src/components/Chat/ToolCallGroup.tsx | 754 | // ── Panel lock state (for auto-follow vs user-selected) ─────────── |
| MEDIUM | frontend/src/components/Chat/ToolCallGroup.tsx | 823 | // ── Send all decisions as a single batch ────────────────────────── |
| MEDIUM | frontend/src/components/Chat/ToolCallGroup.tsx | 894 | // ── Show tool panel (shared logic) ──────────────────────────────── |
| MEDIUM | frontend/src/components/Chat/ToolCallGroup.tsx | 960 | // ── Panel click handler ─────────────────────────────────────────── |
| MEDIUM | frontend/src/components/Chat/ToolCallGroup.tsx | 978 | // ── Auto-follow currently active tool when not locked ───────────── |
| MEDIUM | frontend/src/components/Chat/ToolCallGroup.tsx | 1005 | // ── Parse hf_jobs metadata from output ──────────────────────────── |
| MEDIUM | frontend/src/components/Chat/ToolCallGroup.tsx | 1016 | // ── Render ──────────────────────────────────────────────────────── |
| MEDIUM | frontend/src/components/CodePanel/CodePanel.tsx | 22 | // ── Helpers ────────────────────────────────────────────────────── |
| MEDIUM | frontend/src/components/CodePanel/CodePanel.tsx | 30 | // ── Markdown styles (adapts via CSS vars) ──────────────────────── |
| MEDIUM | frontend/src/components/CodePanel/CodePanel.tsx | 89 | // ── View toggle button ────────────────────────────────────────── |
| MEDIUM | frontend/src/components/CodePanel/CodePanel.tsx | 128 | // ── Component ──────────────────────────────────────────────────── |
| MEDIUM | frontend/src/components/CodePanel/CodePanel.tsx | 236 | // ── Syntax-highlighted code block (DRY) ──────────────────────── |
| MEDIUM | frontend/src/components/CodePanel/CodePanel.tsx | 255 | // ── Content renderer ─────────────────────────────────────────── |
| MEDIUM | frontend/src/store/agentStore.ts | 111 | // ── Per-session state map ─────────────────────────────────────────── |
| MEDIUM | frontend/src/store/agentStore.ts | 115 | // ── Flat state (mirrors active session — UI reads from here) ──────── |
| MEDIUM | frontend/src/store/agentStore.ts | 156 | // ── Per-session actions ───────────────────────────────────────────── |
| MEDIUM | frontend/src/store/agentStore.ts | 170 | // ── Global actions (not per-session) ──────────────────────────────── |
| MEDIUM | frontend/src/store/agentStore.ts | 314 | // ── Per-session state management ────────────────────────────────── |
| MEDIUM | frontend/src/store/agentStore.ts | 399 | // ── Global flags ────────────────────────────────────────────────── |
| MEDIUM | frontend/src/store/agentStore.ts | 413 | // ── Panel (single-artifact) ─────────────────────────────────────── |
| MEDIUM | frontend/src/store/agentStore.ts | 458 | // ── Plan ────────────────────────────────────────────────────────── |
| MEDIUM | frontend/src/store/agentStore.ts | 465 | // ── Edited scripts ──────────────────────────────────────────────── |
| MEDIUM | frontend/src/store/agentStore.ts | 477 | // ── Job URLs ──────────────────────────────────────────────────────── |
| MEDIUM | frontend/src/store/agentStore.ts | 487 | // ── Job Statuses ──────────────────────────────────────────────────── |
| MEDIUM | frontend/src/store/agentStore.ts | 497 | // ── Trackio Dashboards ────────────────────────────────────────────── |
| MEDIUM | frontend/src/store/agentStore.ts | 517 | // ── Tool Errors ───────────────────────────────────────────────────── |
| MEDIUM | frontend/src/store/agentStore.ts | 534 | // ── Tool Rejections ────────────────────────────────────────────────── |
| MEDIUM | frontend/src/store/agentStore.ts | 546 | // ── Tool Budget Blocks ─────────────────────────────────────────────── |
| MEDIUM | tests/unit/test_session_persistence.py | 38 | # ── mark_pro_seen ───────────────────────────────────────────────────────── |
| MEDIUM | tests/unit/test_llm_error_classification.py | 26 | # ── context overflow ──────────────────────────────────────────────────── |
| MEDIUM | tests/unit/test_llm_error_classification.py | 48 | # ── rate limit ────────────────────────────────────────────────────────── |
| MEDIUM | tests/unit/test_llm_error_classification.py | 73 | # ── retry schedule selection ──────────────────────────────────────────── |
| MEDIUM | tests/unit/test_compaction_loop_break.py | 42 | # ── helpers ──────────────────────────────────────────────────────────── |
| MEDIUM | tests/unit/test_compaction_loop_break.py | 66 | # ── _truncate_oversized ──────────────────────────────────────────────── |
| MEDIUM | tests/unit/test_compaction_loop_break.py | 136 | # ── compact() raises CompactionFailedError ───────────────────────────── |
| MEDIUM | tests/unit/test_compaction_loop_break.py | 296 | # ── _compact_and_notify behavior on CompactionFailedError ────────────── |
| MEDIUM | tests/unit/test_doom_loop.py | 40 | # ── _normalize_args / _hash_args ──────────────────────────────────────── |
| MEDIUM | tests/unit/test_doom_loop.py | 96 | # ── extract_recent_tool_signatures ────────────────────────────────────── |
| MEDIUM | tests/unit/test_doom_loop.py | 127 | # ── detect_identical_consecutive ──────────────────────────────────────── |
| MEDIUM | tests/unit/test_doom_loop.py | 167 | # ── detect_repeating_sequence ─────────────────────────────────────────── |
| MEDIUM | tests/unit/test_doom_loop.py | 198 | # ── check_for_doom_loop ───────────────────────────────────────────────── |
| MEDIUM | backend/session_manager.py | 117 | # ── Capacity limits ───────────────────────────────────────────────── |
| MEDIUM | backend/session_manager.py | 709 | # ── Capacity checks ────────────────────────────────────────── |
| MEDIUM | backend/routes/agent.py | 928 | # --------------------------------------------------------------------------- |
| MEDIUM | backend/routes/agent.py | 930 | # --------------------------------------------------------------------------- |
| MEDIUM | agent/main.py | 828 | # ── Slash command helpers ──────────────────────────────────────────────── |
| MEDIUM | agent/tools/sandbox_client.py | 551 | # ── Lifecycle ───────────────────────────────────────────────── |
| MEDIUM | agent/tools/sandbox_client.py | 827 | # ── HTTP plumbing ───────────────────────────────────────────── |
| MEDIUM | agent/tools/sandbox_client.py | 888 | # ── Tools ───────────────────────────────────────────────────── |
| MEDIUM | agent/tools/sandbox_client.py | 968 | # ── Tool schemas & dispatch ─────────────────────────────────── |
| MEDIUM | agent/tools/local_tools.py | 100 | # ── Handlers ──────────────────────────────────────────────────────────── |
| MEDIUM | agent/tools/local_tools.py | 251 | # ── Local tool specs (override sandbox /app references) ──────────────── |
| MEDIUM | agent/tools/docs_tools.py | 51 | # --------------------------------------------------------------------------- |
| MEDIUM | agent/tools/docs_tools.py | 53 | # --------------------------------------------------------------------------- |
| 68 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | backend/session_manager.py | 424 | except Exception as e: |
| LOW | backend/session_manager.py | 82 | except Exception as e: |
| LOW | backend/session_manager.py | 259 | except Exception as e: |
| LOW | backend/session_manager.py | 351 | except Exception as e: |
| LOW | backend/session_manager.py | 478 | except Exception as e: |
| LOW | backend/session_manager.py | 541 | except Exception as e: |
| LOW | backend/session_manager.py | 627 | except Exception as e: |
| LOW | backend/session_manager.py | 781 | except Exception as e: |
| LOW | backend/session_manager.py | 793 | except Exception as e: |
| LOW | backend/session_manager.py | 819 | except Exception as e: |
| LOW | backend/session_manager.py | 833 | except Exception: |
| LOW | backend/session_manager.py | 846 | except Exception as e: |
| LOW | backend/session_manager.py | 887 | except Exception as e: |
| LOW | backend/session_manager.py | 958 | except Exception as e: |
| LOW | backend/session_manager.py | 981 | except Exception as e: |
| LOW | backend/main.py | 40 | except Exception as e: |
| LOW | backend/main.py | 49 | except Exception as e: |
| LOW | backend/main.py | 61 | except Exception as e: |
| LOW | backend/main.py | 63 | except Exception as e: |
| LOW | backend/kpis_scheduler.py | 84 | except Exception as e: |
| LOW | backend/routes/agent.py | 331 | except Exception as e: |
| LOW | backend/routes/agent.py | 421 | except Exception: |
| LOW | backend/routes/agent.py | 426 | except Exception as e: |
| LOW | backend/routes/agent.py | 433 | except Exception: |
| LOW | backend/routes/agent.py | 464 | except Exception: |
| LOW | backend/routes/agent.py | 535 | except Exception as e: |
| LOW | backend/routes/agent.py | 680 | except Exception: |
| LOW | backend/routes/agent.py | 898 | except Exception: |
| LOW | agent/main.py | 86 | except Exception: |
| LOW | agent/main.py | 130 | except Exception: |
| LOW | agent/main.py | 162 | except Exception: |
| LOW | agent/main.py | 170 | except Exception as e: |
| LOW | agent/main.py | 817 | except Exception as e: |
| LOW | agent/main.py | 1105 | except Exception as e: |
| LOW | agent/main.py | 1135 | except Exception as e: |
| LOW | agent/tools/sandbox_client.py | 134 | except Exception: |
| LOW | agent/tools/sandbox_client.py | 362 | except Exception: |
| LOW | agent/tools/sandbox_client.py | 401 | except Exception as e: |
| LOW | agent/tools/sandbox_client.py | 436 | except Exception as e: |
| LOW | agent/tools/sandbox_client.py | 450 | except Exception as e: |
| LOW | agent/tools/sandbox_client.py | 477 | except Exception as e: |
| LOW | agent/tools/sandbox_client.py | 604 | except Exception: |
| LOW | agent/tools/sandbox_client.py | 666 | except Exception as e: |
| LOW | agent/tools/sandbox_client.py | 771 | except Exception as e: |
| LOW | agent/tools/sandbox_client.py | 823 | except Exception as e: |
| LOW | agent/tools/sandbox_client.py | 883 | except Exception as e: |
| LOW | agent/tools/private_hf_repo_tools.py | 93 | except Exception as e: |
| LOW | agent/tools/private_hf_repo_tools.py | 296 | except Exception as e: |
| LOW | agent/tools/private_hf_repo_tools.py | 330 | except Exception as e: |
| LOW | agent/tools/private_hf_repo_tools.py | 399 | except Exception as e: |
| LOW | agent/tools/private_hf_repo_tools.py | 453 | except Exception as e: |
| LOW | agent/tools/private_hf_repo_tools.py | 506 | except Exception as e: |
| LOW | agent/tools/private_hf_repo_tools.py | 579 | except Exception as e: |
| LOW | agent/tools/private_hf_repo_tools.py | 586 | except Exception as e: |
| LOW | agent/tools/private_hf_repo_tools.py | 649 | except Exception as e: |
| LOW | agent/tools/hf_repo_files_tool.py | 74 | except Exception as e: |
| LOW | agent/tools/hf_repo_files_tool.py | 361 | except Exception as e: |
| LOW | agent/tools/local_tools.py | 36 | except Exception: |
| LOW | agent/tools/local_tools.py | 85 | except Exception: |
| LOW | agent/tools/local_tools.py | 135 | except Exception as e: |
| 145 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | backend/session_manager.py | 910 | |
| LOW | backend/main.py | 30 | |
| LOW | backend/routes/agent.py | 312 | |
| LOW | agent/main.py | 328 | |
| LOW | agent/main.py | 889 | |
| LOW | agent/main.py | 1143 | |
| LOW | agent/main.py | 1383 | |
| LOW | agent/tools/sandbox_client.py | 829 | |
| LOW | agent/tools/private_hf_repo_tools.py | 48 | |
| LOW | agent/tools/github_list_repos.py | 15 | |
| LOW | agent/tools/docs_tools.py | 434 | |
| LOW | agent/tools/docs_tools.py | 673 | |
| LOW | agent/tools/sandbox_tool.py | 500 | |
| LOW | agent/tools/github_read_file.py | 20 | |
| LOW | agent/tools/github_read_file.py | 67 | |
| LOW | agent/tools/hf_repo_git_tool.py | 311 | |
| LOW | agent/tools/papers_tool.py | 62 | |
| LOW | agent/tools/papers_tool.py | 141 | |
| LOW | agent/tools/papers_tool.py | 711 | |
| LOW | agent/tools/jobs_tool.py | 340 | |
| LOW | agent/tools/jobs_tool.py | 435 | |
| LOW | agent/tools/jobs_tool.py | 546 | |
| LOW | agent/tools/edit_utils.py | 159 | |
| LOW | agent/tools/research_tool.py | 232 | |
| LOW | agent/core/effort_probe.py | 158 | |
| LOW | agent/core/session_resume.py | 37 | |
| LOW | agent/core/session_resume.py | 168 | |
| LOW | agent/core/tools.py | 70 | |
| LOW | agent/core/agent_loop.py | 740 | |
| LOW | agent/core/agent_loop.py | 851 | |
| LOW | agent/core/agent_loop.py | 2101 | |
| LOW | agent/core/agent_loop.py | 1166 | |
| LOW | agent/core/session.py | 248 | |
| LOW | agent/core/session.py | 503 | |
| LOW | agent/core/doom_loop.py | 59 | |
| LOW | agent/core/cost_estimation.py | 171 | |
| LOW | agent/core/session_uploader.py | 101 | |
| LOW | agent/core/session_uploader.py | 135 | |
| LOW | agent/core/session_uploader.py | 434 | |
| LOW | agent/core/llm_params.py | 149 | |
| LOW | agent/utils/braille.py | 102 | |
| LOW | agent/utils/terminal_display.py | 325 | |
| LOW | agent/utils/terminal_display.py | 346 | |
| LOW | agent/utils/particle_logo.py | 67 | |
| LOW | agent/utils/crt_boot.py | 27 | |
| LOW | agent/sft/tagger.py | 181 | |
| LOW | agent/messaging/gateway.py | 126 | |
| LOW | scripts/build_sft.py | 63 | |
| LOW | scripts/build_kpis.py | 167 | |
| LOW | scripts/build_kpis.py | 228 | |
| LOW | scripts/prioritize_backlog.py | 464 | |
| LOW | scripts/prioritize_backlog.py | 932 | |
| LOW | scripts/prioritize_backlog.py | 1025 |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tests/unit/test_kpis_scheduler.py | 10 | |
| LOW | tests/unit/test_compaction_loop_break.py | 28 | |
| LOW | tests/unit/test_session_manager_persistence.py | 3 | |
| LOW | tests/integration/test_live_thinking_models.py | 9 | |
| LOW | tests/integration/test_live_sandbox_auth.py | 9 | |
| LOW | backend/kpis_scheduler.py | 24 | |
| LOW | agent/__init__.py | 19 | |
| LOW | agent/tools/trackio_seed.py | 21 | |
| LOW | agent/tools/sandbox_client.py | 37 | |
| LOW | agent/tools/local_tools.py | 9 | |
| LOW | agent/tools/__init__.py | 5 | |
| LOW | agent/tools/__init__.py | 5 | |
| LOW | agent/tools/__init__.py | 9 | |
| LOW | agent/tools/__init__.py | 9 | |
| LOW | agent/tools/__init__.py | 13 | |
| LOW | agent/tools/__init__.py | 13 | |
| LOW | agent/tools/__init__.py | 17 | |
| LOW | agent/tools/__init__.py | 17 | |
| LOW | agent/tools/__init__.py | 21 | |
| LOW | agent/tools/__init__.py | 21 | |
| LOW | agent/tools/__init__.py | 21 | |
| LOW | agent/tools/__init__.py | 22 | |
| LOW | agent/tools/__init__.py | 23 | |
| LOW | agent/tools/__init__.py | 23 | |
| LOW | agent/tools/sandbox_tool.py | 12 | |
| LOW | agent/tools/web_search_tool.py | 8 | |
| LOW | agent/tools/edit_utils.py | 8 | |
| LOW | agent/core/effort_probe.py | 21 | |
| LOW | agent/core/session_resume.py | 3 | |
| LOW | agent/core/session_persistence.py | 8 | |
| LOW | agent/core/__init__.py | 6 | |
| LOW | agent/core/__init__.py | 6 | |
| LOW | agent/core/__init__.py | 6 | |
| LOW | agent/core/telemetry.py | 17 | |
| LOW | agent/core/redact.py | 10 | |
| LOW | agent/core/model_switcher.py | 16 | |
| LOW | agent/core/hf_access.py | 9 | |
| LOW | agent/core/hf_tokens.py | 3 | |
| LOW | agent/context_manager/__init__.py | 5 | |
| LOW | agent/sft/tagger.py | 28 | |
| LOW | agent/messaging/__init__.py | 1 | |
| LOW | agent/messaging/__init__.py | 2 | |
| LOW | agent/messaging/__init__.py | 2 | |
| LOW | agent/messaging/__init__.py | 2 | |
| LOW | agent/messaging/__init__.py | 2 | |
| LOW | scripts/build_sft.py | 34 | |
| LOW | scripts/build_kpis.py | 91 |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | tests/unit/test_doom_loop_polling.py | 5 | long-running job with `bash sleep 300 && wc -l output` four times in a |
| HIGH | tests/unit/test_doom_loop_polling.py | 38 | _POLL_ARGS = '{"command": "sleep 300 && ls /app/images/ | wc -l"}' |
| HIGH | tests/unit/test_hub_artifacts.py | 394 | "pip install -q datasets huggingface_hub && python -c " |
| HIGH | agent/tools/sandbox_client.py | 988 | " kill -0 <PID> 2>/dev/null && echo 'running' || echo 'done'\n" |
| HIGH | agent/tools/local_tools.py | 132 | f" kill -0 <PID> 2>/dev/null && echo 'running' || echo 'done'\n" |
| HIGH | agent/tools/local_tools.py | 270 | " kill -0 <PID> 2>/dev/null && echo 'running' || echo 'done'\n" |
| HIGH | agent/core/hub_artifacts.py | 753 | '_ml_intern_artifacts_dir="$(mktemp -d 2>/dev/null)" ' |
| HIGH | agent/core/session_uploader.py | 141 | "uuid":"...","parentUuid":null,"sessionId":"...","timestamp":"..."} |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | backend/start.sh | 12 | # Check if this was a port-in-use failure (another instance already running) |
| LOW | agent/main.py | 546 | # Check if this is Python mode (script) or Docker mode (command) |
| LOW | agent/tools/private_hf_repo_tools.py | 60 | # Check if help is requested |
| LOW | agent/tools/private_hf_repo_tools.py | 179 | ### Check if a repository exists |
| LOW | agent/tools/private_hf_repo_tools.py | 271 | # Check if repo exists |
| LOW | agent/tools/private_hf_repo_tools.py | 355 | # Check if repo already exists |
| LOW | agent/tools/private_hf_repo_tools.py | 547 | # Read file content |
| LOW | agent/tools/github_list_repos.py | 137 | # Check if we got fewer results than requested (last page) |
| LOW | agent/tools/github_read_file.py | 147 | # Check if it's a file |
| LOW | agent/tools/jobs_tool.py | 463 | # Push line to queue thread-safely |
| LOW | agent/tools/github_find_examples.py | 186 | # Check if file is in examples/ directory (highest priority) |
| LOW | agent/tools/github_find_examples.py | 195 | # Check if pattern appears as a directory component in the path |
| LOW | agent/core/tools.py | 258 | # Check if this is a built-in tool with a handler |
| LOW | agent/core/tools.py | 263 | # Check if handler accepts session argument |
| LOW | agent/core/tools.py | 266 | # Check if handler also accepts tool_call_id parameter |
| LOW | agent/core/agent_loop.py | 214 | # Check if this is a CPU-only job |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | agent/tools/private_hf_repo_tools.py | 153 | ### Create a repository |
| MEDIUM | agent/tools/private_hf_repo_tools.py | 165 | ### Create a Space |
| MEDIUM | agent/core/agent_loop.py | 1808 | # Create a map of tool_call_id -> approval decision |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | agent/tools/github_find_examples.py | 311 | # Step 1: Filter files by example patterns (score >= 60) |
| LOW | agent/tools/github_find_examples.py | 326 | # Step 2: If keyword provided, score and filter by keyword |
| LOW | agent/prompts/system_prompt_v2.yaml | 53 | ### Step 1: Create Execution Plan |
| LOW | agent/prompts/system_prompt_v2.yaml | 77 | ### Step 2: Discover & Validate Resources |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | agent/core/session.py | 141 | self.logged_events: list[dict] = [] |