Open-source observability for your GenAI or LLM application, based on OpenTelemetry
This report presents the forensic synthetic code analysis of traceloop/openllmetry, a Python project with 7,298 GitHub stars. SynthScan v2.0 examined 370,969 lines of code across 1617 source files, recording 3969 pattern matches distributed across 23 syntactic categories. The overall adjusted score of 15.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).
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.
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.
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.
The scanner identified 3969 distinct pattern matches across 23 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/codegen/generate_evaluator_models.py | 18 | def extract_definitions_and_mappings(swagger_path: str) -> tuple[dict, dict]: | CODE |
| LOW | …/sample-app/sample_app/vertex_gemini_vision_example.py | 19 | def describe_image_from_local_path(image_path: str) -> str: | CODE |
| LOW | packages/sample-app/sample_app/writer_example.py | 61 | def handle_streaming_response(response_stream): | CODE |
| LOW | packages/sample-app/sample_app/chroma_app.py | 44 | def build_prompt_with_context(claim, context): | CODE |
| LOW | …es/sample-app/sample_app/google_genai_image_example.py | 27 | def describe_image_from_local_path(image_path: str) -> str: | CODE |
| LOW⚡ | packages/sample-app/sample_app/dataset_example.py | 62 | def dataset_from_dataframe_example(slug: str) -> Optional[Dataset]: | CODE |
| LOW⚡ | packages/sample-app/sample_app/dataset_example.py | 256 | def get_dataset_by_version_example(slug: str, version: str): | CODE |
| LOW⚡ | packages/sample-app/sample_app/dataset_example.py | 268 | def get_dataset_by_slug_example(slug: str): | CODE |
| LOW⚡ | packages/sample-app/sample_app/dataset_example.py | 288 | def create_customer_support_dataset(slug: str) -> Optional[Dataset]: | CODE |
| LOW⚡ | packages/sample-app/sample_app/dataset_example.py | 365 | def create_translation_dataset(slug: str) -> Optional[Dataset]: | CODE |
| LOW | …s/sample-app/sample_app/dataset_attachments_example.py | 29 | def example_external_attachments(): | CODE |
| LOW | …s/sample-app/sample_app/dataset_attachments_example.py | 186 | def example_in_memory_attachments(): | CODE |
| LOW | …s/sample-app/sample_app/dataset_attachments_example.py | 241 | def example_mixed_attachments(): | CODE |
| LOW | …mple-app/sample_app/chroma_sentence_transformer_app.py | 58 | def build_prompt_with_context(claim, context): | CODE |
| LOW | packages/sample-app/sample_app/openai_agents_example.py | 258 | async def plan_and_apply_recipe_modifications( | CODE |
| LOW | …kages/sample-app/sample_app/openai_realtime_example.py | 31 | async def realtime_text_conversation(): | CODE |
| LOW | …kages/sample-app/sample_app/openai_realtime_example.py | 100 | async def realtime_multi_turn_conversation(): | CODE |
| LOW | …app/sample_app/guardrails/traceloop_evaluator_guard.py | 36 | async def generate_customer_response() -> str: | CODE |
| LOW | …ple-app/sample_app/guardrails/custom_function_guard.py | 36 | async def simple_lambda_guard_example(): | CODE |
| LOW | …ple-app/sample_app/guardrails/custom_function_guard.py | 94 | async def custom_function_guard_example(): | CODE |
| LOW⚡ | …le-app/sample_app/guardrails/custom_evaluator_guard.py | 78 | async def medical_advice_quality_check(): | CODE |
| LOW⚡ | …le-app/sample_app/guardrails/custom_evaluator_guard.py | 87 | async def diagnosis_request_blocker(): | CODE |
| LOW | …le-app/sample_app/guardrails/custom_evaluator_guard.py | 99 | async def attempt_diagnosis_request() -> str: | CODE |
| LOW | …e-app/sample_app/guardrails/multiple_guards_example.py | 55 | async def multiple_lambda_guards_example(): | CODE |
| LOW | …e-app/sample_app/guardrails/multiple_guards_example.py | 109 | async def generate_customer_response() -> str: | CODE |
| LOW | …e-app/sample_app/guardrails/multiple_guards_example.py | 128 | async def mixed_guard_types_example(): | CODE |
| LOW | …e-app/sample_app/guardrails/multiple_guards_example.py | 168 | async def generate_problematic_content() -> str: | CODE |
| LOW | …e-app/sample_app/guardrails/multiple_guards_example.py | 198 | async def sequential_guards_example(): | CODE |
| LOW | …s/sample-app/sample_app/agents/travel_agent_example.py | 439 | async def calculate_travel_distance( | CODE |
| LOW | …es/sample-app/sample_app/experiment/medical_prompts.py | 6 | def provide_medical_info_prompt(question: str) -> str: | CODE |
| LOW | …es/sample-app/sample_app/experiment/medical_prompts.py | 25 | def refuse_medical_advice_prompt(question: str) -> str: | CODE |
| LOW | …sample-app/sample_app/experiment/experiment_example.py | 31 | async def medical_task_refuse_advice(row): | CODE |
| LOW | …sample-app/sample_app/experiment/experiment_example.py | 40 | async def medical_task_provide_info(row): | CODE |
| LOW | …e-app/sample_app/experiment/run_research_experiment.py | 24 | async def generate_research_response(question: str) -> str: | CODE |
| LOW | …ple_app/experiment/made_by_traceloop/compliance_exp.py | 53 | async def run_content_compliance_experiment(): | CODE |
| LOW | …sample_app/experiment/made_by_traceloop/quality_exp.py | 67 | async def run_advanced_quality_experiment(): | CODE |
| LOW | …le_app/experiment/made_by_traceloop/correctness_exp.py | 59 | async def run_correctness_experiment(): | CODE |
| LOW | …ple_app/experiment/made_by_traceloop/formatting_exp.py | 24 | async def generate_structured_output(prompt: str, output_format: str) -> str: | CODE |
| LOW | …ple_app/experiment/made_by_traceloop/formatting_exp.py | 73 | async def run_formatting_experiment(): | CODE |
| LOW | …e_app/experiment/made_by_traceloop/travel_agent_exp.py | 71 | async def run_travel_agent_experiment(): | CODE |
| LOW | …/experiment/made_by_traceloop/agent_tool_trajectory.py | 33 | async def run_agent_tool_trajectory_experiment(): | CODE |
| LOW | …sonx/opentelemetry/instrumentation/watsonx/__init__.py | 159 | def set_model_input_attributes(span, instance): | CODE |
| LOW | …sonx/opentelemetry/instrumentation/watsonx/__init__.py | 205 | def _set_stream_response_attributes(span, stream_response): | CODE |
| LOW | …sonx/opentelemetry/instrumentation/watsonx/__init__.py | 215 | def _set_model_stream_response_attributes(span, stream_response): | CODE |
| LOW | …sonx/opentelemetry/instrumentation/watsonx/__init__.py | 241 | def _set_completion_content_attributes( | CODE |
| LOW | …sonx/opentelemetry/instrumentation/watsonx/__init__.py | 327 | def set_model_response_attributes( | CODE |
| LOW | …sonx/opentelemetry/instrumentation/watsonx/__init__.py | 374 | def _build_and_set_stream_response( | CODE |
| LOW | …sonx/opentelemetry/instrumentation/watsonx/__init__.py | 450 | def _metric_shared_attributes(response_model: str, is_streaming: bool = False): | CODE |
| LOW | …sonx/opentelemetry/instrumentation/watsonx/__init__.py | 675 | def instrumentation_dependencies(self) -> Collection[str]: | CODE |
| LOW | …etry-instrumentation-watsonx/tests/metrics/conftest.py | 20 | def metrics_test_context_legacy(): | CODE |
| LOW | …etry-instrumentation-watsonx/tests/metrics/conftest.py | 56 | def metrics_test_context_with_content(logger_provider): | CODE |
| LOW | …etry-instrumentation-watsonx/tests/metrics/conftest.py | 83 | def metrics_test_context_with_no_content(logger_provider): | CODE |
| LOW | …entation-watsonx/tests/metrics/test_watsonx_metrics.py | 76 | def test_generate_stream_metrics( | CODE |
| LOW | …-instrumentation-watsonx/tests/traces/test_generate.py | 40 | def test_generate_with_events_with_content( | CODE |
| LOW | …-instrumentation-watsonx/tests/traces/test_generate.py | 76 | def test_generate_with_with_events_no_content( | CODE |
| LOW | …-instrumentation-watsonx/tests/traces/test_generate.py | 107 | def test_generate_text_stream(exporter_legacy, watson_ai_model, log_exporter): | CODE |
| LOW | …-instrumentation-watsonx/tests/traces/test_generate.py | 140 | def test_generate_text_stream_with_events_with_content( | CODE |
| LOW | …-instrumentation-watsonx/tests/traces/test_generate.py | 181 | def test_generate_text_stream_with_events_with_no_content( | CODE |
| LOW | …rock/opentelemetry/instrumentation/bedrock/__init__.py | 221 | def _instrumented_model_invoke(fn, tracer, metric_params, event_logger): | CODE |
| LOW | …rock/opentelemetry/instrumentation/bedrock/__init__.py | 251 | def _instrumented_model_invoke_with_response_stream( | CODE |
| 2272 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | packages/sample-app/sample_app/sample_handoff_app.py | 33 | # ============================================================================ | COMMENT |
| MEDIUM | packages/sample-app/sample_app/sample_handoff_app.py | 35 | # ============================================================================ | COMMENT |
| MEDIUM | packages/sample-app/sample_app/sample_handoff_app.py | 96 | # ============================================================================ | STRING |
| MEDIUM | packages/sample-app/sample_app/sample_handoff_app.py | 98 | # ============================================================================ | STRING |
| MEDIUM | …app/sample_app/guardrails/traceloop_evaluator_guard.py | 34 | # ============================== | COMMENT |
| MEDIUM | …app/sample_app/guardrails/traceloop_evaluator_guard.py | 70 | # =================================== | COMMENT |
| MEDIUM | …ple-app/sample_app/guardrails/custom_function_guard.py | 34 | # ============================== | COMMENT |
| MEDIUM | …ple-app/sample_app/guardrails/custom_function_guard.py | 64 | # ================================================== | COMMENT |
| MEDIUM | …ple-app/sample_app/guardrails/custom_function_guard.py | 122 | # =================================== | COMMENT |
| MEDIUM | …ple-app/sample_app/guardrails/custom_function_guard.py | 158 | # ============================================ | COMMENT |
| MEDIUM | …le-app/sample_app/guardrails/custom_evaluator_guard.py | 44 | # ====================================================================== | COMMENT |
| MEDIUM⚡ | …le-app/sample_app/guardrails/custom_evaluator_guard.py | 85 | # ================================================= | COMMENT |
| MEDIUM | …e-app/sample_app/guardrails/multiple_guards_example.py | 39 | # ============================================ | COMMENT |
| MEDIUM | …e-app/sample_app/guardrails/multiple_guards_example.py | 90 | # ========================================================== | COMMENT |
| MEDIUM | …e-app/sample_app/guardrails/multiple_guards_example.py | 157 | # ================================================ | COMMENT |
| MEDIUM | …e-app/sample_app/guardrails/multiple_guards_example.py | 196 | # ============================ | COMMENT |
| MEDIUM⚡ | …strumentation-bedrock/tests/test_semconv_compliance.py | 135 | # =========================================================================== | COMMENT |
| MEDIUM⚡ | …strumentation-bedrock/tests/test_semconv_compliance.py | 138 | # =========================================================================== | COMMENT |
| MEDIUM⚡ | …strumentation-bedrock/tests/test_semconv_compliance.py | 329 | # =========================================================================== | COMMENT |
| MEDIUM⚡ | …strumentation-bedrock/tests/test_semconv_compliance.py | 331 | # =========================================================================== | COMMENT |
| MEDIUM⚡ | …strumentation-bedrock/tests/test_semconv_compliance.py | 420 | # =========================================================================== | COMMENT |
| MEDIUM⚡ | …strumentation-bedrock/tests/test_semconv_compliance.py | 422 | # =========================================================================== | COMMENT |
| MEDIUM⚡ | …strumentation-bedrock/tests/test_semconv_compliance.py | 498 | # =========================================================================== | COMMENT |
| MEDIUM⚡ | …strumentation-bedrock/tests/test_semconv_compliance.py | 505 | # =========================================================================== | COMMENT |
| MEDIUM⚡ | …strumentation-bedrock/tests/test_semconv_compliance.py | 564 | # =========================================================================== | COMMENT |
| MEDIUM⚡ | …strumentation-bedrock/tests/test_semconv_compliance.py | 566 | # =========================================================================== | COMMENT |
| MEDIUM⚡ | …strumentation-bedrock/tests/test_semconv_compliance.py | 608 | # =========================================================================== | COMMENT |
| MEDIUM⚡ | …strumentation-bedrock/tests/test_semconv_compliance.py | 610 | # =========================================================================== | COMMENT |
| MEDIUM⚡ | …strumentation-bedrock/tests/test_semconv_compliance.py | 710 | # =========================================================================== | COMMENT |
| MEDIUM⚡ | …strumentation-bedrock/tests/test_semconv_compliance.py | 712 | # =========================================================================== | COMMENT |
| MEDIUM⚡ | …strumentation-bedrock/tests/test_semconv_compliance.py | 750 | # =========================================================================== | COMMENT |
| MEDIUM⚡ | …strumentation-bedrock/tests/test_semconv_compliance.py | 752 | # =========================================================================== | COMMENT |
| MEDIUM⚡ | …strumentation-bedrock/tests/test_semconv_compliance.py | 786 | # =========================================================================== | COMMENT |
| MEDIUM⚡ | …strumentation-bedrock/tests/test_semconv_compliance.py | 793 | # =========================================================================== | COMMENT |
| MEDIUM⚡ | …strumentation-bedrock/tests/test_semconv_compliance.py | 851 | # =========================================================================== | COMMENT |
| MEDIUM⚡ | …strumentation-bedrock/tests/test_semconv_compliance.py | 853 | # =========================================================================== | COMMENT |
| MEDIUM⚡ | …strumentation-bedrock/tests/test_semconv_compliance.py | 895 | # =========================================================================== | COMMENT |
| MEDIUM⚡ | …strumentation-bedrock/tests/test_semconv_compliance.py | 897 | # =========================================================================== | COMMENT |
| MEDIUM⚡ | …strumentation-bedrock/tests/test_semconv_compliance.py | 1015 | # =========================================================================== | COMMENT |
| MEDIUM⚡ | …strumentation-bedrock/tests/test_semconv_compliance.py | 1017 | # =========================================================================== | COMMENT |
| MEDIUM⚡ | …strumentation-bedrock/tests/test_semconv_compliance.py | 1049 | # =========================================================================== | COMMENT |
| MEDIUM⚡ | …strumentation-bedrock/tests/test_semconv_compliance.py | 1051 | # =========================================================================== | COMMENT |
| MEDIUM⚡ | …strumentation-bedrock/tests/test_semconv_compliance.py | 1258 | # =========================================================================== | COMMENT |
| MEDIUM⚡ | …strumentation-bedrock/tests/test_semconv_compliance.py | 1264 | # =========================================================================== | COMMENT |
| MEDIUM⚡ | …strumentation-bedrock/tests/test_semconv_compliance.py | 1300 | # =========================================================================== | COMMENT |
| MEDIUM⚡ | …strumentation-bedrock/tests/test_semconv_compliance.py | 1302 | # =========================================================================== | COMMENT |
| MEDIUM⚡ | …strumentation-bedrock/tests/test_semconv_compliance.py | 1341 | # =========================================================================== | COMMENT |
| MEDIUM⚡ | …strumentation-bedrock/tests/test_semconv_compliance.py | 1348 | # =========================================================================== | COMMENT |
| MEDIUM⚡ | …strumentation-bedrock/tests/test_semconv_compliance.py | 1420 | # =========================================================================== | COMMENT |
| MEDIUM⚡ | …strumentation-bedrock/tests/test_semconv_compliance.py | 1427 | # =========================================================================== | COMMENT |
| MEDIUM⚡ | …strumentation-bedrock/tests/test_semconv_compliance.py | 1494 | # =========================================================================== | COMMENT |
| MEDIUM⚡ | …strumentation-bedrock/tests/test_semconv_compliance.py | 1499 | # =========================================================================== | COMMENT |
| MEDIUM | …strumentation-bedrock/tests/test_semconv_compliance.py | 44 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …strumentation-bedrock/tests/test_semconv_compliance.py | 46 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …strumentation-bedrock/tests/test_semconv_compliance.py | 1119 | # =========================================================================== | COMMENT |
| MEDIUM | …strumentation-bedrock/tests/test_semconv_compliance.py | 1130 | # =========================================================================== | COMMENT |
| MEDIUM | …y-instrumentation-bedrock/tests/test_finish_reasons.py | 30 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …y-instrumentation-bedrock/tests/test_finish_reasons.py | 32 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …y-instrumentation-bedrock/tests/test_finish_reasons.py | 53 | # =========================================================================== | COMMENT |
| MEDIUM⚡ | …y-instrumentation-bedrock/tests/test_finish_reasons.py | 55 | # =========================================================================== | COMMENT |
| 391 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | scripts/codegen/generate_evaluator_models.py | 452 | print(f"Error: Swagger file not found at {swagger_path}") | CODE |
| LOW | …ages/sample-app/sample_app/mcp_dev_assistant_server.py | 89 | except Exception as e: | CODE |
| LOW | …ages/sample-app/sample_app/mcp_dev_assistant_server.py | 124 | except Exception as e: | CODE |
| LOW | …ages/sample-app/sample_app/mcp_dev_assistant_server.py | 154 | except Exception as e: | CODE |
| LOW | …ages/sample-app/sample_app/mcp_dev_assistant_server.py | 196 | except Exception as e: | CODE |
| LOW | …ages/sample-app/sample_app/mcp_dev_assistant_server.py | 264 | except Exception: | CODE |
| LOW | …ages/sample-app/sample_app/mcp_dev_assistant_server.py | 276 | except Exception as e: | CODE |
| LOW | …ages/sample-app/sample_app/mcp_dev_assistant_server.py | 331 | except Exception: | CODE |
| LOW | …ages/sample-app/sample_app/mcp_dev_assistant_server.py | 336 | except Exception as e: | CODE |
| LOW | …ages/sample-app/sample_app/mcp_dev_assistant_server.py | 364 | except Exception as e: | CODE |
| LOW | packages/sample-app/sample_app/litellm_completion.py | 163 | except Exception as exc: # noqa: BLE001 - surface tool failures back to the model | CODE |
| LOW | …ckages/sample-app/sample_app/mcp_dev_assistant_demo.py | 75 | except Exception as e: | CODE |
| LOW | …ckages/sample-app/sample_app/mcp_dev_assistant_demo.py | 83 | except Exception as e: | CODE |
| LOW | …ckages/sample-app/sample_app/mcp_dev_assistant_demo.py | 96 | except Exception as e: | CODE |
| LOW | …ckages/sample-app/sample_app/mcp_dev_assistant_demo.py | 104 | except Exception as e: | CODE |
| LOW | …ckages/sample-app/sample_app/mcp_dev_assistant_demo.py | 115 | except Exception as e: | CODE |
| LOW | …ckages/sample-app/sample_app/mcp_dev_assistant_demo.py | 135 | except Exception as e: | CODE |
| LOW | …ckages/sample-app/sample_app/mcp_dev_assistant_demo.py | 157 | except Exception as e: | CODE |
| LOW | …es/sample-app/sample_app/google_genai_image_example.py | 73 | except Exception as e: | CODE |
| LOW⚡ | packages/sample-app/sample_app/llama_parse_app.py | 46 | except Exception as e: | CODE |
| LOW⚡ | packages/sample-app/sample_app/llama_parse_app.py | 55 | except Exception as e: | CODE |
| LOW⚡ | packages/sample-app/sample_app/llama_parse_app.py | 64 | except Exception as e: | CODE |
| LOW⚡ | packages/sample-app/sample_app/llama_parse_app.py | 74 | except Exception as e: | CODE |
| MEDIUM | packages/sample-app/sample_app/llama_parse_app.py | 68 | def main(): | CODE |
| MEDIUM⚡ | packages/sample-app/sample_app/dataset_example.py | 55 | print(f"Error creating dataset from CSV: {e}") | CODE |
| MEDIUM⚡ | packages/sample-app/sample_app/dataset_example.py | 252 | print(f"Error publishing dataset: {e}") | CODE |
| MEDIUM⚡ | packages/sample-app/sample_app/dataset_example.py | 265 | print(f"Error getting dataset by version: {e}") | CODE |
| MEDIUM⚡ | packages/sample-app/sample_app/dataset_example.py | 275 | print(f"Error getting dataset by slug: {e}") | CODE |
| MEDIUM⚡ | packages/sample-app/sample_app/dataset_example.py | 285 | print(f"Error deleting dataset: {e}") | CODE |
| MEDIUM⚡ | packages/sample-app/sample_app/dataset_example.py | 334 | print(f"Error generating response for query '{query}': {e}") | CODE |
| MEDIUM⚡ | packages/sample-app/sample_app/dataset_example.py | 361 | print(f"Error creating customer support dataset: {e}") | CODE |
| MEDIUM | packages/sample-app/sample_app/dataset_example.py | 88 | print(f"Error creating dataset from DataFrame: {e}") | CODE |
| MEDIUM | packages/sample-app/sample_app/dataset_example.py | 109 | print(f"Error adding column: {e}") | CODE |
| MEDIUM | packages/sample-app/sample_app/dataset_example.py | 128 | print(f"Error updating column: {e}") | CODE |
| MEDIUM | packages/sample-app/sample_app/dataset_example.py | 141 | print(f"Error deleting column: {e}") | CODE |
| MEDIUM | packages/sample-app/sample_app/dataset_example.py | 176 | print(f"Error adding row: {e}") | CODE |
| MEDIUM | packages/sample-app/sample_app/dataset_example.py | 212 | print(f"Error updating row: {e}") | CODE |
| MEDIUM | packages/sample-app/sample_app/dataset_example.py | 239 | print(f"Error deleting row: {e}") | CODE |
| MEDIUM | packages/sample-app/sample_app/dataset_example.py | 416 | print(f"Error translating '{phrase}' to {lang}: {e}") | CODE |
| MEDIUM | packages/sample-app/sample_app/dataset_example.py | 441 | print(f"Error creating translation dataset: {e}") | CODE |
| LOW⚡ | packages/sample-app/sample_app/dataset_example.py | 54 | except Exception as e: | CODE |
| LOW⚡ | packages/sample-app/sample_app/dataset_example.py | 251 | except Exception as e: | CODE |
| LOW⚡ | packages/sample-app/sample_app/dataset_example.py | 264 | except Exception as e: | CODE |
| LOW⚡ | packages/sample-app/sample_app/dataset_example.py | 274 | except Exception as e: | CODE |
| LOW⚡ | packages/sample-app/sample_app/dataset_example.py | 284 | except Exception as e: | CODE |
| LOW⚡ | packages/sample-app/sample_app/dataset_example.py | 333 | except Exception as e: | CODE |
| LOW⚡ | packages/sample-app/sample_app/dataset_example.py | 360 | except Exception as e: | CODE |
| LOW | packages/sample-app/sample_app/dataset_example.py | 87 | except Exception as e: | CODE |
| LOW | packages/sample-app/sample_app/dataset_example.py | 108 | except Exception as e: | CODE |
| LOW | packages/sample-app/sample_app/dataset_example.py | 127 | except Exception as e: | CODE |
| LOW | packages/sample-app/sample_app/dataset_example.py | 140 | except Exception as e: | CODE |
| LOW | packages/sample-app/sample_app/dataset_example.py | 175 | except Exception as e: | CODE |
| LOW | packages/sample-app/sample_app/dataset_example.py | 211 | except Exception as e: | CODE |
| LOW | packages/sample-app/sample_app/dataset_example.py | 238 | except Exception as e: | CODE |
| LOW | packages/sample-app/sample_app/dataset_example.py | 415 | except Exception as e: | CODE |
| LOW | packages/sample-app/sample_app/dataset_example.py | 440 | except Exception as e: | CODE |
| LOW | packages/sample-app/sample_app/mcp_sonnet_example.py | 120 | except Exception as e: | CODE |
| LOW | …s/sample-app/sample_app/dataset_attachments_example.py | 350 | except Exception as e: | CODE |
| MEDIUM | …ample-app/sample_app/openai_agents_realtime_example.py | 57 | print("Error: openai-agents is required for this example") | CODE |
| LOW | …ample-app/sample_app/openai_agents_realtime_example.py | 231 | except Exception as e: | CODE |
| 429 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …sonx/opentelemetry/instrumentation/watsonx/__init__.py | 0 | instruments and calls every async function defined in to_wrap. | STRING |
| HIGH | …rock/opentelemetry/instrumentation/bedrock/__init__.py | 0 | instruments and calls every async function defined in to_wrap. | STRING |
| HIGH | …a/opentelemetry/instrumentation/alephalpha/__init__.py | 0 | instruments and calls every async function defined in to_wrap. | STRING |
| HIGH | …iate/opentelemetry/instrumentation/weaviate/wrapper.py | 0 | instruments and calls every async function defined in to_wrap. | STRING |
| HIGH | …riter/opentelemetry/instrumentation/writer/__init__.py | 0 | instruments and calls every async function defined in to_wrap. | STRING |
| HIGH | …ai/opentelemetry/instrumentation/mistralai/__init__.py | 0 | instruments and calls every async function defined in to_wrap. | STRING |
| HIGH | …qdrant/opentelemetry/instrumentation/qdrant/wrapper.py | 0 | instruments and calls every async function defined in to_wrap. | STRING |
| HIGH | …llama/opentelemetry/instrumentation/ollama/__init__.py | 0 | instruments and calls every async function defined in to_wrap. | STRING |
| HIGH | …milvus/opentelemetry/instrumentation/milvus/wrapper.py | 0 | instruments and calls every async function defined in to_wrap. | STRING |
| HIGH | …xai/opentelemetry/instrumentation/vertexai/__init__.py | 0 | instruments and calls every async function defined in to_wrap. | STRING |
| HIGH | …ncedb/opentelemetry/instrumentation/lancedb/wrapper.py | 0 | instruments and calls every async function defined in to_wrap. | STRING |
| HIGH | …one/opentelemetry/instrumentation/pinecone/__init__.py | 0 | instruments and calls every async function defined in to_wrap. | STRING |
| HIGH | …ohere/opentelemetry/instrumentation/cohere/__init__.py | 0 | instruments and calls every async function defined in to_wrap. | STRING |
| HIGH | …te/opentelemetry/instrumentation/replicate/__init__.py | 0 | instruments and calls every async function defined in to_wrap. | STRING |
| HIGH | …on-groq/opentelemetry/instrumentation/groq/__init__.py | 0 | instruments and calls every async function defined in to_wrap. | STRING |
| HIGH | …emetry/instrumentation/google_generativeai/__init__.py | 0 | instruments and calls every async function defined in to_wrap. | STRING |
| HIGH | …madb/opentelemetry/instrumentation/chromadb/wrapper.py | 0 | instruments and calls every async function defined in to_wrap. | STRING |
| HIGH | …ic/opentelemetry/instrumentation/anthropic/__init__.py | 0 | instruments and calls every async function defined in to_wrap. | STRING |
| HIGH | …her/opentelemetry/instrumentation/together/__init__.py | 0 | instruments and calls every async function defined in to_wrap. | STRING |
| HIGH | …er/opentelemetry/instrumentation/sagemaker/__init__.py | 0 | instruments and calls every async function defined in to_wrap. | STRING |
| HIGH | …n-marqo/opentelemetry/instrumentation/marqo/wrapper.py | 0 | instruments and calls every async function defined in to_wrap. | STRING |
| HIGH | …eai/opentelemetry/instrumentation/voyageai/__init__.py | 0 | instruments and calls every async function defined in to_wrap. | STRING |
| HIGH | …watsonx/opentelemetry/instrumentation/watsonx/utils.py | 0 | a decorator that wraps the passed in function and logs exceptions instead of throwing them. @param func: the function to | STRING |
| HIGH | …bedrock/opentelemetry/instrumentation/bedrock/utils.py | 0 | a decorator that wraps the passed in function and logs exceptions instead of throwing them. @param func: the function to | STRING |
| HIGH | …lpha/opentelemetry/instrumentation/alephalpha/utils.py | 0 | a decorator that wraps the passed in function and logs exceptions instead of throwing them. @param func: the function to | STRING |
| HIGH | …aviate/opentelemetry/instrumentation/weaviate/utils.py | 0 | a decorator that wraps the passed in function and logs exceptions instead of throwing them. @param func: the function to | STRING |
| HIGH | …n-writer/opentelemetry/instrumentation/writer/utils.py | 0 | a decorator that wraps the passed in function and logs exceptions instead of throwing them. @param func: the function to | STRING |
| HIGH | …chain/opentelemetry/instrumentation/langchain/utils.py | 0 | a decorator that wraps the passed in function and logs exceptions instead of throwing them. @param func: the function to | STRING |
| HIGH | …rs/opentelemetry/instrumentation/transformers/utils.py | 0 | a decorator that wraps the passed in function and logs exceptions instead of throwing them. @param func: the function to | STRING |
| HIGH | …ralai/opentelemetry/instrumentation/mistralai/utils.py | 0 | a decorator that wraps the passed in function and logs exceptions instead of throwing them. @param func: the function to | STRING |
| HIGH | …n-qdrant/opentelemetry/instrumentation/qdrant/utils.py | 0 | a decorator that wraps the passed in function and logs exceptions instead of throwing them. @param func: the function to | STRING |
| HIGH | …n-ollama/opentelemetry/instrumentation/ollama/utils.py | 0 | a decorator that wraps the passed in function and logs exceptions instead of throwing them. @param func: the function to | STRING |
| HIGH | …n-milvus/opentelemetry/instrumentation/milvus/utils.py | 0 | a decorator that wraps the passed in function and logs exceptions instead of throwing them. @param func: the function to | STRING |
| HIGH | …ystack/opentelemetry/instrumentation/haystack/utils.py | 0 | a decorator that wraps the passed in function and logs exceptions instead of throwing them. @param func: the function to | STRING |
| HIGH | …rtexai/opentelemetry/instrumentation/vertexai/utils.py | 0 | a decorator that wraps the passed in function and logs exceptions instead of throwing them. @param func: the function to | STRING |
| HIGH | …lancedb/opentelemetry/instrumentation/lancedb/utils.py | 0 | a decorator that wraps the passed in function and logs exceptions instead of throwing them. @param func: the function to | STRING |
| HIGH | …litellm/opentelemetry/instrumentation/litellm/utils.py | 0 | a decorator that wraps the passed in function and logs exceptions instead of throwing them. @param func: the function to | STRING |
| HIGH | …necone/opentelemetry/instrumentation/pinecone/utils.py | 0 | a decorator that wraps the passed in function and logs exceptions instead of throwing them. @param func: the function to | STRING |
| HIGH | …antic-conventions-ai/opentelemetry/semconv_ai/utils.py | 0 | a decorator that wraps the passed in function and logs exceptions instead of throwing them. @param func: the function to | STRING |
| HIGH | …n-cohere/opentelemetry/instrumentation/cohere/utils.py | 0 | a decorator that wraps the passed in function and logs exceptions instead of throwing them. @param func: the function to | STRING |
| HIGH | …icate/opentelemetry/instrumentation/replicate/utils.py | 0 | a decorator that wraps the passed in function and logs exceptions instead of throwing them. @param func: the function to | STRING |
| HIGH | …ation-groq/opentelemetry/instrumentation/groq/utils.py | 0 | a decorator that wraps the passed in function and logs exceptions instead of throwing them. @param func: the function to | STRING |
| HIGH | …ndex/opentelemetry/instrumentation/llamaindex/utils.py | 0 | a decorator that wraps the passed in function and logs exceptions instead of throwing them. @param func: the function to | STRING |
| HIGH | …romadb/opentelemetry/instrumentation/chromadb/utils.py | 0 | a decorator that wraps the passed in function and logs exceptions instead of throwing them. @param func: the function to | STRING |
| HIGH | …gether/opentelemetry/instrumentation/together/utils.py | 0 | a decorator that wraps the passed in function and logs exceptions instead of throwing them. @param func: the function to | STRING |
| HIGH | …maker/opentelemetry/instrumentation/sagemaker/utils.py | 0 | a decorator that wraps the passed in function and logs exceptions instead of throwing them. @param func: the function to | STRING |
| HIGH | …ion-marqo/opentelemetry/instrumentation/marqo/utils.py | 0 | a decorator that wraps the passed in function and logs exceptions instead of throwing them. @param func: the function to | STRING |
| HIGH | …yageai/opentelemetry/instrumentation/voyageai/utils.py | 0 | a decorator that wraps the passed in function and logs exceptions instead of throwing them. @param func: the function to | STRING |
| HIGH | …watsonx/opentelemetry/instrumentation/watsonx/utils.py | 0 | checks if the instrumentation isn't using the legacy attributes and if the event logger is not none. | STRING |
| HIGH | …bedrock/opentelemetry/instrumentation/bedrock/utils.py | 0 | checks if the instrumentation isn't using the legacy attributes and if the event logger is not none. | STRING |
| HIGH | …n-writer/opentelemetry/instrumentation/writer/utils.py | 0 | checks if the instrumentation isn't using the legacy attributes and if the event logger is not none. | STRING |
| HIGH | …chain/opentelemetry/instrumentation/langchain/utils.py | 0 | checks if the instrumentation isn't using the legacy attributes and if the event logger is not none. | STRING |
| HIGH | …ralai/opentelemetry/instrumentation/mistralai/utils.py | 0 | checks if the instrumentation isn't using the legacy attributes and if the event logger is not none. | STRING |
| HIGH | …n-ollama/opentelemetry/instrumentation/ollama/utils.py | 0 | checks if the instrumentation isn't using the legacy attributes and if the event logger is not none. | STRING |
| HIGH | …litellm/opentelemetry/instrumentation/litellm/utils.py | 0 | checks if the instrumentation isn't using the legacy attributes and if the event logger is not none. | STRING |
| HIGH | …n-openai/opentelemetry/instrumentation/openai/utils.py | 0 | checks if the instrumentation isn't using the legacy attributes and if the event logger is not none. | STRING |
| HIGH | …n-cohere/opentelemetry/instrumentation/cohere/utils.py | 0 | checks if the instrumentation isn't using the legacy attributes and if the event logger is not none. | STRING |
| HIGH | …icate/opentelemetry/instrumentation/replicate/utils.py | 0 | checks if the instrumentation isn't using the legacy attributes and if the event logger is not none. | STRING |
| HIGH | …ation-groq/opentelemetry/instrumentation/groq/utils.py | 0 | checks if the instrumentation isn't using the legacy attributes and if the event logger is not none. | STRING |
| HIGH | …ndex/opentelemetry/instrumentation/llamaindex/utils.py | 0 | checks if the instrumentation isn't using the legacy attributes and if the event logger is not none. | STRING |
| 32 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/codegen/generate_evaluator_models.py | 18 | CODE | |
| LOW | scripts/codegen/generate_evaluator_models.py | 251 | CODE | |
| LOW | scripts/codegen/generate_evaluator_models.py | 64 | CODE | |
| LOW | scripts/codegen/generate_evaluator_models.py | 263 | CODE | |
| LOW | …ages/sample-app/sample_app/mcp_dev_assistant_server.py | 94 | CODE | |
| LOW | …ages/sample-app/sample_app/mcp_dev_assistant_server.py | 201 | CODE | |
| LOW | …ages/sample-app/sample_app/mcp_dev_assistant_server.py | 281 | CODE | |
| LOW | packages/sample-app/sample_app/writer_example.py | 61 | CODE | |
| LOW | …es/sample-app/sample_app/google_genai_image_example.py | 27 | CODE | |
| LOW | packages/sample-app/sample_app/dataset_example.py | 144 | CODE | |
| LOW | packages/sample-app/sample_app/dataset_example.py | 180 | CODE | |
| LOW | packages/sample-app/sample_app/dataset_example.py | 365 | CODE | |
| LOW | packages/sample-app/sample_app/mcp_sonnet_example.py | 48 | CODE | |
| LOW | …es/sample-app/sample_app/openai_streaming_assistant.py | 40 | CODE | |
| LOW | …s/sample-app/sample_app/dataset_attachments_example.py | 241 | CODE | |
| LOW | …ample-app/sample_app/openai_agents_realtime_example.py | 43 | CODE | |
| LOW | …ample-app/sample_app/openai_agents_realtime_example.py | 245 | CODE | |
| LOW | …ample-app/sample_app/openai_agents_realtime_example.py | 496 | CODE | |
| LOW | …ample-app/sample_app/openai_agents_realtime_example.py | 284 | CODE | |
| LOW | …ample-app/sample_app/openai_agents_realtime_example.py | 303 | CODE | |
| LOW | packages/sample-app/sample_app/openai_agents_example.py | 352 | CODE | |
| LOW | packages/sample-app/sample_app/openai_agents_example.py | 550 | CODE | |
| LOW | …kages/sample-app/sample_app/openai_realtime_example.py | 31 | CODE | |
| LOW | packages/sample-app/sample_app/sample_handoff_app.py | 100 | CODE | |
| LOW | …s/sample-app/sample_app/agents/travel_agent_example.py | 653 | CODE | |
| LOW | …ple-app/sample_app/chats/chatbot_with_tools_example.py | 153 | CODE | |
| LOW | …sonx/opentelemetry/instrumentation/watsonx/__init__.py | 552 | CODE | |
| LOW | …entation-watsonx/tests/metrics/test_watsonx_metrics.py | 14 | CODE | |
| LOW | …entation-watsonx/tests/metrics/test_watsonx_metrics.py | 76 | CODE | |
| LOW | …rock/opentelemetry/instrumentation/bedrock/__init__.py | 656 | CODE | |
| LOW | …rock/opentelemetry/instrumentation/bedrock/__init__.py | 755 | CODE | |
| LOW | …rock/opentelemetry/instrumentation/bedrock/__init__.py | 829 | CODE | |
| LOW | …rock/opentelemetry/instrumentation/bedrock/__init__.py | 989 | CODE | |
| LOW | …rock/opentelemetry/instrumentation/bedrock/__init__.py | 769 | CODE | |
| LOW | …rock/opentelemetry/instrumentation/bedrock/__init__.py | 859 | CODE | |
| LOW | …rock/opentelemetry/instrumentation/bedrock/__init__.py | 770 | CODE | |
| LOW | …rock/opentelemetry/instrumentation/bedrock/__init__.py | 860 | CODE | |
| LOW | …ck/opentelemetry/instrumentation/bedrock/span_utils.py | 75 | CODE | |
| LOW | …ck/opentelemetry/instrumentation/bedrock/span_utils.py | 148 | CODE | |
| LOW | …ck/opentelemetry/instrumentation/bedrock/span_utils.py | 198 | CODE | |
| LOW | …ck/opentelemetry/instrumentation/bedrock/span_utils.py | 216 | CODE | |
| LOW | …ck/opentelemetry/instrumentation/bedrock/span_utils.py | 261 | CODE | |
| LOW | …ck/opentelemetry/instrumentation/bedrock/span_utils.py | 381 | CODE | |
| LOW | …ck/opentelemetry/instrumentation/bedrock/span_utils.py | 450 | CODE | |
| LOW | …ck/opentelemetry/instrumentation/bedrock/span_utils.py | 610 | CODE | |
| LOW | …ck/opentelemetry/instrumentation/bedrock/span_utils.py | 670 | CODE | |
| LOW | …ck/opentelemetry/instrumentation/bedrock/span_utils.py | 890 | CODE | |
| LOW | …ck/opentelemetry/instrumentation/bedrock/span_utils.py | 981 | CODE | |
| LOW | …telemetry/instrumentation/bedrock/streaming_wrapper.py | 39 | CODE | |
| LOW | …telemetry/instrumentation/bedrock/streaming_wrapper.py | 81 | CODE | |
| LOW | …telemetry/instrumentation/bedrock/streaming_wrapper.py | 124 | CODE | |
| LOW | …telemetry/instrumentation/bedrock/streaming_wrapper.py | 166 | CODE | |
| LOW | …ock/opentelemetry/instrumentation/bedrock/guardrail.py | 183 | CODE | |
| LOW | …opentelemetry/instrumentation/bedrock/event_emitter.py | 65 | CODE | |
| LOW | …strumentation-bedrock/tests/test_semconv_compliance.py | 79 | CODE | |
| LOW | …strumentation-bedrock/tests/test_semconv_compliance.py | 305 | CODE | |
| LOW | …entation-bedrock/tests/metrics/test_bedrock_metrics.py | 11 | CODE | |
| LOW | …drock/tests/metrics/test_bedrock_guardrails_metrics.py | 83 | CODE | |
| LOW | …k/tests/metrics/test_bedrock_prompt_caching_metrics.py | 41 | CODE | |
| LOW | …etry-instrumentation-bedrock/tests/traces/test_meta.py | 544 | CODE | |
| 173 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …s/sample-app/sample_app/dataset_attachments_example.py | 37 | # Create a product catalog with external media | COMMENT |
| MEDIUM | …s/sample-app/sample_app/dataset_attachments_example.py | 90 | # Create the dataset | COMMENT |
| MEDIUM | …s/sample-app/sample_app/dataset_attachments_example.py | 121 | # Create a dataset with file uploads | COMMENT |
| MEDIUM | …s/sample-app/sample_app/dataset_attachments_example.py | 163 | # Create the dataset (uploads will happen automatically) | COMMENT |
| MEDIUM | …s/sample-app/sample_app/dataset_attachments_example.py | 245 | # Create a temporary file for local attachment | COMMENT |
| MEDIUM | packages/sample-app/sample_app/langgraph_example.py | 15 | # Define the tools for the agent to use | COMMENT |
| MEDIUM | packages/sample-app/sample_app/langgraph_example.py | 32 | # Define the function that determines whether to continue or not | COMMENT |
| MEDIUM⚡ | packages/sample-app/sample_app/langgraph_example.py | 43 | # Define the function that calls the model | COMMENT |
| MEDIUM⚡ | packages/sample-app/sample_app/langgraph_example.py | 51 | # Define a new graph | COMMENT |
| MEDIUM⚡ | packages/sample-app/sample_app/langgraph_example.py | 54 | # Define the two nodes we will cycle between | COMMENT |
| MEDIUM | …ample-app/sample_app/openai_agents_realtime_example.py | 95 | # Create the realtime agent with tools | COMMENT |
| MEDIUM | …ample-app/sample_app/openai_agents_realtime_example.py | 337 | # Create a text-only realtime agent | COMMENT |
| MEDIUM | packages/sample-app/sample_app/langgraph_openai.py | 8 | # Define the tools for the agent to use | COMMENT |
| MEDIUM | …tion-langchain/tests/metrics/test_langchain_metrics.py | 181 | # Create a patched version that returns results with None llm_output | COMMENT |
| MEDIUM | packages/traceloop-sdk/traceloop/sdk/tracing/tracing.py | 139 | # Create a wrapper that calls both the custom and original methods | COMMENT |
| MEDIUM | …kages/traceloop-sdk/traceloop/sdk/datasets/datasets.py | 99 | # Create the dataset | COMMENT |
| MEDIUM | …kages/traceloop-sdk/traceloop/sdk/datasets/datasets.py | 377 | # Create a deep copy of rows to avoid modifying the original | COMMENT |
| MEDIUM | …kages/traceloop-sdk/traceloop/sdk/datasets/datasets.py | 388 | # Create a new request with cleaned rows | COMMENT |
| MEDIUM | packages/traceloop-sdk/tests/conftest.py | 35 | # Create a new empty context and attach it | COMMENT |
| MEDIUM | …raceloop-sdk/tests/datasets/test_dataset_operations.py | 14 | # Create a simple CSV for the dataset | COMMENT |
| MEDIUM | …op-sdk/tests/datasets/test_dataset_with_attachments.py | 61 | # Create the dataset | COMMENT |
| MEDIUM | …op-sdk/tests/datasets/test_dataset_with_attachments.py | 169 | # Create a test file | COMMENT |
| MEDIUM | …s/traceloop-sdk/tests/datasets/test_rows_operations.py | 43 | # Create a simple CSV for the initial dataset | COMMENT |
| MEDIUM | …ages/traceloop-sdk/tests/experiment/test_experiment.py | 139 | # Create a task that returns output missing required fields | COMMENT |
| MEDIUM | …ages/traceloop-sdk/tests/experiment/test_experiment.py | 188 | # Create a task that returns output missing required fields | COMMENT |
| MEDIUM | …ages/traceloop-sdk/tests/experiment/test_experiment.py | 238 | # Create a task that returns valid output | COMMENT |
| MEDIUM | …ages/traceloop-sdk/tests/experiment/test_experiment.py | 287 | # Create a task that returns partial output | COMMENT |
| MEDIUM | …ages/traceloop-sdk/tests/experiment/test_experiment.py | 342 | # Create a task that returns any output | COMMENT |
| MEDIUM | …instrumentation-vertexai/tests/test_role_attributes.py | 179 | # Create a mock image-like object (simplified for testing) | COMMENT |
| MEDIUM | …instrumentation-vertexai/tests/test_role_attributes.py | 199 | # Create a mock image-like object (simplified for testing) | COMMENT |
| MEDIUM⚡ | …ntation-openai/tests/traces/test_semconv_compliance.py | 618 | # Create a ChatStream with a MagicMock response (ObjectProxy needs a real object) | COMMENT |
| MEDIUM | …y-instrumentation-openai/tests/traces/test_realtime.py | 824 | # Create a message item | COMMENT |
| MEDIUM | …metry-instrumentation-openai/tests/traces/test_chat.py | 1765 | # Create a stream without consuming it | COMMENT |
| MEDIUM⚡ | …-instrumentation-openai/tests/traces/test_responses.py | 528 | # Create a mock response object | COMMENT |
| MEDIUM⚡ | …-instrumentation-openai/tests/traces/test_responses.py | 531 | # Create a mock span | COMMENT |
| MEDIUM⚡ | …-instrumentation-openai/tests/traces/test_responses.py | 534 | # Create a mock tracer | COMMENT |
| MEDIUM | …-instrumentation-openai/tests/traces/test_responses.py | 593 | # Create a parent span and capture its trace context | COMMENT |
| MEDIUM | …-instrumentation-openai/tests/traces/test_responses.py | 664 | # Create a parent span (simulating what guardrails wrapper does) | COMMENT |
| MEDIUM | …-instrumentation-openai/tests/traces/test_responses.py | 736 | # Create a parent span (simulating what guardrails wrapper does) | COMMENT |
| MEDIUM | …aming_existing_assistant_with_events_with_content.yaml | 644 | sympy import symbols, Eq, solve\n\n# Define the variable\nx = symbols(''x'')\n\n# | CODE |
| MEDIUM | …reaming_new_assistant_with_events_with_no_content.yaml | 743 | sympy as sp\n\n# Define the variable\nx = sp.symbols(''x'')\n\n# Define the | CODE |
| MEDIUM | …ng_existing_assistant_with_events_with_no_content.yaml | 647 | sympy as sp\n\n# Define the variable\nx = sp.symbols(''x'')\n\n# Define the | CODE |
| MEDIUM | …_streaming_new_assistant_with_events_with_content.yaml | 736 | sympy as sp\n\n# Define the variable\nx = sp.symbols(''x'')\n\n# Define the | CODE |
| MEDIUM | …ettes/test_assistant/test_streaming_new_assistant.yaml | 736 | sympy as sp\r\n\r\n# Define the variable\r\nx = sp.symbols(''x'')\r\n\r\n# | CODE |
| MEDIUM | …/test_assistant/test_streaming_existing_assistant.yaml | 647 | sympy as sp\r\n\r\n# Define the variable\r\nx = sp.symbols(''x'')\r\n\r\n# | CODE |
| MEDIUM | …/opentelemetry/instrumentation/openai_agents/_hooks.py | 659 | # Create a root "Agent Workflow" span for the entire trace | COMMENT |
| MEDIUM | …y-instrumentation-openai-agents/tests/test_realtime.py | 82 | # Create a mock trace first | COMMENT |
| MEDIUM⚡ | …trumentation-openai-agents/tests/test_openai_agents.py | 37 | # Create a simple agent | COMMENT |
| MEDIUM⚡ | …trumentation-openai-agents/tests/test_openai_agents.py | 44 | # Create a query with structured content as array of objects (multimodal format) | COMMENT |
| MEDIUM | …trumentation-openai-agents/tests/test_openai_agents.py | 337 | # Create a simple function tool for the composer | COMMENT |
| MEDIUM⚡ | …mentation-openai-agents/tests/test_semconv_messages.py | 2788 | # Create a parent span for context | COMMENT |
| MEDIUM | …pentelemetry-instrumentation-mcp/tests/test_fastmcp.py | 4 | # Create a simple FastMCP server | COMMENT |
| MEDIUM | …-instrumentation-mcp/tests/test_fastmcp_server_span.py | 5 | # Create a simple FastMCP server | COMMENT |
| MEDIUM | …ic/opentelemetry/instrumentation/anthropic/__init__.py | 84 | # This method is on an async resource, but is meant to be called as | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …ample-app/sample_app/openai_agents_realtime_example.py | 650 | CODE | |
| LOW | …elemetry-instrumentation-bedrock/tests/test_semconv.py | 1 | CODE | |
| LOW | …telemetry-instrumentation-langchain/tests/test_llms.py | 12 | CODE | |
| LOW | packages/traceloop-sdk/traceloop/sdk/__init__.py | 35 | CODE | |
| LOW | …ages/traceloop-sdk/traceloop/sdk/evaluator/__init__.py | 1 | CODE | |
| LOW | …ages/traceloop-sdk/traceloop/sdk/evaluator/__init__.py | 2 | CODE | |
| LOW | …ages/traceloop-sdk/traceloop/sdk/evaluator/__init__.py | 3 | CODE | |
| LOW | …ckages/traceloop-sdk/traceloop/sdk/tracing/__init__.py | 1 | CODE | |
| LOW | …ckages/traceloop-sdk/traceloop/sdk/tracing/__init__.py | 2 | CODE | |
| LOW | …ckages/traceloop-sdk/traceloop/sdk/tracing/__init__.py | 2 | CODE | |
| LOW | …ckages/traceloop-sdk/traceloop/sdk/tracing/__init__.py | 2 | CODE | |
| LOW | …s/traceloop-sdk/traceloop/sdk/associations/__init__.py | 1 | CODE | |
| LOW | …s/traceloop-sdk/traceloop/sdk/associations/__init__.py | 1 | CODE | |
| LOW | …s/traceloop-sdk/traceloop/sdk/associations/__init__.py | 1 | CODE | |
| LOW | …ges/traceloop-sdk/traceloop/sdk/guardrails/__init__.py | 15 | CODE | |
| LOW | …ges/traceloop-sdk/traceloop/sdk/guardrails/__init__.py | 15 | CODE | |
| LOW | …ges/traceloop-sdk/traceloop/sdk/guardrails/__init__.py | 15 | CODE | |
| LOW | …ges/traceloop-sdk/traceloop/sdk/guardrails/__init__.py | 15 | CODE | |
| LOW | …ges/traceloop-sdk/traceloop/sdk/guardrails/__init__.py | 15 | CODE | |
| LOW | …ges/traceloop-sdk/traceloop/sdk/guardrails/__init__.py | 15 | CODE | |
| LOW | …ges/traceloop-sdk/traceloop/sdk/guardrails/__init__.py | 15 | CODE | |
| LOW | …ges/traceloop-sdk/traceloop/sdk/guardrails/__init__.py | 15 | CODE | |
| LOW | …ges/traceloop-sdk/traceloop/sdk/guardrails/__init__.py | 15 | CODE | |
| LOW | …ges/traceloop-sdk/traceloop/sdk/guardrails/__init__.py | 15 | CODE | |
| LOW | …ges/traceloop-sdk/traceloop/sdk/guardrails/__init__.py | 15 | CODE | |
| LOW | …ges/traceloop-sdk/traceloop/sdk/guardrails/__init__.py | 15 | CODE | |
| LOW | …ges/traceloop-sdk/traceloop/sdk/guardrails/__init__.py | 15 | CODE | |
| LOW | …ges/traceloop-sdk/traceloop/sdk/guardrails/__init__.py | 15 | CODE | |
| LOW | …ges/traceloop-sdk/traceloop/sdk/guardrails/__init__.py | 15 | CODE | |
| LOW | …ges/traceloop-sdk/traceloop/sdk/guardrails/__init__.py | 15 | CODE | |
| LOW | …ges/traceloop-sdk/traceloop/sdk/guardrails/__init__.py | 15 | CODE | |
| LOW | …ges/traceloop-sdk/traceloop/sdk/guardrails/__init__.py | 15 | CODE | |
| LOW | …ges/traceloop-sdk/traceloop/sdk/guardrails/__init__.py | 15 | CODE | |
| LOW | …ges/traceloop-sdk/traceloop/sdk/guardrails/__init__.py | 15 | CODE | |
| LOW | …ges/traceloop-sdk/traceloop/sdk/guardrails/__init__.py | 15 | CODE | |
| LOW | …ges/traceloop-sdk/traceloop/sdk/guardrails/__init__.py | 15 | CODE | |
| LOW | …ges/traceloop-sdk/traceloop/sdk/guardrails/__init__.py | 15 | CODE | |
| LOW | …ges/traceloop-sdk/traceloop/sdk/guardrails/__init__.py | 15 | CODE | |
| LOW | …ges/traceloop-sdk/traceloop/sdk/guardrails/__init__.py | 15 | CODE | |
| LOW | …ges/traceloop-sdk/traceloop/sdk/guardrails/__init__.py | 15 | CODE | |
| LOW | …ges/traceloop-sdk/traceloop/sdk/guardrails/__init__.py | 15 | CODE | |
| LOW | …ges/traceloop-sdk/traceloop/sdk/guardrails/__init__.py | 15 | CODE | |
| LOW | …ges/traceloop-sdk/traceloop/sdk/guardrails/__init__.py | 15 | CODE | |
| LOW | …kages/traceloop-sdk/traceloop/sdk/datasets/__init__.py | 1 | CODE | |
| LOW | …kages/traceloop-sdk/traceloop/sdk/datasets/__init__.py | 1 | CODE | |
| LOW | …kages/traceloop-sdk/traceloop/sdk/datasets/__init__.py | 1 | CODE | |
| LOW | …kages/traceloop-sdk/traceloop/sdk/datasets/__init__.py | 6 | CODE | |
| LOW | …kages/traceloop-sdk/traceloop/sdk/datasets/__init__.py | 7 | CODE | |
| LOW | …kages/traceloop-sdk/traceloop/sdk/datasets/__init__.py | 8 | CODE | |
| LOW | …kages/traceloop-sdk/traceloop/sdk/datasets/__init__.py | 9 | CODE | |
| LOW | …kages/traceloop-sdk/traceloop/sdk/datasets/__init__.py | 9 | CODE | |
| LOW | …kages/traceloop-sdk/traceloop/sdk/datasets/__init__.py | 9 | CODE | |
| LOW | …kages/traceloop-sdk/traceloop/sdk/datasets/__init__.py | 9 | CODE | |
| LOW | …kages/traceloop-sdk/traceloop/sdk/datasets/__init__.py | 15 | CODE | |
| LOW | packages/traceloop-sdk/traceloop/sdk/datasets/row.py | 7 | CODE | |
| LOW | packages/traceloop-sdk/traceloop/sdk/datasets/column.py | 8 | CODE | |
| LOW | …es/traceloop-sdk/traceloop/sdk/guardrail/on_failure.py | 10 | CODE | |
| LOW | …ckages/traceloop-sdk/traceloop/sdk/guardrail/guards.py | 19 | CODE | |
| LOW | …ages/traceloop-sdk/traceloop/sdk/guardrail/__init__.py | 29 | CODE | |
| LOW | …ages/traceloop-sdk/traceloop/sdk/guardrail/__init__.py | 30 | CODE | |
| 50 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …sonx/opentelemetry/instrumentation/watsonx/__init__.py | 42 | logger = logging.getLogger(__name__) | CODE |
| LOW | …rock/opentelemetry/instrumentation/bedrock/__init__.py | 110 | logger = logging.getLogger(__name__) | CODE |
| LOW | …ck/opentelemetry/instrumentation/bedrock/span_utils.py | 19 | logger = logging.getLogger(__name__) | CODE |
| LOW | …telemetry/instrumentation/bedrock/streaming_wrapper.py | 9 | logger = logging.getLogger(__name__) | CODE |
| LOW | …a/opentelemetry/instrumentation/alephalpha/__init__.py | 39 | logger = logging.getLogger(__name__) | CODE |
| LOW | …iate/opentelemetry/instrumentation/weaviate/wrapper.py | 13 | logger = logging.getLogger(__name__) | CODE |
| LOW | …ate/opentelemetry/instrumentation/weaviate/__init__.py | 16 | logger = logging.getLogger(__name__) | CODE |
| LOW | …riter/opentelemetry/instrumentation/writer/__init__.py | 38 | logger = logging.getLogger(__name__) | CODE |
| LOW | …n-writer/opentelemetry/instrumentation/writer/utils.py | 28 | def set_span_attribute(span: Span, name: str, value: Any | None) -> None: | CODE |
| LOW | …ter/opentelemetry/instrumentation/writer/span_utils.py | 16 | def set_input_attributes(span: Span, kwargs: dict) -> None: | CODE |
| LOW | …ter/opentelemetry/instrumentation/writer/span_utils.py | 63 | def set_model_input_attributes(span: Span, kwargs: dict) -> None: | CODE |
| LOW | …ter/opentelemetry/instrumentation/writer/span_utils.py | 141 | def set_response_attributes(span: Span, response) -> None: | CODE |
| LOW | …ter/opentelemetry/instrumentation/writer/span_utils.py | 152 | def _set_completions(span: Span, choices: list) -> None: | CODE |
| LOW | …chain/opentelemetry/instrumentation/langchain/patch.py | 14 | logger = logging.getLogger(__name__) | CODE |
| LOW | …in/opentelemetry/instrumentation/langchain/__init__.py | 35 | logger = logging.getLogger(__name__) | CODE |
| LOW | …/opentelemetry/instrumentation/langchain/span_utils.py | 28 | logger = logging.getLogger(__name__) | CODE |
| LOW | …/opentelemetry/instrumentation/langchain/span_utils.py | 81 | def _set_span_attribute(span: Span, key: str, value: Any) -> None: | CODE |
| LOW | …/opentelemetry/instrumentation/langchain/span_utils.py | 315 | def set_chat_response(span: Span, response: LLMResult) -> None: | CODE |
| LOW | …ation/transformers/text_generation_pipeline_wrapper.py | 26 | logger = logging.getLogger(__name__) | CODE |
| LOW | …opentelemetry/instrumentation/transformers/__init__.py | 18 | logger = logging.getLogger(__name__) | CODE |
| LOW | …ai/opentelemetry/instrumentation/mistralai/__init__.py | 49 | logger = logging.getLogger(__name__) | CODE |
| LOW | …drant/opentelemetry/instrumentation/qdrant/__init__.py | 21 | logger = logging.getLogger(__name__) | CODE |
| LOW | …llama/opentelemetry/instrumentation/ollama/__init__.py | 47 | logger = logging.getLogger(__name__) | CODE |
| LOW⚡ | packages/traceloop-sdk/traceloop/sdk/__init__.py | 250 | def set_association_properties(properties: dict) -> None: | CODE |
| LOW | …ages/traceloop-sdk/traceloop/sdk/evaluator/__init__.py | 5 | __all__ = [ | CODE |
| LOW⚡ | packages/traceloop-sdk/traceloop/sdk/tracing/tracing.py | 247 | def set_association_properties(properties: dict) -> None: | CODE |
| LOW⚡ | packages/traceloop-sdk/traceloop/sdk/tracing/tracing.py | 256 | def _set_association_properties_attributes(span, properties: dict) -> None: | CODE |
| LOW⚡ | packages/traceloop-sdk/traceloop/sdk/tracing/tracing.py | 263 | def set_workflow_name(workflow_name: str) -> None: | CODE |
| LOW⚡ | packages/traceloop-sdk/traceloop/sdk/tracing/tracing.py | 267 | def set_agent_name(agent_name: str) -> None: | CODE |
| LOW⚡ | packages/traceloop-sdk/traceloop/sdk/tracing/tracing.py | 271 | def set_conversation_id(conversation_id: str) -> None: | CODE |
| LOW | packages/traceloop-sdk/traceloop/sdk/tracing/tracing.py | 233 | def set_disabled(cls, disabled: bool) -> None: | CODE |
| LOW | packages/traceloop-sdk/traceloop/sdk/tracing/tracing.py | 284 | def set_entity_path(entity_path: str) -> None: | CODE |
| LOW | …s/traceloop-sdk/traceloop/sdk/associations/__init__.py | 7 | __all__ = ["Associations", "AssociationProperty", "Association"] | CODE |
| LOW | …ges/traceloop-sdk/traceloop/sdk/guardrails/__init__.py | 48 | __all__ = [ | CODE |
| LOW | …ges/traceloop-sdk/traceloop/sdk/decorators/__init__.py | 21 | __all__ = [ | CODE |
| LOW | …kages/traceloop-sdk/traceloop/sdk/datasets/datasets.py | 27 | logger = logging.getLogger(__name__) | CODE |
| LOW | …kages/traceloop-sdk/traceloop/sdk/datasets/__init__.py | 17 | __all__ = [ | CODE |
| LOW | …ages/traceloop-sdk/traceloop/sdk/guardrail/__init__.py | 75 | __all__ = [ | CODE |
| LOW | …ges/traceloop-sdk/traceloop/sdk/experiment/__init__.py | 3 | __all__ = ["Experiment"] | CODE |
| LOW | …ilvus/opentelemetry/instrumentation/milvus/__init__.py | 21 | logger = logging.getLogger(__name__) | CODE |
| LOW | …ck/opentelemetry/instrumentation/haystack/wrap_node.py | 10 | logger = logging.getLogger(__name__) | CODE |
| LOW | …/opentelemetry/instrumentation/haystack/wrap_openai.py | 18 | logger = logging.getLogger(__name__) | CODE |
| LOW | …ack/opentelemetry/instrumentation/haystack/__init__.py | 17 | logger = logging.getLogger(__name__) | CODE |
| LOW | …pentelemetry/instrumentation/haystack/wrap_pipeline.py | 14 | logger = logging.getLogger(__name__) | CODE |
| LOW | …xai/opentelemetry/instrumentation/vertexai/__init__.py | 37 | logger = logging.getLogger(__name__) | CODE |
| LOW | …i/opentelemetry/instrumentation/vertexai/span_utils.py | 15 | logger = logging.getLogger(__name__) | CODE |
| LOW | …on-agno/opentelemetry/instrumentation/agno/__init__.py | 30 | logger = logging.getLogger(__name__) | CODE |
| LOW⚡ | …ation-agno/opentelemetry/instrumentation/agno/utils.py | 7 | logger = logging.getLogger(__name__) | CODE |
| LOW⚡ | …ation-agno/opentelemetry/instrumentation/agno/utils.py | 30 | def set_span_attribute(span: Span, name: str, value: Any) -> None: | CODE |
| LOW | …n-agno/opentelemetry/instrumentation/agno/streaming.py | 13 | logger = logging.getLogger(__name__) | CODE |
| LOW | …cedb/opentelemetry/instrumentation/lancedb/__init__.py | 18 | logger = logging.getLogger(__name__) | CODE |
| LOW | …ellm/opentelemetry/instrumentation/litellm/__init__.py | 47 | logger = logging.getLogger(__name__) | CODE |
| LOW | …one/opentelemetry/instrumentation/pinecone/__init__.py | 35 | logger = logging.getLogger(__name__) | CODE |
| LOW | …emetry/instrumentation/openai/v1/assistant_wrappers.py | 33 | logger = logging.getLogger(__name__) | CODE |
| LOW | …lemetry/instrumentation/openai/shared/chat_wrappers.py | 68 | logger = logging.getLogger(__name__) | CODE |
| LOW | …pentelemetry/instrumentation/openai/shared/__init__.py | 32 | logger = logging.getLogger(__name__) | CODE |
| LOW | …y/instrumentation/openai/shared/embeddings_wrappers.py | 53 | logger = logging.getLogger(__name__) | CODE |
| LOW | …y/instrumentation/openai/shared/completion_wrappers.py | 48 | logger = logging.getLogger(__name__) | CODE |
| LOW | …ohere/opentelemetry/instrumentation/cohere/__init__.py | 43 | logger = logging.getLogger(__name__) | CODE |
| LOW | …rewai/opentelemetry/instrumentation/crewai/__init__.py | 5 | __all__ = ["CrewAIInstrumentor", "__version__"] | CODE |
| 21 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …ges/traceloop-sdk/traceloop/sdk/guardrail/condition.py | 84 | "Condition.equals() is deprecated. Use eq() from " | CODE |
| HIGH⚡ | …ages/traceloop-sdk/tests/guardrails/test_conditions.py | 130 | condition = Condition.equals("approved") | CODE |
| HIGH⚡ | …ages/traceloop-sdk/tests/guardrails/test_conditions.py | 135 | condition = Condition.equals("approved") | CODE |
| HIGH⚡ | …ages/traceloop-sdk/tests/guardrails/test_conditions.py | 140 | condition = Condition.equals("approved") | CODE |
| HIGH⚡ | …ages/traceloop-sdk/tests/guardrails/test_conditions.py | 146 | condition = Condition.equals(42) | CODE |
| HIGH⚡ | …ages/traceloop-sdk/tests/guardrails/test_conditions.py | 151 | condition = Condition.equals(0.8) | CODE |
| HIGH⚡ | …ages/traceloop-sdk/tests/guardrails/test_conditions.py | 156 | condition = Condition.equals(True) | CODE |
| HIGH⚡ | …ages/traceloop-sdk/tests/guardrails/test_conditions.py | 126 | """Tests for Condition.equals().""" | STRING |
| HIGH⚡ | …rumentation-openai-agents/tests/test_finish_reasons.py | 285 | """P2: Optional fields on tool_call parts must be omitted (not set to '' or null) | STRING |
| HIGH⚡ | …rumentation-openai-agents/tests/test_finish_reasons.py | 288 | OTel ToolCallRequestPart schema: id is optional (default null), arguments is optional. | STRING |
| HIGH | …mentation-openai-agents/tests/test_semconv_messages.py | 3471 | f"'id' must be absent (not null) when call_id is missing, got {part!r}" | CODE |
| HIGH⚡ | …mentation-openai-agents/tests/test_semconv_messages.py | 3259 | The id field is optional (OTel ToolCallRequestPart.id defaults null). | STRING |
| HIGH | …rumentation-anthropic/tests/test_semconv_span_attrs.py | 1041 | string value — NOT serialized as null, NOT omitted (Bedrock convention).""" | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/codegen/generate_evaluator_models.py | 290 | # Check if there's a config property | STRING |
| LOW | scripts/codegen/generate_evaluator_models.py | 327 | # Check if there's an input property | STRING |
| LOW | …/sample-app/sample_app/vertex_gemini_vision_example.py | 101 | # Check if the image exists | COMMENT |
| LOW | …e-app/sample_app/pinecone_app_sentence_transformers.py | 10 | # Set this to True for first run | COMMENT |
| LOW | packages/sample-app/sample_app/chats/gemini_chatbot.py | 149 | # Check if the model wants to use a tool | COMMENT |
| LOW | …instrumentation-bedrock/tests/traces/test_anthropic.py | 1005 | # Check if we got a toolUse delta | COMMENT |
| LOW | …elemetry/instrumentation/langchain/callback_handler.py | 324 | # Check if we're in a LangGraph flow and this is the first child | COMMENT |
| LOW | …instrumentation-langchain/tests/test_batch_metadata.py | 36 | # Check if metadata is present as span attributes | COMMENT |
| LOW | …instrumentation-langchain/tests/test_batch_metadata.py | 86 | # Check if metadata is present as span attributes | COMMENT |
| LOW | …telemetry-instrumentation-langchain/tests/test_llms.py | 10 | # Check if text_generation is available (used by HuggingFaceTextGenInference) | COMMENT |
| LOW | …traceloop-sdk/traceloop/sdk/evaluator/field_mapping.py | 143 | # Check if any available field is a synonym of the missing field | COMMENT |
| LOW | …s/traceloop-sdk/traceloop/sdk/experiment/experiment.py | 302 | # Check if running in GitHub Actions | COMMENT |
| LOW | …entelemetry-instrumentation-milvus/tests/test_error.py | 87 | # Check if status code is error | COMMENT |
| LOW⚡ | …i/opentelemetry/instrumentation/vertexai/span_utils.py | 28 | # Check if it has the Part attributes we expect | COMMENT |
| LOW⚡ | …i/opentelemetry/instrumentation/vertexai/span_utils.py | 32 | # Check if it's an image mime type and has inline data | COMMENT |
| LOW⚡ | …i/opentelemetry/instrumentation/vertexai/span_utils.py | 34 | # Check if the inline_data has actual data | COMMENT |
| LOW | …lemetry/instrumentation/openai/v1/realtime_wrappers.py | 644 | # Set trace_context to include the session span as parent for response spans | COMMENT |
| LOW | …rumentation-openai/tests/traces/test_finish_reasons.py | 454 | # Output messages should also carry finish_reason="stop" | COMMENT |
| LOW | …rumentation-openai/tests/traces/test_finish_reasons.py | 509 | # Output messages should carry finish_reason="tool_call" | COMMENT |
| LOW⚡ | …n-openai/tests/traces/test_span_context_propagation.py | 43 | # Check if we got any spans (instrumentation worked) | COMMENT |
| LOW⚡ | …n-openai/tests/traces/test_span_context_propagation.py | 48 | # Check if we got any events | COMMENT |
| LOW | …p/opentelemetry/instrumentation/mcp/instrumentation.py | 419 | # Check if this is an error response | COMMENT |
| LOW | …-instrumentation-mcp/tests/test_fastmcp_server_span.py | 37 | # Check if we have the expected spans | COMMENT |
| LOW⚡ | …nstrumentation-llamaindex/tests/test_finish_reasons.py | 499 | # Output messages: finish_reason in gen_ai.output.messages JSON | COMMENT |
| LOW | …ion-google-generativeai/tests/test_generate_content.py | 67 | # Output messages are now a single JSON array (parts-based OTel schema) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …ges/sample-app/sample_app/openai_guardrails_example.py | 19 | # Initialize Traceloop FIRST - before importing guardrails | COMMENT |
| MEDIUM | …ges/sample-app/sample_app/openai_guardrails_example.py | 30 | print("\nDocumentation: https://openai.github.io/openai-guardrails-python/") | CODE |
| MEDIUM | …ges/sample-app/sample_app/openai_guardrails_example.py | 65 | # Create guardrails configuration | COMMENT |
| MEDIUM | …uard.test_answer_relevancy_passes_relevant_answer.yaml | 16 | uri: https://api.traceloop.dev/v2/guardrails/answer-relevancy/execute | CODE |
| MEDIUM | …ard.test_answer_relevancy_fails_irrelevant_answer.yaml | 16 | uri: https://api.traceloop.dev/v2/guardrails/answer-relevancy/execute | CODE |
| MEDIUM | …test_toxicity_detector_guard_passes_friendly_text.yaml | 16 | uri: https://api.traceloop.dev/v2/guardrails/toxicity-detector/execute | CODE |
| MEDIUM | …orGuard.test_pii_detector_guard_passes_clean_text.yaml | 16 | uri: https://api.traceloop.dev/v2/guardrails/pii-detector/execute | CODE |
| MEDIUM | …ard.test_toxicity_detector_guard_fails_toxic_text.yaml | 16 | uri: https://api.traceloop.dev/v2/guardrails/toxicity-detector/execute | CODE |
| MEDIUM | …torGuard.test_pii_detector_guard_fails_with_email.yaml | 16 | uri: https://api.traceloop.dev/v2/guardrails/pii-detector/execute | CODE |
| MEDIUM | …Validation.test_validate_multiple_guards_all_pass.yaml | 16 | uri: https://api.traceloop.dev/v2/guardrails/pii-detector/execute | CODE |
| MEDIUM | …Validation.test_validate_multiple_guards_all_pass.yaml | 40 | uri: https://api.traceloop.dev/v2/guardrails/toxicity-detector/execute | CODE |
| MEDIUM | …alidation.test_validate_multiple_guards_one_fails.yaml | 16 | uri: https://api.traceloop.dev/v2/guardrails/pii-detector/execute | CODE |
| MEDIUM | …alidation.test_validate_multiple_guards_one_fails.yaml | 40 | uri: https://api.traceloop.dev/v2/guardrails/toxicity-detector/execute | CODE |
| MEDIUM | …emetry/instrumentation/openai/v1/responses_wrappers.py | 252 | # (e.g., when wrappers like openai-guardrails pass tools=None) | COMMENT |
| MEDIUM | …-instrumentation-openai/tests/traces/test_responses.py | 664 | # Create a parent span (simulating what guardrails wrapper does) | COMMENT |
| MEDIUM | …-instrumentation-openai/tests/traces/test_responses.py | 736 | # Create a parent span (simulating what guardrails wrapper does) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …ges/traceloop-sdk/traceloop/sdk/evaluator/evaluator.py | 235 | Validate that task output contains all required fields for the given evaluators. Automatically normalizes field | STRING |
| HIGH | …ges/traceloop-sdk/traceloop/sdk/guardrail/guardrail.py | 162 | Execute a function with guardrail protection. Args: func_to_guard: Async function that ret | STRING |
| HIGH | …ges/traceloop-sdk/traceloop/sdk/guardrail/guardrail.py | 238 | Run guards on inputs directly, without wrapping in a function. Args: guard_inputs: Inputs | STRING |
| HIGH | …ges/traceloop-sdk/traceloop/sdk/guardrail/guardrail.py | 304 | Resolve a dict of guard inputs keyed by guard name to an ordered list. Args: mapped: Dict | STRING |
| HIGH | …ges/traceloop-sdk/traceloop/sdk/guardrail/guardrail.py | 457 | Execute guards with tracing, handling validation, execution, and error checking. Args: gua | STRING |
| HIGH | …raceloop-sdk/traceloop/sdk/guardrail/default_mapper.py | 10 | Default mapper for common response types. Handles: - str: Creates dict with common text field names for ea | STRING |
| HIGH | …s/traceloop-sdk/traceloop/sdk/experiment/experiment.py | 276 | Execute tasks locally and submit results to backend for GitHub CI/CD This method: 1. Fetches the datase | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …ry-instrumentation-ollama/tests/test_error_handling.py | 58 | CODE | |
| MEDIUM | …ry-instrumentation-ollama/tests/test_error_handling.py | 90 | CODE | |
| MEDIUM | …ry-instrumentation-ollama/tests/test_error_handling.py | 121 | CODE | |
| MEDIUM | …ry-instrumentation-ollama/tests/test_error_handling.py | 145 | CODE | |
| MEDIUM | packages/traceloop-sdk/tests/test_tasks.py | 110 | CODE | |
| MEDIUM | packages/traceloop-sdk/tests/test_tasks.py | 111 | CODE | |
| MEDIUM | …strumentation-groq/tests/traces/test_error_handling.py | 53 | CODE | |
| MEDIUM | …strumentation-groq/tests/traces/test_error_handling.py | 82 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …eloop-sdk/tests/guardrails/test_guardrail_decorator.py | 26 | async def my_function(prompt: str) -> str: | CODE |
| LOW⚡ | …eloop-sdk/tests/guardrails/test_guardrail_decorator.py | 171 | async def my_function() -> str: | CODE |
| LOW⚡ | …eloop-sdk/tests/guardrails/test_guardrail_decorator.py | 188 | async def my_function() -> str: | CODE |
| LOW | …eloop-sdk/tests/guardrails/test_guardrail_decorator.py | 53 | async def my_function(arg1: str, arg2: int, kwarg1: str = "default") -> str: | CODE |
| LOW | …eloop-sdk/tests/guardrails/test_guardrail_decorator.py | 95 | async def my_function() -> str: | CODE |
| LOW | …eloop-sdk/tests/guardrails/test_guardrail_decorator.py | 123 | async def my_function() -> str: | CODE |
| LOW | …eloop-sdk/tests/guardrails/test_guardrail_decorator.py | 148 | async def my_function() -> str: | CODE |
| LOW | …eloop-sdk/tests/guardrails/test_guardrail_decorator.py | 207 | async def my_function() -> str: | CODE |
| LOW | …eloop-sdk/tests/guardrails/test_guardrail_decorator.py | 229 | async def my_function() -> str: | CODE |
| LOW | …y-instrumentation-mcp/tests/test_fastmcp_attributes.py | 13 | async def process_data(items: list, operation: str, metadata: dict = None) -> dict: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/sample-app/sample_app/langchain_app.py | 14 | # Step 1: Get a joke about OpenTelemetry | COMMENT |
| LOW | packages/sample-app/sample_app/langchain_app.py | 27 | # Step 2: Translate the joke to Sindarin | COMMENT |
| LOW | …s/sample-app/sample_app/guardrails/validate_example.py | 69 | # Step 1: Create input validation guardrail (prompt injection detection) | COMMENT |
| LOW | …s/sample-app/sample_app/guardrails/validate_example.py | 87 | # Step 2: Create output guardrail | COMMENT |
| LOW⚡ | …e-app/sample_app/guardrails/multiple_guards_example.py | 223 | {"text": text, "step": "pre-check"}, # Step 1: Basic validation | CODE |
| LOW⚡ | …e-app/sample_app/guardrails/multiple_guards_example.py | 224 | {"text": text, "step": "main"}, # Step 2: Main check | CODE |
| LOW⚡ | …e-app/sample_app/guardrails/multiple_guards_example.py | 225 | {"text": text, "step": "post-check"}, # Step 3: Final check | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/sample-app/sample_app/langchain_app.py | 14 | # Step 1: Get a joke about OpenTelemetry | COMMENT |
| LOW | packages/sample-app/sample_app/langchain_app.py | 27 | # Step 2: Translate the joke to Sindarin | COMMENT |
| LOW | …s/sample-app/sample_app/guardrails/validate_example.py | 69 | # Step 1: Create input validation guardrail (prompt injection detection) | COMMENT |
| LOW | …s/sample-app/sample_app/guardrails/validate_example.py | 87 | # Step 2: Create output guardrail | COMMENT |
| LOW⚡ | …e-app/sample_app/guardrails/multiple_guards_example.py | 223 | {"text": text, "step": "pre-check"}, # Step 1: Basic validation | CODE |
| LOW⚡ | …e-app/sample_app/guardrails/multiple_guards_example.py | 224 | {"text": text, "step": "main"}, # Step 2: Main check | CODE |
| LOW⚡ | …e-app/sample_app/guardrails/multiple_guards_example.py | 225 | {"text": text, "step": "post-check"}, # Step 3: Final check | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/sample-app/sample_app/chats/gemini_chatbot.py | 32 | # Simplified - just return current UTC time | COMMENT |
| MEDIUM⚡ | …strumentation-bedrock/tests/test_semconv_compliance.py | 896 | # P2-6: Content parts mapping - comprehensive structural validation | COMMENT |
| MEDIUM⚡ | …try-instrumentation-crewai/tests/test_semconv_attrs.py | 234 | # _process_llm — comprehensive sweep: zero legacy llm.* attribute names | COMMENT |
| MEDIUM⚡ | …mentation-openai-agents/tests/test_semconv_messages.py | 2313 | # Spec §4: finish_reasons top-level span attribute — comprehensive | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | packages/sample-app/sample_app/dataset_example.py | 339 | "ai_response": """I apologize, but I'm unable to process your request at the moment. | CODE |
| MEDIUM | packages/sample-app/sample_app/langgraph_example.py | 80 | # meaning you can use it as you would any other runnable. | COMMENT |
| MEDIUM | …/sample-app/sample_app/guardrails/decorator_example.py | 28 | on_failure="Sorry, I cannot provide that response.", | CODE |
| MEDIUM | …ntelemetry-instrumentation-milvus/tests/test_search.py | 153 | ], # Another query vector (you can add more as needed) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/traceloop-sdk/traceloop/sdk/__init__.py | 50 | CODE | |
| LOW | packages/traceloop-sdk/traceloop/sdk/tracing/tracing.py | 75 | CODE | |
| LOW | …ges/traceloop-sdk/traceloop/sdk/datasets/attachment.py | 30 | CODE | |
| LOW | …s/traceloop-sdk/traceloop/sdk/experiment/experiment.py | 41 | CODE | |
| LOW | …s/traceloop-sdk/traceloop/sdk/experiment/experiment.py | 94 | CODE | |
| LOW | packages/traceloop-sdk/tests/test_workflows.py | 132 | CODE | |
| LOW | …eloop-sdk/tests/guardrails/test_guardrail_decorator.py | 46 | CODE | |
| LOW | …-instrumentation-vertexai/tests/disabled_test_bison.py | 150 | CODE | |
| LOW | …lemetry/instrumentation/openai/shared/chat_wrappers.py | 916 | CODE | |
| LOW | …lemetry/instrumentation/openai/shared/chat_wrappers.py | 987 | CODE | |
| LOW | …lemetry/instrumentation/openai/shared/chat_wrappers.py | 663 | CODE | |
| LOW | …mentation-openai-agents/tests/test_semconv_messages.py | 110 | CODE | |
| LOW | …rumentation-anthropic/tests/test_semconv_span_attrs.py | 306 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …s/sample-app/sample_app/dataset_attachments_example.py | 334 | # os.environ["TRACELOOP_API_KEY"] = "your-api-key-here" | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …pentelemetry-instrumentation-mcp/tests/test_fastmcp.py | 118 | # Verify RequestStreamWriter spans were removed (as requested) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/traceloop-sdk/tests/conftest.py | 230 | api_key = os.environ.get("TRACELOOP_API_KEY", "fake-key-for-vcr-playback") | CODE |
| LOW | …ges/traceloop-sdk/tests/test_association_properties.py | 18 | Traceloop.set_association_properties({"user_id": 1, "user_name": "John Doe"}) | CODE |
| LOW | …ges/traceloop-sdk/tests/test_association_properties.py | 39 | == "John Doe" | CODE |
| LOW | …ges/traceloop-sdk/tests/test_association_properties.py | 51 | == "John Doe" | CODE |
| LOW | packages/traceloop-sdk/tests/guardrails/conftest.py | 26 | api_key = os.environ.get("TRACELOOP_API_KEY", "fake-key-for-vcr-playback") | CODE |
| LOW | …ges/traceloop-sdk/tests/guardrails/test_integration.py | 36 | api_key = os.environ.get("TRACELOOP_API_KEY", "fake-key-for-vcr-playback") | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …in/opentelemetry/instrumentation/langchain/__init__.py | 201 | COMMENT | |
| LOW | …elemetry/instrumentation/langchain/callback_handler.py | 261 | COMMENT | |
| LOW | …try-instrumentation-langchain/tests/test_tool_calls.py | 41 | # ) | COMMENT |
| LOW | …oop-sdk/traceloop/sdk/utils/in_memory_span_exporter.py | 1 | # Copyright The OpenTelemetry Authors | COMMENT |
| LOW | …entelemetry/instrumentation/pinecone/query_handlers.py | 1 | import json | COMMENT |