Repository Analysis

ag2ai/ag2

AG2 (formerly AutoGen): The Open-Source AgentOS.Join us at: https://discord.gg/sNGSwQME3x

32.6 Strong AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of ag2ai/ag2, a Python project with 4,765 GitHub stars. SynthScan v2.0 examined 153,877 lines of code across 1022 source files, recording 4414 pattern matches distributed across 21 syntactic categories. The overall adjusted score of 32.6 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).

32.6
Adjusted Score
32.6
Raw Score
100%
Time Factor
2026-07-13
Last Push
4.8K
Stars
Python
Language
153.9K
Lines of Code
1.0K
Files
4.4K
Pattern Hits
2026-07-14
Scan Date
0.03
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 1HIGH 26MEDIUM 178LOW 4209

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 4414 distinct pattern matches across 21 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 Identifiers2762 hits · 3043 pts
SeverityFileLineSnippetContext
LOWtest/test_watch_advanced.py17 async def test_collects_events_in_window(self) -> None:CODE
LOWtest/test_watch_advanced.py53 async def test_ignores_non_matching(self) -> None:CODE
LOWtest/test_watch_advanced.py69 async def test_disarm_cancels_timer(self) -> None:CODE
LOWtest/test_watch_advanced.py86 def test_disarm_resets_armed_flag(self) -> None:CODE
LOWtest/test_watch_advanced.py101async def test_cron_watch_arm_and_disarm() -> None:CODE
LOWtest/test_task.py82 async def test_clean_exit_auto_completes(self) -> None:CODE
LOWtest/test_task.py96 async def test_explicit_complete_records_result(self) -> None:CODE
LOWtest/test_task.py112 async def test_complete_is_idempotent(self) -> None:CODE
LOWtest/test_task.py124 async def test_exception_emits_task_failed_and_propagates(self) -> None:CODE
LOWtest/test_task.py148 async def test_explicit_fail_with_string(self) -> None:CODE
LOWtest/test_task.py165 async def test_progress_accumulates_into_metadata(self) -> None:CODE
LOWtest/test_task.py183 async def test_progress_after_terminal_is_noop(self) -> None:CODE
LOWtest/test_task.py199 async def test_expire_emits_task_expired(self) -> None:CODE
LOWtest/test_task.py216 async def test_events_fire_on_supplied_stream(self) -> None:CODE
LOWtest/test_task.py232 async def test_task_inject_stamped_during_block(self) -> None:CODE
LOWtest/test_task.py244 async def test_nested_tasks_restore_previous(self) -> None:CODE
LOWtest/test_task.py260 async def test_ttl_seconds_populates_expires_at(self) -> None:CODE
LOWtest/test_task.py269 async def test_no_ttl_leaves_expires_at_none(self) -> None:CODE
LOWtest/test_task.py276 def test_state_returns_created(self) -> None:CODE
LOWtest/test_task.py281 def test_task_id_raises_before_entry(self) -> None:CODE
LOWtest/test_task.py287 def test_metadata_raises_before_entry(self) -> None:CODE
LOWtest/test_task.py306 async def test_owner_id_is_agent_name(self) -> None:CODE
LOWtest/test_task.py313 async def test_payload_passed_through(self) -> None:CODE
LOWtest/test_alert_halt.py104 async def test_single_warning_injected(self) -> None:CODE
LOWtest/test_alert_halt.py122 async def test_multiple_severities_formatted(self) -> None:CODE
LOWtest/test_alert_halt.py143 async def test_fatal_emits_halt_event(self) -> None:CODE
LOWtest/test_alert_halt.py170 async def test_mixed_fatal_and_nonfatal(self) -> None:CODE
LOWtest/test_alert_halt.py216 async def test_new_alerts_delivered_after_dedup(self) -> None:CODE
LOWtest/test_alert_halt.py235 async def test_dedup_survives_history_replacement(self) -> None:CODE
LOWtest/test_alert_halt.py255 async def test_multiple_fatals_uses_first_for_halt(self) -> None:CODE
LOWtest/test_alert_halt.py286 async def test_no_halt_passes_through(self) -> None:CODE
LOWtest/test_alert_halt.py298 async def test_halt_short_circuits_second_llm_call(self) -> None:CODE
LOWtest/test_alert_halt.py342 async def test_halt_event_on_stream(self) -> None:CODE
LOWtest/test_alert_halt.py378 async def test_nonfatal_does_not_halt(self) -> None:CODE
LOWtest/test_alert_halt.py411 async def test_concurrent_fatal_from_two_observers(self) -> None:CODE
LOWtest/test_alert_halt.py446 def test_alert_before_reduction_no_warning(self) -> None:CODE
LOWtest/test_alert_halt.py455 def test_reduction_before_alert_warns(self) -> None:CODE
LOWtest/test_compact.py43 async def test_truncates_above_target(self) -> None:CODE
LOWtest/test_compact.py52 async def test_persists_dropped_to_store(self) -> None:CODE
LOWtest/test_compact.py67 async def test_no_persist_without_store(self) -> None:CODE
LOWtest/test_compact.py88 async def test_split_cycle_compacts_whole(self) -> None:CODE
LOWtest/test_compact.py101 async def test_clean_cycle_boundary_kept(self) -> None:CODE
LOWtest/test_compact.py107 async def test_split_second_of_chained_cycles(self) -> None:CODE
LOWtest/test_compact.py115 async def test_split_cycle_persisted_whole(self) -> None:CODE
LOWtest/test_compact.py136 async def test_usage_events_do_not_consume_window(self) -> None:CODE
LOWtest/test_compact.py148 async def test_telemetry_alone_is_no_op(self) -> None:CODE
LOWtest/test_compact.py154 async def test_summarizer_prompt_excludes_telemetry(self) -> None:CODE
LOWtest/test_compact.py168 async def test_usage_events_do_not_advance_trigger(self) -> None:CODE
LOWtest/test_compact.py207 def test_custom_chars_per_token(self) -> None:CODE
LOWtest/test_compact.py217 async def test_fires_when_threshold_crossed(self) -> None:CODE
LOWtest/test_compact.py249 async def test_does_not_fire_below_threshold(self) -> None:CODE
LOWtest/test_compact.py269 async def test_max_tokens_fires_on_large_content(self) -> None:CODE
LOWtest/test_compact.py305 async def test_started_event_fires_before_strategy_runs(self) -> None:CODE
LOWtest/test_compact.py333 async def test_failed_event_fires_when_strategy_raises(self) -> None:CODE
LOWtest/test_watch.py203 def test_requires_at_least_one_trigger(self) -> None:CODE
LOWtest/test_watch.py207 def test_rejects_non_positive_n(self) -> None:CODE
LOWtest/test_watch.py211 def test_rejects_non_positive_max_wait(self) -> None:CODE
LOWtest/test_watch.py216 async def test_count_trigger_cancels_pending_timer(self) -> None:CODE
LOWtest/test_watch.py597 def test_invalid_expression_raises(self) -> None:CODE
LOWtest/test_watch.py602 def test_numeric_dow_sunday_zero(self) -> None:CODE
2702 more matches not shown…
Unused Imports1041 hits · 888 pts
SeverityFileLineSnippetContext
LOWtest/tools/test_local_shell.py8CODE
LOWwebsite/process_notebooks.py9CODE
LOWwebsite/mkdocs/_website/notebook_processor.py5CODE
LOWwebsite/mkdocs/_website/process_notebooks.py9CODE
LOWag2/hitl.py13CODE
LOWag2/textual.py11CODE
LOWag2/__init__.py5CODE
LOWag2/__init__.py7CODE
LOWag2/__init__.py7CODE
LOWag2/__init__.py7CODE
LOWag2/__init__.py7CODE
LOWag2/__init__.py7CODE
LOWag2/__init__.py8CODE
LOWag2/__init__.py8CODE
LOWag2/__init__.py8CODE
LOWag2/__init__.py9CODE
LOWag2/__init__.py9CODE
LOWag2/__init__.py9CODE
LOWag2/__init__.py9CODE
LOWag2/__init__.py9CODE
LOWag2/__init__.py9CODE
LOWag2/__init__.py9CODE
LOWag2/__init__.py18CODE
LOWag2/__init__.py19CODE
LOWag2/__init__.py20CODE
LOWag2/__init__.py21CODE
LOWag2/__init__.py22CODE
LOWag2/__init__.py22CODE
LOWag2/__init__.py22CODE
LOWag2/__init__.py23CODE
LOWag2/__init__.py24CODE
LOWag2/__init__.py25CODE
LOWag2/__init__.py25CODE
LOWag2/__init__.py25CODE
LOWag2/__init__.py26CODE
LOWag2/__init__.py26CODE
LOWag2/__init__.py26CODE
LOWag2/__init__.py27CODE
LOWag2/stream.py14CODE
LOWag2/stream.py17CODE
LOWag2/context.py13CODE
LOWag2/context.py15CODE
LOWag2/context.py17CODE
LOWag2/agent.py78CODE
LOWag2/testing.py16CODE
LOWag2/history.py9CODE
LOWag2/middleware/__init__.py5CODE
LOWag2/middleware/__init__.py5CODE
LOWag2/middleware/__init__.py5CODE
LOWag2/middleware/__init__.py5CODE
LOWag2/middleware/__init__.py5CODE
LOWag2/middleware/__init__.py5CODE
LOWag2/middleware/__init__.py5CODE
LOWag2/middleware/__init__.py5CODE
LOWag2/middleware/__init__.py5CODE
LOWag2/middleware/__init__.py16CODE
LOWag2/middleware/__init__.py16CODE
LOWag2/middleware/__init__.py16CODE
LOWag2/middleware/__init__.py16CODE
LOWag2/middleware/__init__.py16CODE
981 more matches not shown…
Decorative Section Separators150 hits · 468 pts
SeverityFileLineSnippetContext
MEDIUMtest/network/test_observation.py53# ── Skill render unit tests ─────────────────────────────────────────────────COMMENT
MEDIUMtest/network/test_observation.py122# ── Capability index integration tests ──────────────────────────────────────COMMENT
MEDIUMtest/network/test_observation.py206# ── record_observation tests ────────────────────────────────────────────────COMMENT
MEDIUMtest/network/test_observation.py286# ── AgentClient mutation tests ──────────────────────────────────────────────COMMENT
MEDIUMtest/network/test_observation.py330# ── TaskMirror end-to-end via Task lifecycle ────────────────────────────────COMMENT
MEDIUMtest/network/test_observability.py41# ── HubListener ───────────────────────────────────────────────────────────COMMENT
MEDIUMtest/network/test_observability.py170# ── HubArbiter ────────────────────────────────────────────────────────────COMMENT
MEDIUMtest/network/test_observability.py257# ── Audit subscribe ────────────────────────────────────────────────────────COMMENT
MEDIUMtest/network/test_observability.py279# ── Handler exception trap ─────────────────────────────────────────────────COMMENT
MEDIUMtest/network/test_observability.py314# ── Hub.health() ───────────────────────────────────────────────────────────COMMENT
MEDIUMtest/network/test_observability.py350# ── Hub logging ────────────────────────────────────────────────────────────COMMENT
MEDIUMtest/network/test_observability.py387# ── Coverage gap tests ──────────────────────────────────────────────────────COMMENT
MEDIUMtest/network/test_sweeper_and_registry.py80# ── Real-clock expectation sweeper ──────────────────────────────────────────COMMENT
MEDIUMtest/network/test_sweeper_and_registry.py137# ── TransitionRegistry isolation ────────────────────────────────────────────COMMENT
MEDIUMtest/network/test_sweeper_and_registry.py192# ── Cross-tool flow (no LLM — direct FunctionTool invocation) ───────────────COMMENT
MEDIUMtest/network/test_sweeper_and_registry.py279# ── Trust-boundary check ────────────────────────────────────────────────────COMMENT
MEDIUMtest/network/test_expectations.py139# ── Evaluator unit tests ────────────────────────────────────────────────────COMMENT
MEDIUMtest/network/test_expectations.py263# ── Handler integration tests ───────────────────────────────────────────────COMMENT
MEDIUMtest/network/test_expectations.py427# ── Audit log tests for identity changes ────────────────────────────────────COMMENT
MEDIUMtest/network/test_hub_races.py426# ── Lifecycle ───────────────────────────────────────────────────────────────COMMENT
MEDIUMtest/network/test_hub_races.py48# ── Registration races ──────────────────────────────────────────────────────COMMENT
MEDIUMtest/network/test_hub_races.py124# ── Unregister mid-flight ────────────────────────────────────────────────────COMMENT
MEDIUMtest/network/test_hub_races.py195# ── Endpoint binding ────────────────────────────────────────────────────────COMMENT
MEDIUMtest/network/test_hub_races.py230# ── Concurrent post_envelope ────────────────────────────────────────────────COMMENT
MEDIUMtest/network/test_hub_races.py297# ── Channel-state edges ─────────────────────────────────────────────────────COMMENT
MEDIUMtest/network/test_hub_races.py456# ── Outbound-access edge ────────────────────────────────────────────────────COMMENT
MEDIUMtest/network/test_workflow.py109# ── TransitionTarget unit tests ─────────────────────────────────────────────COMMENT
MEDIUMtest/network/test_workflow.py167# ── TransitionGraph serialization ───────────────────────────────────────────COMMENT
MEDIUMtest/network/test_workflow.py271# ── WorkflowAdapter integration tests ───────────────────────────────────────COMMENT
MEDIUMtest/network/test_human_client.py524# ── Helpers ─────────────────────────────────────────────────────────────────COMMENT
MEDIUMtest/network/test_adapter_tools.py39# ── Plugin attaches identity-level tools only ─────────────────────────────COMMENT
MEDIUMtest/network/test_adapter_tools.py56# ── Adapter tools_for ─────────────────────────────────────────────────────COMMENT
MEDIUMtest/network/test_adapter_tools.py141# ── Layer-2 envelope helpers ──────────────────────────────────────────────COMMENT
MEDIUMtest/network/test_adapter_tools.py183# ── channels(open, message=...) seed ──────────────────────────────────────COMMENT
MEDIUMtest/network/test_hub_invariants.py133# ── Fix #1: Hub.unregister disk cleanup ─────────────────────────────────────COMMENT
MEDIUMtest/network/test_hub_invariants.py181# ── Fix #4: Hub.register rejects duplicate name ──────────────────────────────COMMENT
MEDIUMtest/network/test_hub_invariants.py217# ── Fix #2: concurrency caps + inbox limits ──────────────────────────────────COMMENT
MEDIUMtest/network/test_hub_invariants.py371# ── Fix #3 / #5: delegate inbox race + fail-fast on close ────────────────────COMMENT
MEDIUMtest/network/test_hub_invariants.py481# ── Fix #6: expectation dedup keyed by identity ──────────────────────────────COMMENT
MEDIUMtest/network/test_hub_invariants.py555# ── Fix #7: task_mirror idempotent observation ───────────────────────────────COMMENT
MEDIUMtest/network/test_hub_invariants.py598# ── Edge cases the per-fix tests above don't reach ───────────────────────────COMMENT
MEDIUMtest/network/test_tools.py70# ── peers tool ──────────────────────────────────────────────────────────────COMMENT
MEDIUMtest/network/test_tools.py154# ── channels tool ───────────────────────────────────────────────────────────COMMENT
MEDIUMtest/network/test_tools.py193# ── context tool ────────────────────────────────────────────────────────────COMMENT
MEDIUMtest/network/test_tools.py257# ── tasks tool ──────────────────────────────────────────────────────────────COMMENT
MEDIUMtest/network/test_tools.py451# ── Plugin attaches all 6 tools ────────────────────────────────────────────COMMENT
MEDIUMtest/network/test_subclass_surface.py42# ── Subclass on_* hooks ───────────────────────────────────────────────────COMMENT
MEDIUMtest/network/test_subclass_surface.py121# ── Custom sweeper ────────────────────────────────────────────────────────COMMENT
MEDIUMtest/network/test_subclass_surface.py179# ── Audit kinds open set ──────────────────────────────────────────────────COMMENT
MEDIUMtest/network/test_subclass_surface.py201# ── Inbox pressure ────────────────────────────────────────────────────────COMMENT
MEDIUMtest/network/test_subclass_surface.py247# ── Task mirror error escalation ──────────────────────────────────────────COMMENT
MEDIUMtest/network/test_audit_and_lifecycle.py52# ── delegation_depth ────────────────────────────────────────────────────────COMMENT
MEDIUMtest/network/test_audit_and_lifecycle.py118# ── Hydrate with missing adapter ────────────────────────────────────────────COMMENT
MEDIUMtest/network/test_audit_and_lifecycle.py180# ── Sweeper auto_close cross-channel bleed ──────────────────────────────────COMMENT
MEDIUMtest/network/test_audit_and_lifecycle.py245# ── Channel + task lifecycle audit ──────────────────────────────────────────COMMENT
MEDIUMtest/network/test_rule_enforcement.py81# ── Access: outbound_to + inbound_from ──────────────────────────────────────COMMENT
MEDIUMtest/network/test_rule_enforcement.py52# ── parse_duration ──────────────────────────────────────────────────────────COMMENT
MEDIUMtest/network/test_rule_enforcement.py231# ── delegation_depth ────────────────────────────────────────────────────────COMMENT
MEDIUMtest/network/test_rule_enforcement.py274# ── max_concurrent_channels ─────────────────────────────────────────────────COMMENT
MEDIUMtest/network/test_rule_enforcement.py325# ── max_concurrent_tasks (via observe_task) ─────────────────────────────────COMMENT
90 more matches not shown…
Excessive Try-Catch Wrapping118 hits · 134 pts
SeverityFileLineSnippetContext
LOWtest/events/test_tool_events.py37 except Exception as e:CODE
LOWtest/events/test_tool_events.py48 except Exception as e:CODE
LOWwebsite/mkdocs/_website/process_notebooks.py488 except Exception:CODE
LOWwebsite/mkdocs/_website/process_notebooks.py508 except Exception:CODE
MEDIUMwebsite/mkdocs/_website/process_notebooks.py509 print(f"Error: {file_path}")CODE
LOWwebsite/mkdocs/_website/utils.py280 except Exception as e:CODE
MEDIUMwebsite/mkdocs/_website/utils.py281 print(f"Error processing {file_path}: {e}")CODE
MEDIUMwebsite/mkdocs/_website/utils.py290 print(f"Error reading authors file: {e}")CODE
LOWwebsite/mkdocs/_website/utils.py415 except Exception as e:STRING
LOWag2/agent.py1483 except Exception as exc:CODE
LOWag2/agent.py1630 except Exception as e:CODE
LOWag2/agent.py1833 except Exception as exc:CODE
LOWag2/agent.py1969 except Exception as exc:CODE
LOWag2/watch.py220 except Exception:CODE
LOWag2/watch.py254 except Exception:CODE
LOWag2/watch.py470 except Exception:CODE
LOWag2/middleware/builtin/telemetry.py155 except Exception as exc:CODE
LOWag2/middleware/builtin/telemetry.py195 except Exception as exc:CODE
LOWag2/middleware/builtin/telemetry.py254 except Exception as exc:CODE
LOWag2/middleware/builtin/telemetry.py290 except Exception as exc:CODE
LOWag2/tools/subagents/run_task.py136 except Exception as e:CODE
LOWag2/tools/toolkits/mcp_server/toolkit.py153 except Exception as e:CODE
LOWag2/tools/sandbox/filter.py112 except Exception:CODE
LOWag2/tools/final/function_tool.py123 except Exception as e:CODE
LOWag2/tools/skills/skill_search/toolkit.py136 except Exception as e:CODE
LOWag2/tools/skills/skill_search/toolkit.py197 except Exception as e:CODE
LOWag2/tools/skills/skill_search/extractor.py55 except Exception:CODE
LOWag2/a2a/executor.py191 except Exception:CODE
LOWag2/network/task_mirror.py202 except Exception as exc:CODE
LOWag2/network/task_mirror.py213 except Exception as exc:CODE
LOWag2/network/task_mirror.py225 except Exception as exc:CODE
LOWag2/network/task_mirror.py238 except Exception as exc:CODE
LOWag2/network/task_mirror.py247 except Exception as exc:CODE
LOWag2/network/task_mirror.py260 except Exception as exc:CODE
LOWag2/network/task_mirror.py285 except Exception:CODE
LOWag2/network/task_mirror.py296 except Exception:CODE
LOWag2/network/transport/ws.py132 except Exception:CODE
LOWag2/network/transport/ws.py189 except Exception:CODE
LOWag2/network/client/human_client.py167 except Exception:CODE
LOWag2/network/client/handlers.py264 except Exception:CODE
LOWag2/network/client/handlers.py311 except Exception as exc:CODE
LOWag2/network/client/hub_client.py234 except Exception:CODE
LOWag2/network/client/hub_client.py248 except Exception:CODE
LOWag2/network/client/hub_client.py312 except Exception as exc:CODE
LOWag2/network/client/hub_client.py333 except Exception:CODE
LOWag2/network/client/tools/tasks.py103 except Exception as exc:CODE
LOWag2/network/client/tools/tasks.py112 except Exception as exc:CODE
LOWag2/network/client/tools/tasks.py134 except Exception:CODE
LOWag2/network/client/tools/tasks.py146 except Exception:CODE
LOWag2/network/client/tools/tasks.py158 except Exception:CODE
LOWag2/network/client/tools/tasks.py177 except Exception as exc:CODE
LOWag2/network/client/tools/say.py72 except Exception as exc:CODE
LOWag2/network/client/tools/say.py83 except Exception:CODE
LOWag2/network/client/tools/say.py95 except Exception as exc:CODE
LOWag2/network/client/tools/say.py106 except Exception as exc:CODE
LOWag2/network/client/tools/peers.py96 except Exception:CODE
LOWag2/network/client/tools/delegate.py72 except Exception:CODE
LOWag2/network/client/tools/delegate.py94 except Exception as exc:CODE
LOWag2/network/client/tools/delegate.py117 except Exception as exc:CODE
LOWag2/network/client/tools/delegate.py132 except Exception as exc:CODE
58 more matches not shown…
Deep Nesting100 hits · 94 pts
SeverityFileLineSnippetContext
LOWtest/network/test_at_least_once.py660CODE
LOWtest/ag_ui/test_asgi.py42CODE
LOWwebsite/mkdocs/docs.py118CODE
LOWwebsite/mkdocs/_website/notebook_processor.py285CODE
LOWwebsite/mkdocs/_website/notebook_processor.py413CODE
LOWwebsite/mkdocs/_website/process_notebooks.py495CODE
LOWwebsite/mkdocs/_website/generate_mkdocs.py57CODE
LOWwebsite/mkdocs/_website/generate_mkdocs.py368CODE
LOWwebsite/mkdocs/_website/generate_mkdocs.py756CODE
LOWwebsite/mkdocs/_website/generate_mkdocs.py813CODE
LOWwebsite/mkdocs/_website/generate_mkdocs.py86CODE
LOWwebsite/mkdocs/_website/utils.py297CODE
LOWag2/textual.py56CODE
LOWag2/compact.py75CODE
LOWag2/_import_utils.py99CODE
LOWag2/assembly.py93CODE
LOWag2/agent.py1663CODE
LOWag2/agent.py1671CODE
LOWag2/agent.py1914CODE
LOWag2/watch.py416CODE
LOWag2/annotations.py34CODE
LOWag2/annotations.py67CODE
LOWag2/middleware/builtin/telemetry.py231CODE
LOWag2/tools/executor.py55CODE
LOWag2/tools/toolkits/mcp_server/toolkit.py241CODE
LOWag2/tools/sandbox/filter.py84CODE
LOWag2/tools/skills/runtime/local/loader.py146CODE
LOWag2/tools/skills/skill_search/extractor.py18CODE
LOWag2/tools/skills/skill_search/extractor.py62CODE
LOWag2/config/gemini/events.py79CODE
LOWag2/config/gemini/mappers.py93CODE
LOWag2/config/gemini/mappers.py233CODE
LOWag2/config/gemini/gemini_client.py159CODE
LOWag2/config/gemini/gemini_client.py236CODE
LOWag2/config/xai/mappers.py254CODE
LOWag2/config/bedrock/bedrock_client.py211CODE
LOWag2/config/bedrock/mappers.py158CODE
LOWag2/config/bedrock/mappers.py212CODE
LOWag2/config/anthropic/events.py91CODE
LOWag2/config/anthropic/mappers.py104CODE
LOWag2/config/anthropic/mappers.py243CODE
LOWag2/config/anthropic/mappers.py259CODE
LOWag2/config/anthropic/anthropic_client.py214CODE
LOWag2/config/anthropic/anthropic_client.py224CODE
LOWag2/config/anthropic/anthropic_client.py270CODE
LOWag2/config/dashscope/dashscope_client.py94CODE
LOWag2/config/dashscope/dashscope_client.py156CODE
LOWag2/config/dashscope/mappers.py62CODE
LOWag2/config/ollama/mappers.py63CODE
LOWag2/config/zai/zai_client.py197CODE
LOWag2/config/zai/mappers.py176CODE
LOWag2/config/openai/openai_responses_client.py154CODE
LOWag2/config/openai/openai_responses_client.py208CODE
LOWag2/config/openai/events.py83CODE
LOWag2/config/openai/mappers.py111CODE
LOWag2/config/openai/mappers.py279CODE
LOWag2/config/openai/mappers.py399CODE
LOWag2/config/openai/mappers.py516CODE
LOWag2/a2a/client.py526CODE
LOWag2/network/client/handlers.py60CODE
40 more matches not shown…
Cross-File Repetition18 hits · 90 pts
SeverityFileLineSnippetContext
HIGHtest/config/gemini/test_convert_messages.py0json.loads must not crash on empty or none tool call arguments.STRING
HIGHtest/config/anthropic/test_convert_messages.py0json.loads must not crash on empty or none tool call arguments.STRING
HIGHtest/config/ollama/test_convert_messages.py0json.loads must not crash on empty or none tool call arguments.STRING
HIGHtest/config/gemini/test_response_schema_to_api.py0json schema for a primitive/union wrapped in ``{\"data\": ...}`` (default ``embed=true``).STRING
HIGHtest/config/anthropic/test_response_schema_to_api.py0json schema for a primitive/union wrapped in ``{\"data\": ...}`` (default ``embed=true``).STRING
HIGHtest/config/dashscope/test_response_schema_to_api.py0json schema for a primitive/union wrapped in ``{\"data\": ...}`` (default ``embed=true``).STRING
HIGHtest/config/ollama/test_response_schema_to_api.py0json schema for a primitive/union wrapped in ``{\"data\": ...}`` (default ``embed=true``).STRING
HIGHtest/config/openai/test_response_schema_to_api.py0json schema for a primitive/union wrapped in ``{\"data\": ...}`` (default ``embed=true``).STRING
HIGH…config/openai/test_response_schema_to_responses_api.py0json schema for a primitive/union wrapped in ``{\"data\": ...}`` (default ``embed=true``).STRING
HIGHtest/providers/test_network_mixed_provider.py0transfer the conversation to the engineering specialist.STRING
HIGHtest/providers/test_network_cross_process_smoke.py0transfer the conversation to the engineering specialist.STRING
HIGHtest/providers/anthropic/test_workflow_smoke.py0transfer the conversation to the engineering specialist.STRING
HIGHtest/providers/gemini/test_gemini_integration.py0a follow-up question after an empty-args tool call must not crash.STRING
HIGHtest/providers/anthropic/test_anthropic_integration.py0a follow-up question after an empty-args tool call must not crash.STRING
HIGHtest/providers/openai/test_openai_integration.py0a follow-up question after an empty-args tool call must not crash.STRING
HIGHtest/providers/gemini/test_gemini_integration.py0discover available agents, optionally filtered by capability.STRING
HIGHtest/providers/anthropic/test_anthropic_integration.py0discover available agents, optionally filtered by capability.STRING
HIGHtest/providers/openai/test_openai_integration.py0discover available agents, optionally filtered by capability.STRING
Over-Commented Block63 hits · 62 pts
SeverityFileLineSnippetContext
LOWjog.yaml21# Note: The agent starts from the assumption that documentation is correct unless it finds clear evidence otherwise.COMMENT
LOWtest/__init__.py1# Copyright (c) 2026, AG2ai, Inc., AG2ai open-source projects maintainers and core contributorsCOMMENT
LOWtest/middleware/__init__.py1# Copyright (c) 2026, AG2ai, Inc., AG2ai open-source projects maintainers and core contributorsCOMMENT
LOWtest/middleware/builtins/__init__.py1# Copyright (c) 2026, AG2ai, Inc., AG2ai open-source projects maintainers and core contributorsCOMMENT
LOWtest/test_plugin/__init__.py1# Copyright (c) 2026, AG2ai, Inc., AG2ai open-source projects maintainers and core contributorsCOMMENT
LOWtest/tools/__init__.py1# Copyright (c) 2026, AG2ai, Inc., AG2ai open-source projects maintainers and core contributorsCOMMENT
LOWtest/tools/search/__init__.py1# Copyright (c) 2026, AG2ai, Inc., AG2ai open-source projects maintainers and core contributorsCOMMENT
LOWtest/tools/sandbox/__init__.py1# Copyright (c) 2026, AG2ai, Inc., AG2ai open-source projects maintainers and core contributorsCOMMENT
LOWtest/tools/sandbox/adapter/__init__.py1# Copyright (c) 2026, AG2ai, Inc., AG2ai open-source projects maintainers and core contributorsCOMMENT
LOWtest/tools/skills/__init__.py1# Copyright (c) 2026, AG2ai, Inc., AG2ai open-source projects maintainers and core contributorsCOMMENT
LOWtest/dynamic/__init__.py1# Copyright (c) 2026, AG2ai, Inc., AG2ai open-source projects maintainers and core contributorsCOMMENT
LOWtest/response/__init__.py1# Copyright (c) 2026, AG2ai, Inc., AG2ai open-source projects maintainers and core contributorsCOMMENT
LOWtest/config/__init__.py1# Copyright (c) 2026, AG2ai, Inc., AG2ai open-source projects maintainers and core contributorsCOMMENT
LOWtest/config/gemini/tools/__init__.py1# Copyright (c) 2026, AG2ai, Inc., AG2ai open-source projects maintainers and core contributorsCOMMENT
LOWtest/config/xai/tools/__init__.py1# Copyright (c) 2026, AG2ai, Inc., AG2ai open-source projects maintainers and core contributorsCOMMENT
LOWtest/config/bedrock/tools/__init__.py1# Copyright (c) 2026, AG2ai, Inc., AG2ai open-source projects maintainers and core contributorsCOMMENT
LOWtest/config/anthropic/tools/__init__.py1# Copyright (c) 2026, AG2ai, Inc., AG2ai open-source projects maintainers and core contributorsCOMMENT
LOWtest/config/anthropic/tools/test_shell.py1# Copyright (c) 2026, AG2ai, Inc., AG2ai open-source projects maintainers and core contributorsCOMMENT
LOWtest/config/dashscope/tools/__init__.py1# Copyright (c) 2026, AG2ai, Inc., AG2ai open-source projects maintainers and core contributorsCOMMENT
LOWtest/config/ollama/tools/__init__.py1# Copyright (c) 2026, AG2ai, Inc., AG2ai open-source projects maintainers and core contributorsCOMMENT
LOWtest/config/zai/tools/__init__.py1# Copyright (c) 2026, AG2ai, Inc., AG2ai open-source projects maintainers and core contributorsCOMMENT
LOWtest/config/openai/tools/__init__.py1# Copyright (c) 2026, AG2ai, Inc., AG2ai open-source projects maintainers and core contributorsCOMMENT
LOWtest/providers/__init__.py1# Copyright (c) 2026, AG2ai, Inc., AG2ai open-source projects maintainers and core contributorsCOMMENT
LOWtest/providers/agent/__init__.py1# Copyright (c) 2026, AG2ai, Inc., AG2ai open-source projects maintainers and core contributorsCOMMENT
LOWtest/stream/__init__.py1# Copyright (c) 2026, AG2ai, Inc., AG2ai open-source projects maintainers and core contributorsCOMMENT
LOWtest/network/__init__.py1# Copyright (c) 2026, AG2ai, Inc., AG2ai open-source projects maintainers and core contributorsCOMMENT
LOWtest/spec/__init__.py1# Copyright (c) 2026, AG2ai, Inc., AG2ai open-source projects maintainers and core contributorsCOMMENT
LOWtest/observer/__init__.py1# Copyright (c) 2026, AG2ai, Inc., AG2ai open-source projects maintainers and core contributorsCOMMENT
LOWtest/a2ui/__init__.py1# Copyright (c) 2026, AG2ai, Inc., AG2ai open-source projects maintainers and core contributorsCOMMENT
LOWtest/a2ui/a2a/__init__.py1# Copyright (c) 2026, AG2ai, Inc., AG2ai open-source projects maintainers and core contributorsCOMMENT
LOWtest/a2ui/transports/__init__.py1# Copyright (c) 2026, AG2ai, Inc., AG2ai open-source projects maintainers and core contributorsCOMMENT
LOWtest/agent/__init__.py1# Copyright (c) 2026, AG2ai, Inc., AG2ai open-source projects maintainers and core contributorsCOMMENT
LOWtest/policies/__init__.py1# Copyright (c) 2026, AG2ai, Inc., AG2ai open-source projects maintainers and core contributorsCOMMENT
LOWtest/extensions/__init__.py1# Copyright (c) 2026, AG2ai, Inc., AG2ai open-source projects maintainers and core contributorsCOMMENT
LOWtest/extensions/tools/__init__.py1# Copyright (c) 2026, AG2ai, Inc., AG2ai open-source projects maintainers and core contributorsCOMMENT
LOWtest/extensions/tools/search/__init__.py1# Copyright (c) 2026, AG2ai, Inc., AG2ai open-source projects maintainers and core contributorsCOMMENT
LOWtest/knowledge/__init__.py1# Copyright (c) 2026, AG2ai, Inc., AG2ai open-source projects maintainers and core contributorsCOMMENT
LOWtest/live/__init__.py1# Copyright (c) 2026, AG2ai, Inc., AG2ai open-source projects maintainers and core contributorsCOMMENT
LOWtest/orchestration/__init__.py1# Copyright (c) 2026, AG2ai, Inc., AG2ai open-source projects maintainers and core contributorsCOMMENT
LOWtest/files/__init__.py1# Copyright (c) 2026, AG2ai, Inc., AG2ai open-source projects maintainers and core contributorsCOMMENT
LOWtest/eval/__init__.py1# Copyright (c) 2026, AG2ai, Inc., AG2ai open-source projects maintainers and core contributorsCOMMENT
LOWtest/eval/dataset/__init__.py1# Copyright (c) 2026, AG2ai, Inc., AG2ai open-source projects maintainers and core contributorsCOMMENT
LOWtest/eval/runtime/__init__.py1# Copyright (c) 2026, AG2ai, Inc., AG2ai open-source projects maintainers and core contributorsCOMMENT
LOWtest/eval/scorers/__init__.py1# Copyright (c) 2026, AG2ai, Inc., AG2ai open-source projects maintainers and core contributorsCOMMENT
LOWtest/eval/results/__init__.py1# Copyright (c) 2026, AG2ai, Inc., AG2ai open-source projects maintainers and core contributorsCOMMENT
LOWtest/eval/sources/__init__.py1# Copyright (c) 2026, AG2ai, Inc., AG2ai open-source projects maintainers and core contributorsCOMMENT
LOWtest/events/__init__.py1# Copyright (c) 2026, AG2ai, Inc., AG2ai open-source projects maintainers and core contributorsCOMMENT
LOWwebsite/mkdocs/docs.py181 return NoneCOMMENT
LOWwebsite/mkdocs/docs.py201# output_markdown_path=CONTRIBUTING_PATH,COMMENT
LOWwebsite/mkdocs/_website/process_notebooks.py121 # - Captures the content inside the callout.COMMENT
LOWwebsite/mkdocs/_website/process_notebooks.py261 repo_root = Path(__file__).resolve().parents[3]COMMENT
LOWwebsite/mkdocs/_website/process_notebooks.py421COMMENT
LOWwebsite/mkdocs/_website/__init__.py1# Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributorsCOMMENT
LOWag2/a2a/executor.py81 returnCOMMENT
LOWag2/network/envelope.py41# Fixed set; new names are added in code, not at runtime. User-defined eventCOMMENT
LOWag2/network/client/human_client.py81 # Push callbacks. Run in registration order; exceptions areCOMMENT
LOWag2/network/client/handlers.py361 if event_type.startswith("ag2.channel.") or event_type.startswith("ag2.task."):COMMENT
LOWag2/network/hub/core.py281 # when the same task receives multiple terminal events (e.g. aCOMMENT
LOWag2/network/hub/core.py301 # strictly above ``max(channel_cursor, since_envelope_id)``.COMMENT
LOWag2/network/hub/core.py321 # ship in the framework; tenants register their own.COMMENT
3 more matches not shown…
AI Structural Patterns66 hits · 58 pts
SeverityFileLineSnippetContext
LOWwebsite/mkdocs/_website/generate_mkdocs.py132CODE
LOWwebsite/mkdocs/_website/generate_mkdocs.py959CODE
LOWag2/spec.py82CODE
LOWag2/agent.py199CODE
LOWag2/agent.py214CODE
LOWag2/agent.py229CODE
LOWag2/agent.py244CODE
LOWag2/agent.py257CODE
LOWag2/agent.py294CODE
LOWag2/agent.py309CODE
LOWag2/agent.py324CODE
LOWag2/agent.py339CODE
LOWag2/agent.py352CODE
LOWag2/agent.py607CODE
LOWag2/agent.py627CODE
LOWag2/agent.py647CODE
LOWag2/agent.py667CODE
LOWag2/agent.py686CODE
LOWag2/agent.py814CODE
LOWag2/agent.py830CODE
LOWag2/agent.py847CODE
LOWag2/agent.py864CODE
LOWag2/agent.py879CODE
LOWag2/agent.py911CODE
LOWag2/agent.py927CODE
LOWag2/agent.py944CODE
LOWag2/agent.py961CODE
LOWag2/agent.py976CODE
LOWag2/agent.py1080CODE
LOWag2/tools/shell/tool.py67CODE
LOWag2/tools/search/tavily.py47CODE
LOWag2/tools/search/perplexity.py113CODE
LOWag2/tools/search/perplexity.py177CODE
LOWag2/config/gemini/gemini_client.py76CODE
LOWag2/config/bedrock/bedrock_client.py55CODE
LOWag2/config/anthropic/anthropic_client.py62CODE
LOWag2/config/zai/zai_client.py82CODE
LOWag2/config/openai/openai_responses_client.py73CODE
LOWag2/config/openai/containers.py56CODE
LOWag2/config/openai/openai_client.py70CODE
LOWag2/a2a/tasks.py74CODE
LOWag2/a2a/client.py153CODE
LOWag2/a2a/card.py30CODE
LOWag2/a2a/transports/rest.py27CODE
LOWag2/a2a/transports/jsonrpc.py27CODE
LOWag2/a2a/mappers/messages.py62CODE
LOWag2/network/client/tools/tasks.py66CODE
LOWag2/network/client/tools/context.py46CODE
LOWag2/network/client/tools/channels.py62CODE
LOWag2/a2ui/server.py51CODE
LOWag2/a2ui/_runtime.py40CODE
LOWag2/a2ui/a2a/executor.py83CODE
LOWag2/mcp/server.py129CODE
LOWag2/extensions/tools/search/exa.py124CODE
LOWag2/extensions/tools/search/exa.py204CODE
LOWag2/extensions/tools/search/tinyfish.py122CODE
LOWag2/extensions/docker/sandbox.py39CODE
LOWag2/extensions/docker/environment.py46CODE
LOWag2/extensions/daytona/environment.py65CODE
LOWag2/ag_ui/stream.py80CODE
6 more matches not shown…
Modern Structural Boilerplate50 hits · 50 pts
SeverityFileLineSnippetContext
LOWwebsite/mkdocs/docs.py177def update_readme() -> None:CODE
LOWag2/_import_utils.py20__all__ = [CODE
LOWag2/context.py20logger = logging.getLogger(__name__)CODE
LOWag2/agent.py92logger = logging.getLogger(__name__)CODE
LOWag2/watch.py27logger = logging.getLogger(__name__)CODE
LOWag2/history.py19 async def set_history(self, stream_id: "StreamId", events: Iterable[BaseEvent]) -> None: ...CODE
LOWag2/history.py34 async def set_history(self, stream_id: "StreamId", events: Iterable["BaseEvent"]) -> None:CODE
LOWag2/tools/skills/runtime/local/loader.py15logger = logging.getLogger(__name__)CODE
LOWag2/config/xai/xai_client.py42__all__ = ["CreateOptions", "IncludeOption", "ReasoningEffort", "XAIClient"]CODE
LOWag2/config/bedrock/mappers.py33logger = logging.getLogger(__name__)CODE
LOWag2/config/anthropic/mappers.py31logger = logging.getLogger(__name__)CODE
LOWag2/a2a/mappers/__init__.py32__all__ = [CODE
LOWag2/streams/redis/storage.py41 async def set_history(self, stream_id: StreamId, events: Iterable[BaseEvent]) -> None:CODE
LOWag2/network/task_mirror.py40logger = logging.getLogger(__name__)CODE
LOWag2/network/workflow_helpers.py43async def set_context(channel: Channel, key: str, value: Any) -> None:CODE
LOWag2/network/transport/ws.py48logger = logging.getLogger(__name__)CODE
LOWag2/network/client/agent_client.py318 async def set_resume(self, resume: Resume) -> None:CODE
LOWag2/network/client/agent_client.py334 async def set_skill(self, skill_md: str | None) -> None:CODE
LOWag2/network/client/agent_client.py337 async def set_rule(self, rule: Rule) -> None:CODE
LOWag2/network/client/human_client.py47logger = logging.getLogger(__name__)CODE
LOWag2/network/client/handlers.py53logger = logging.getLogger(__name__)CODE
LOWag2/network/client/hub_client.py73logger = logging.getLogger(__name__)CODE
LOWag2/network/client/hub_client.py742 async def set_resume(self, agent_id: str, resume: Resume) -> None:CODE
LOWag2/network/client/hub_client.py748 async def set_skill(self, agent_id: str, skill_md: str | None) -> None:CODE
LOWag2/network/client/hub_client.py754 async def set_rule(self, agent_id: str, rule: Rule) -> None:CODE
LOWag2/network/hub/audit.py56logger = logging.getLogger(__name__)CODE
LOWag2/network/hub/telemetry.py84logger = logging.getLogger(__name__)CODE
LOWag2/network/hub/core.py137logger = logging.getLogger(__name__)CODE
LOWag2/network/hub/core.py1258 async def set_resume(self, agent_id: str, resume: Resume) -> None:CODE
LOWag2/network/hub/core.py1299 async def set_skill(self, agent_id: str, skill_md: str | None) -> None:CODE
LOWag2/network/hub/core.py1315 async def set_rule(self, agent_id: str, rule: Rule) -> None:CODE
LOWag2/a2ui/server_action.py41logger = logging.getLogger(__name__)CODE
LOWag2/a2ui/request.py23logger = logging.getLogger(__name__)CODE
LOWag2/a2ui/parser.py20logger = logging.getLogger(__name__)CODE
LOWag2/a2ui/capabilities.py18logger = logging.getLogger(__name__)CODE
LOWag2/a2ui/incoming.py17logger = logging.getLogger(__name__)CODE
LOWag2/a2ui/middleware.py22logger = logging.getLogger(__name__)CODE
LOWag2/a2ui/a2a/executor.py46logger = logging.getLogger(__name__)CODE
LOWag2/a2ui/transports/rest.py29logger = logging.getLogger(__name__)CODE
LOWag2/a2ui/transports/ag_ui.py51logger = logging.getLogger(__name__)CODE
LOWag2/extensions/docker/sandbox.py22logger = logging.getLogger(__name__)CODE
LOWag2/extensions/daytona/sandbox.py24logger = logging.getLogger(__name__)CODE
LOWag2/extensions/nlip/server.py16logger = logging.getLogger(__name__)CODE
LOWag2/extensions/nlip/mappers.py344__all__ = [CODE
LOWag2/knowledge/__init__.py38__all__ = [CODE
LOWag2/eval/pairwise.py52logger = logging.getLogger(__name__)CODE
LOWag2/eval/scorer.py58logger = logging.getLogger(__name__)CODE
LOWag2/eval/runtime/evaluate.py46logger = logging.getLogger(__name__)CODE
LOWag2/eval/sources/_spans.py85logger = logging.getLogger(__name__)CODE
LOWag2/acp/__init__.py13__all__ = ["ACPConfig", "ClaudeCodeConfig", "CodexConfig", "OpenCodeConfig"]CODE
Cross-Language Confusion3 hits · 26 pts
SeverityFileLineSnippetContext
HIGHtest/tools/test_local_shell.py206 cmd = f"sleep 5 && echo ok > {output_file}"CODE
HIGHtest/tools/sandbox/test_local_sandbox.py22 result = await sandbox.exec(["sh", "-c", "echo hello && echo world"])CODE
HIGHtest/a2ui/test_actions.py57 # Optional[str] (anyOf with null) resolves to the non-null branch;COMMENT
Docstring Block Structure5 hits · 25 pts
SeverityFileLineSnippetContext
HIGHag2/_import_utils.py100Parse a string to create a ModuleInfo object Args: module_info (str): A string containing the modulSTRING
HIGHag2/tools/skills/skill_search/client.py75Download a skill via the GitHub Tarball API and install it via *runtime*. Args: source: ``"owner/STRING
HIGHag2/a2ui/dispatch.py57Execute one turn and yield its prose then A2UI message frames. Server-side actions are handled first and never invoSTRING
HIGHag2/a2ui/request.py59Parse a raw request body into an :class:`A2UIServerRequest`. Args: body: The raw JSON request body (bytes/sSTRING
HIGHag2/eval/runtime/runner.py75Run an evaluation suite end-to-end. The given :class:`~ag2.Agent` is run once per task with a :class:`~ag2.middSTRING
Self-Referential Comments7 hits · 21 pts
SeverityFileLineSnippetContext
MEDIUMtest/ag_ui/test_adapter.py304 # Create a message with both backend and frontend tool callsCOMMENT
MEDIUMwebsite/mkdocs/_website/process_notebooks.py304 # Create the front matter metadata js file for examples by notebook sectionCOMMENT
MEDIUMwebsite/mkdocs/_website/generate_mkdocs.py719 # Create the target posts directoryCOMMENT
MEDIUMwebsite/mkdocs/_website/generate_mkdocs.py722 # Create the index file in the target blog directoryCOMMENT
MEDIUMwebsite/mkdocs/_website/generate_mkdocs.py908 # Create the MkDocs admonitionCOMMENT
MEDIUMwebsite/mkdocs/_website/generate_mkdocs.py1052 # Create the front matter metadata js file for examples by notebook sectionCOMMENT
MEDIUMag2/textual.py69 # Create a buffer block for assistant streamingCOMMENT
Modern AI Meta-Vocabulary8 hits · 18 pts
SeverityFileLineSnippetContext
MEDIUMannouncements.md9🎉 May 29, 2024: DeepLearning.ai launched a new short course [AI Agentic Design Patterns with AutoGen](https://www.deepleCODE
MEDIUMannouncements.md17🎉 Apr 17, 2024: Andrew Ng cited AutoGen in [The Batch newsletter](https://www.deeplearning.ai/the-batch/issue-245/) and CODE
MEDIUMREADME.md66 - [Orchestrating Multiple Agents](#orchestrating-multiple-agents)CODE
MEDIUMREADME.md69 - [Advanced agentic design patterns](#advanced-agentic-design-patterns)CODE
MEDIUMREADME.md382### Advanced agentic design patternsCOMMENT
MEDIUMREADME.md401🎉 May 29, 2024: DeepLearning.ai launched a new short course [AI Agentic Design Patterns with AutoGen](https://www.deepleCODE
MEDIUMREADME.md405🎉 Apr 17, 2024: Andrew Ng cited AutoGen in [The Batch newsletter](https://www.deeplearning.ai/the-batch/issue-245/) and CODE
MEDIUM.github/review/TRIAGE_AI_TASKS.md11## Global guardrailsCOMMENT
Hallucination Indicators1 hit · 15 pts
SeverityFileLineSnippetContext
CRITICALtest/extensions/tools/search/test_tinyfish.py244 assert set(route.calls.last.request.url.params.keys()) == {"query"}CODE
Redundant / Tautological Comments8 hits · 12 pts
SeverityFileLineSnippetContext
LOWwebsite/mkdocs/expand_markdown.py26 # Check if lines_spec is empty (indicating all lines should be read)COMMENT
LOWwebsite/mkdocs/expand_markdown.py72 # Check if the line does not contain the "{!>" patternCOMMENT
LOWwebsite/mkdocs/_website/notebook_processor.py340 # Check if another file has to be copied tooCOMMENT
LOWwebsite/mkdocs/_website/generate_mkdocs.py237 # Check if the path already has a file extensionCOMMENT
LOWwebsite/mkdocs/_website/generate_mkdocs.py692 # Check if the path starts with /snippets/COMMENT
LOWwebsite/mkdocs/_website/generate_mkdocs.py702 # Read the file contentCOMMENT
LOWwebsite/mkdocs/_website/generate_mkdocs.py789 # Open file in append modeCOMMENT
LOWscripts/test-llm.sh17 MARK="$2" # Set MARK to the provided valueCODE
Fake / Example Data6 hits · 6 pts
SeverityFileLineSnippetContext
LOWtest/a2ui/a2a/test_a2a_executor.py42 "context": {"email": "user@example.com"},CODE
LOWtest/a2ui/a2a/test_a2a_executor.py154 assert clicked == ["user@example.com"]CODE
LOWtest/a2ui/a2a/test_a2a_executor.py172 assert "user@example.com" not in synthesizedCODE
LOWtest/a2ui/a2a/test_a2a_executor.py202 assert recorder.emails == ["user@example.com"]CODE
LOWtest/a2ui/a2a/test_a2a_executor.py217 assert "user@example.com" in synthesizedCODE
LOWag2/a2ui/v1_0/spec/basic_catalog.json644 "placeholder": {CODE
AI Slop Vocabulary2 hits · 4 pts
SeverityFileLineSnippetContext
MEDIUMag2/agent.py753 # Assembly policies (empty by default; bare Agent has no harness).COMMENT
LOWag2/network/adapters/workflow.py222 # the same packet just set (atomic state-update + speaker-COMMENT
Verbosity Indicators2 hits · 3 pts
SeverityFileLineSnippetContext
LOWwebsite/mkdocs/_website/generate_mkdocs.py469 # Step 1: First copy mdx files to destination as md filesCOMMENT
LOWwebsite/mkdocs/_website/generate_mkdocs.py486 # Step 2: Process the MD files we createdCOMMENT
Structural Annotation Overuse2 hits · 3 pts
SeverityFileLineSnippetContext
LOWwebsite/mkdocs/_website/generate_mkdocs.py469 # Step 1: First copy mdx files to destination as md filesCOMMENT
LOWwebsite/mkdocs/_website/generate_mkdocs.py486 # Step 2: Process the MD files we createdCOMMENT
Dead Code1 hit · 2 pts
SeverityFileLineSnippetContext
MEDIUMtest/a2a/test_reconnect.py177CODE
Overly Generic Function Names1 hit · 1 pts
SeverityFileLineSnippetContext
LOWag2/tools/subagents/run_task.py50async def run_task(CODE