Repository Analysis

Agenta-AI/agenta

The open-source LLMOps platform: prompt playground, prompt management, LLM evaluation, and LLM observability all in one place.

16.3 Moderate AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of Agenta-AI/agenta, a TypeScript project with 4,291 GitHub stars. SynthScan v2.0 examined 1,039,811 lines of code across 6710 source files, recording 10641 pattern matches distributed across 27 syntactic categories. The overall adjusted score of 16.3 places this repository in the Moderate 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).

16.3
Adjusted Score
16.3
Raw Score
100%
Time Factor
2026-07-14
Last Push
4.3K
Stars
TypeScript
Language
1.0M
Lines of Code
6.7K
Files
10.6K
Pattern Hits
2026-07-14
Scan Date
0.15
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

Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.

No multi-scan history yet — run the scanner again to build trend data.

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 982MEDIUM 2491LOW 7166

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 10641 distinct pattern matches across 27 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.

Decorative Section Separators2400 hits · 8014 pts
SeverityFileLineSnippetContext
MEDIUM.gitleaks.toml21 # ----------------------------------------------------------------------------COMMENT
MEDIUM.gitleaks.toml35 # ----------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/run-tests.py201 # ----------------------------------------------------------------------COMMENT
MEDIUMsdks/python/run-tests.py205 # ----------------------------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/decorators/routing.py32# ---------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/decorators/routing.py35# ---------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/decorators/routing.py52# ---------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/decorators/routing.py54# ---------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/decorators/routing.py78# ---------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/decorators/routing.py80# ---------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/decorators/routing.py96# ---------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/decorators/routing.py98# ---------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/decorators/routing.py141# ---------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/decorators/routing.py143# ---------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/decorators/routing.py358# ---------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/decorators/routing.py360# ---------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/decorators/routing.py397 # ------------------------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/decorators/routing.py399 # ------------------------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/decorators/routing.py492 # ------------------------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/decorators/routing.py495 # ------------------------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/decorators/routing.py511 # ------------------------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/decorators/routing.py517 # ------------------------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/utils/types.py272# -----------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/utils/types.py274# -----------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/models/evaluations.py15# ------------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/models/workflows.py537# ------------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/engines/running/handlers.py400 # --------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/engines/running/handlers.py412 # --------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/engines/running/handlers.py1064 # --------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/engines/running/handlers.py1367 # --------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/engines/running/handlers.py1383 # --------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/engines/running/handlers.py1459 # --------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/engines/running/handlers.py1469 # --------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/engines/running/handlers.py1647 # --------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/engines/running/handlers.py1660 # --------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/engines/running/handlers.py3578# ---------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/engines/running/handlers.py3580# ---------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/engines/running/handlers.py348 # --------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/engines/running/handlers.py356 # --------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/engines/running/handlers.py471 # --------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/engines/running/handlers.py473 # --------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/engines/running/handlers.py593 # --------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/engines/running/handlers.py611 # --------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/engines/running/handlers.py674 # --------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/engines/running/handlers.py714 # --------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/engines/running/handlers.py1126 # --------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/engines/running/handlers.py1132 # --------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/engines/running/handlers.py1174 # --------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/engines/running/handlers.py1180 # --------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/engines/running/handlers.py1222 # --------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/engines/running/handlers.py1228 # --------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/engines/running/handlers.py1279 # --------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/engines/running/handlers.py1285 # --------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/engines/running/handlers.py1336 # --------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/engines/running/handlers.py1342 # --------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/engines/running/handlers.py1544 # --------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/engines/running/handlers.py1572 # --------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/engines/running/handlers.py1751 # --------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/engines/running/handlers.py1776 # --------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/engines/running/handlers.py2962# ---------------------------------------------------------------------------COMMENT
2340 more matches not shown…
Hyper-Verbose Identifiers3783 hits · 3482 pts
SeverityFileLineSnippetContext
LOWclients/python/check_deps.py62def load_pyproject_constraints() -> dict[str, str]:CODE
LOWclients/python/agenta_client/organizations/client.py34 def list_organization_domains(self, *, request_options: typing.Optional[RequestOptions] = None) -> typing.List[OrganCODE
LOWclients/python/agenta_client/organizations/client.py60 def create_organization_domain(self, *, domain: str, name: typing.Optional[str] = OMIT, description: typing.OptionalCODE
LOWclients/python/agenta_client/organizations/client.py101 def verify_organization_domain(self, *, domain_id: str, request_options: typing.Optional[RequestOptions] = None) -> CODE
LOWclients/python/agenta_client/organizations/client.py134 def refresh_organization_domain_token(self, domain_id: str, *, request_options: typing.Optional[RequestOptions] = NoCODE
LOWclients/python/agenta_client/organizations/client.py167 def reset_organization_domain(self, domain_id: str, *, request_options: typing.Optional[RequestOptions] = None) -> OCODE
LOWclients/python/agenta_client/organizations/client.py200 def delete_organization_domain(self, domain_id: str, *, request_options: typing.Optional[RequestOptions] = None) -> CODE
LOWclients/python/agenta_client/organizations/client.py229 def list_organization_providers(self, *, request_options: typing.Optional[RequestOptions] = None) -> typing.List[OrgCODE
LOWclients/python/agenta_client/organizations/client.py255 def create_organization_provider(self, *, slug: str, settings: typing.Dict[str, typing.Any], name: typing.Optional[sCODE
LOWclients/python/agenta_client/organizations/client.py298 def delete_organization_provider(self, provider_id: str, *, request_options: typing.Optional[RequestOptions] = None)CODE
LOWclients/python/agenta_client/organizations/client.py327 def update_organization_provider(self, provider_id: str, *, slug: typing.Optional[str] = OMIT, name: typing.OptionalCODE
LOWclients/python/agenta_client/organizations/client.py367 def test_organization_provider(self, provider_id: str, *, request_options: typing.Optional[RequestOptions] = None) -CODE
LOWclients/python/agenta_client/organizations/client.py402 def fetch_organization_details(self, organization_id: str, *, request_options: typing.Optional[RequestOptions] = NonCODE
LOWclients/python/agenta_client/organizations/client.py609 def transfer_organization_ownership(self, organization_id: str, new_owner_id: str, *, request_options: typing.OptionCODE
LOWclients/python/agenta_client/organizations/client.py864 async def list_organization_domains(self, *, request_options: typing.Optional[RequestOptions] = None) -> typing.ListCODE
LOWclients/python/agenta_client/organizations/client.py898 async def create_organization_domain(self, *, domain: str, name: typing.Optional[str] = OMIT, description: typing.OpCODE
LOWclients/python/agenta_client/organizations/client.py947 async def verify_organization_domain(self, *, domain_id: str, request_options: typing.Optional[RequestOptions] = NonCODE
LOWclients/python/agenta_client/organizations/client.py988 async def refresh_organization_domain_token(self, domain_id: str, *, request_options: typing.Optional[RequestOptionsCODE
LOWclients/python/agenta_client/organizations/client.py1029 async def reset_organization_domain(self, domain_id: str, *, request_options: typing.Optional[RequestOptions] = NoneCODE
LOWclients/python/agenta_client/organizations/client.py1070 async def delete_organization_domain(self, domain_id: str, *, request_options: typing.Optional[RequestOptions] = NonCODE
LOWclients/python/agenta_client/organizations/client.py1107 async def list_organization_providers(self, *, request_options: typing.Optional[RequestOptions] = None) -> typing.LiCODE
LOWclients/python/agenta_client/organizations/client.py1141 async def create_organization_provider(self, *, slug: str, settings: typing.Dict[str, typing.Any], name: typing.OptiCODE
LOWclients/python/agenta_client/organizations/client.py1192 async def delete_organization_provider(self, provider_id: str, *, request_options: typing.Optional[RequestOptions] =CODE
LOWclients/python/agenta_client/organizations/client.py1229 async def update_organization_provider(self, provider_id: str, *, slug: typing.Optional[str] = OMIT, name: typing.OpCODE
LOWclients/python/agenta_client/organizations/client.py1277 async def test_organization_provider(self, provider_id: str, *, request_options: typing.Optional[RequestOptions] = NCODE
LOWclients/python/agenta_client/organizations/client.py1320 async def fetch_organization_details(self, organization_id: str, *, request_options: typing.Optional[RequestOptions]CODE
LOWclients/python/agenta_client/organizations/client.py1575 async def transfer_organization_ownership(self, organization_id: str, new_owner_id: str, *, request_options: typing.CODE
LOW…ients/python/agenta_client/organizations/raw_client.py30 def list_organization_domains(self, *, request_options: typing.Optional[RequestOptions] = None) -> HttpResponse[typiCODE
LOW…ients/python/agenta_client/organizations/raw_client.py62 def create_organization_domain(self, *, domain: str, name: typing.Optional[str] = OMIT, description: typing.OptionalCODE
LOW…ients/python/agenta_client/organizations/raw_client.py124 def verify_organization_domain(self, *, domain_id: str, request_options: typing.Optional[RequestOptions] = None) -> CODE
LOW…ients/python/agenta_client/organizations/raw_client.py176 def refresh_organization_domain_token(self, domain_id: str, *, request_options: typing.Optional[RequestOptions] = NoCODE
LOW…ients/python/agenta_client/organizations/raw_client.py221 def reset_organization_domain(self, domain_id: str, *, request_options: typing.Optional[RequestOptions] = None) -> HCODE
LOW…ients/python/agenta_client/organizations/raw_client.py266 def delete_organization_domain(self, domain_id: str, *, request_options: typing.Optional[RequestOptions] = None) -> CODE
LOW…ients/python/agenta_client/organizations/raw_client.py300 def list_organization_providers(self, *, request_options: typing.Optional[RequestOptions] = None) -> HttpResponse[tyCODE
LOW…ients/python/agenta_client/organizations/raw_client.py332 def create_organization_provider(self, *, slug: str, settings: typing.Dict[str, typing.Any], name: typing.Optional[sCODE
LOW…ients/python/agenta_client/organizations/raw_client.py397 def delete_organization_provider(self, provider_id: str, *, request_options: typing.Optional[RequestOptions] = None)CODE
LOW…ients/python/agenta_client/organizations/raw_client.py431 def update_organization_provider(self, provider_id: str, *, slug: typing.Optional[str] = OMIT, name: typing.OptionalCODE
LOW…ients/python/agenta_client/organizations/raw_client.py494 def test_organization_provider(self, provider_id: str, *, request_options: typing.Optional[RequestOptions] = None) -CODE
LOW…ients/python/agenta_client/organizations/raw_client.py541 def fetch_organization_details(self, organization_id: str, *, request_options: typing.Optional[RequestOptions] = NonCODE
LOW…ients/python/agenta_client/organizations/raw_client.py861 def transfer_organization_ownership(self, organization_id: str, new_owner_id: str, *, request_options: typing.OptionCODE
LOW…ients/python/agenta_client/organizations/raw_client.py1199 async def list_organization_domains(self, *, request_options: typing.Optional[RequestOptions] = None) -> AsyncHttpReCODE
LOW…ients/python/agenta_client/organizations/raw_client.py1231 async def create_organization_domain(self, *, domain: str, name: typing.Optional[str] = OMIT, description: typing.OpCODE
LOW…ients/python/agenta_client/organizations/raw_client.py1293 async def verify_organization_domain(self, *, domain_id: str, request_options: typing.Optional[RequestOptions] = NonCODE
LOW…ients/python/agenta_client/organizations/raw_client.py1345 async def refresh_organization_domain_token(self, domain_id: str, *, request_options: typing.Optional[RequestOptionsCODE
LOW…ients/python/agenta_client/organizations/raw_client.py1390 async def reset_organization_domain(self, domain_id: str, *, request_options: typing.Optional[RequestOptions] = NoneCODE
LOW…ients/python/agenta_client/organizations/raw_client.py1435 async def delete_organization_domain(self, domain_id: str, *, request_options: typing.Optional[RequestOptions] = NonCODE
LOW…ients/python/agenta_client/organizations/raw_client.py1469 async def list_organization_providers(self, *, request_options: typing.Optional[RequestOptions] = None) -> AsyncHttpCODE
LOW…ients/python/agenta_client/organizations/raw_client.py1501 async def create_organization_provider(self, *, slug: str, settings: typing.Dict[str, typing.Any], name: typing.OptiCODE
LOW…ients/python/agenta_client/organizations/raw_client.py1566 async def delete_organization_provider(self, provider_id: str, *, request_options: typing.Optional[RequestOptions] =CODE
LOW…ients/python/agenta_client/organizations/raw_client.py1600 async def update_organization_provider(self, provider_id: str, *, slug: typing.Optional[str] = OMIT, name: typing.OpCODE
LOW…ients/python/agenta_client/organizations/raw_client.py1663 async def test_organization_provider(self, provider_id: str, *, request_options: typing.Optional[RequestOptions] = NCODE
LOW…ients/python/agenta_client/organizations/raw_client.py1710 async def fetch_organization_details(self, organization_id: str, *, request_options: typing.Optional[RequestOptions]CODE
LOW…ients/python/agenta_client/organizations/raw_client.py2030 async def transfer_organization_ownership(self, organization_id: str, new_owner_id: str, *, request_options: typing.CODE
LOWclients/python/agenta_client/core/http_client.py149def _maybe_filter_none_from_multipart_data(CODE
LOWclients/python/agenta_client/core/http_client.py177def maybe_filter_request_body(CODE
LOWclients/python/agenta_client/core/file.py25def convert_file_dict_to_httpx_tuples(CODE
LOWclients/python/agenta_client/core/datetime_utils.py15 def _serialize_zoned_datetime(v: dt.datetime) -> str:CODE
LOWclients/python/agenta_client/core/serialization.py29def convert_and_respect_annotation_metadata(CODE
LOWclients/python/agenta_client/core/serialization.py223def get_alias_to_field_mapping(type_: typing.Any) -> typing.Dict[str, str]:CODE
LOWclients/python/agenta_client/core/serialization.py228def get_field_to_alias_mapping(type_: typing.Any) -> typing.Dict[str, str]:CODE
3723 more matches not shown…
Magic Placeholder Names797 hits · 1496 pts
SeverityFileLineSnippetContext
HIGH.gitleaks.toml27 '''YOUR_API_KEY''',STRING
HIGHclients/python/agenta_client/client.py73 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/client.py317 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/organizations/client.py53 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/organizations/client.py92 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/organizations/client.py125 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/organizations/client.py158 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/organizations/client.py191 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/organizations/client.py220 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/organizations/client.py248 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/organizations/client.py288 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/organizations/client.py318 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/organizations/client.py358 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/organizations/client.py393 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/organizations/client.py423 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/organizations/client.py461 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/organizations/client.py491 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/organizations/client.py529 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/organizations/client.py563 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/organizations/client.py599 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/organizations/client.py632 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/organizations/client.py667 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/organizations/client.py697 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/organizations/client.py741 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/organizations/client.py789 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/organizations/client.py837 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/organizations/client.py885 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/organizations/client.py932 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/organizations/client.py973 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/organizations/client.py1014 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/organizations/client.py1055 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/organizations/client.py1092 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/organizations/client.py1128 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/organizations/client.py1176 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/organizations/client.py1214 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/organizations/client.py1262 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/organizations/client.py1305 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/organizations/client.py1343 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/organizations/client.py1389 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/organizations/client.py1427 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/organizations/client.py1473 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/organizations/client.py1515 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/organizations/client.py1559 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/organizations/client.py1600 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/organizations/client.py1643 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/organizations/client.py1681 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/organizations/client.py1733 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/organizations/client.py1789 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/organizations/client.py1845 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/traces/client.py78 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/traces/client.py120 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/traces/client.py183 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/traces/client.py216 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/traces/client.py257 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/traces/client.py285 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/traces/client.py329 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/traces/client.py392 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/traces/client.py432 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/traces/client.py462 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/traces/client.py492 api_key="YOUR_API_KEY",STRING
737 more matches not shown…
Unused Imports1937 hits · 1246 pts
SeverityFileLineSnippetContext
LOWclients/python/check_deps.py13CODE
LOWclients/python/agenta_client/client.py3CODE
LOWclients/python/agenta_client/__init__.py8CODE
LOWclients/python/agenta_client/__init__.py8CODE
LOWclients/python/agenta_client/__init__.py8CODE
LOWclients/python/agenta_client/__init__.py8CODE
LOWclients/python/agenta_client/__init__.py8CODE
LOWclients/python/agenta_client/__init__.py8CODE
LOWclients/python/agenta_client/__init__.py8CODE
LOWclients/python/agenta_client/__init__.py8CODE
LOWclients/python/agenta_client/__init__.py8CODE
LOWclients/python/agenta_client/__init__.py8CODE
LOWclients/python/agenta_client/__init__.py8CODE
LOWclients/python/agenta_client/__init__.py8CODE
LOWclients/python/agenta_client/__init__.py8CODE
LOWclients/python/agenta_client/__init__.py8CODE
LOWclients/python/agenta_client/__init__.py8CODE
LOWclients/python/agenta_client/__init__.py8CODE
LOWclients/python/agenta_client/__init__.py8CODE
LOWclients/python/agenta_client/__init__.py8CODE
LOWclients/python/agenta_client/__init__.py8CODE
LOWclients/python/agenta_client/__init__.py8CODE
LOWclients/python/agenta_client/__init__.py8CODE
LOWclients/python/agenta_client/__init__.py8CODE
LOWclients/python/agenta_client/__init__.py8CODE
LOWclients/python/agenta_client/__init__.py8CODE
LOWclients/python/agenta_client/__init__.py8CODE
LOWclients/python/agenta_client/__init__.py8CODE
LOWclients/python/agenta_client/__init__.py8CODE
LOWclients/python/agenta_client/__init__.py8CODE
LOWclients/python/agenta_client/__init__.py8CODE
LOWclients/python/agenta_client/__init__.py8CODE
LOWclients/python/agenta_client/__init__.py8CODE
LOWclients/python/agenta_client/__init__.py8CODE
LOWclients/python/agenta_client/__init__.py8CODE
LOWclients/python/agenta_client/__init__.py8CODE
LOWclients/python/agenta_client/__init__.py8CODE
LOWclients/python/agenta_client/__init__.py8CODE
LOWclients/python/agenta_client/__init__.py8CODE
LOWclients/python/agenta_client/__init__.py8CODE
LOWclients/python/agenta_client/__init__.py8CODE
LOWclients/python/agenta_client/__init__.py8CODE
LOWclients/python/agenta_client/__init__.py8CODE
LOWclients/python/agenta_client/__init__.py8CODE
LOWclients/python/agenta_client/__init__.py8CODE
LOWclients/python/agenta_client/__init__.py8CODE
LOWclients/python/agenta_client/__init__.py8CODE
LOWclients/python/agenta_client/__init__.py8CODE
LOWclients/python/agenta_client/__init__.py8CODE
LOWclients/python/agenta_client/__init__.py8CODE
LOWclients/python/agenta_client/__init__.py8CODE
LOWclients/python/agenta_client/__init__.py8CODE
LOWclients/python/agenta_client/__init__.py8CODE
LOWclients/python/agenta_client/__init__.py8CODE
LOWclients/python/agenta_client/__init__.py8CODE
LOWclients/python/agenta_client/__init__.py8CODE
LOWclients/python/agenta_client/__init__.py8CODE
LOWclients/python/agenta_client/__init__.py8CODE
LOWclients/python/agenta_client/__init__.py8CODE
LOWclients/python/agenta_client/__init__.py8CODE
1877 more matches not shown…
Excessive Try-Catch Wrapping559 hits · 562 pts
SeverityFileLineSnippetContext
LOWclients/python/agenta_client/core/http_client.py35 except Exception:CODE
LOWclients/python/agenta_client/core/jsonable_encoder.py98 except Exception as e:CODE
LOWclients/python/agenta_client/core/jsonable_encoder.py103 except Exception as e:CODE
LOWsdks/python/agenta/__init__.py5except Exception:CODE
LOWsdks/python/agenta/sdk/evaluations/scenarios.py144 except Exception:CODE
LOWsdks/python/agenta/sdk/evaluations/metrics.py36 except Exception:CODE
LOWsdks/python/agenta/sdk/evaluations/metrics.py73 except Exception:CODE
LOWsdks/python/agenta/sdk/evaluations/runs.py55 except Exception:CODE
LOWsdks/python/agenta/sdk/evaluations/runs.py113 except Exception:CODE
LOWsdks/python/agenta/sdk/evaluations/runs.py141 except Exception:CODE
LOWsdks/python/agenta/sdk/evaluations/runs.py166 except Exception:CODE
LOWsdks/python/agenta/sdk/evaluations/runtime/processor.py411 except Exception: # pylint: disable=broad-exception-caughtCODE
LOWsdks/python/agenta/sdk/evaluations/runtime/processor.py458 except Exception: # pylint: disable=broad-exception-caughtCODE
LOWsdks/python/agenta/sdk/evaluations/runtime/processor.py469 except Exception: # pylint: disable=broad-exception-caughtCODE
LOWsdks/python/agenta/sdk/evaluations/runtime/processor.py502 except Exception: # pylint: disable=broad-exception-caughtCODE
LOWsdks/python/agenta/sdk/evaluations/preview/utils.py318 except Exception:CODE
LOWsdks/python/agenta/sdk/evaluations/preview/utils.py645 except Exception as e:CODE
LOWsdks/python/agenta/sdk/evaluations/preview/utils.py733 except Exception as e:CODE
MEDIUMsdks/python/agenta/sdk/evaluations/preview/utils.py738 print(f"Error fetching trace: {e}")CODE
LOWsdks/python/agenta/sdk/evaluations/preview/evaluate.py78 except Exception:CODE
LOWsdks/python/agenta/sdk/evaluations/preview/evaluate.py184 except Exception:CODE
LOWsdks/python/agenta/sdk/decorators/tracing.py343 except Exception: # pylint: disable=bare-exceptCODE
LOWsdks/python/agenta/sdk/decorators/tracing.py534 except Exception: # pylint: disable=bare-exceptCODE
LOWsdks/python/agenta/sdk/decorators/tracing.py541 except Exception: # pylint: disable=bare-exceptCODE
LOWsdks/python/agenta/sdk/decorators/routing.py422 except Exception as exception:CODE
LOWsdks/python/agenta/sdk/decorators/routing.py451 except Exception as exception:CODE
LOWsdks/python/agenta/sdk/decorators/running.py62 except Exception:CODE
LOWsdks/python/agenta/sdk/decorators/running.py567 except Exception:CODE
LOWsdks/python/agenta/sdk/decorators/running.py577 except Exception:CODE
LOWsdks/python/agenta/sdk/managers/testsets.py263 except Exception as e:CODE
LOWsdks/python/agenta/sdk/managers/applications.py28 except Exception:CODE
LOWsdks/python/agenta/sdk/managers/applications.py99 except Exception as e:CODE
LOWsdks/python/agenta/sdk/managers/applications.py259 except Exception as e:CODE
LOWsdks/python/agenta/sdk/managers/applications.py297 except Exception as e:CODE
LOWsdks/python/agenta/sdk/managers/applications.py333 except Exception as e:CODE
MEDIUMsdks/python/agenta/sdk/managers/applications.py25def _response_detail(response) -> str:CODE
LOWsdks/python/agenta/sdk/managers/shared.py15 except Exception:CODE
LOWsdks/python/agenta/sdk/managers/shared.py30 except Exception as exc:CODE
MEDIUMsdks/python/agenta/sdk/managers/shared.py12def _response_detail(response) -> str:CODE
MEDIUMsdks/python/agenta/sdk/managers/shared.py27def _raise_for_status(response) -> None:CODE
LOWsdks/python/agenta/sdk/managers/evaluators.py28 except Exception:CODE
LOWsdks/python/agenta/sdk/managers/evaluators.py98 except Exception as e:CODE
LOWsdks/python/agenta/sdk/managers/evaluators.py252 except Exception as e:CODE
LOWsdks/python/agenta/sdk/managers/evaluators.py313 except Exception as e:CODE
LOWsdks/python/agenta/sdk/managers/evaluators.py349 except Exception as e:CODE
MEDIUMsdks/python/agenta/sdk/managers/evaluators.py25def _response_detail(response) -> str:CODE
LOWsdks/python/agenta/sdk/middlewares/running/vault.py267 except Exception as exc:CODE
LOWsdks/python/agenta/sdk/middlewares/running/vault.py275 except Exception as exc:CODE
LOWsdks/python/agenta/sdk/middlewares/running/vault.py324 except Exception: # pylint: disable=bare-exceptCODE
LOWsdks/python/agenta/sdk/middlewares/running/vault.py361 except Exception: # pylint: disable=bare-exceptCODE
LOWsdks/python/agenta/sdk/middlewares/running/resolver.py40 except Exception:CODE
LOWsdks/python/agenta/sdk/middlewares/running/resolver.py468 except Exception:CODE
LOWsdks/python/agenta/sdk/middlewares/running/resolver.py542 except Exception:CODE
LOWsdks/python/agenta/sdk/middlewares/running/resolver.py608 except Exception:CODE
LOW…ks/python/agenta/sdk/middlewares/running/normalizer.py293 except Exception as exception:CODE
LOWsdks/python/agenta/sdk/middlewares/routing/auth.py236 except Exception as exc:CODE
LOWsdks/python/agenta/sdk/middlewares/routing/auth.py244 except Exception as exc:CODE
LOWsdks/python/agenta/sdk/middlewares/routing/auth.py305 except Exception: # pylint: disable=bare-exceptCODE
LOWsdks/python/agenta/sdk/utils/logging.py68 except Exception:CODE
LOWsdks/python/agenta/sdk/utils/rendering.py60 except Exception as exc:CODE
499 more matches not shown…
Cross-File Repetition82 hits · 410 pts
SeverityFileLineSnippetContext
HIGHclients/python/check_deps.py0compare dependency versions: - constraint: from pyproject.toml - locked : from uv.lock - latest : from pypi usage: pythoSTRING
HIGHsdks/python/check_deps.py0compare dependency versions: - constraint: from pyproject.toml - locked : from uv.lock - latest : from pypi usage: pythoSTRING
HIGHapi/check_deps.py0compare dependency versions: - constraint: from pyproject.toml - locked : from uv.lock - latest : from pypi usage: pythoSTRING
HIGHservices/check_deps.py0compare dependency versions: - constraint: from pyproject.toml - locked : from uv.lock - latest : from pypi usage: pythoSTRING
HIGHclients/python/check_deps.py0read [project.dependencies] constraints from pyproject.toml. (only runtime deps; you can extend to include groups if youSTRING
HIGHsdks/python/check_deps.py0read [project.dependencies] constraints from pyproject.toml. (only runtime deps; you can extend to include groups if youSTRING
HIGHapi/check_deps.py0read [project.dependencies] constraints from pyproject.toml. (only runtime deps; you can extend to include groups if youSTRING
HIGHservices/check_deps.py0read [project.dependencies] constraints from pyproject.toml. (only runtime deps; you can extend to include groups if youSTRING
HIGHclients/python/agenta_client/traces/client.py0create a single-span "simple" trace. this endpoint is a higher-level helper for the common case of recording one self-coSTRING
HIGHclients/python/agenta_client/traces/raw_client.py0create a single-span "simple" trace. this endpoint is a higher-level helper for the common case of recording one self-coSTRING
HIGHapi/oss/src/apis/fastapi/traces/router.py0create a single-span "simple" trace. this endpoint is a higher-level helper for the common case of recording one self-coSTRING
HIGH…_client/types/application_revision_resolve_response.py0references (artifact / variant / revision) actually used to retrieve this revision.STRING
HIGH…nta_client/types/workflow_revision_resolve_response.py0references (artifact / variant / revision) actually used to retrieve this revision.STRING
HIGH…ta_client/types/evaluator_revision_resolve_response.py0references (artifact / variant / revision) actually used to retrieve this revision.STRING
HIGH…ython/agenta_client/types/testset_revision_response.py0references used to retrieve the top-level revision.STRING
HIGH…hon/agenta_client/types/evaluator_revision_response.py0references used to retrieve the top-level revision.STRING
HIGH…thon/agenta_client/types/workflow_revision_response.py0references used to retrieve the top-level revision.STRING
HIGH…n/agenta_client/types/application_revision_response.py0references used to retrieve the top-level revision.STRING
HIGHclients/python/agenta_client/access/client.py0parameters ---------- plan : str request_options : typing.optional[requestoptions] request-specific configuration. returSTRING
HIGHclients/python/agenta_client/secrets/client.py0parameters ---------- plan : str request_options : typing.optional[requestoptions] request-specific configuration. returSTRING
HIGHclients/python/agenta_client/projects/client.py0parameters ---------- plan : str request_options : typing.optional[requestoptions] request-specific configuration. returSTRING
HIGHclients/python/agenta_client/status/client.py0parameters ---------- plan : str request_options : typing.optional[requestoptions] request-specific configuration. returSTRING
HIGHclients/python/agenta_client/users/client.py0parameters ---------- plan : str request_options : typing.optional[requestoptions] request-specific configuration. returSTRING
HIGHclients/python/agenta_client/billing/client.py0parameters ---------- plan : str request_options : typing.optional[requestoptions] request-specific configuration. returSTRING
HIGHclients/python/agenta_client/access/raw_client.py0parameters ---------- plan : str success_url : str request_options : typing.optional[requestoptions] request-specific coSTRING
HIGHclients/python/agenta_client/projects/raw_client.py0parameters ---------- plan : str success_url : str request_options : typing.optional[requestoptions] request-specific coSTRING
HIGHclients/python/agenta_client/status/raw_client.py0parameters ---------- plan : str success_url : str request_options : typing.optional[requestoptions] request-specific coSTRING
HIGHclients/python/agenta_client/users/raw_client.py0parameters ---------- plan : str success_url : str request_options : typing.optional[requestoptions] request-specific coSTRING
HIGHclients/python/agenta_client/billing/raw_client.py0parameters ---------- plan : str success_url : str request_options : typing.optional[requestoptions] request-specific coSTRING
HIGHclients/python/agenta_client/status/client.py0parameters ---------- request_options : typing.optional[requestoptions] request-specific configuration. returns ------- STRING
HIGHclients/python/agenta_client/users/client.py0parameters ---------- request_options : typing.optional[requestoptions] request-specific configuration. returns ------- STRING
HIGHclients/python/agenta_client/billing/client.py0parameters ---------- request_options : typing.optional[requestoptions] request-specific configuration. returns ------- STRING
HIGHsdks/python/run-tests.py0run pytest with dynamic markers and environment configuration. additional args after '--' are passed directly to pytest.STRING
HIGHapi/run-tests.py0run pytest with dynamic markers and environment configuration. additional args after '--' are passed directly to pytest.STRING
HIGHservices/run-tests.py0run pytest with dynamic markers and environment configuration. additional args after '--' are passed directly to pytest.STRING
HIGHsdks/python/agenta/sdk/engines/tracing/attributes.py0unmarshalls a dictionary of marshalled attributes into a nested dictionary example: marshalled = { "ag.type": "tree", "aSTRING
HIGHapi/oss/src/apis/fastapi/otlp/utils/marshalling.py0unmarshalls a dictionary of marshalled attributes into a nested dictionary example: marshalled = { "ag.type": "tree", "aSTRING
HIGHapi/oss/src/core/tracing/utils/attributes.py0unmarshalls a dictionary of marshalled attributes into a nested dictionary example: marshalled = { "ag.type": "tree", "aSTRING
HIGH…python/oss/tests/legacy/sdk_tests/management_sdk/v1.py0generate a baby name based on the given country and gender. args: country (str): the country to generate the name from. STRING
HIGH…oss/tests/legacy/sdk_tests/management_sdk/v4_prompt.py0generate a baby name based on the given country and gender. args: country (str): the country to generate the name from. STRING
HIGH…python/oss/tests/legacy/sdk_tests/management_sdk/v2.py0generate a baby name based on the given country and gender. args: country (str): the country to generate the name from. STRING
HIGH…ts/management_sdk/manual_tests/apps_with_new_sdk/v3.py0generate a baby name based on the given country and gender. args: country (str): the country to generate the name from. STRING
HIGH…nt_sdk/manual_tests/apps_with_new_sdk/new_baby_name.py0generate a baby name based on the given country and gender. args: country (str): the country to generate the name from. STRING
HIGH…gement_sdk/manual_tests/apps_with_old_sdk/baby_name.py0generate a baby name based on the given country and gender. args: country (str): the country to generate the name from. STRING
HIGH…s/python/oss/tests/legacy/debugging/simple-app/_app.py0generate a baby name based on the given country and gender. args: country (str): the country to generate the name from. STRING
HIGH…/observability_sdk/sanity_check/03_app_errors_local.py0results: embedding: {result} agent: {agent_result} chain results: {chain_result1}, {chain_result2}, {chain_result3} taskSTRING
HIGH…bservability_sdk/sanity_check/04_app_old_sdk_agenta.py0results: embedding: {result} agent: {agent_result} chain results: {chain_result1}, {chain_result2}, {chain_result3} taskSTRING
HIGH…bservability_sdk/sanity_check/05_app_new_sdk_agenta.py0results: embedding: {result} agent: {agent_result} chain results: {chain_result1}, {chain_result2}, {chain_result3} taskSTRING
HIGH…/legacy/observability_sdk/sanity_check/02_app_local.py0results: embedding: {result} agent: {agent_result} chain results: {chain_result1}, {chain_result2}, {chain_result3} taskSTRING
HIGHsdks/python/oss/tests/legacy/management/conftest.py0mark all tests to run inside the same event loop. note: remove as soon as a solution for https://github.com/pytest-dev/pSTRING
HIGHsdks/python/oss/tests/legacy/new_tests/conftest.py0mark all tests to run inside the same event loop. note: remove as soon as a solution for https://github.com/pytest-dev/pSTRING
HIGHapi/oss/tests/legacy/conftest.py0mark all tests to run inside the same event loop. note: remove as soon as a solution for https://github.com/pytest-dev/pSTRING
HIGH…on/oss/tests/legacy/annotations/agenta_instrumented.py0you are a helpful assistant that answers questions based on the documentation.STRING
HIGH…oss/tests/legacy/custom_workflows/completion_custom.py0you are a helpful assistant that answers questions based on the documentation.STRING
HIGH…ython/oss/tests/legacy/custom_workflows/chat_custom.py0you are a helpful assistant that answers questions based on the documentation.STRING
HIGH…s/tests/legacy/custom_workflows/noinstrument_custom.py0you are a helpful assistant that answers questions based on the documentation.STRING
HIGH…ss/tests/legacy/custom_workflows/exception_workflow.py0you are a helpful assistant that answers questions based on the documentation.STRING
HIGHexamples/python/custom_workflows/rag-docs-qa/query.py0you are a helpful assistant that answers questions based on the documentation.STRING
HIGH…on/oss/tests/legacy/annotations/agenta_instrumented.py0here is the query: {query} here is the context: {context}STRING
HIGH…oss/tests/legacy/custom_workflows/completion_custom.py0here is the query: {query} here is the context: {context}STRING
22 more matches not shown…
Docstring Block Structure69 hits · 345 pts
SeverityFileLineSnippetContext
HIGHclients/python/agenta_client/organizations/client.py705 Assigns a role to a user in an organization. Args: organization_id (str): The ID oSTRING
HIGHclients/python/agenta_client/organizations/client.py1695 Assigns a role to a user in an organization. Args: organization_id (str): The ID oSTRING
HIGH…ients/python/agenta_client/organizations/raw_client.py1000 Assigns a role to a user in an organization. Args: organization_id (str): The ID oSTRING
HIGH…ients/python/agenta_client/organizations/raw_client.py2169 Assigns a role to a user in an organization. Args: organization_id (str): The ID oSTRING
HIGHclients/python/agenta_client/workspaces/client.py63 Assigns a role to a user in a workspace. Args: payload (UserRole): The payload conSTRING
HIGHclients/python/agenta_client/workspaces/client.py113 Delete a role assignment from a user in a workspace. Args: workspace_id (str): TheSTRING
HIGHclients/python/agenta_client/workspaces/client.py327 Assigns a role to a user in a workspace. Args: payload (UserRole): The payload conSTRING
HIGHclients/python/agenta_client/workspaces/client.py385 Delete a role assignment from a user in a workspace. Args: workspace_id (str): TheSTRING
HIGHclients/python/agenta_client/workspaces/raw_client.py64 Assigns a role to a user in a workspace. Args: payload (UserRole): The payload conSTRING
HIGHclients/python/agenta_client/workspaces/raw_client.py135 Delete a role assignment from a user in a workspace. Args: workspace_id (str): TheSTRING
HIGHclients/python/agenta_client/workspaces/raw_client.py376 Assigns a role to a user in a workspace. Args: payload (UserRole): The payload conSTRING
HIGHclients/python/agenta_client/workspaces/raw_client.py447 Delete a role assignment from a user in a workspace. Args: workspace_id (str): TheSTRING
HIGHclients/python/agenta_client/keys/client.py91 Delete an API key with the given key prefix for the authenticated user. Args: key_STRING
HIGHclients/python/agenta_client/keys/client.py225 Delete an API key with the given key prefix for the authenticated user. Args: key_STRING
HIGHclients/python/agenta_client/keys/raw_client.py98 Delete an API key with the given key prefix for the authenticated user. Args: key_STRING
HIGHclients/python/agenta_client/keys/raw_client.py229 Delete an API key with the given key prefix for the authenticated user. Args: key_STRING
HIGHsdks/python/agenta/__init__.py105 Build a URL to view the current trace in the Agenta UI. Automatically extracts the trace ID from the current tSTRING
HIGHsdks/python/agenta/sdk/managers/config.py24 Retrieves the configuration from the route context and returns a config object. This method checks theSTRING
HIGHsdks/python/agenta/sdk/managers/config.py161 Loads configuration from a YAML file and returns a config object. Args: filename (str): ThSTRING
HIGHsdks/python/agenta/sdk/managers/config.py192 Loads configuration from a JSON file and returns a config object. Args: filename (str): ThSTRING
HIGHsdks/python/agenta/sdk/middlewares/running/resolver.py170Retrieve and validate a workflow handler by its URI. Looks up a registered handler function using the provided URI.STRING
HIGHsdks/python/agenta/sdk/middlewares/running/resolver.py489 Resolve @ag.embed references in parameters by calling the API. This function calls the API resolution endpointSTRING
HIGHsdks/python/agenta/sdk/middlewares/routing/auth.py78 Shared credential verification logic. Args: request: The HTTP request host: The agenta host URSTRING
HIGHsdks/python/agenta/sdk/utils/templating.py321Render a template string against a context using the given substitution mode. Args: template: The raw templSTRING
HIGHsdks/python/agenta/sdk/engines/running/handlers.py366 Regex test evaluator for checking if output matches a regex pattern. Args: inputs: Testcase data STRING
HIGHsdks/python/agenta/sdk/engines/running/handlers.py423 Field match test evaluator for extracting and comparing a specific field from JSON output. Args: inputSTRING
HIGHsdks/python/agenta/sdk/engines/running/handlers.py509 Multi-field JSON match evaluator for comparing multiple fields between expected and actual JSON. Each configurSTRING
HIGHsdks/python/agenta/sdk/engines/running/handlers.py622 Webhook test evaluator for sending output to an external service for evaluation. Args: inputs: TestcasSTRING
HIGHsdks/python/agenta/sdk/engines/running/handlers.py735 Custom code execution evaluator for running arbitrary code to evaluate outputs. Supports three interface versiSTRING
HIGHsdks/python/agenta/sdk/engines/running/handlers.py874 AI critique evaluator for using an LLM to evaluate outputs. Args: inputs: Testcase data with ground trSTRING
HIGHsdks/python/agenta/sdk/engines/running/handlers.py1094 Starts with evaluator for checking if output starts with a specific prefix. Args: inputs: Testcase datSTRING
HIGHsdks/python/agenta/sdk/engines/running/handlers.py1142 Ends with evaluator for checking if output ends with a specific suffix. Args: inputs: Testcase data STRING
HIGHsdks/python/agenta/sdk/engines/running/handlers.py1190 Contains evaluator for checking if output contains a specific substring. Args: inputs: Testcase data STRING
HIGHsdks/python/agenta/sdk/engines/running/handlers.py1238 Contains any evaluator for checking if output contains any of the specified substrings. Args: inputs: STRING
HIGHsdks/python/agenta/sdk/engines/running/handlers.py1295 Contains all evaluator for checking if output contains all of the specified substrings. Args: inputs: STRING
HIGHsdks/python/agenta/sdk/engines/running/handlers.py1351 Contains JSON evaluator for checking if output contains valid JSON content. Args: inputs: Testcase datSTRING
HIGHsdks/python/agenta/sdk/engines/running/handlers.py1394 JSON diff evaluator for finding differences between JSON structures. Args: inputs: Testcase data with STRING
HIGHsdks/python/agenta/sdk/engines/running/handlers.py1485 Levenshtein distance evaluator using pure Python implementation. Measures edit distance and returns normalized STRING
HIGHsdks/python/agenta/sdk/engines/running/handlers.py1588 Similarity match evaluator for measuring string similarity between output and reference. Args: inputs:STRING
HIGHsdks/python/agenta/sdk/engines/running/handlers.py1677 Semantic similarity evaluator for measuring semantic similarity between output and reference using embeddings. STRING
HIGHsdks/python/agenta/sdk/engines/running/handlers.py3057 Deterministic mock workflow (agenta:custom:mock:v0). Selects a predefined behavior by name — no LLM, no code sSTRING
HIGHsdks/python/agenta/sdk/engines/running/utils.py402Register a handler function in the global handler registry. Stores a callable in the HANDLER_REGISTRY with a hierarSTRING
HIGHsdks/python/agenta/sdk/engines/tracing/tracing.py325 Build a URL to view a trace in the Agenta UI. Automatically extracts the trace ID from the current traSTRING
HIGH…/custom_workflows/ai-code-reviewer/ai-code-reviewer.py34 Fetch the diff for a GitHub Pull Request given its URL. Args: pr_url (str): Full GitHub PR URL (e.g., STRING
HIGHapi/oss/tests/pytest/utils/polling.py17 Poll until a condition is met using exponential backoff. Args: check_fn: Function that returns (conditSTRING
HIGHapi/oss/tests/pytest/utils/polling.py67 Fetch from API with exponential backoff until conditions are met. This is a generalized polling function that STRING
HIGHapi/oss/src/routers/api_key_router.py110 Delete an API key with the given key prefix for the authenticated user. Args: key_prefix (str): The prSTRING
HIGHapi/oss/src/routers/organization_router.py156 Assigns a role to a user in an organization. Args: organization_id (str): The ID of the organization. STRING
HIGH…s/src/apis/fastapi/otlp/extractors/adapter_registry.py63Extract all features from the canonical attribute. Args: attributes: The canonical attributes STRING
HIGHapi/oss/src/core/access/permissions/service.py122 Check if a user has access to a specific workspace and the workspace organization. Args: user_org_workSTRING
HIGHapi/oss/src/core/auth/types.py56 Check if an identity matches an allowed pattern. Args: identity: Authentication method (e.STRING
HIGHapi/oss/src/core/auth/middleware.py26 Check if user's identities satisfy the organization's allowed_methods policy. Supports wildcards defined in MeSTRING
HIGHapi/oss/src/core/workflows/service.py1828 Fetch and resolve a workflow revision with embedded references. Resolves embedded workflow and environSTRING
HIGHapi/oss/src/core/embeds/utils.py511 Resolve embedded references in a configuration. This is a pure orchestration function that: 1. Finds embedSTRING
HIGHapi/oss/src/core/embeds/utils.py1354 Extract value at JSON path using dot notation. Example: "params.prompt.messages.0.content" Args: STRING
HIGHapi/oss/src/middlewares/auth.py128 Middleware function for authentication. This function checks for an API key in the request headers, validates STRING
HIGHapi/oss/src/utils/emailing.py235 Add a contact to the Loops audience, with retry and exponential backoff. No-op (returns None) when Loops is diSTRING
HIGHapi/oss/src/utils/emailing.py283 Remove a contact from the Loops audience, with retry and exponential backoff. No-op (returns None) when Loops STRING
HIGHapi/oss/src/utils/throttling.py195 Execute a Redis Lua script operation with automatic NOSCRIPT retry. Args: operation: Async callable thSTRING
HIGHapi/oss/src/utils/throttling.py324 Convert key to string representation. Args: key: Bucket key - str or dict Returns: StringSTRING
9 more matches not shown…
Over-Commented Block224 hits · 216 pts
SeverityFileLineSnippetContext
LOW.gitleaks.toml81# gitleaks --config .gitleaks.toml --exit-code 1 --verbose gitCOMMENT
LOWclients/scripts/generate.sh281 fetchSupport: nativeCOMMENT
LOWsdks/python/agenta/sdk/evaluations/runtime/processor.py61# Per-repeat upstream context seed. Either ONE slice-wide dict (every scenarioCOMMENT
LOWsdks/python/agenta/sdk/evaluations/runtime/executor.py461COMMENT
LOWsdks/python/agenta/sdk/engines/running/handlers.py2961COMMENT
LOWsdks/python/agenta/sdk/engines/running/utils.py301 auto_similarity_match=dict(v0=WorkflowRevisionData()),COMMENT
LOWsdks/python/agenta/sdk/engines/running/utils.py321# - URI: "agenta:builtin:echo:v0"COMMENT
LOWsdks/python/oss/tests/pytest/conftest.py1# Root conftest for SDK tests.COMMENT
LOW…n/oss/tests/pytest/unit/test_render_template_helper.py1141COMMENT
LOWsdks/python/oss/tests/pytest/integration/conftest.py1# Integration tests wire multiple SDK modules together with the networkCOMMENT
LOW…s/legacy/observability_sdk/sanity_check/05_app_meta.py21 ag.tracing.store_refs(COMMENT
LOW…ss/tests/manual/workflows/workflows_migration_guide.py121 "my_app",COMMENT
LOW…ss/tests/manual/workflows/workflows_migration_guide.py141 # "1",COMMENT
LOW…ss/tests/manual/workflows/workflows_migration_guide.py161# "NEW_APPLICATION_SLUG",COMMENT
LOW…ss/tests/manual/workflows/workflows_migration_guide.py181# "NEW_APPLICATION_REVISION_VERSION",COMMENT
LOW…ss/tests/manual/workflows/workflows_migration_guide.py201 "country": "Germany",COMMENT
LOW…ss/tests/manual/workflows/workflows_migration_guide.py221 #### CHATCOMMENT
LOW…ss/tests/manual/workflows/workflows_migration_guide.py541COMMENT
LOW…ss/tests/manual/workflows/workflows_migration_guide.py561COMMENT
LOW…ss/tests/manual/workflows/workflows_migration_guide.py581# status=status,COMMENT
LOW…ss/tests/manual/workflows/workflows_migration_guide.py601# "Content-Type": "application/json",COMMENT
LOW…ss/tests/manual/workflows/workflows_migration_guide.py621# status, data = call_application(COMMENT
LOW…ss/tests/manual/workflows/workflows_migration_guide.py661 params = {k: v for k, v in params.items() if v is not None}COMMENT
LOW…ss/tests/manual/workflows/workflows_migration_guide.py681# params=params,COMMENT
LOW…ss/tests/manual/workflows/workflows_migration_guide.py701# url=url,COMMENT
LOW…ss/tests/manual/workflows/workflows_migration_guide.py801# status, data = call_application(COMMENT
LOW…ss/tests/manual/workflows/workflows_migration_guide.py841# url, headers, params = get_committed_request_in_2025_format(COMMENT
LOWweb/_reference/agenta-sdk/scripts/generate-schemas.sh1#!/bin/bashCOMMENT
LOWweb/ee/tests/playwright/acceptance/members/index.ts61 //COMMENT
LOWweb/ee/tests/playwright/acceptance/members/index.ts121 // Waiting for the input guarantees the chunk has fully rendered.COMMENT
LOW…s/pages/settings/AuditLog/components/AuditLogTable.tsx101 refreshEvents()COMMENT
LOWweb/tests/playwright.config.ts21// Load environment variables from .env fileCOMMENT
LOWweb/oss/tests/playwright/acceptance/playground/index.ts421COMMENT
LOWweb/oss/tests/playwright/acceptance/playground/index.ts561 .getByRole("option", {COMMENT
LOWweb/oss/tests/playwright/acceptance/playground/index.ts581 // skeleton that might be visible before the rows arrive.COMMENT
LOW…/tests/playwright/acceptance/human-annotation/index.ts401 await expect(scenariosTab).toHaveAttribute("aria-selected", "true")COMMENT
LOWweb/oss/tests/playwright/acceptance/evaluators/index.ts241 await creationPromiseCOMMENT
LOWweb/oss/src/state/newObservability/atoms/controls.ts101// Filter selections are persisted across reloads so users don't have toCOMMENT
LOWweb/oss/src/state/newObservability/atoms/controls.ts321COMMENT
LOWweb/oss/src/state/appState/atoms.ts21// Eagerly initialize projectIdAtom and sessionAtom from the URL-parsed initialCOMMENT
LOWweb/oss/src/state/entities/testcase/editSession.ts41 // - This is a client-only revision (not a real server revision)COMMENT
LOWweb/oss/src/state/entities/testcase/columnState.ts21// COLUMN STATE (REVISION-SCOPED)COMMENT
LOW…c/components/Sidebar/components/WorkflowEntityCard.tsx81COMMENT
LOW…c/components/Sidebar/components/WorkflowEntityCard.tsx121 // declarative classifiers (exact match, regex, similarity / semanticCOMMENT
LOW…valuationRunsTablePOC/atoms/fetchAutoEvaluationRuns.ts301 .map((id) => id.trim())COMMENT
LOW…nRunsTablePOC/components/cells/RunMetricCell/index.tsx181 stepKeyForSelection,COMMENT
LOWweb/oss/src/components/PlaygroundRouter/index.tsx61COMMENT
LOW…VariantConfig/assets/PlaygroundVariantConfigHeader.tsx41 onLoadPreset,COMMENT
LOW…ponents/InfiniteVirtualTable/atoms/columnVisibility.ts21// const logStateTable = (COMMENT
LOW…ponents/InfiniteVirtualTable/atoms/columnVisibility.ts41// }COMMENT
LOW…ponents/InfiniteVirtualTable/atoms/columnVisibility.ts221}COMMENT
LOW…ponents/InfiniteVirtualTable/atoms/columnVisibility.ts241// )COMMENT
LOW…ponents/InfiniteVirtualTable/atoms/columnVisibility.ts261// if (typeof explicit === "boolean") {COMMENT
LOW…initeVirtualTable/hooks/useHeaderViewportVisibility.ts361 keyToElementRef.current.set(columnKey, node)COMMENT
LOW…src/components/EvalRunDetails/atoms/metricProcessor.ts401 }: MetricProcessorFlushOptions = {}): Promise<MetricProcessorFlushResult> => {COMMENT
LOW…src/components/EvalRunDetails/atoms/metricProcessor.ts621 runLevelMetricIdsFromScenarioFallbackSet,COMMENT
LOW…src/components/EvalRunDetails/atoms/metricProcessor.ts781 // scenarioGaps,COMMENT
LOW…/oss/src/components/EvalRunDetails/atoms/runMetrics.ts1121 // try {COMMENT
LOW…s/src/components/EvalRunDetails/atoms/table/columns.ts521 // Match the evaluator's metric definition by the canonicalCOMMENT
LOW…rc/components/EvalRunDetails/etl/ScenarioFilterBar.tsx121 // String-typed evaluator outputs are excluded for the sameCOMMENT
164 more matches not shown…
Structural Annotation Overuse105 hits · 184 pts
SeverityFileLineSnippetContext
LOWclients/scripts/generate.sh423 # Step 1: Replace the recursive type alias definitions with Any.COMMENT
LOWclients/scripts/generate.sh441 # Step 2: Replace every forward-reference string and Optional wrapper for theseCOMMENT
LOW…ests/legacy/new_tests/workflows/observability/tests.py62 # Step 1: Exclude lifecycle attribute from response(s)COMMENT
LOW…ests/legacy/new_tests/workflows/observability/tests.py66 # Step 2: Compare structures with Jest-like matcherCOMMENT
LOWweb/_reference/agenta-sdk/src/workflows.ts214 // Step 1: Create the workflowCOMMENT
LOWweb/_reference/agenta-sdk/src/workflows.ts231 // Step 2: Create a default variantCOMMENT
LOW…e/agenta-sdk/src/optimization/simulate-conversation.ts227 // Step 1: Get the simulated user's messageCOMMENT
LOW…e/agenta-sdk/src/optimization/simulate-conversation.ts242 // Step 2: Get the agent's response by invoking the candidate promptCOMMENT
LOW…e/agenta-sdk/src/optimization/simulate-conversation.ts252 // Step 3: Judge the conversationCOMMENT
LOW…ce/agenta-sdk/src/auto-agenta/03-orchestration-loop.md30### Step 1: Prompt AnalysisCOMMENT
LOW…ce/agenta-sdk/src/auto-agenta/03-orchestration-loop.md46### Step 2: Test Set GenerationCOMMENT
LOW…ce/agenta-sdk/src/auto-agenta/03-orchestration-loop.md53### Step 3: Evaluator SetupCOMMENT
LOW…ce/agenta-sdk/src/auto-agenta/03-orchestration-loop.md60### Step 4: Baseline EvaluationCOMMENT
LOW…ce/agenta-sdk/src/auto-agenta/03-orchestration-loop.md65### Step 5: Variant GenerationCOMMENT
LOW…ce/agenta-sdk/src/auto-agenta/03-orchestration-loop.md84### Step 6: Comparative EvaluationCOMMENT
LOW…ce/agenta-sdk/src/auto-agenta/03-orchestration-loop.md89### Step 7: DecisionCOMMENT
LOW…ce/agenta-sdk/src/auto-agenta/03-orchestration-loop.md96### Step 8: Deploy + MonitorCOMMENT
LOWweb/oss/tests/playwright/acceptance/evaluators/index.ts260 // Step 3: The evaluator-flavored page has a "Select app" picker in the headerCOMMENT
LOWweb/oss/tests/playwright/acceptance/evaluators/index.ts266 // Step 4: Open the picker and select a completion-type app.COMMENT
LOWweb/oss/tests/playwright/acceptance/evaluators/index.ts329 // Step 6: Fill testcase fields. For the standard country-capitals completionCOMMENT
LOWweb/oss/tests/playwright/acceptance/evaluators/index.ts335 // Step 7: Click RunCOMMENT
LOWweb/oss/tests/playwright/acceptance/evaluators/index.ts341 // Step 8: Verify the evaluator result card appearsCOMMENT
LOWweb/oss/tests/playwright/acceptance/evaluators/index.ts364 // Step 1: Navigate to the evaluators pageCOMMENT
LOWweb/oss/tests/playwright/acceptance/evaluators/index.ts367 // Step 2: Switch to the Human Evaluators tabCOMMENT
LOWweb/oss/tests/playwright/acceptance/evaluators/index.ts370 // Step 3: Open the create drawer, fill in the form, and submitCOMMENT
LOWweb/oss/tests/playwright/acceptance/evaluators/index.ts373 // Step 4: Verify the success message (already checked inside the helper,COMMENT
LOWweb/oss/tests/playwright/acceptance/evaluators/index.ts382 // Step 5: Verify the new evaluator appears in the Human tab table.COMMENT
LOWweb/oss/tests/playwright/acceptance/evaluators/index.ts215 // Step 1: Navigate and create a fresh Exact Match evaluatorCOMMENT
LOWweb/oss/tests/playwright/acceptance/evaluators/index.ts247 // Step 2: Post-commit navigates to `/apps/<id>/playground` — theCOMMENT
LOWweb/oss/tests/playwright/acceptance/evaluators/index.ts315 // Step 5: Verify completion-app UI (Testcase Data section) appears.COMMENT
LOWweb/packages/agenta-entities/src/annotation/api/api.ts249 // Step 1: Find annotation spans that link to the invocation trace_id.COMMENT
LOWweb/packages/agenta-entities/src/annotation/api/api.ts283 // Step 2: Extract annotation trace_ids and fetch full annotation dataCOMMENT
LOWweb/packages/agenta-entities/src/workflow/api/api.ts726 // Step 1: Create the workflowCOMMENT
LOWweb/packages/agenta-entities/src/workflow/api/api.ts753 // Step 2: Create a default variant (revisions require a variant_id)COMMENT
LOWweb/packages/agenta-entities/src/workflow/api/api.ts779 // Step 3: Commit seed revision (v0) — tables dismiss v0, so theCOMMENT
LOWweb/packages/agenta-entities/src/workflow/api/api.ts801 // Step 4: Commit actual data revision (v1) with full parametersCOMMENT
LOW…agenta-entities/src/workflow/api/createFromTemplate.ts166 // Step 1: Resolve template from catalog (unless custom URL)COMMENT
LOW…agenta-entities/src/workflow/api/createFromTemplate.ts199 // Step 2: Create workflow with template dataCOMMENT
LOW…tests/integration/testsetWriteback.integration.test.ts229 // Step 1: annotate the first scenario, save immediately.COMMENT
LOW…tests/integration/testsetWriteback.integration.test.ts233 // Step 2: finish the rest, save everything.COMMENT
LOW…tests/integration/testsetWriteback.integration.test.ts239 // Step 4: archive the head revision, then save again.COMMENT
LOW…n/src/state/controllers/annotationSessionController.ts1929 // Step 1: Refetch scenario steps FIRST (awaited).COMMENT
LOW…n/src/state/controllers/annotationSessionController.ts1960 // Step 2: Refetch annotation queries (awaited).COMMENT
LOW…n/src/state/controllers/annotationSessionController.ts2047 // Step 3: Trigger metrics refresh then refetch (fire-and-forget, independent)COMMENT
LOW…ity-ui/src/gatewayTool/drawers/ToolExecutionDrawer.tsx126// Step 1: Action Picker (infinite scroll)COMMENT
LOW…ity-ui/src/gatewayTool/drawers/ToolExecutionDrawer.tsx275// Step 2: Action Detail (inputs + execute + outputs)COMMENT
LOW.claude/skills/create-changelog-announcement/SKILL.md185### Step 1: Gather InformationCOMMENT
LOW.claude/skills/create-changelog-announcement/SKILL.md194### Step 2: Search for Related DocumentationCOMMENT
LOW.claude/skills/create-changelog-announcement/SKILL.md200### Step 3: Create Detailed EntryCOMMENT
LOW.claude/skills/create-changelog-announcement/SKILL.md257### Step 4: Write the Summary and Place the Truncate MarkerCOMMENT
LOW.claude/skills/create-changelog-announcement/SKILL.md272### Step 5: Add Sidebar AnnouncementCOMMENT
LOW.claude/skills/create-changelog-announcement/SKILL.md287### Step 6: Update RoadmapCOMMENT
LOW.claude/skills/create-changelog-announcement/SKILL.md311### Step 7: Check GitHub DiscussionCOMMENT
LOW.claude/skills/create-changelog-announcement/SKILL.md319### Step 8: Create Social Media AnnouncementsCOMMENT
LOW.claude/skills/create-changelog-announcement/SKILL.md334### Step 9: Build and VerifyCOMMENT
LOW.claude/skills/add-announcement/SKILL.md73### Step 1: Read the current changelog.jsonCOMMENT
LOW.claude/skills/add-announcement/SKILL.md79### Step 2: Add your entryCOMMENT
LOW.claude/skills/add-announcement/SKILL.md99### Step 3: Verify the formatCOMMENT
LOW.claude/skills/add-announcement/SKILL.md104### Step 4: Test locallyCOMMENT
LOWdocs/design/litellm-client-closed-retry/research.md68 # Step 1: Remove expired itemsCOMMENT
45 more matches not shown…
Deep Nesting214 hits · 183 pts
SeverityFileLineSnippetContext
LOWclients/python/agenta_client/core/jsonable_encoder.py31CODE
LOWclients/python/agenta_client/core/file.py46CODE
LOWclients/python/agenta_client/core/query_encoder.py9CODE
LOWclients/python/agenta_client/core/query_encoder.py26CODE
LOWclients/python/agenta_client/core/pydantic_utilities.py40CODE
LOWclients/python/agenta_client/core/pydantic_utilities.py197CODE
LOWclients/python/agenta_client/core/http_sse/_decoders.py15CODE
LOWsdks/python/agenta/sdk/evaluations/runtime/processor.py80CODE
LOWsdks/python/agenta/sdk/evaluations/runtime/processor.py142CODE
LOWsdks/python/agenta/sdk/evaluations/preview/utils.py172CODE
LOWsdks/python/agenta/sdk/evaluations/preview/utils.py266CODE
LOWsdks/python/agenta/sdk/evaluations/preview/utils.py388CODE
LOWsdks/python/agenta/sdk/evaluations/preview/utils.py511CODE
LOWsdks/python/agenta/sdk/evaluations/preview/utils.py693CODE
LOWsdks/python/agenta/sdk/evaluations/preview/utils.py94CODE
LOWsdks/python/agenta/sdk/evaluations/preview/evaluate.py203CODE
LOWsdks/python/agenta/sdk/decorators/tracing.py77CODE
LOWsdks/python/agenta/sdk/decorators/tracing.py320CODE
LOWsdks/python/agenta/sdk/decorators/tracing.py86CODE
LOWsdks/python/agenta/sdk/decorators/tracing.py155CODE
LOWsdks/python/agenta/sdk/decorators/tracing.py102CODE
LOWsdks/python/agenta/sdk/decorators/tracing.py166CODE
LOWsdks/python/agenta/sdk/managers/testsets.py80CODE
LOWsdks/python/agenta/sdk/managers/secrets.py158CODE
LOWsdks/python/agenta/sdk/managers/secrets.py294CODE
LOWsdks/python/agenta/sdk/middlewares/running/vault.py126CODE
LOWsdks/python/agenta/sdk/middlewares/running/vault.py282CODE
LOWsdks/python/agenta/sdk/middlewares/running/resolver.py219CODE
LOW…ks/python/agenta/sdk/middlewares/running/normalizer.py56CODE
LOWsdks/python/agenta/sdk/middlewares/routing/auth.py72CODE
LOWsdks/python/agenta/sdk/models/workflows.py137CODE
LOWsdks/python/agenta/sdk/models/workflows.py178CODE
LOWsdks/python/agenta/sdk/engines/running/handlers.py212CODE
LOWsdks/python/agenta/sdk/engines/running/handlers.py1480CODE
LOWsdks/python/agenta/sdk/engines/running/handlers.py1812CODE
LOWsdks/python/agenta/sdk/engines/running/handlers.py2396CODE
LOWsdks/python/agenta/sdk/engines/running/handlers.py2528CODE
LOWsdks/python/agenta/sdk/engines/running/handlers.py2576CODE
LOWsdks/python/agenta/sdk/engines/running/handlers.py2690CODE
LOWsdks/python/agenta/sdk/engines/running/handlers.py3345CODE
LOWsdks/python/agenta/sdk/engines/running/handlers.py3482CODE
LOWsdks/python/agenta/sdk/engines/running/handlers.py225CODE
LOWsdks/python/agenta/sdk/engines/running/utils.py375CODE
LOW…s/python/agenta/sdk/engines/running/runners/daytona.py140CODE
LOW…s/python/agenta/sdk/engines/running/runners/daytona.py339CODE
LOW…/python/agenta/sdk/engines/running/runners/registry.py21CODE
LOWsdks/python/agenta/sdk/engines/tracing/attributes.py9CODE
LOWsdks/python/agenta/sdk/engines/tracing/propagation.py10CODE
LOWsdks/python/agenta/sdk/engines/tracing/processors.py58CODE
LOWsdks/python/agenta/sdk/litellm/mockllm.py115CODE
LOW…/python/oss/tests/pytest/unit/test_preinit_warnings.py96CODE
LOW…/acceptance/observability/test_observability_traces.py68CODE
LOW…/acceptance/observability/test_observability_traces.py125CODE
LOWsdks/python/oss/tests/manual/tools/tools.tests.py286CODE
LOWsdks/python/oss/tests/manual/tools/tools.tests.py343CODE
LOWsdks/python/oss/tests/manual/tools/tools.tests.py385CODE
LOWsdks/python/oss/tests/manual/tools/tools.tests.py450CODE
LOWsdks/python/oss/tests/manual/tools/tools.tests.py504CODE
LOWsdks/python/oss/tests/manual/tools/tools.tests.py532CODE
LOWsdks/python/oss/tests/manual/tools/tools.tests.py561CODE
154 more matches not shown…
AI Structural Patterns189 hits · 140 pts
SeverityFileLineSnippetContext
LOWclients/python/agenta_client/traces/client.py399CODE
LOWclients/python/agenta_client/traces/client.py1206CODE
LOWclients/python/agenta_client/traces/raw_client.py541CODE
LOWclients/python/agenta_client/traces/raw_client.py1563CODE
LOWclients/python/agenta_client/core/http_client.py256CODE
LOWclients/python/agenta_client/core/http_client.py359CODE
LOWclients/python/agenta_client/core/http_client.py473CODE
LOWclients/python/agenta_client/core/http_client.py579CODE
LOWclients/python/agenta_client/core/pydantic_utilities.py133CODE
LOWclients/python/agenta_client/environments/client.py200CODE
LOWclients/python/agenta_client/environments/client.py395CODE
LOWclients/python/agenta_client/environments/client.py675CODE
LOWclients/python/agenta_client/environments/client.py803CODE
LOWclients/python/agenta_client/environments/client.py1281CODE
LOWclients/python/agenta_client/environments/client.py1524CODE
LOWclients/python/agenta_client/environments/client.py1868CODE
LOWclients/python/agenta_client/environments/client.py2020CODE
LOWclients/python/agenta_client/environments/raw_client.py272CODE
LOWclients/python/agenta_client/environments/raw_client.py556CODE
LOWclients/python/agenta_client/environments/raw_client.py969CODE
LOWclients/python/agenta_client/environments/raw_client.py1151CODE
LOWclients/python/agenta_client/environments/raw_client.py1803CODE
LOWclients/python/agenta_client/environments/raw_client.py2087CODE
LOWclients/python/agenta_client/environments/raw_client.py2500CODE
LOWclients/python/agenta_client/environments/raw_client.py2682CODE
LOWclients/python/agenta_client/queries/client.py197CODE
LOWclients/python/agenta_client/queries/client.py1120CODE
LOWclients/python/agenta_client/queries/raw_client.py269CODE
LOWclients/python/agenta_client/queries/raw_client.py1612CODE
LOWclients/python/agenta_client/workflows/client.py464CODE
LOWclients/python/agenta_client/workflows/client.py705CODE
LOWclients/python/agenta_client/workflows/client.py811CODE
LOWclients/python/agenta_client/workflows/client.py859CODE
LOWclients/python/agenta_client/workflows/client.py1052CODE
LOWclients/python/agenta_client/workflows/client.py1186CODE
LOWclients/python/agenta_client/workflows/client.py1926CODE
LOWclients/python/agenta_client/workflows/client.py2215CODE
LOWclients/python/agenta_client/workflows/client.py2337CODE
LOWclients/python/agenta_client/workflows/client.py2393CODE
LOWclients/python/agenta_client/workflows/client.py2634CODE
LOWclients/python/agenta_client/workflows/client.py2792CODE
LOWclients/python/agenta_client/workflows/raw_client.py605CODE
LOWclients/python/agenta_client/workflows/raw_client.py935CODE
LOWclients/python/agenta_client/workflows/raw_client.py1077CODE
LOWclients/python/agenta_client/workflows/raw_client.py1153CODE
LOWclients/python/agenta_client/workflows/raw_client.py1447CODE
LOWclients/python/agenta_client/workflows/raw_client.py1637CODE
LOWclients/python/agenta_client/workflows/raw_client.py2548CODE
LOWclients/python/agenta_client/workflows/raw_client.py2878CODE
LOWclients/python/agenta_client/workflows/raw_client.py3020CODE
LOWclients/python/agenta_client/workflows/raw_client.py3096CODE
LOWclients/python/agenta_client/workflows/raw_client.py3390CODE
LOWclients/python/agenta_client/workflows/raw_client.py3580CODE
LOWclients/python/agenta_client/legacy/client.py30CODE
LOWclients/python/agenta_client/legacy/client.py95CODE
LOWclients/python/agenta_client/legacy/raw_client.py24CODE
LOWclients/python/agenta_client/legacy/raw_client.py94CODE
LOWclients/python/agenta_client/testsets/client.py762CODE
LOWclients/python/agenta_client/testsets/client.py2087CODE
LOWclients/python/agenta_client/testsets/raw_client.py1091CODE
129 more matches not shown…
Verbosity Indicators53 hits · 93 pts
SeverityFileLineSnippetContext
LOWclients/scripts/generate.sh423 # Step 1: Replace the recursive type alias definitions with Any.COMMENT
LOWclients/scripts/generate.sh441 # Step 2: Replace every forward-reference string and Optional wrapper for theseCOMMENT
LOW…ests/legacy/new_tests/workflows/observability/tests.py62 # Step 1: Exclude lifecycle attribute from response(s)COMMENT
LOW…ests/legacy/new_tests/workflows/observability/tests.py66 # Step 2: Compare structures with Jest-like matcherCOMMENT
LOWweb/_reference/agenta-sdk/src/workflows.ts214 // Step 1: Create the workflowCOMMENT
LOWweb/_reference/agenta-sdk/src/workflows.ts231 // Step 2: Create a default variantCOMMENT
LOW…e/agenta-sdk/src/optimization/simulate-conversation.ts227 // Step 1: Get the simulated user's messageCOMMENT
LOW…e/agenta-sdk/src/optimization/simulate-conversation.ts242 // Step 2: Get the agent's response by invoking the candidate promptCOMMENT
LOW…e/agenta-sdk/src/optimization/simulate-conversation.ts252 // Step 3: Judge the conversationCOMMENT
LOWweb/oss/tests/playwright/acceptance/evaluators/index.ts260 // Step 3: The evaluator-flavored page has a "Select app" picker in the headerCOMMENT
LOWweb/oss/tests/playwright/acceptance/evaluators/index.ts266 // Step 4: Open the picker and select a completion-type app.COMMENT
LOWweb/oss/tests/playwright/acceptance/evaluators/index.ts329 // Step 6: Fill testcase fields. For the standard country-capitals completionCOMMENT
LOWweb/oss/tests/playwright/acceptance/evaluators/index.ts335 // Step 7: Click RunCOMMENT
LOWweb/oss/tests/playwright/acceptance/evaluators/index.ts341 // Step 8: Verify the evaluator result card appearsCOMMENT
LOWweb/oss/tests/playwright/acceptance/evaluators/index.ts364 // Step 1: Navigate to the evaluators pageCOMMENT
LOWweb/oss/tests/playwright/acceptance/evaluators/index.ts367 // Step 2: Switch to the Human Evaluators tabCOMMENT
LOWweb/oss/tests/playwright/acceptance/evaluators/index.ts370 // Step 3: Open the create drawer, fill in the form, and submitCOMMENT
LOWweb/oss/tests/playwright/acceptance/evaluators/index.ts373 // Step 4: Verify the success message (already checked inside the helper,COMMENT
LOWweb/oss/tests/playwright/acceptance/evaluators/index.ts382 // Step 5: Verify the new evaluator appears in the Human tab table.COMMENT
LOWweb/oss/tests/playwright/acceptance/evaluators/index.ts215 // Step 1: Navigate and create a fresh Exact Match evaluatorCOMMENT
LOWweb/oss/tests/playwright/acceptance/evaluators/index.ts247 // Step 2: Post-commit navigates to `/apps/<id>/playground` — theCOMMENT
LOWweb/oss/tests/playwright/acceptance/evaluators/index.ts315 // Step 5: Verify completion-app UI (Testcase Data section) appears.COMMENT
LOWweb/packages/agenta-entities/src/annotation/api/api.ts249 // Step 1: Find annotation spans that link to the invocation trace_id.COMMENT
LOWweb/packages/agenta-entities/src/annotation/api/api.ts283 // Step 2: Extract annotation trace_ids and fetch full annotation dataCOMMENT
LOWweb/packages/agenta-entities/src/workflow/api/api.ts726 // Step 1: Create the workflowCOMMENT
LOWweb/packages/agenta-entities/src/workflow/api/api.ts753 // Step 2: Create a default variant (revisions require a variant_id)COMMENT
LOWweb/packages/agenta-entities/src/workflow/api/api.ts779 // Step 3: Commit seed revision (v0) — tables dismiss v0, so theCOMMENT
LOWweb/packages/agenta-entities/src/workflow/api/api.ts801 // Step 4: Commit actual data revision (v1) with full parametersCOMMENT
LOW…agenta-entities/src/workflow/api/createFromTemplate.ts166 // Step 1: Resolve template from catalog (unless custom URL)COMMENT
LOW…agenta-entities/src/workflow/api/createFromTemplate.ts199 // Step 2: Create workflow with template dataCOMMENT
LOW…tests/integration/testsetWriteback.integration.test.ts229 // Step 1: annotate the first scenario, save immediately.COMMENT
LOW…tests/integration/testsetWriteback.integration.test.ts233 // Step 2: finish the rest, save everything.COMMENT
LOW…tests/integration/testsetWriteback.integration.test.ts239 // Step 4: archive the head revision, then save again.COMMENT
LOW…n/src/state/controllers/annotationSessionController.ts1929 // Step 1: Refetch scenario steps FIRST (awaited).COMMENT
LOW…n/src/state/controllers/annotationSessionController.ts1960 // Step 2: Refetch annotation queries (awaited).COMMENT
LOW…n/src/state/controllers/annotationSessionController.ts2047 // Step 3: Trigger metrics refresh then refetch (fire-and-forget, independent)COMMENT
LOW…ity-ui/src/gatewayTool/drawers/ToolExecutionDrawer.tsx126// Step 1: Action Picker (infinite scroll)COMMENT
LOW…ity-ui/src/gatewayTool/drawers/ToolExecutionDrawer.tsx275// Step 2: Action Detail (inputs + execute + outputs)COMMENT
LOW…amples/python/custom_workflows/chain_of_prompts/app.py44 # Step 1: SummarizeCOMMENT
LOW…amples/python/custom_workflows/chain_of_prompts/app.py49 # Step 2: Write tweetCOMMENT
LOWapi/oss/tests/legacy/workflows/observability/tests.py62 # Step 1: Exclude lifecycle attribute from response(s)COMMENT
LOWapi/oss/tests/legacy/workflows/observability/tests.py66 # Step 2: Compare structures with Jest-like matcherCOMMENT
LOWapi/oss/tests/manual/embeds/manual_test_api_simple.py33 # Step 1: Mock a workflow revision with an embedCOMMENT
LOWapi/oss/tests/manual/embeds/manual_test_api_simple.py61 # Step 2: Create resolver that simulates fetching referenced entitiesCOMMENT
LOWapi/oss/tests/manual/embeds/manual_test_api_simple.py80 # Step 3: Resolve embeds (this is what EmbedsService.resolve_configuration does)COMMENT
LOWapi/oss/tests/manual/embeds/manual_test_api_simple.py101 # Step 4: Verify resolution worked correctlyCOMMENT
LOWapi/oss/tests/manual/embeds/manual_test_api_simple.py116 # Step 5: Recreate WorkflowRevisionData with resolved configCOMMENT
LOW…astapi/otlp/extractors/adapters/openllmetry_adapter.py73 # Step 1: Transform OpenLLMmetry attributes to ag.* attributesCOMMENT
LOW…astapi/otlp/extractors/adapters/openllmetry_adapter.py113 # Step 2: Group attributes by prefix and update the SpanFeatures object directlyCOMMENT
LOWapi/oss/src/core/tools/providers/composio/adapter.py180 # Step 1: validate the toolkit exists and get its auth scheme info.COMMENT
LOWapi/oss/src/core/tools/providers/composio/adapter.py202 # Step 2: create an auth config for this integration.COMMENT
LOWapi/oss/src/core/tools/providers/composio/adapter.py262 # Step 3: initiate connected account link.COMMENT
LOWapi/oss/src/resources/evaluators/evaluators.py129 "content": 'You are an expert data labeler evaluating AI-generated responses for answer releCODE
Cross-Language Confusion (JS/TS)16 hits · 90 pts
SeverityFileLineSnippetContext
HIGH…ss/src/code_snippets/endpoints/fetch_variant/python.ts21print("Fetched configuration:")CODE
HIGH…ss/src/code_snippets/endpoints/fetch_variant/python.ts22print(config)CODE
HIGH…s/src/code_snippets/endpoints/invoke_llm_app/python.ts19print(json.dumps(data, indent=4))CODE
HIGH…oss/src/code_snippets/endpoints/fetch_config/python.ts15print(config)CODE
HIGH…/src/code_snippets/testsets/create_with_json/python.ts26print(response.status_code)CODE
HIGH…/src/code_snippets/testsets/create_with_json/python.ts27print(response.json())CODE
HIGH…rc/code_snippets/testsets/create_with_upload/python.ts20print(response.status_code)CODE
HIGH…rc/code_snippets/testsets/create_with_upload/python.ts21print(response.json())CODE
HIGH…/src/components/GetStarted/views/RunEvaluationView.tsx65 print(f"Evaluation complete!")CODE
HIGH…/modals/SetupTracingModal/assets/generateCodeBlocks.ts31print(response.choices[0].message.content)`,CODE
HIGH…/modals/SetupTracingModal/assets/generateCodeBlocks.ts57 print(response["choices"][0]["message"]["content"])CODE
HIGH…/modals/SetupTracingModal/assets/generateCodeBlocks.ts85print(response.content)`,CODE
HIGH…/modals/SetupTracingModal/assets/generateCodeBlocks.ts114print(response["choices"][0]["message"]["content"])`,CODE
HIGH…/modals/SetupTracingModal/assets/generateCodeBlocks.ts205 print("Analysis Result:", result)CODE
HIGH…/modals/SetupTracingModal/assets/generateCodeBlocks.ts255 print(f"Answer: {result}")CODE
HIGH…nents/pages/evaluations/SetupEvaluationModal/index.tsx72 print(f"Evaluation complete!")CODE
Modern AI Meta-Vocabulary29 hits · 87 pts
SeverityFileLineSnippetContext
MEDIUM…vability_sdk/integrations/llama_index/01_simple_RAG.py28 # Configure embedding modelCOMMENT
MEDIUM…/agenta-sdk/src/auto-agenta/07-agenta-agent-answers.md205## Answers to 03-orchestration-loop.mdCOMMENT
MEDIUM…a-sdk/src/auto-agenta/19-sdk-ui-components-proposal.md45└── auto-agenta/ # orchestration (existing)CODE
MEDIUMweb/packages/agenta-playground/README.md321│ ├── useChainExecution.ts # Execution orchestrationCODE
MEDIUM…/playground-open-from-trace/retrieve-endpoint-audit.md200### PR 1: Backend — guardrails only, no behavior changeCOMMENT
MEDIUMdocs/design/playground-open-from-trace/followups.md4original bug, the data model, and PR #4418's guardrails. PR #4422 extended thoseCODE
MEDIUMdocs/designs/access-controls-refactor-plan.md90### `core/access/controls.py` (shared orchestration)COMMENT
MEDIUMdocs/designs/gateway-tools/specs.md1042├── service.py # Business orchestrationCODE
MEDIUMdocs/designs/runnables/runnables-subsystem-layer.md124## 4. API runnable orchestration subsystemCOMMENT
MEDIUMdocs/designs/runnables/runnables-component-layer.md95## 4. API workflow orchestration componentsCOMMENT
MEDIUMdocs/docs/reference/openapi.json1{"openapi":"3.1.0","info":{"title":"Agenta API","description":"Agenta API","contact":{"name":"Agenta","url":"https://ageCODE
MEDIUMdocs/docs/reference/openapi.json1{"openapi":"3.1.0","info":{"title":"Agenta API","description":"Agenta API","contact":{"name":"Agenta","url":"https://ageCODE
MEDIUMexamples/python/RAG_QA_chatbot/README.md1# RAG QA ChatbotCOMMENT
MEDIUMexamples/python/RAG_QA_chatbot/README.md123│ └── rag.py # RAG pipeline (retrieve + generate)CODE
MEDIUMexamples/python/RAG_QA_chatbot/test_rag.py47 # Then test full RAGCOMMENT
MEDIUMexamples/python/RAG_QA_chatbot/ingest/__init__.py1# Ingestion module for RAG chatbotCOMMENT
MEDIUMexamples/python/RAG_QA_chatbot/backend/config.py22 # RAG settingsCOMMENT
MEDIUMexamples/python/RAG_QA_chatbot/backend/__init__.py1# Backend module for RAG chatbotCOMMENT
MEDIUMexamples/python/custom_workflows/rag-docs-qa/README.md1# RAG Q&A Documentation SystemCOMMENT
MEDIUM…s/tests/manual/tracing/ingestion/openinference_dspy.py29# Use case 2: Retrieval-Augmented Generation (RAG) with Wikipedia searchCOMMENT
MEDIUM…s/tests/manual/tracing/ingestion/openinference_dspy.py100 # Use case 2: RAG with WikipediaCOMMENT
MEDIUM…sts/manual/tracing/ingestion/openllmetry_llamaindex.py28 # Configure embedding modelCOMMENT
MEDIUMapi/oss/src/core/evaluations/tasks/run.py302 # --- entry point 1: run_from_source — orchestrate a run by topology -----COMMENT
MEDIUMapi/oss/src/core/accounts/service.py1190 # Also scaffold default org / workspace / projectCOMMENT
MEDIUMapi/oss/src/resources/evaluators/evaluators.py44 "content": "You are an expert evaluator grading model outputs for hallucinations. Your task CODE
MEDIUMapi/oss/src/resources/evaluators/evaluators.py822 # "name": "RAG Faithfulness",COMMENT
MEDIUMapi/oss/src/resources/evaluators/evaluators.py828 # "description": "RAG Faithfulness evaluator assesses the accuracy and reliability of responses generated by RetCOMMENT
MEDIUMapi/oss/src/resources/evaluators/evaluators.py834 # "name": "RAG Context Relevancy",COMMENT
MEDIUMapi/oss/src/resources/evaluators/evaluators.py840 # "description": "RAG Context Relevancy evaluator measures how relevant the retrieved documents or contexts are COMMENT
Cross-Language Confusion16 hits · 80 pts
SeverityFileLineSnippetContext
HIGHsdks/python/agenta/sdk/engines/running/templates.py51 result = null;CODE
HIGHsdks/python/agenta/sdk/engines/running/templates.py73result = Number.isFinite(resultNum) ? resultNum : null;CODE
HIGHsdks/python/agenta/sdk/engines/running/templates.py121 result = null;CODE
HIGHsdks/python/agenta/sdk/engines/running/templates.py142result = Number.isFinite(resultNum) ? resultNum : null;CODE
HIGHsdks/python/agenta/sdk/engines/running/templates.py185if (result === undefined) {{CODE
HIGHsdks/python/agenta/sdk/engines/running/templates.py186 result = null;CODE
HIGHsdks/python/agenta/sdk/engines/running/templates.py204if (result === undefined) {{CODE
HIGHsdks/python/agenta/sdk/engines/running/templates.py205 result = null;CODE
HIGH…n/oss/tests/pytest/unit/test_render_template_helper.py1199 {"expr": 'a < b && c > d "quoted"'},CODE
HIGH…n/oss/tests/pytest/unit/test_render_template_helper.py1201 assert rendered == 'compare: a < b && c > d "quoted"'CODE
HIGHsdks/python/oss/tests/pytest/unit/test_message_types.py32 {"role": "assistant", "content": "Hello", "tool_calls": null}CODE
HIGHexamples/python/RAG_QA_chatbot/scripts/test_traces.py6 source .venv/bin/activate && python scripts/test_traces.pySTRING
HIGHexamples/python/cv-screening/setup_app.py9 leave the uri null, so the playground shows a 404 instead of running.STRING
HIGH…acceptance/evaluations/test_evaluation_metrics_flow.py15 - global = whole run (scenario_id null) — used for batch evaluationsSTRING
HIGHapi/oss/src/apis/fastapi/tools/router.py1220 if (window.opener && !window.opener.closed && AGENTA_POST_MESSAGE_ORIGIN) {{CODE
HIGHapi/oss/src/apis/fastapi/tools/router.py1236 if (window.opener && AGENTA_POST_MESSAGE_ORIGIN) {{CODE
Self-Referential Comments26 hits · 78 pts
SeverityFileLineSnippetContext
MEDIUMsdks/python/agenta/sdk/engines/running/runners/local.py50 # Define the environment for code executionCOMMENT
MEDIUM…pytest/acceptance/workflows/test_embeds_integration.py78 # Create a version-0 stub so the first real commit gets version 1.COMMENT
MEDIUM…ytest/acceptance/workflows/test_apps_shared_manager.py154 # Create an app specifically for deletionCOMMENT
MEDIUM…ytest/acceptance/workflows/test_apps_shared_manager.py249 # Create an app for deletionCOMMENT
MEDIUM…ytest/acceptance/workflows/test_apps_shared_manager.py446 # Create a variant for deletionCOMMENT
MEDIUM…ytest/acceptance/workflows/test_apps_shared_manager.py463 # Create a variant for deletionCOMMENT
MEDIUM…s/pytest/acceptance/integrations/test_vault_secrets.py152 # Create a test secretCOMMENT
MEDIUMexamples/python/annotation-example.py114 # Create an annotation for this invocationCOMMENT
MEDIUM…/manual/evaluations/sdk/test_openai_agent_evaluator.py224 # Define the evaluation prompt template (static, without variables)COMMENT
MEDIUMapi/ee/tests/manual/evaluations/sdk/quick_start.py156 # Create a testset from your test dataCOMMENT
MEDIUMapi/oss/tests/pytest/unit/embeds/test_service.py456 # Create a mock service that always returns config with same embedCOMMENT
MEDIUM…st/acceptance/workflows/test_workflow_embeds_errors.py794 # Create a shared workflow to referenceCOMMENT
MEDIUM…ests/manual/tracing/ingestion/openllmetry_langchain.py23 # Create a chainCOMMENT
MEDIUM…/oss/tests/manual/tracing/ingestion/agenta_loadtest.py68 # Create a list of tasks to run concurrentlyCOMMENT
MEDIUMapi/oss/src/apis/fastapi/otlp/extractors/normalizer.py82 # Create the structured CanonicalAttributesCOMMENT
MEDIUMapi/oss/src/apis/fastapi/testsets/utils.py867 # Create a deep copy to avoid mutating the original inputCOMMENT
MEDIUMapi/oss/src/dbs/postgres/blobs/mappings.py41 # Create the DTO instanceCOMMENT
MEDIUMapi/oss/src/dbs/postgres/git/mappings.py44 # Create the DTO instanceCOMMENT
MEDIUMapi/oss/src/middlewares/analytics.py208 # Create a combined key for event+auth method trackingCOMMENT
MEDIUMapi/oss/src/utils/logging.py146 # Create a single handler for console outputCOMMENT
MEDIUMapi/oss/src/services/organization_service.py279 # Create a new invitation since user hasn't been invitedCOMMENT
MEDIUMapi/oss/src/services/organization_service.py340 # Create a new invitation with the previous roleCOMMENT
MEDIUMapi/oss/src/services/api_key_service.py29 # Initialize the APIKeyManager class objectSTRING
MEDIUMapi/oss/src/services/api_key_service.py36 # Define the characters to use for the prefixCOMMENT
MEDIUMapi/oss/src/services/api_key_service.py88 # Create an APIKeyDB instance with the prefix, hashed API key, and user_idCOMMENT
MEDIUMapi/oss/src/services/api_key_service.py158 # Initialize the APIKeyManager class objectSTRING
Redundant / Tautological Comments46 hits · 68 pts
SeverityFileLineSnippetContext
LOWsdks/python/agenta/sdk/evaluations/preview/utils.py594 # Check if this looks like a simple application output (single string)COMMENT
LOWsdks/python/agenta/sdk/utils/logging.py152 # Check if console logger already has handlers (from OSS module)COMMENT
LOWsdks/python/agenta/sdk/engines/running/templates.py31# Print result for captureCOMMENT
LOWsdks/python/agenta/sdk/engines/running/templates.py102# Print result for captureCOMMENT
LOWsdks/python/agenta/sdk/engines/running/templates.py170# Print result for captureCOMMENT
LOW…s/python/agenta/sdk/engines/running/runners/daytona.py66 # Check if it looks like an error line (ErrorType: message)COMMENT
LOWsdks/python/oss/tests/legacy/stop_server.sh10# Check if the PID file existsCOMMENT
LOWsdks/python/oss/tests/legacy/new_tests/conftest.py1113 # Check if the 'lifecycle' field is present and remove itCOMMENT
LOWdocs/scripts/generate_cookbooks.py45 # Check if file exists and force_overwrite is FalseSTRING
LOWexamples/python/RAG_QA_chatbot/ingest/store.py46 # Check if collection existsCOMMENT
LOWexamples/python/evaluators/basic/length_check.py44 # Check if within rangeCOMMENT
LOWexamples/python/evaluators/basic/string_contains.py47 # Check if answer is contained in outputCOMMENT
LOWexamples/python/evaluators/numpy/exact_match.py67 # Check if lengths matchCOMMENT
LOW…ython/custom_workflows/rag-docs-qa/generate_testset.py57 # Check if the response was completeSTRING
LOWexamples/node/observability-opentelemetry/test.sh4# Check if required environment variables are setCOMMENT
LOWhosting/railway/oss/scripts/bootstrap.sh119 # Check if a volume already exists for this service before adding.COMMENT
LOWapi/oss/tests/legacy/conftest.py1101 # Check if the 'lifecycle' field is present and remove itCOMMENT
LOWapi/oss/src/tasks/asyncio/tracing/worker.py222 # Check if we've exceeded the batch size limitCOMMENT
LOW…tapi/otlp/extractors/adapters/openinference_adapter.py253 # Check if llm.input_messages were processed (resulting in ag.data.inputs.prompt.* keys)COMMENT
LOW…tapi/otlp/extractors/adapters/openinference_adapter.py264 # Check if llm.output_messages were processed (resulting in ag.data.outputs.completion.* keys)COMMENT
LOWapi/oss/src/apis/fastapi/testsets/router.py1872 # Check if testset exists before attempting to editCOMMENT
LOWapi/oss/src/core/organizations/types.py44 # Check if it's a known enum valueCOMMENT
LOWapi/oss/src/core/access/permissions/service.py311 # Check if user is a demo member - demo members always have restricted accessCOMMENT
LOWapi/oss/src/core/access/permissions/service.py335 # Check if user is organization owner - organization owners always have full permissionsCOMMENT
LOWapi/oss/src/core/auth/service.py100 # Check if user exists only when email looks validCOMMENT
LOWapi/oss/src/core/auth/service.py177 # Check if this org has verified domain (enables SSO enforcement)COMMENT
LOWapi/oss/src/core/auth/service.py180 # Check if this org has active SSO providersCOMMENT
LOWapi/oss/src/core/auth/service.py468 # Check if user is already a member of this organizationCOMMENT
LOWapi/oss/src/core/auth/service.py638 # Check if identities satisfy allowed_methodsCOMMENT
LOWapi/oss/src/core/auth/types.py39 # Check if it's a known enum valueCOMMENT
LOWapi/oss/src/core/auth/middleware.py106 # Check if organization_id is in query paramsCOMMENT
LOWapi/oss/src/core/auth/supertokens/overrides.py178 # Check if user already exists (idempotent - skip if adding new auth method)COMMENT
LOWapi/oss/src/core/auth/supertokens/overrides.py456 # Check if user has an emailpassword login methodCOMMENT
LOWapi/oss/src/core/auth/supertokens/overrides.py968 # Check if internal user exists (sign_in can be called for new users too)COMMENT
LOWapi/oss/src/core/environments/defaults.py64 # Check if environment already existsCOMMENT
LOWapi/oss/src/core/embeds/utils.py1164 # Check if value is a string with embed tokensCOMMENT
LOWapi/oss/src/core/embeds/utils.py1193 # Check if item is a string with embed tokensCOMMENT
LOWapi/oss/src/middlewares/analytics.py70 # Check if we've already set this property for this userCOMMENT
LOWapi/oss/src/middlewares/analytics.py259 # Check if this is an activation eventCOMMENT
LOWapi/oss/src/middlewares/analytics.py265 # Check if auth method is allowed for this activationCOMMENT
LOWapi/oss/src/utils/traces.py341 # Check if part is indexed, if so split itCOMMENT
LOWapi/oss/src/services/organization_service.py243 # Check if the user is already a member of the workspaceCOMMENT
LOWapi/oss/src/services/organization_service.py325 # Check if the email address already has a valid, unused invitation for the workspaceCOMMENT
LOWapi/oss/src/services/api_key_service.py46 # Check if the prefix is unique in the databaseCOMMENT
LOWapi/oss/src/services/api_key_service.py123 # Check if the API key is valid (not blacklisted and not expired)COMMENT
LOWapi/oss/src/services/user_service.py67 # Check if user already exists (happy path optimization)COMMENT
Modern Structural Boilerplate36 hits · 36 pts
SeverityFileLineSnippetContext
LOWclients/python/agenta_client/__init__.py40__all__ = ["AdminAccountCreateOptions", "AdminAccountRead", "AdminAccountsCreate", "AdminAccountsDelete", "AdminAccountsCODE
LOWclients/python/agenta_client/traces/__init__.py27__all__ = ["QuerySpansAnalyticsRequestNewest", "QuerySpansAnalyticsRequestOldest"]CODE
LOWclients/python/agenta_client/traces/types/__init__.py28__all__ = ["QuerySpansAnalyticsRequestNewest", "QuerySpansAnalyticsRequestOldest"]CODE
LOWclients/python/agenta_client/types/__init__.py669__all__ = ["AdminAccountCreateOptions", "AdminAccountRead", "AdminAccountsCreate", "AdminAccountsDelete", "AdminAccountsCODE
LOWclients/python/agenta_client/core/__init__.py38__all__ = ["ApiError", "AsyncClientWrapper", "AsyncHttpClient", "AsyncHttpResponse", "BaseClientWrapper", "FieldMetadataCODE
LOWclients/python/agenta_client/core/pydantic_utilities.py308def update_forward_refs(model: Type["Model"], **localns: Any) -> None:CODE
LOWclients/python/agenta_client/core/http_sse/__init__.py29__all__ = ["EventSource", "SSEError", "ServerSentEvent", "aconnect_sse", "connect_sse"]CODE
LOWclients/python/agenta_client/environments/__init__.py27__all__ = ["QueryEnvironmentRevisionsRequestOrder", "QueryEnvironmentVariantsRequestOrder", "QueryEnvironmentsRequestOrdCODE
LOW…ts/python/agenta_client/environments/types/__init__.py29__all__ = ["QueryEnvironmentRevisionsRequestOrder", "QueryEnvironmentVariantsRequestOrder", "QueryEnvironmentsRequestOrdCODE
LOWclients/python/agenta_client/queries/__init__.py27__all__ = ["QueryQueriesRequestOrder"]CODE
LOWclients/python/agenta_client/queries/types/__init__.py27__all__ = ["QueryQueriesRequestOrder"]CODE
LOWclients/python/agenta_client/workflows/__init__.py27__all__ = ["QueryWorkflowRevisionsRequestOrder", "QueryWorkflowVariantsRequestOrder", "QueryWorkflowsRequestOrder"]CODE
LOW…ients/python/agenta_client/workflows/types/__init__.py29__all__ = ["QueryWorkflowRevisionsRequestOrder", "QueryWorkflowVariantsRequestOrder", "QueryWorkflowsRequestOrder"]CODE
LOWclients/python/agenta_client/legacy/__init__.py27__all__ = ["FetchLegacyAnalyticsRequestNewest", "FetchLegacyAnalyticsRequestOldest"]CODE
LOWclients/python/agenta_client/legacy/types/__init__.py28__all__ = ["FetchLegacyAnalyticsRequestNewest", "FetchLegacyAnalyticsRequestOldest"]CODE
LOWclients/python/agenta_client/testsets/__init__.py27__all__ = ["CreateSimpleTestsetFromFileRequestFileType", "CreateTestsetRevisionFromFileRequestFileType", "EditSimpleTestCODE
LOWclients/python/agenta_client/testsets/types/__init__.py31__all__ = ["CreateSimpleTestsetFromFileRequestFileType", "CreateTestsetRevisionFromFileRequestFileType", "EditSimpleTestCODE
LOWclients/python/agenta_client/evaluators/__init__.py27__all__ = ["QueryEvaluatorVariantsRequestOrder"]CODE
LOW…ents/python/agenta_client/evaluators/types/__init__.py27__all__ = ["QueryEvaluatorVariantsRequestOrder"]CODE
LOWclients/python/agenta_client/applications/__init__.py27__all__ = ["QueryApplicationVariantsRequestOrder"]CODE
LOW…ts/python/agenta_client/applications/types/__init__.py27__all__ = ["QueryApplicationVariantsRequestOrder"]CODE
LOWclients/python/agenta_client/errors/__init__.py27__all__ = ["UnprocessableEntityError"]CODE
LOWclients/python/agenta_client/webhooks/__init__.py27__all__ = ["WebhookSubscriptionTestRequestSubscription"]CODE
LOWclients/python/agenta_client/webhooks/types/__init__.py27__all__ = ["WebhookSubscriptionTestRequestSubscription"]CODE
LOWsdks/python/agenta/sdk/__init__.py6__all__ = [CODE
LOWsdks/python/agenta/sdk/managers/__init__.py6__all__ = ["ConfigManager", "VariantManager", "DeploymentManager"]CODE
LOW…/python/agenta/sdk/engines/running/runners/__init__.py3__all__ = ["get_runner"]CODE
LOWsdks/python/agenta/sdk/engines/tracing/processors.py276def _set_last_ended(span_ctx) -> None:CODE
LOWsdks/python/oss/tests/legacy/conftest.py17logger = logging.getLogger(__name__)CODE
LOWsdks/python/oss/tests/legacy/new_tests/conftest.py62logger = logging.getLogger(__name__)CODE
LOW…/manual/tracing/ingestion/agenta_streaming_response.py27logger = logging.getLogger(__name__)CODE
LOWapi/oss/src/apis/fastapi/accounts/models.py127__all__ = [CODE
LOWapi/oss/src/core/tools/providers/composio/__init__.py5__all__ = [CODE
LOWapi/oss/src/core/evaluations/runtime/types.py25__all__ = [CODE
LOWapi/oss/src/core/events/utils.py811__all__ = [CODE
LOWapi/oss/src/utils/locking.py49async def set_key(key: str, value, *, ttl: Optional[int] = None) -> None:STRING
Fake / Example Data27 hits · 30 pts
SeverityFileLineSnippetContext
LOWclients/python/agenta_client/types/error_policy.py5ErrorPolicy = typing.Union[typing.Literal["exception", "placeholder", "keep"], typing.Any]CODE
LOW…s/pytest/acceptance/integrations/test_vault_secrets.py159 key="sk-test-fake-key-for-integration-test"CODE
LOW…s/pytest/acceptance/integrations/test_vault_secrets.py205 key="sk-ant-test-fake-key-for-integration-test"CODE
LOW…on/oss/tests/legacy/new_tests/vault_router/conftest.py55 "header": {"name": "OpenAI", "description": "Lorem Ipsum"},CODE
LOW…gacy/new_tests/vault_router/test_vault_secrets_apis.py76 "header": {"name": "OpenAI", "description": "Lorem Ipsum"},CODE
LOW…gacy/new_tests/vault_router/test_vault_secrets_apis.py96 "header": {"name": "OpenAI", "description": "Lorem Ipsum"},CODE
LOWweb/tests/guides/UTILITIES_AND_FIXTURES_GUIDE.md144 await typeWithDelay('#email', 'user@example.com');CODE
LOWweb/tests/guides/UTILITIES_AND_FIXTURES_GUIDE.md165await uiHelpers.typeWithDelay('#email', 'user@example.com')CODE
LOW…es/agenta-entities/src/shared/user/UserAuthorLabel.tsx18 * <UserAuthorLabel name="John Doe" showAvatar />COMMENT
LOW…/agenta-entities/src/shared/molecule/withEntityMeta.ts251 * // → { id: "user-123", username: "johndoe", name: "John Doe", email: "..." }COMMENT
LOW…src/components/presentational/revision/AuthorLabel.tsx13 * <AuthorLabel author="user@example.com" />COMMENT
LOW…src/components/presentational/revision/AuthorLabel.tsx14 * <AuthorLabel author="user@example.com" prefix="by" />COMMENT
LOW…nifiedEntityPicker/variants/TreeSelectPopupContent.tsx28 | "placeholder"CODE
LOWdocs/design/annotation-queue-v2/competitive-analysis.md178 "assigner_name": "John Doe",CODE
LOWdocs/designs/advanced-auth/auth.flows.specs.md55 "email": "user@example.com"CODE
LOWdocs/designs/embeds/EMBEDS_IMPLEMENTATION_SUMMARY.md67request.embed_error_policy = "exception" # or "placeholder" or "keep"CODE
LOWdocs/docs/reference/openapi.json1{"openapi":"3.1.0","info":{"title":"Agenta API","description":"Agenta API","contact":{"name":"Agenta","url":"https://ageCODE
LOW…ence/api/resolve-evaluator-revision.RequestSchema.json1{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"evaluator_ref":{"anyOf":[{"properties":{CODE
LOW…rence/api/resolve-workflow-revision.RequestSchema.json1{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"workflow_ref":{"anyOf":[{"properties":{"CODE
LOW…ce/api/resolve-environment-revision.RequestSchema.json1{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"environment_ref":{"anyOf":[{"properties"CODE
LOW…ce/api/resolve-application-revision.RequestSchema.json1{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"application_ref":{"anyOf":[{"properties"CODE
LOWapi/oss/tests/pytest/unit/auth/test_helper.py241 email="user@example.com",CODE
LOW…st/acceptance/workflows/test_workflow_embeds_errors.py193 "error_policy": "placeholder",CODE
LOWapi/oss/tests/legacy/vault_router/conftest.py55 "header": {"name": "OpenAI", "description": "Lorem Ipsum"},CODE
LOW…s/tests/legacy/vault_router/test_vault_secrets_apis.py76 "header": {"name": "OpenAI", "description": "Lorem Ipsum"},CODE
LOW…s/tests/legacy/vault_router/test_vault_secrets_apis.py96 "header": {"name": "OpenAI", "description": "Lorem Ipsum"},CODE
LOWapi/oss/src/core/embeds/dtos.py11 PLACEHOLDER = "placeholder" # Replace with <missing:...>CODE
AI Slop Vocabulary8 hits · 18 pts
SeverityFileLineSnippetContext
LOWclients/python/agenta_client/core/serialization.py180 # then we can just pass the value through as isCOMMENT
LOWsdks/python/agenta/sdk/engines/tracing/attributes.py46 # just return the unmarshalled attributesCOMMENT
MEDIUM…/tests/playwright/acceptance/human-annotation/index.ts55 // Asserting that the success dot is absent is more robust than checking for a specific intermediate colour.COMMENT
MEDIUM…/MetricDetailsPopover/assets/ResponsiveMetricChart.tsx143 // Last bin: inclusive of upper edge, round both values for robust comparisonCOMMENT
MEDIUM…/MetricDetailsPopover/assets/ResponsiveMetricChart.tsx151 // Other bins: upper edge exclusive, round for robust comparisonCOMMENT
MEDIUMweb/packages/agenta-shared/src/utils/jsonParsing.ts1// Pure utility version for robust partial JSON parsingCOMMENT
LOWapi/oss/src/apis/fastapi/shared/utils.py157 # For ID-based ordering (UUID7), just use the ID as cursorCOMMENT
LOWapi/oss/src/core/testsets/service.py1155 # No operations, just return the base revisionCOMMENT
Dead Code9 hits · 18 pts
SeverityFileLineSnippetContext
MEDIUM…ython/oss/tests/pytest/unit/test_tracing_decorators.py339CODE
MEDIUM…ython/oss/tests/pytest/unit/test_tracing_decorators.py413CODE
MEDIUM…thon/oss/tests/pytest/unit/test_routing_negotiation.py45CODE
MEDIUM…/observability_sdk/sanity_check/03_app_errors_local.py166CODE
MEDIUM…bservability_sdk/sanity_check/04_app_old_sdk_agenta.py170CODE
MEDIUM…bservability_sdk/sanity_check/05_app_new_sdk_agenta.py170CODE
MEDIUM…/legacy/observability_sdk/sanity_check/02_app_local.py166CODE
MEDIUM…/legacy/observability_sdk/sanity_check/02_app_local.py212CODE
MEDIUM…oss/tests/manual/tracing/ingestion/agenta_exception.py18CODE
Synthetic Comment Markers2 hits · 15 pts
SeverityFileLineSnippetContext
HIGH…/agenta-entities/src/shared/utils/latestEntityQuery.ts149 // Mark as requestedCOMMENT
HIGHweb/packages/agenta-entities/src/testset/state/store.ts400 // Mark as requestedCOMMENT
Hallucination Indicators2 hits · 10 pts
SeverityFileLineSnippetContext
CRITICALapi/ee/src/core/access/permissions/role_overrides.py5`oss.src.core.access.permissions.controls.build_role_controls()` via aSTRING
CRITICALapi/ee/src/core/access/entitlements/types.py9 Runtime plan slugs come from `ee.src.core.access.controls.get_plans()`STRING
Example Usage Blocks6 hits · 9 pts
SeverityFileLineSnippetContext
LOWsdks/python/agenta/sdk/engines/running/utils.py327# Usage:COMMENT
LOWweb/_reference/agenta-sdk/scripts/generate-schemas.sh11# Usage:COMMENT
LOW…/modals/SetupTracingModal/assets/generateCodeBlocks.ts202# Example usageCOMMENT
LOWdocs/designs/oss-ee-convergence/dump_pg_schema.sh12# Usage:COMMENT
LOW…ts/manual/tracing/ingestion/openinference_langgraph.py81# Example usageCOMMENT
LOWapi/oss/tests/manual/webhooks/github.sh10# Usage:COMMENT
Slop Phrases4 hits · 6 pts
SeverityFileLineSnippetContext
LOWsdks/python/agenta/sdk/utils/client.py21 log.error("And don't forget to set AGENTA_API_URL and AGENTA_API_KEY.")CODE
LOWsdks/python/agenta/sdk/utils/client.py51 log.error("And don't forget to set AGENTA_API_URL and AGENTA_API_KEY.")CODE
MEDIUMapi/ee/tests/manual/evaluations/sdk/quick_start.py98 description="Assigns a random score (for demonstration purposes)",CODE
MEDIUMapi/oss/src/resources/evaluators/evaluators.py83 "content": 'You are an expert data labeler evaluating AI-generated responses for concisenessCODE
TODO Padding1 hit · 2 pts
SeverityFileLineSnippetContext
LOW…/acceptance/workflows/test_workflow_embeds_security.py179 # TODO: Add test with include_archived=False once request model supports itCOMMENT
Overly Generic Function Names1 hit · 0 pts
SeverityFileLineSnippetContext
LOWsdks/python/agenta/__init__.py127 >>> def my_function():STRING