AI Slop Code RIsk Monitor

langchain-ai/langgraph

Build resilient agents.

35.9 High pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for langchain-ai/langgraph, a Python project with 43,023 GitHub stars. SynthScan examined 208,311 lines of code across 583 source files, recording 4638 pattern matches distributed across 23 syntactic categories. The legacy adjusted pattern signal is 35.9 (High pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

35.9
Adjusted Signal
35.9
Raw Pattern Score
100%
Time Factor
2026-10-10
Last Push
43.0K
Stars
Python
Language
208.3K
Lines of Code
583
Files
4.6K
Pattern Hits
2026-10-12
Scan Date
0.78
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 52.9/100 · HIGH

Can maintainers explain intent, assumptions, and trade-offs? 3159 finding(s).

Hallucinated Dependency & Supply Chain Risk 35.7/100 · MEDIUM

Are imports declared and package/API names verified? 674 finding(s).

Agent Over-Engineering Ratio 68.0/100 · HIGH

Are wrappers, guards, and repeated structures necessary? 3496 finding(s).

PR Review Velocity Impact 85.4/100 · CRITICAL

Which changes need focused human review? 4638 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 0HIGH 457MEDIUM 547LOW 3634

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 4638 distinct pattern matches across 23 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. 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 configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Hyper-Verbose Identifiers2613 hits · 2181 pts
SeverityFileLineSnippetContext
LOW…int-postgres/langgraph/checkpoint/postgres/__init__.py444 def get_delta_channel_history(CODE
LOW…eckpoint-postgres/langgraph/checkpoint/postgres/aio.py405 async def aget_delta_channel_history(CODE
LOW…eckpoint-postgres/langgraph/checkpoint/postgres/aio.py691 def get_delta_channel_history(CODE
LOW…ckpoint-postgres/langgraph/checkpoint/postgres/base.py466 def _build_delta_channels_writes_history(CODE
LOW…bs/checkpoint-postgres/langgraph/store/postgres/aio.py530 async def _batch_list_namespaces_ops(STRING
LOW…s/checkpoint-postgres/langgraph/store/postgres/base.py1101 def _batch_list_namespaces_ops(CODE
LOW…s/checkpoint-postgres/langgraph/store/postgres/base.py1295def _namespace_prefix_condition(namespace_prefix: tuple[str, ...]) -> tuple[str, tuple]:CODE
LOW…s/checkpoint-postgres/langgraph/store/postgres/base.py426 def _prepare_batch_search_queries(STRING
LOW…s/checkpoint-postgres/langgraph/store/postgres/base.py591 def _get_batch_list_namespaces_queries(STRING
LOW…bs/checkpoint-postgres/tests/test_conformance_delta.py14async def test_delta_channel_conformance():CODE
LOWlibs/checkpoint-postgres/tests/test_delta_pagination.py96async def test_async_walk_continues_across_pages(CODE
LOWlibs/checkpoint-postgres/tests/test_delta_pagination.py110def test_sync_walk_continues_across_pages(CODE
LOWlibs/checkpoint-postgres/tests/test_delta_pagination.py139async def test_async_walk_reads_nothing_newer_than_the_target(CODE
LOWlibs/checkpoint-postgres/tests/test_delta_pagination.py153def test_sync_walk_reads_nothing_newer_than_the_target(CODE
LOWlibs/checkpoint-postgres/tests/test_delta_pagination.py171async def test_async_empty_checkpoint_id_reads_from_the_latest_checkpoint() -> None:CODE
LOWlibs/checkpoint-postgres/tests/test_delta_pagination.py187def test_sync_empty_checkpoint_id_reads_from_the_latest_checkpoint() -> None:CODE
LOWlibs/checkpoint-postgres/tests/test_delta_pagination.py201async def test_root_target_has_no_history_and_still_terminates(CODE
LOWlibs/checkpoint-postgres/tests/test_sync.py285def test_pending_sends_migration(saver_name: str) -> None:CODE
LOWlibs/checkpoint-postgres/tests/test_sync.py334def test_get_checkpoint_no_channel_values(CODE
LOWlibs/checkpoint-postgres/tests/test_sync.py351 def patched_load_checkpoint_tuple(value):CODE
LOWlibs/checkpoint-postgres/tests/test_async.py297async def test_pending_sends_migration(saver_name: str) -> None:CODE
LOWlibs/checkpoint-postgres/tests/test_async.py346async def test_get_checkpoint_no_channel_values(CODE
LOWlibs/checkpoint-postgres/tests/test_async.py364 async def patched_load_checkpoint_tuple(value):CODE
LOWlibs/checkpoint-postgres/tests/test_async.py377async def test_delta_channel_chain_reconstruction(saver_name: str) -> None:CODE
LOW…eckpoint-postgres/tests/test_delta_plain_value_seed.py59async def test_plain_value_seed_is_found() -> None:CODE
LOW…eckpoint-postgres/tests/test_delta_plain_value_seed.py83async def test_delta_snapshot_seed_is_found() -> None:CODE
LOW…eckpoint-postgres/tests/test_delta_plain_value_seed.py99async def test_version_bump_without_a_value_does_not_hide_an_older_seed() -> None:CODE
LOW…eckpoint-postgres/tests/test_delta_plain_value_seed.py154async def test_inline_primitive_seed_is_found() -> None:CODE
LOW…eckpoint-postgres/tests/test_delta_plain_value_seed.py179async def test_inline_true_is_not_read_as_a_snapshot_marker() -> None:CODE
LOWlibs/checkpoint-postgres/tests/test_store.py225def test_batch_list_namespaces_ops(store: PostgresStore) -> None:CODE
LOWlibs/checkpoint-postgres/tests/test_store.py342def test_namespace_match_pattern() -> None:CODE
LOWlibs/checkpoint-postgres/tests/test_store.py357def test_search_namespace_segment_boundary(store) -> None:CODE
LOWlibs/checkpoint-postgres/tests/test_store.py389def test_search_empty_prefix_is_unconstrained(store) -> None:CODE
LOWlibs/checkpoint-postgres/tests/test_store.py401def test_search_namespace_like_metacharacters(store) -> None:CODE
LOWlibs/checkpoint-postgres/tests/test_store.py421def test_list_namespaces_segment_boundary(store) -> None:CODE
LOWlibs/checkpoint-postgres/tests/test_store.py580def test_vector_store_initialization(CODE
LOWlibs/checkpoint-postgres/tests/test_store.py590def test_vector_insert_with_auto_embedding(vector_store: PostgresStore) -> None:CODE
LOWlibs/checkpoint-postgres/tests/test_store.py612def test_vector_update_with_embedding(vector_store: PostgresStore) -> None:CODE
LOWlibs/checkpoint-postgres/tests/test_store.py641def test_vector_search_with_filters(CODE
LOWlibs/checkpoint-postgres/tests/test_store.py685def test_vector_search_pagination(vector_store: PostgresStore) -> None:CODE
LOWlibs/checkpoint-postgres/tests/test_store.py704def test_vector_search_edge_cases(vector_store: PostgresStore) -> None:CODE
LOWlibs/checkpoint-postgres/tests/test_store.py732def test_embed_with_path_sync(CODE
LOWlibs/checkpoint-postgres/tests/test_store.py804def test_embed_with_path_operation_config(CODE
LOWlibs/checkpoint-postgres/tests/test_store.py1020def test_omit_expired_filters_read_paths(store: PostgresStore) -> None:CODE
LOWlibs/checkpoint-postgres/tests/test_store.py1048def test_omit_expired_disabled_preserves_expired_rows(CODE
LOWlibs/checkpoint-postgres/tests/test_store.py1064def test_omit_expired_refresh_ttl_only_refreshes_live_rows(CODE
LOWlibs/checkpoint-postgres/tests/test_store.py1091def test_omit_expired_search_pagination(store: PostgresStore) -> None:CODE
LOWlibs/checkpoint-postgres/tests/test_store.py1157def test_namespace_labels_with_trailing_newline(store) -> None:CODE
LOWlibs/checkpoint-postgres/tests/test_store.py1174def test_batch_rejects_invalid_namespace_labels(CODE
LOWlibs/checkpoint-postgres/tests/test_store.py1202def test_batch_allows_empty_search_prefix_and_listing_wildcards(CODE
LOWlibs/checkpoint-postgres/tests/test_async_store.py337async def test_batch_list_namespaces_ops(store: AsyncPostgresStore) -> None:CODE
LOWlibs/checkpoint-postgres/tests/test_async_store.py381async def test_abatch_uses_single_pool_checkout(monkeypatch) -> None:CODE
LOWlibs/checkpoint-postgres/tests/test_async_store.py476async def test_vector_store_initialization(CODE
LOWlibs/checkpoint-postgres/tests/test_async_store.py486async def test_vector_insert_with_auto_embedding(CODE
LOWlibs/checkpoint-postgres/tests/test_async_store.py510async def test_vector_update_with_embedding(vector_store: AsyncPostgresStore) -> None:CODE
LOWlibs/checkpoint-postgres/tests/test_async_store.py542async def test_vector_search_with_filters(vector_store: AsyncPostgresStore) -> None:CODE
LOWlibs/checkpoint-postgres/tests/test_async_store.py579async def test_vector_search_pagination(vector_store: AsyncPostgresStore) -> None:CODE
LOWlibs/checkpoint-postgres/tests/test_async_store.py599async def test_vector_search_edge_cases(vector_store: AsyncPostgresStore) -> None:CODE
LOWlibs/checkpoint-postgres/tests/test_async_store.py778async def test_omit_expired_filters_read_paths(store: AsyncPostgresStore) -> None:CODE
LOWlibs/checkpoint-postgres/tests/test_async_store.py806async def test_omit_expired_disabled_preserves_expired_rows(CODE
2553 more matches not shown…
Decorative Section Separators415 hits · 1440 pts
SeverityFileLineSnippetContext
MEDIUMlibs/langgraph/langgraph/pregel/_tools.py224 # ------------------------------------------------------------------COMMENT
MEDIUMlibs/langgraph/langgraph/pregel/_tools.py226 # ------------------------------------------------------------------COMMENT
MEDIUMlibs/langgraph/langgraph/stream/_types.py229 # ------------------------------------------------------------------COMMENT
MEDIUMlibs/langgraph/langgraph/stream/_types.py231 # ------------------------------------------------------------------COMMENT
MEDIUMlibs/langgraph/langgraph/stream/_mux.py158 # ------------------------------------------------------------------COMMENT
MEDIUMlibs/langgraph/langgraph/stream/_mux.py160 # ------------------------------------------------------------------COMMENT
MEDIUMlibs/langgraph/langgraph/stream/_mux.py347 # ------------------------------------------------------------------COMMENT
MEDIUMlibs/langgraph/langgraph/stream/_mux.py349 # ------------------------------------------------------------------COMMENT
MEDIUMlibs/langgraph/langgraph/stream/_mux.py460 # ------------------------------------------------------------------COMMENT
MEDIUMlibs/langgraph/langgraph/stream/_mux.py462 # ------------------------------------------------------------------COMMENT
MEDIUMlibs/langgraph/langgraph/stream/stream_channel.py85 # ------------------------------------------------------------------COMMENT
MEDIUMlibs/langgraph/langgraph/stream/stream_channel.py87 # ------------------------------------------------------------------COMMENT
MEDIUM⚡libs/langgraph/langgraph/stream/stream_channel.py108 # ------------------------------------------------------------------COMMENT
MEDIUM⚡libs/langgraph/langgraph/stream/stream_channel.py110 # ------------------------------------------------------------------COMMENT
MEDIUM⚡libs/langgraph/langgraph/stream/stream_channel.py116 # ------------------------------------------------------------------COMMENT
MEDIUM⚡libs/langgraph/langgraph/stream/stream_channel.py118 # ------------------------------------------------------------------COMMENT
MEDIUMlibs/langgraph/langgraph/stream/stream_channel.py155 # ------------------------------------------------------------------COMMENT
MEDIUMlibs/langgraph/langgraph/stream/stream_channel.py157 # ------------------------------------------------------------------COMMENT
MEDIUMlibs/langgraph/langgraph/stream/stream_channel.py198 # ------------------------------------------------------------------COMMENT
MEDIUMlibs/langgraph/langgraph/stream/stream_channel.py200 # ------------------------------------------------------------------COMMENT
MEDIUMlibs/langgraph/langgraph/stream/stream_channel.py241 # ------------------------------------------------------------------COMMENT
MEDIUMlibs/langgraph/langgraph/stream/stream_channel.py243 # ------------------------------------------------------------------COMMENT
MEDIUM⚡…bs/langgraph/tests/test_stream_subgraph_transformer.py186# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…bs/langgraph/tests/test_stream_subgraph_transformer.py188# ---------------------------------------------------------------------------COMMENT
MEDIUM…bs/langgraph/tests/test_stream_subgraph_transformer.py43# ---------------------------------------------------------------------------COMMENT
MEDIUM…bs/langgraph/tests/test_stream_subgraph_transformer.py45# ---------------------------------------------------------------------------COMMENT
MEDIUM…bs/langgraph/tests/test_stream_subgraph_transformer.py681# ---------------------------------------------------------------------------COMMENT
MEDIUM…bs/langgraph/tests/test_stream_subgraph_transformer.py683# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡libs/langgraph/tests/test_retry.py1803# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡libs/langgraph/tests/test_retry.py1810# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡libs/langgraph/tests/test_retry.py2304# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡libs/langgraph/tests/test_retry.py2306# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡libs/langgraph/tests/test_time_travel_async.py73# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡libs/langgraph/tests/test_time_travel_async.py75# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡libs/langgraph/tests/test_time_travel_async.py234# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡libs/langgraph/tests/test_time_travel_async.py236# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡libs/langgraph/tests/test_time_travel_async.py459# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡libs/langgraph/tests/test_time_travel_async.py461# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡libs/langgraph/tests/test_time_travel_async.py591# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡libs/langgraph/tests/test_time_travel_async.py593# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡libs/langgraph/tests/test_time_travel_async.py722# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡libs/langgraph/tests/test_time_travel_async.py724# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡libs/langgraph/tests/test_time_travel_async.py1993# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡libs/langgraph/tests/test_time_travel_async.py1995# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡libs/langgraph/tests/test_time_travel_async.py2135# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡libs/langgraph/tests/test_time_travel_async.py2137# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡libs/langgraph/tests/test_time_travel_async.py2227# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡libs/langgraph/tests/test_time_travel_async.py2229# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡libs/langgraph/tests/test_time_travel_async.py2398# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡libs/langgraph/tests/test_time_travel_async.py2400# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡libs/langgraph/tests/test_stream_data_transformers.py91# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡libs/langgraph/tests/test_stream_data_transformers.py93# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡libs/langgraph/tests/test_stream_data_transformers.py184# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡libs/langgraph/tests/test_stream_data_transformers.py186# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡libs/langgraph/tests/test_stream_data_transformers.py241# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡libs/langgraph/tests/test_stream_data_transformers.py243# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡libs/langgraph/tests/test_stream_data_transformers.py306# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡libs/langgraph/tests/test_stream_data_transformers.py308# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡libs/langgraph/tests/test_stream_data_transformers.py382# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡libs/langgraph/tests/test_stream_data_transformers.py384# ---------------------------------------------------------------------------COMMENT
355 more matches not shown…
Cross-Language Confusion248 hits · 1428 pts
SeverityFileLineSnippetContext
HIGH…ckpoint-postgres/langgraph/checkpoint/postgres/base.py78 "ALTER TABLE checkpoint_blobs ALTER COLUMN blob DROP not null;",CODE
HIGHlibs/langgraph/langgraph/pregel/_loop.py1835 self.stack.push(self._suppress_interrupt)CODE
HIGHlibs/langgraph/langgraph/pregel/_loop.py2094 self.stack.push(self._suppress_interrupt)CODE
HIGHlibs/langgraph/langgraph/stream/transformers.py81 self._log.push(params["data"])CODE
HIGHlibs/langgraph/langgraph/stream/transformers.py116 self._log.push(params["data"])CODE
HIGHlibs/langgraph/langgraph/stream/transformers.py151 self._log.push(params["data"])CODE
HIGHlibs/langgraph/langgraph/stream/transformers.py313 self._log.push(stream)CODE
HIGHlibs/langgraph/langgraph/stream/transformers.py328 self._log.push(stream)CODE
HIGHlibs/langgraph/langgraph/stream/transformers.py656 self._channel.push(payload)CODE
HIGHlibs/langgraph/langgraph/stream/transformers.py667 self._channel.push(payload)CODE
HIGHlibs/langgraph/langgraph/stream/transformers.py736 self._log.push(handle)CODE
HIGHlibs/langgraph/langgraph/stream/transformers.py820 handle._mux.push(event)CODE
HIGHlibs/langgraph/langgraph/stream/transformers.py962 self._log.push(params["data"])CODE
HIGHlibs/langgraph/langgraph/stream/transformers.py998 self._log.push(params["data"])CODE
HIGHlibs/langgraph/langgraph/stream/transformers.py1038 self._log.push(params["data"])CODE
HIGHlibs/langgraph/langgraph/stream/run_stream.py174 self._mux.push(event)CODE
HIGHlibs/langgraph/langgraph/stream/_mux.py296 self._events.push(event)CODE
HIGHlibs/langgraph/langgraph/stream/_mux.py378 self._events.push(event)CODE
HIGHlibs/langgraph/langgraph/stream/_mux.py523 self._events.push(event)CODE
HIGH⚡…bs/langgraph/tests/test_stream_subgraph_transformer.py193 mux.push(_tasks_start(["agent:abc"], task_id="t1", name="tool"))CODE
HIGH⚡…bs/langgraph/tests/test_stream_subgraph_transformer.py205 mux.push(_tasks_start(["agent:abc"], task_id="t1", name="tool"))CODE
HIGH⚡…bs/langgraph/tests/test_stream_subgraph_transformer.py206 mux.push(_tasks_result([], task_id="abc", name="agent"))CODE
HIGH⚡…bs/langgraph/tests/test_stream_subgraph_transformer.py215 mux.push(_tasks_start(["agent:abc"], task_id="t1", name="tool"))CODE
HIGH⚡…bs/langgraph/tests/test_stream_subgraph_transformer.py216 mux.push(_tasks_result([], task_id="abc", name="agent", error="boom"))CODE
HIGH⚡…bs/langgraph/tests/test_stream_subgraph_transformer.py225 mux.push(_tasks_start(["agent:abc"], task_id="t1", name="tool"))CODE
HIGH⚡…bs/langgraph/tests/test_stream_subgraph_transformer.py226 mux.push(CODE
HIGH⚡…bs/langgraph/tests/test_stream_subgraph_transformer.py243 mux.push(_tasks_start(["agent:abc"], task_id="t1", name="tool"))CODE
HIGH⚡…bs/langgraph/tests/test_stream_subgraph_transformer.py250 mux.push(_tasks_start(["agent:abc", "tool:def"], task_id="t2", name="deep"))CODE
HIGH⚡…bs/langgraph/tests/test_stream_subgraph_transformer.py262 mux.push(_tasks_start(["agent:abc"], task_id="t1", name="tool"))CODE
HIGH⚡…bs/langgraph/tests/test_stream_subgraph_transformer.py271 mux.push(_tasks_start(["agent:abc"], task_id="t1", name="tool"))CODE
HIGH⚡…bs/langgraph/tests/test_stream_subgraph_transformer.py280 mux.push(_tasks_start(["agent:abc"], task_id="t1", name="tool"))CODE
HIGH⚡…bs/langgraph/tests/test_stream_subgraph_transformer.py299 mux.push(_tasks_start(["agent:abc"], task_id="t1", name="tool"))CODE
HIGH⚡…bs/langgraph/tests/test_stream_subgraph_transformer.py300 mux.push(_tasks_result([], task_id="abc", name="agent", error="boom"))CODE
HIGH⚡…bs/langgraph/tests/test_stream_subgraph_transformer.py316 mux.push(_tasks_start(["agent:abc"], task_id="t1", name="tool"))CODE
HIGH⚡…bs/langgraph/tests/test_stream_subgraph_transformer.py317 mux.push(_tasks_result([], task_id="abc", name="agent"))CODE
HIGH…bs/langgraph/tests/test_stream_subgraph_transformer.py357 mux.push(_tasks_start(["agent:abc"], task_id="t1", name="tool"))CODE
HIGH…bs/langgraph/tests/test_stream_subgraph_transformer.py368 mux.push(event)CODE
HIGH…bs/langgraph/tests/test_stream_subgraph_transformer.py134 Mini-muxes are created during `mux.push(...)` when a new directSTRING
HIGH⚡libs/langgraph/tests/test_stream_data_transformers.py101 mux.push(_custom_event([], {"status": "processing"}))CODE
HIGH⚡libs/langgraph/tests/test_stream_data_transformers.py102 mux.push(_custom_event([], {"status": "done"}))CODE
HIGH⚡libs/langgraph/tests/test_stream_data_transformers.py113 mux.push(_custom_event(["subgraph:abc"], {"from": "child"}))CODE
HIGH⚡libs/langgraph/tests/test_stream_data_transformers.py123 mux.push(_custom_event([], {"from": "root"}))CODE
HIGH⚡libs/langgraph/tests/test_stream_data_transformers.py124 mux.push(_custom_event(["agent:abc"], {"from": "self"}))CODE
HIGH⚡libs/langgraph/tests/test_stream_data_transformers.py125 mux.push(_custom_event(["agent:abc", "deep:def"], {"from": "child"}))CODE
HIGH⚡libs/langgraph/tests/test_stream_data_transformers.py136 mux.push(_custom_event([], "string_payload"))CODE
HIGH⚡libs/langgraph/tests/test_stream_data_transformers.py137 mux.push(_custom_event([], 42))CODE
HIGH⚡libs/langgraph/tests/test_stream_data_transformers.py138 mux.push(_custom_event([], [1, 2, 3]))CODE
HIGH⚡libs/langgraph/tests/test_stream_data_transformers.py148 mux.push(_custom_event([], "data"))CODE
HIGH⚡libs/langgraph/tests/test_stream_data_transformers.py159 mux.push(CODE
HIGH⚡libs/langgraph/tests/test_stream_data_transformers.py195 mux.push(_checkpoints_event([], checkpoint_data))CODE
HIGH⚡libs/langgraph/tests/test_stream_data_transformers.py206 mux.push(_checkpoints_event(["child:abc"], {"values": {"x": 1}}))CODE
HIGH⚡libs/langgraph/tests/test_stream_data_transformers.py216 mux.push(_checkpoints_event([], {"from": "root"}))CODE
HIGH⚡libs/langgraph/tests/test_stream_data_transformers.py217 mux.push(_checkpoints_event(["sub:abc"], {"from": "self"}))CODE
HIGH⚡libs/langgraph/tests/test_stream_data_transformers.py227 mux.push(_checkpoints_event([], {"values": {}}))CODE
HIGH⚡libs/langgraph/tests/test_stream_data_transformers.py257 mux.push(_debug_event([], debug_data))CODE
HIGH⚡libs/langgraph/tests/test_stream_data_transformers.py268 mux.push(_debug_event(["child:abc"], {"step": 0, "type": "task"}))CODE
HIGH⚡libs/langgraph/tests/test_stream_data_transformers.py278 mux.push(_debug_event([], {"step": 0, "type": "checkpoint", "payload": {}}))CODE
HIGH⚡libs/langgraph/tests/test_stream_data_transformers.py279 mux.push(_debug_event([], {"step": 1, "type": "task", "payload": {}}))CODE
HIGH⚡libs/langgraph/tests/test_stream_data_transformers.py280 mux.push(_debug_event([], {"step": 1, "type": "task_result", "payload": {}}))CODE
HIGH⚡libs/langgraph/tests/test_stream_data_transformers.py292 mux.push(_debug_event([], {"step": 0}))CODE
188 more matches not shown…
Cross-File Repetition93 hits · 465 pts
SeverityFileLineSnippetContext
HIGH…oint-postgres/langgraph/checkpoint/postgres/shallow.py0set up the store database. this method creates the necessary tables in the postgres database if they don't already existSTRING
HIGH…int-postgres/langgraph/checkpoint/postgres/__init__.py0set up the store database. this method creates the necessary tables in the postgres database if they don't already existSTRING
HIGH…eckpoint-postgres/langgraph/checkpoint/postgres/aio.py0set up the store database. this method creates the necessary tables in the postgres database if they don't already existSTRING
HIGH…bs/checkpoint-postgres/langgraph/store/postgres/aio.py0set up the store database. this method creates the necessary tables in the postgres database if they don't already existSTRING
HIGH…s/checkpoint-postgres/langgraph/store/postgres/base.py0set up the store database. this method creates the necessary tables in the postgres database if they don't already existSTRING
HIGH…oint-postgres/langgraph/checkpoint/postgres/shallow.py0create a database cursor as a context manager. args: pipeline: whether to use pipeline for the db operations inside the STRING
HIGH…int-postgres/langgraph/checkpoint/postgres/__init__.py0create a database cursor as a context manager. args: pipeline: whether to use pipeline for the db operations inside the STRING
HIGH…eckpoint-postgres/langgraph/checkpoint/postgres/aio.py0create a database cursor as a context manager. args: pipeline: whether to use pipeline for the db operations inside the STRING
HIGH…bs/checkpoint-postgres/langgraph/store/postgres/aio.py0create a database cursor as a context manager. args: pipeline: whether to use pipeline for the db operations inside the STRING
HIGH…s/checkpoint-postgres/langgraph/store/postgres/base.py0create a database cursor as a context manager. args: pipeline: whether to use pipeline for the db operations inside the STRING
HIGH…oint-postgres/langgraph/checkpoint/postgres/shallow.py0store intermediate writes linked to a checkpoint asynchronously. this method saves intermediate writes associated with aSTRING
HIGH…eckpoint-postgres/langgraph/checkpoint/postgres/aio.py0store intermediate writes linked to a checkpoint asynchronously. this method saves intermediate writes associated with aSTRING
HIGH…ckpoint-sqlite/langgraph/checkpoint/sqlite/__init__.py0store intermediate writes linked to a checkpoint asynchronously. this method saves intermediate writes associated with aSTRING
HIGH…s/checkpoint-sqlite/langgraph/checkpoint/sqlite/aio.py0store intermediate writes linked to a checkpoint asynchronously. this method saves intermediate writes associated with aSTRING
HIGH…int-postgres/langgraph/checkpoint/postgres/__init__.py0delete all checkpoints and writes associated with a thread id. args: thread_id: the thread id to delete. returns: noneSTRING
HIGH…eckpoint-postgres/langgraph/checkpoint/postgres/aio.py0delete all checkpoints and writes associated with a thread id. args: thread_id: the thread id to delete. returns: noneSTRING
HIGHlibs/checkpoint/langgraph/checkpoint/memory/__init__.py0delete all checkpoints and writes associated with a thread id. args: thread_id: the thread id to delete. returns: noneSTRING
HIGH…ckpoint-sqlite/langgraph/checkpoint/sqlite/__init__.py0delete all checkpoints and writes associated with a thread id. args: thread_id: the thread id to delete. returns: noneSTRING
HIGH…s/checkpoint-sqlite/langgraph/checkpoint/sqlite/aio.py0delete all checkpoints and writes associated with a thread id. args: thread_id: the thread id to delete. returns: noneSTRING
HIGH…eckpoint-postgres/langgraph/checkpoint/postgres/aio.py0get a checkpoint tuple from the database asynchronously. this method retrieves a checkpoint tuple from the sqlite databaSTRING
HIGHlibs/checkpoint/langgraph/checkpoint/memory/__init__.py0get a checkpoint tuple from the database asynchronously. this method retrieves a checkpoint tuple from the sqlite databaSTRING
HIGH…s/checkpoint-sqlite/langgraph/checkpoint/sqlite/aio.py0get a checkpoint tuple from the database asynchronously. this method retrieves a checkpoint tuple from the sqlite databaSTRING
HIGH…bs/checkpoint-postgres/langgraph/store/postgres/aio.py0delete expired store items based on ttl. returns: int: the number of deleted items.STRING
HIGH…s/checkpoint-postgres/langgraph/store/postgres/base.py0delete expired store items based on ttl. returns: int: the number of deleted items.STRING
HIGHlibs/checkpoint-sqlite/langgraph/store/sqlite/aio.py0delete expired store items based on ttl. returns: int: the number of deleted items.STRING
HIGHlibs/checkpoint-sqlite/langgraph/store/sqlite/base.py0delete expired store items based on ttl. returns: int: the number of deleted items.STRING
HIGH…bs/checkpoint-postgres/langgraph/store/postgres/aio.py0stop the ttl sweeper thread if it's running. args: timeout: maximum time to wait for the thread to stop, in seconds. if STRING
HIGHlibs/checkpoint-sqlite/langgraph/store/sqlite/aio.py0stop the ttl sweeper thread if it's running. args: timeout: maximum time to wait for the thread to stop, in seconds. if STRING
HIGH…s/checkpoint-postgres/langgraph/store/postgres/base.py0stop the ttl sweeper thread if it's running. args: timeout: maximum time to wait for the thread to stop, in seconds. if STRING
HIGHlibs/checkpoint-sqlite/langgraph/store/sqlite/base.py0stop the ttl sweeper thread if it's running. args: timeout: maximum time to wait for the thread to stop, in seconds. if STRING
HIGHlibs/checkpoint-postgres/tests/test_store.py0test that updating items properly updates their embeddings.STRING
HIGHlibs/checkpoint-postgres/tests/test_async_store.py0test that updating items properly updates their embeddings.STRING
HIGHlibs/checkpoint/tests/test_store.py0test that updating items properly updates their embeddings.STRING
HIGHlibs/checkpoint-sqlite/tests/test_store.py0test that updating items properly updates their embeddings.STRING
HIGHlibs/checkpoint-sqlite/tests/test_async_store.py0test that updating items properly updates their embeddings.STRING
HIGHlibs/checkpoint-postgres/tests/test_store.py0test operation-level field configuration for vector search.STRING
HIGHlibs/checkpoint-postgres/tests/test_async_store.py0test operation-level field configuration for vector search.STRING
HIGHlibs/checkpoint-sqlite/tests/test_store.py0test operation-level field configuration for vector search.STRING
HIGHlibs/checkpoint-postgres/tests/test_store.py0compute cosine similarity between a vector x and a matrix y. lazy import numpy for efficiency.STRING
HIGHlibs/checkpoint/langgraph/store/memory/__init__.py0compute cosine similarity between a vector x and a matrix y. lazy import numpy for efficiency.STRING
HIGHlibs/checkpoint-sqlite/tests/test_store.py0compute cosine similarity between a vector x and a matrix y. lazy import numpy for efficiency.STRING
HIGHlibs/checkpoint-postgres/tests/embed_test_utils.py0simple character-frequency based embeddings using random projections.STRING
HIGHlibs/checkpoint/tests/embed_test_utils.py0simple character-frequency based embeddings using random projections.STRING
HIGHlibs/checkpoint-sqlite/tests/test_store.py0simple character-frequency based embeddings using random projections.STRING
HIGHlibs/checkpoint-postgres/tests/embed_test_utils.py0initialize with embedding dimensions and random seed.STRING
HIGHlibs/checkpoint/tests/embed_test_utils.py0initialize with embedding dimensions and random seed.STRING
HIGHlibs/checkpoint-sqlite/tests/test_store.py0initialize with embedding dimensions and random seed.STRING
HIGHlibs/langgraph/bench/wide_dict.py0the external events that are converted by the graph.STRING
HIGHlibs/langgraph/bench/pydantic_state.py0the external events that are converted by the graph.STRING
HIGHlibs/langgraph/bench/wide_state.py0the external events that are converted by the graph.STRING
HIGHlibs/langgraph/bench/wide_dict.py0sops fetched from the rulebook that are relevant to the current conversation.STRING
HIGHlibs/langgraph/bench/pydantic_state.py0sops fetched from the rulebook that are relevant to the current conversation.STRING
HIGHlibs/langgraph/bench/wide_state.py0sops fetched from the rulebook that are relevant to the current conversation.STRING
HIGHlibs/langgraph/bench/wide_dict.py0memory docs fetched from the memory service that are relevant to the current conversation.STRING
HIGHlibs/langgraph/bench/pydantic_state.py0memory docs fetched from the memory service that are relevant to the current conversation.STRING
HIGHlibs/langgraph/bench/wide_state.py0memory docs fetched from the memory service that are relevant to the current conversation.STRING
HIGHlibs/langgraph/bench/wide_dict.py0the issue categorizations auto-generated by the ai.STRING
HIGHlibs/langgraph/bench/pydantic_state.py0the issue categorizations auto-generated by the ai.STRING
HIGHlibs/langgraph/bench/wide_state.py0the issue categorizations auto-generated by the ai.STRING
HIGHlibs/langgraph/bench/wide_dict.py0the crm information for organization the current user is from.STRING
33 more matches not shown…
Unused Imports411 hits · 394 pts
SeverityFileLineSnippetContext
LOWdocs/generate_redirects.py17CODE
LOW…int-postgres/langgraph/checkpoint/postgres/__init__.py1CODE
LOW…int-postgres/langgraph/checkpoint/postgres/__init__.py28CODE
LOW…int-postgres/langgraph/checkpoint/postgres/__init__.py35CODE
LOW…eckpoint-postgres/langgraph/checkpoint/postgres/aio.py1CODE
LOW…eckpoint-postgres/langgraph/checkpoint/postgres/aio.py28CODE
LOW…eckpoint-postgres/langgraph/checkpoint/postgres/aio.py35CODE
LOW…ckpoint-postgres/langgraph/checkpoint/postgres/base.py1CODE
LOW…eckpoint-postgres/langgraph/store/postgres/__init__.py1CODE
LOW…eckpoint-postgres/langgraph/store/postgres/__init__.py2CODE
LOW…eckpoint-postgres/langgraph/store/postgres/__init__.py2CODE
LOW…bs/checkpoint-postgres/langgraph/store/postgres/aio.py1CODE
LOW…s/checkpoint-postgres/langgraph/store/postgres/base.py1CODE
LOW…bs/checkpoint-postgres/tests/test_conformance_delta.py3CODE
LOWlibs/checkpoint-postgres/tests/test_delta_pagination.py1CODE
LOW…eckpoint-postgres/tests/test_delta_plain_value_seed.py11CODE
LOWlibs/checkpoint-postgres/tests/test_store.py2CODE
LOWlibs/checkpoint-postgres/tests/test_async_store.py2CODE
LOWlibs/langgraph/langgraph/warnings.py3CODE
LOWlibs/langgraph/langgraph/constants.py5CODE
LOWlibs/langgraph/langgraph/constants.py5CODE
LOWlibs/langgraph/langgraph/constants.py5CODE
LOWlibs/langgraph/langgraph/types.py1CODE
LOWlibs/langgraph/langgraph/runtime.py1CODE
LOWlibs/langgraph/langgraph/callbacks.py7CODE
LOWlibs/langgraph/langgraph/errors.py1CODE
LOWlibs/langgraph/langgraph/errors.py10CODE
LOWlibs/langgraph/langgraph/typing.py1CODE
LOWlibs/langgraph/langgraph/pregel/_draw.py1CODE
LOWlibs/langgraph/langgraph/pregel/_read.py1CODE
LOWlibs/langgraph/langgraph/pregel/_call.py3CODE
LOWlibs/langgraph/langgraph/pregel/_remote_run_stream.py2CODE
LOWlibs/langgraph/langgraph/pregel/_tools.py1CODE
LOWlibs/langgraph/langgraph/pregel/_algo.py1CODE
LOWlibs/langgraph/langgraph/pregel/_io.py1CODE
LOWlibs/langgraph/langgraph/pregel/remote.py1CODE
LOWlibs/langgraph/langgraph/pregel/_checkpoint.py1CODE
LOWlibs/langgraph/langgraph/pregel/protocol.py1CODE
LOWlibs/langgraph/langgraph/pregel/_loop.py1CODE
LOWlibs/langgraph/langgraph/pregel/_write.py1CODE
LOWlibs/langgraph/langgraph/pregel/__init__.py1CODE
LOWlibs/langgraph/langgraph/pregel/__init__.py1CODE
LOWlibs/langgraph/langgraph/pregel/types.py3CODE
LOWlibs/langgraph/langgraph/pregel/types.py3CODE
LOWlibs/langgraph/langgraph/pregel/types.py3CODE
LOWlibs/langgraph/langgraph/pregel/types.py3CODE
LOWlibs/langgraph/langgraph/pregel/types.py3CODE
LOWlibs/langgraph/langgraph/pregel/types.py3CODE
LOWlibs/langgraph/langgraph/pregel/types.py3CODE
LOWlibs/langgraph/langgraph/pregel/types.py3CODE
LOWlibs/langgraph/langgraph/pregel/types.py3CODE
LOWlibs/langgraph/langgraph/pregel/types.py3CODE
LOWlibs/langgraph/langgraph/pregel/_messages.py1CODE
LOWlibs/langgraph/langgraph/pregel/_task_status.py52CODE
LOWlibs/langgraph/langgraph/pregel/debug.py1CODE
LOWlibs/langgraph/langgraph/pregel/_validate.py1CODE
LOWlibs/langgraph/langgraph/pregel/_executor.py1CODE
LOWlibs/langgraph/langgraph/pregel/main.py1CODE
LOWlibs/langgraph/langgraph/pregel/_runner.py1CODE
LOWlibs/langgraph/langgraph/pregel/_retry.py1CODE
351 more matches not shown…
Empty Error Handlers72 hits · 358 pts
SeverityFileLineSnippetContext
HIGH…oint-postgres/langgraph/checkpoint/postgres/shallow.py916except RuntimeError:CODE
HIGH…eckpoint-postgres/langgraph/checkpoint/postgres/aio.py578except RuntimeError:CODE
HIGH…eckpoint-postgres/langgraph/checkpoint/postgres/aio.py614except RuntimeError:CODE
HIGH…eckpoint-postgres/langgraph/checkpoint/postgres/aio.py685except RuntimeError:CODE
HIGH…eckpoint-postgres/langgraph/checkpoint/postgres/aio.py702except RuntimeError:CODE
HIGH…ckpoint-postgres/langgraph/checkpoint/postgres/base.py36except Exception:CODE
HIGH…bs/checkpoint-postgres/langgraph/store/postgres/aio.py341except asyncio.TimeoutError:CODE
HIGHlibs/checkpoint-postgres/tests/conftest.py30except UndefinedTable:CODE
HIGHlibs/checkpoint-postgres/tests/conftest.py35except UndefinedTable:CODE
HIGHlibs/langgraph/langgraph/config.py24except RuntimeError:CODE
HIGHlibs/langgraph/langgraph/constants.py61except AttributeError:CODE
HIGHlibs/langgraph/langgraph/pregel/_call.py79except Exception:CODE
HIGHlibs/langgraph/langgraph/pregel/_tools.py221except ValueError:CODE
HIGHlibs/langgraph/langgraph/pregel/_io.py51except EmptyChannelError:CODE
HIGHlibs/langgraph/langgraph/pregel/_executor.py85except BaseException:CODE
HIGHlibs/langgraph/langgraph/pregel/_executor.py118except concurrent.futures.CancelledError:CODE
HIGHlibs/langgraph/langgraph/pregel/_executor.py210except asyncio.CancelledError:CODE
HIGHlibs/langgraph/langgraph/_internal/_future.py24except AttributeError:CODE
HIGHlibs/langgraph/langgraph/_internal/_queue.py33except ValueError:CODE
HIGHlibs/langgraph/langgraph/_internal/_fields.py150except (AttributeError, KeyError, TypeError):CODE
HIGHlibs/langgraph/langgraph/_internal/_fields.py160except (AttributeError, KeyError, TypeError):CODE
HIGHlibs/langgraph/langgraph/_internal/_runnable.py320except AttributeError:CODE
HIGHlibs/langgraph/langgraph/_internal/_runnable.py325except AttributeError:CODE
HIGHlibs/langgraph/langgraph/_internal/_runnable.py410except AttributeError:CODE
HIGHlibs/langgraph/langgraph/_internal/_runnable.py484except AttributeError:CODE
HIGHlibs/langgraph/langgraph/stream/run_stream.py207except Exception:CODE
HIGHlibs/langgraph/langgraph/stream/run_stream.py569except Exception:CODE
HIGHlibs/langgraph/langgraph/stream/run_stream.py203except Exception:CODE
HIGHlibs/langgraph/langgraph/stream/run_stream.py557except (asyncio.CancelledError, Exception):CODE
HIGHlibs/langgraph/langgraph/stream/run_stream.py565except Exception:CODE
HIGHlibs/langgraph/langgraph/stream/_mux.py340except BaseException:CODE
HIGHlibs/langgraph/langgraph/stream/_mux.py443except BaseException:CODE
HIGHlibs/langgraph/langgraph/graph/_branch.py77except (TypeError, StopIteration):CODE
HIGHlibs/langgraph/langgraph/graph/_branch.py115except Exception:CODE
HIGHlibs/langgraph/langgraph/graph/state.py857except (NameError, TypeError, StopIteration):CODE
HIGHlibs/langgraph/tests/conftest.py86except Exception:CODE
HIGHlibs/langgraph/tests/test_delta_channel_benchmark.py227except Exception:CODE
HIGHlibs/langgraph/tests/test_remote_graph_v3.py623except Exception:CODE
HIGHlibs/langgraph/tests/test_pregel_stream_events_v3.py765except asyncio.CancelledError:CODE
HIGH…s/checkpoint/langgraph/checkpoint/serde/event_hooks.py35except ValueError:CODE
HIGHlibs/checkpoint/langgraph/checkpoint/base/__init__.py878except EmptyChannelError:CODE
HIGHlibs/checkpoint/langgraph/cache/redis/__init__.py106except Exception:CODE
HIGHlibs/checkpoint/langgraph/cache/redis/__init__.py137except Exception:CODE
HIGHlibs/checkpoint/langgraph/store/base/batch.py52except RuntimeError:CODE
HIGHlibs/checkpoint/langgraph/store/base/batch.py75except RuntimeError:CODE
HIGHlibs/checkpoint/langgraph/store/base/batch.py351except asyncio.QueueEmpty:CODE
HIGHlibs/checkpoint/tests/test_jsonplus.py580except Exception:CODE
HIGHlibs/checkpoint/tests/test_redis_cache.py33except Exception:CODE
HIGHlibs/sdk-py/langgraph_sdk/_async/stream.py1646except Exception:CODE
HIGHlibs/sdk-py/langgraph_sdk/stream/sync_controller.py185except Exception:CODE
HIGHlibs/sdk-py/langgraph_sdk/_sync/stream.py603except Exception:CODE
HIGHlibs/sdk-py/langgraph_sdk/_sync/stream.py1011except Exception:CODE
HIGHlibs/sdk-py/langgraph_sdk/_sync/stream.py908except Exception:CODE
HIGHlibs/prebuilt/tests/test_tool_node.py1543except Exception:CODE
HIGHlibs/cli/langgraph_cli/config.py879except PermissionError:CODE
HIGHlibs/cli/langgraph_cli/deploy.py1459except Exception:CODE
HIGHlibs/cli/langgraph_cli/exec.py128except UnboundLocalError:CODE
HIGHlibs/cli/langgraph_cli/exec.py120except (ProcessLookupError, KeyboardInterrupt):CODE
HIGHlibs/cli/langgraph_cli/cli.py325except click.exceptions.Exit:CODE
HIGHlibs/cli/langgraph_cli/analytics.py82except urllib.error.URLError:CODE
12 more matches not shown…
Self-Referential Comments88 hits · 304 pts
SeverityFileLineSnippetContext
MEDIUMlibs/langgraph/tests/test_retry.py178 # Create a RetryPolicy with default_retry_onCOMMENT
MEDIUMlibs/langgraph/tests/test_retry.py272 # Create a retry policy with specific parametersCOMMENT
MEDIUMlibs/langgraph/tests/test_retry.py347 # Create a retry policy with jitter enabledCOMMENT
MEDIUMlibs/langgraph/tests/test_retry.py456 # Create a retry policy with limited attemptsCOMMENT
MEDIUMlibs/langgraph/tests/test_remote_graph.py1186 # Create a test instanceCOMMENT
MEDIUM⚡libs/langgraph/tests/test_pregel_async.py9293 # Create a fake chat model that returns a simple responseCOMMENT
MEDIUM⚡libs/langgraph/tests/test_pregel_async.py9296 # Create a subgraph that uses the fake chat modelCOMMENT
MEDIUMlibs/langgraph/tests/test_pregel_async.py3862 # Define a new graphCOMMENT
MEDIUMlibs/langgraph/tests/test_pregel_async.py7013 # Define the subgraphsCOMMENT
MEDIUMlibs/langgraph/tests/test_pregel_async.py7138 # Define the subgraphsCOMMENT
MEDIUMlibs/langgraph/tests/test_pregel_async.py9008 # Define the graph with a sequence of nodesCOMMENT
MEDIUM⚡libs/langgraph/tests/test_large_cases.py2438 # Define the function that determines whether to continue or notCOMMENT
MEDIUM⚡libs/langgraph/tests/test_large_cases.py2448 # Define a new graphCOMMENT
MEDIUM⚡libs/langgraph/tests/test_large_cases.py2451 # Define the two nodes we will cycle betweenCOMMENT
MEDIUMlibs/langgraph/tests/test_large_cases.py569 # Define a new graphCOMMENT
MEDIUMlibs/langgraph/tests/test_large_cases.py1711 # Define a new graphCOMMENT
MEDIUMlibs/langgraph/tests/test_large_cases.py1714 # Define the two nodes we will cycle betweenCOMMENT
MEDIUMlibs/langgraph/tests/test_large_cases.py3147 # Define the function that determines whether to continue or notCOMMENT
MEDIUMlibs/langgraph/tests/test_large_cases.py3160 # Define a new graphCOMMENT
MEDIUMlibs/langgraph/tests/test_large_cases.py3163 # Define the two nodes we will cycle betweenCOMMENT
MEDIUMlibs/langgraph/tests/test_large_cases.py3808 # Define a new graphCOMMENT
MEDIUMlibs/langgraph/tests/test_large_cases_async.py557 # Define a new graphCOMMENT
MEDIUMlibs/langgraph/tests/test_large_cases_async.py1432 # Define a new graphCOMMENT
MEDIUMlibs/langgraph/tests/test_large_cases_async.py1435 # Define the two nodes we will cycle betweenCOMMENT
MEDIUM⚡libs/langgraph/tests/test_large_cases_async.py2114 # Define the function that determines whether to continue or notCOMMENT
MEDIUM⚡libs/langgraph/tests/test_large_cases_async.py2124 # Define a new graphCOMMENT
MEDIUM⚡libs/langgraph/tests/test_large_cases_async.py2127 # Define the two nodes we will cycle betweenCOMMENT
MEDIUM⚡libs/langgraph/tests/test_pregel.py8820 # Create a fake chat model that returns a simple responseCOMMENT
MEDIUM⚡libs/langgraph/tests/test_pregel.py8823 # Create a subgraph that uses the fake chat modelCOMMENT
MEDIUMlibs/langgraph/tests/test_pregel.py1856 # Define a new graphCOMMENT
MEDIUMlibs/langgraph/tests/test_pregel.py1922 # Define a new graphCOMMENT
MEDIUMlibs/langgraph/tests/test_pregel.py6444 # Define the subgraphsCOMMENT
MEDIUMlibs/langgraph/tests/test_pregel.py6563 # Define the subgraphsCOMMENT
MEDIUMlibs/langgraph/tests/test_pregel.py8537 # Define the graph with a sequence of nodesCOMMENT
MEDIUMlibs/checkpoint/tests/test_redis_cache.py307 # Create a large data structureCOMMENT
MEDIUMlibs/sdk-py/langgraph_sdk/_async/stream.py1261 # Create the run-done future here (async context guarantees a running loop).COMMENT
MEDIUMlibs/prebuilt/langgraph/prebuilt/tool_validator.py1"""This module provides a ValidationNode class that can be used to validate tool callsSTRING
MEDIUMlibs/prebuilt/langgraph/prebuilt/chat_agent_executor.py660 # Define the function that calls the modelCOMMENT
MEDIUMlibs/prebuilt/langgraph/prebuilt/chat_agent_executor.py788 # Define a new graphCOMMENT
MEDIUMlibs/prebuilt/langgraph/prebuilt/chat_agent_executor.py830 # Define the function that determines whether to continue or notCOMMENT
MEDIUMlibs/prebuilt/langgraph/prebuilt/chat_agent_executor.py861 # Define a new graphCOMMENT
MEDIUMlibs/prebuilt/langgraph/prebuilt/chat_agent_executor.py866 # Define the two nodes we will cycle betweenCOMMENT
MEDIUMlibs/prebuilt/langgraph/prebuilt/tool_node.py557 # Create a copy of the error dict to avoid mutating the originalCOMMENT
MEDIUMlibs/prebuilt/langgraph/prebuilt/tool_node.py1051 # Create the tool request with state and runtimeCOMMENT
MEDIUMlibs/prebuilt/langgraph/prebuilt/tool_node.py1211 # Create the tool request with state and runtimeCOMMENT
MEDIUMlibs/prebuilt/tests/test_react_agent.py1104 # Define the subgraphsCOMMENT
MEDIUMlibs/prebuilt/tests/test_react_agent.py1245 # Create a React agentCOMMENT
MEDIUMlibs/prebuilt/tests/test_react_agent.py1260 # Create a subgraph that uses the React agent as a nodeCOMMENT
MEDIUMlibs/prebuilt/tests/test_react_agent.py1276 # Create the main workflow with the React agent as a subgraph nodeCOMMENT
MEDIUMlibs/prebuilt/tests/test_react_agent.py1336 # Create a React agentCOMMENT
MEDIUMlibs/prebuilt/tests/test_react_agent.py1351 # Create a subgraph that uses the React agent as a nodeCOMMENT
MEDIUMlibs/prebuilt/tests/test_react_agent.py1369 # Create the main workflow with the React agent as a subgraph nodeCOMMENT
MEDIUM⚡libs/prebuilt/tests/test_tool_node.py1768 # Create a mock ToolCallCOMMENT
MEDIUM⚡libs/prebuilt/tests/test_tool_node.py1771 # Create a ToolCallRequestCOMMENT
MEDIUMlibs/prebuilt/tests/test_tool_node.py2023 # Create a mock runtime with contextCOMMENT
MEDIUMlibs/cli/langgraph_cli/docker.py218 # Define the Redis service first as per the test orderCOMMENT
MEDIUMlibs/cli/tests/unit_tests/test_config.py2701 # Create a properly indented version of FORMATTED_CLEANUP_LINES for compose filesCOMMENT
MEDIUMlibs/cli/tests/unit_tests/cli/test_templates.py28 # Create a mock response that behaves like a context managerCOMMENT
MEDIUMlibs/cli/tests/unit_tests/cli/test_cli.py33 # Create a temporary directoryCOMMENT
MEDIUMlibs/cli/tests/unit_tests/cli/test_cli.py36 # Define the path for the config.json fileCOMMENT
28 more matches not shown…
Deep Nesting256 hits · 220 pts
SeverityFileLineSnippetContext
LOW…oint-postgres/langgraph/checkpoint/postgres/shallow.py487CODE
LOW…int-postgres/langgraph/checkpoint/postgres/__init__.py112CODE
LOW…int-postgres/langgraph/checkpoint/postgres/__init__.py192CODE
LOW…int-postgres/langgraph/checkpoint/postgres/__init__.py405CODE
LOW…ckpoint-postgres/langgraph/checkpoint/postgres/base.py403CODE
LOW…ckpoint-postgres/langgraph/checkpoint/postgres/base.py466CODE
LOW…bs/checkpoint-postgres/langgraph/store/postgres/aio.py227CODE
LOW…bs/checkpoint-postgres/langgraph/store/postgres/aio.py501CODE
LOW…s/checkpoint-postgres/langgraph/store/postgres/base.py312CODE
LOW…s/checkpoint-postgres/langgraph/store/postgres/base.py426CODE
LOW…s/checkpoint-postgres/langgraph/store/postgres/base.py591CODE
LOW…s/checkpoint-postgres/langgraph/store/postgres/base.py650CODE
LOW…s/checkpoint-postgres/langgraph/store/postgres/base.py784CODE
LOW…s/checkpoint-postgres/langgraph/store/postgres/base.py851CODE
LOW…s/checkpoint-postgres/langgraph/store/postgres/base.py943CODE
LOW…s/checkpoint-postgres/langgraph/store/postgres/base.py1071CODE
LOW…s/checkpoint-postgres/langgraph/store/postgres/base.py1116CODE
LOW…s/checkpoint-postgres/langgraph/store/postgres/base.py882CODE
LOWlibs/checkpoint-postgres/tests/test_sync.py125CODE
LOWlibs/checkpoint-postgres/tests/test_async.py143CODE
LOWlibs/checkpoint-postgres/tests/test_store.py39CODE
LOWlibs/checkpoint-postgres/tests/test_store.py929CODE
LOWlibs/langgraph/langgraph/types.py867CODE
LOWlibs/langgraph/langgraph/pregel/_draw.py42CODE
LOWlibs/langgraph/langgraph/pregel/_read.py227CODE
LOWlibs/langgraph/langgraph/pregel/_call.py200CODE
LOWlibs/langgraph/langgraph/pregel/_algo.py233CODE
LOWlibs/langgraph/langgraph/pregel/_algo.py523CODE
LOWlibs/langgraph/langgraph/pregel/_algo.py1279CODE
LOWlibs/langgraph/langgraph/pregel/_algo.py1347CODE
LOWlibs/langgraph/langgraph/pregel/_io.py56CODE
LOWlibs/langgraph/langgraph/pregel/_io.py81CODE
LOWlibs/langgraph/langgraph/pregel/_io.py118CODE
LOWlibs/langgraph/langgraph/pregel/remote.py90CODE
LOWlibs/langgraph/langgraph/pregel/remote.py757CODE
LOWlibs/langgraph/langgraph/pregel/_checkpoint.py267CODE
LOWlibs/langgraph/langgraph/pregel/_checkpoint.py388CODE
LOWlibs/langgraph/langgraph/pregel/_loop.py892CODE
LOWlibs/langgraph/langgraph/pregel/_loop.py1552CODE
LOWlibs/langgraph/langgraph/pregel/_write.py172CODE
LOWlibs/langgraph/langgraph/pregel/_messages.py426CODE
LOWlibs/langgraph/langgraph/pregel/_messages.py106CODE
LOWlibs/langgraph/langgraph/pregel/_messages.py191CODE
LOWlibs/langgraph/langgraph/pregel/_messages.py223CODE
LOWlibs/langgraph/langgraph/pregel/_messages.py307CODE
LOWlibs/langgraph/langgraph/pregel/_messages.py336CODE
LOWlibs/langgraph/langgraph/pregel/_task_status.py99CODE
LOWlibs/langgraph/langgraph/pregel/debug.py212CODE
LOWlibs/langgraph/langgraph/pregel/_validate.py13CODE
LOWlibs/langgraph/langgraph/pregel/_validate.py110CODE
LOWlibs/langgraph/langgraph/pregel/_executor.py186CODE
LOWlibs/langgraph/langgraph/pregel/main.py4375CODE
LOWlibs/langgraph/langgraph/pregel/main.py1144CODE
LOWlibs/langgraph/langgraph/pregel/main.py1619CODE
LOWlibs/langgraph/langgraph/pregel/main.py2120CODE
LOWlibs/langgraph/langgraph/pregel/main.py2748CODE
LOWlibs/langgraph/langgraph/pregel/main.py3154CODE
LOWlibs/langgraph/langgraph/pregel/main.py3924CODE
LOWlibs/langgraph/langgraph/pregel/main.py4101CODE
LOWlibs/langgraph/langgraph/pregel/main.py1652CODE
196 more matches not shown…
Docstring Block Structure43 hits · 215 pts
SeverityFileLineSnippetContext
HIGH…oint-postgres/langgraph/checkpoint/postgres/shallow.py306Get a checkpoint tuple from the database. This method retrieves a checkpoint tuple from the Postgres database bSTRING
HIGH…oint-postgres/langgraph/checkpoint/postgres/shallow.py381Save a checkpoint to the database. This method saves a checkpoint to the Postgres database. The checkpoint is aSTRING
HIGH…int-postgres/langgraph/checkpoint/postgres/__init__.py120List checkpoints from the database. This method retrieves a list of checkpoint tuples from the Postgres databasSTRING
HIGH…int-postgres/langgraph/checkpoint/postgres/__init__.py193Get a checkpoint tuple from the database. This method retrieves a checkpoint tuple from the Postgres database bSTRING
HIGH…int-postgres/langgraph/checkpoint/postgres/__init__.py270Save a checkpoint to the database. This method saves a checkpoint to the Postgres database. The checkpoint is aSTRING
HIGHlibs/langgraph/langgraph/types.py906Interrupt the graph with a resumable exception from within a node. The `interrupt` function enables human-in-the-loSTRING
HIGHlibs/langgraph/langgraph/pregel/main.py1624Apply updates to the graph state in bulk. Requires a checkpointer to be set. Args: config: The confSTRING
HIGHlibs/langgraph/langgraph/pregel/main.py2125Asynchronously apply updates to the graph state in bulk. Requires a checkpointer to be set. Args: cSTRING
HIGHlibs/langgraph/langgraph/stream/_types.py239Schedule a coroutine tied to this transformer's lifecycle. The mux holds the task reference, awaits all schedulSTRING
HIGHlibs/langgraph/langgraph/stream/run_stream.py259Iterate multiple projections in arrival order, yielding ``(name, item)``. Items are ordered by a monotonic pushSTRING
HIGHlibs/langgraph/langgraph/stream/stream_channel.py246Subscribe and return `n` independent sync iterators. Each branch has its own buffer; items pulled from the STRING
HIGHlibs/langgraph/langgraph/stream/stream_channel.py289Subscribe and return `n` independent async iterators. Caller-driven fan-out: each branch's `__anext__` either pSTRING
HIGHlibs/langgraph/langgraph/graph/state.py929Add a directed edge from the start node (or list of start nodes) to the end node. When a single start node is pSTRING
HIGHlibs/langgraph/langgraph/graph/state.py1039Add a sequence of nodes that will be executed in the provided order. Args: nodes: A sequence of `StSTRING
HIGHlibs/checkpoint/langgraph/checkpoint/base/__init__.py263Fetch a checkpoint tuple using the given configuration. Args: config: Configuration specifying whicSTRING
HIGHlibs/checkpoint/langgraph/checkpoint/base/__init__.py285List checkpoints that match the given criteria. Args: config: Base configuration for filtering checSTRING
HIGHlibs/checkpoint/langgraph/checkpoint/base/__init__.py308Store a checkpoint with its configuration and metadata. Args: config: Configuration for the checkpoSTRING
HIGHlibs/checkpoint/langgraph/checkpoint/base/__init__.py454Asynchronously fetch a checkpoint tuple using the given configuration. Args: config: Configuration STRING
HIGHlibs/checkpoint/langgraph/checkpoint/base/__init__.py476Asynchronously list checkpoints that match the given criteria. Args: config: Base configuration forSTRING
HIGHlibs/checkpoint/langgraph/checkpoint/base/__init__.py500Asynchronously store a checkpoint with its configuration and metadata. Args: config: Configuration STRING
HIGHlibs/checkpoint/langgraph/store/base/embed.py163Embed a list of texts into vectors. Args: texts: list of texts to convert to embeddings. RSTRING
HIGHlibs/checkpoint/langgraph/store/base/__init__.py763Retrieve a single item. Args: namespace: Hierarchical path for the item. key: Unique idSTRING
HIGHlibs/checkpoint/langgraph/store/base/__init__.py795Search for items within a namespace prefix. Args: namespace_prefix: Hierarchical path prefix to seaSTRING
HIGHlibs/checkpoint/langgraph/store/base/__init__.py975List and filter namespaces in the store. Used to explore the organization of data, find specific collecSTRING
HIGHlibs/checkpoint/langgraph/store/base/__init__.py1034Asynchronously retrieve a single item. Args: namespace: Hierarchical path for the item. STRING
HIGHlibs/checkpoint/langgraph/store/base/__init__.py1071Asynchronously search for items within a namespace prefix. Args: namespace_prefix: Hierarchical patSTRING
HIGHlibs/checkpoint/langgraph/store/base/__init__.py1262List and filter namespaces in the store asynchronously. Used to explore the organization of data, find STRING
HIGHlibs/sdk-py/langgraph_sdk/encryption/__init__.py81Register a blob encryption handler. The handler will be called to encrypt opaque data like checkpoint blobs. STRING
HIGHlibs/sdk-py/langgraph_sdk/encryption/__init__.py110Register the JSON encryption handler. Example: ```python @encryption.encrypt.json STRING
HIGHlibs/sdk-py/langgraph_sdk/encryption/__init__.py148Register a blob decryption handler. The handler will be called to decrypt opaque data like checkpoint blobs. STRING
HIGHlibs/sdk-py/langgraph_sdk/encryption/__init__.py179Register the JSON decryption handler. Example: ```python @encryption.decrypt.json STRING
HIGHlibs/sdk-py/langgraph_sdk/auth/__init__.py226Register an authentication handler function. The authentication handler is responsible for verifying credentialSTRING
HIGHlibs/prebuilt/langgraph/prebuilt/tool_node.py181Replace the request with a new request with the given overrides. Returns a new `ToolCallRequest` instance with STRING
HIGHlibs/prebuilt/langgraph/prebuilt/tool_node.py411Generate error message content based on exception handling configuration. This function centralizes error message gSTRING
HIGHlibs/prebuilt/langgraph/prebuilt/tool_node.py453Infer exception types handled by a custom error handler function. This function analyzes the type annotations of a STRING
HIGHlibs/prebuilt/langgraph/prebuilt/tool_node.py936Execute tool call with configured error handling. Args: request: Tool execution request. STRING
HIGHlibs/prebuilt/langgraph/prebuilt/tool_node.py1096Execute tool call asynchronously with configured error handling. Args: request: Tool execution requSTRING
HIGHlibs/prebuilt/langgraph/prebuilt/tool_node.py1355Inject graph state, store, and runtime into tool call arguments. This is an internal method that enables tools STRING
HIGHlibs/prebuilt/langgraph/prebuilt/tool_node.py1620Conditional routing function for tool-calling workflows. This utility function implements the standard conditional STRING
HIGH…ckpoint-sqlite/langgraph/checkpoint/sqlite/__init__.py105Create a new SqliteSaver instance from a connection string. Args: conn_string: The SQLite connectioSTRING
HIGH…ckpoint-sqlite/langgraph/checkpoint/sqlite/__init__.py211Get a checkpoint tuple from the database. This method retrieves a checkpoint tuple from the SQLite database basSTRING
HIGH…ckpoint-sqlite/langgraph/checkpoint/sqlite/__init__.py319List checkpoints from the database. This method retrieves a list of checkpoint tuples from the SQLite database STRING
HIGH…ckpoint-sqlite/langgraph/checkpoint/sqlite/__init__.py407Save a checkpoint to the database. This method saves a checkpoint to the SQLite database. The checkpoint is assSTRING
Excessive Try-Catch Wrapping152 hits · 153 pts
SeverityFileLineSnippetContext
LOW…ckpoint-postgres/langgraph/checkpoint/postgres/base.py36except Exception:CODE
LOW…bs/checkpoint-postgres/langgraph/store/postgres/aio.py271 except Exception as e:STRING
LOW…bs/checkpoint-postgres/langgraph/store/postgres/aio.py349 except Exception as exc:STRING
MEDIUM…s/checkpoint-postgres/langgraph/store/postgres/base.py882def _sweep_loop() -> None:CODE
LOW…s/checkpoint-postgres/langgraph/store/postgres/base.py892 except Exception as exc:CODE
LOW…s/checkpoint-postgres/langgraph/store/postgres/base.py897 except Exception as exc:CODE
LOW…s/checkpoint-postgres/langgraph/store/postgres/base.py1270 except Exception as e:CODE
LOW…s/checkpoint-postgres/langgraph/store/postgres/base.py1146 except Exception as e:STRING
LOW…s/checkpoint-postgres/langgraph/store/postgres/base.py1168 except Exception as e:STRING
LOWlibs/langgraph/langgraph/pregel/_read.py192 except Exception:CODE
LOWlibs/langgraph/langgraph/pregel/_call.py79 except Exception:CODE
LOWlibs/langgraph/langgraph/pregel/_remote_run_stream.py228 except Exception:CODE
LOWlibs/langgraph/langgraph/pregel/_remote_run_stream.py232 except Exception:CODE
LOWlibs/langgraph/langgraph/pregel/_remote_run_stream.py358 except Exception:CODE
LOWlibs/langgraph/langgraph/pregel/_remote_run_stream.py362 except Exception:CODE
LOWlibs/langgraph/langgraph/pregel/_algo.py646 except Exception as exc:CODE
LOWlibs/langgraph/langgraph/pregel/_runner.py223 except Exception as exc:CODE
LOWlibs/langgraph/langgraph/pregel/_runner.py351 except Exception as exc:CODE
LOWlibs/langgraph/langgraph/pregel/_runner.py415 except Exception as exc:CODE
LOWlibs/langgraph/langgraph/pregel/_runner.py565 except Exception as exc:CODE
LOWlibs/langgraph/langgraph/pregel/_runner.py942 except Exception as exc:CODE
LOWlibs/langgraph/langgraph/pregel/_retry.py413 except Exception:CODE
LOWlibs/langgraph/langgraph/pregel/_retry.py641 except Exception as exc:CODE
LOWlibs/langgraph/langgraph/pregel/_retry.py762 except Exception as writer_exc:CODE
LOWlibs/langgraph/langgraph/pregel/_retry.py795 except Exception as exc:CODE
LOWlibs/langgraph/langgraph/_internal/_serde.py224 except Exception:CODE
LOWlibs/langgraph/langgraph/_internal/_serde.py235 except Exception:CODE
LOWlibs/langgraph/langgraph/_internal/_runnable.py81 except Exception:CODE
LOWlibs/langgraph/langgraph/stream/transformers.py902 except Exception:CODE
LOWlibs/langgraph/langgraph/stream/transformers.py918 except Exception:CODE
LOWlibs/langgraph/langgraph/stream/run_stream.py180 except Exception as e:CODE
LOWlibs/langgraph/langgraph/stream/run_stream.py203 except Exception:CODE
LOWlibs/langgraph/langgraph/stream/run_stream.py207 except Exception:CODE
LOWlibs/langgraph/langgraph/stream/run_stream.py521 except Exception as e:CODE
LOWlibs/langgraph/langgraph/stream/run_stream.py565 except Exception:CODE
LOWlibs/langgraph/langgraph/stream/run_stream.py569 except Exception:CODE
LOWlibs/langgraph/langgraph/stream/stream_channel.py334 except Exception as e:CODE
LOWlibs/langgraph/langgraph/graph/_branch.py115 except Exception:CODE
LOWlibs/langgraph/langgraph/channels/binop.py91 except Exception:CODE
LOWlibs/langgraph/tests/conftest.py86 except Exception:CODE
LOW⚡libs/langgraph/tests/test_delta_channel_benchmark.py227 except Exception:CODE
LOWlibs/langgraph/tests/test_remote_graph_v3.py623 except Exception:CODE
MEDIUMlibs/langgraph/tests/test_pregel_async.py280def main():CODE
LOWlibs/langgraph/tests/test_pregel_async.py8741 except Exception as e:CODE
LOW⚡libs/langgraph/tests/test_serde_allowlist.py83 except Exception:CODE
MEDIUMlibs/langgraph/tests/test_serde_allowlist.py80def test_curated_core_allowlist_includes_messages() -> None:CODE
LOWlibs/langgraph/tests/test_tracing_interops.py51 except Exception as e:CODE
LOWlibs/langgraph/tests/test_pregel.py8308 except Exception as e:CODE
LOWlibs/checkpoint/langgraph/checkpoint/memory/__init__.py668 except Exception:CODE
LOWlibs/checkpoint/langgraph/checkpoint/memory/__init__.py704 except Exception:CODE
LOWlibs/checkpoint/langgraph/checkpoint/serde/jsonplus.py90 except Exception:CODE
LOWlibs/checkpoint/langgraph/checkpoint/serde/jsonplus.py229 except Exception as exc:CODE
LOWlibs/checkpoint/langgraph/checkpoint/serde/jsonplus.py675 except Exception as exc:CODE
LOWlibs/checkpoint/langgraph/checkpoint/serde/jsonplus.py689 except Exception as exc:CODE
LOWlibs/checkpoint/langgraph/checkpoint/serde/jsonplus.py701 except Exception as exc:CODE
LOWlibs/checkpoint/langgraph/checkpoint/serde/jsonplus.py715 except Exception as exc:CODE
LOWlibs/checkpoint/langgraph/checkpoint/serde/jsonplus.py728 except Exception:CODE
LOWlibs/checkpoint/langgraph/checkpoint/serde/jsonplus.py730 except Exception:CODE
LOWlibs/checkpoint/langgraph/checkpoint/serde/jsonplus.py748 except Exception:CODE
LOWlibs/checkpoint/langgraph/checkpoint/serde/jsonplus.py750 except Exception:CODE
92 more matches not shown…
AI Structural Patterns78 hits · 72 pts
SeverityFileLineSnippetContext
LOWlibs/langgraph/langgraph/callbacks.py224CODE
LOWlibs/langgraph/langgraph/callbacks.py291CODE
LOWlibs/langgraph/langgraph/pregel/_read.py153CODE
LOWlibs/langgraph/langgraph/pregel/remote.py132CODE
LOWlibs/langgraph/langgraph/pregel/remote.py724CODE
LOWlibs/langgraph/langgraph/pregel/remote.py741CODE
LOWlibs/langgraph/langgraph/pregel/remote.py757CODE
LOWlibs/langgraph/langgraph/pregel/remote.py879CODE
LOWlibs/langgraph/langgraph/pregel/remote.py896CODE
LOWlibs/langgraph/langgraph/pregel/remote.py912CODE
LOWlibs/langgraph/langgraph/pregel/_loop.py1606CODE
LOWlibs/langgraph/langgraph/pregel/_loop.py1860CODE
LOWlibs/langgraph/langgraph/pregel/main.py768CODE
LOWlibs/langgraph/langgraph/pregel/main.py2709CODE
LOWlibs/langgraph/langgraph/pregel/main.py2729CODE
LOWlibs/langgraph/langgraph/pregel/main.py2748CODE
LOWlibs/langgraph/langgraph/pregel/main.py3115CODE
LOWlibs/langgraph/langgraph/pregel/main.py3135CODE
LOWlibs/langgraph/langgraph/pregel/main.py3154CODE
LOWlibs/langgraph/langgraph/pregel/main.py3871CODE
LOWlibs/langgraph/langgraph/pregel/main.py3889CODE
LOWlibs/langgraph/langgraph/pregel/main.py3907CODE
LOWlibs/langgraph/langgraph/pregel/main.py3924CODE
LOWlibs/langgraph/langgraph/pregel/main.py4048CODE
LOWlibs/langgraph/langgraph/pregel/main.py4066CODE
LOWlibs/langgraph/langgraph/pregel/main.py4084CODE
LOWlibs/langgraph/langgraph/pregel/main.py4101CODE
LOWlibs/langgraph/langgraph/graph/state.py376CODE
LOWlibs/langgraph/langgraph/graph/state.py446CODE
LOWlibs/langgraph/langgraph/graph/state.py520CODE
LOWlibs/langgraph/langgraph/graph/state.py590CODE
LOWlibs/langgraph/langgraph/graph/state.py667CODE
LOWlibs/langgraph/langgraph/graph/state.py1177CODE
LOWlibs/sdk-py/langgraph_sdk/_async/assistants.py314CODE
LOWlibs/sdk-py/langgraph_sdk/_async/assistants.py385CODE
LOWlibs/sdk-py/langgraph_sdk/_async/assistants.py495CODE
LOWlibs/sdk-py/langgraph_sdk/_async/assistants.py512CODE
LOWlibs/sdk-py/langgraph_sdk/_async/assistants.py528CODE
LOWlibs/sdk-py/langgraph_sdk/_async/cron.py62CODE
LOWlibs/sdk-py/langgraph_sdk/_async/cron.py179CODE
LOWlibs/sdk-py/langgraph_sdk/_async/cron.py326CODE
LOWlibs/sdk-py/langgraph_sdk/_async/cron.py421CODE
LOWlibs/sdk-py/langgraph_sdk/_async/threads.py101CODE
LOWlibs/sdk-py/langgraph_sdk/_async/threads.py297CODE
LOWlibs/sdk-py/langgraph_sdk/_async/runs.py74CODE
LOWlibs/sdk-py/langgraph_sdk/_async/runs.py106CODE
LOWlibs/sdk-py/langgraph_sdk/_async/runs.py138CODE
LOWlibs/sdk-py/langgraph_sdk/_async/runs.py167CODE
LOWlibs/sdk-py/langgraph_sdk/_async/runs.py195CODE
LOWlibs/sdk-py/langgraph_sdk/_async/runs.py364CODE
LOWlibs/sdk-py/langgraph_sdk/_async/runs.py391CODE
LOWlibs/sdk-py/langgraph_sdk/_async/runs.py419CODE
LOWlibs/sdk-py/langgraph_sdk/_async/runs.py625CODE
LOWlibs/sdk-py/langgraph_sdk/_async/runs.py653CODE
LOWlibs/sdk-py/langgraph_sdk/_async/runs.py678CODE
LOWlibs/sdk-py/langgraph_sdk/_sync/assistants.py318CODE
LOWlibs/sdk-py/langgraph_sdk/_sync/assistants.py389CODE
LOWlibs/sdk-py/langgraph_sdk/_sync/assistants.py497CODE
LOWlibs/sdk-py/langgraph_sdk/_sync/assistants.py514CODE
LOWlibs/sdk-py/langgraph_sdk/_sync/assistants.py530CODE
18 more matches not shown…
Modern Structural Boilerplate65 hits · 65 pts
SeverityFileLineSnippetContext
LOW…int-postgres/langgraph/checkpoint/postgres/__init__.py605__all__ = ["PostgresSaver", "BasePostgresSaver", "ShallowPostgresSaver", "Conn"]CODE
LOW…eckpoint-postgres/langgraph/checkpoint/postgres/aio.py710__all__ = ["AsyncPostgresSaver", "AsyncShallowPostgresSaver", "Conn"]CODE
LOW…eckpoint-postgres/langgraph/store/postgres/__init__.py4__all__ = ["AsyncPostgresStore", "PoolConfig", "PostgresStore"]CODE
LOW…bs/checkpoint-postgres/langgraph/store/postgres/aio.py39logger = logging.getLogger(__name__)CODE
LOW…s/checkpoint-postgres/langgraph/store/postgres/base.py53logger = logging.getLogger(__name__)CODE
LOWlibs/langgraph/langgraph/pregel/_remote_run_stream.py18logger = logging.getLogger(__name__)CODE
LOWlibs/langgraph/langgraph/pregel/remote.py74logger = logging.getLogger(__name__)CODE
LOWlibs/langgraph/langgraph/pregel/types.py16__all__ = [CODE
LOWlibs/langgraph/langgraph/pregel/_retry.py50logger = logging.getLogger(__name__)CODE
LOW⚡libs/langgraph/langgraph/_internal/_serde.py33logger = logging.getLogger(__name__)CODE
LOWlibs/langgraph/langgraph/_internal/_future.py100 def _set_state(future: AnyFuture, other: AnyFuture) -> None:CODE
LOWlibs/langgraph/langgraph/_internal/_runnable.py67logger = logging.getLogger(__name__)CODE
LOWlibs/langgraph/langgraph/stream/__init__.py28__all__ = [CODE
LOWlibs/langgraph/langgraph/graph/state.py96logger = logging.getLogger(__name__)CODE
LOWlibs/langgraph/tests/conftest_store.py137__all__ = [CODE
LOWlibs/langgraph/tests/conftest_checkpointer.py227__all__ = [CODE
LOWlibs/langgraph/tests/test_pregel_async.py99logger = logging.getLogger(__name__)CODE
LOWlibs/langgraph/tests/test_pregel.py101logger = logging.getLogger(__name__)CODE
LOWlibs/checkpoint/langgraph/checkpoint/memory/__init__.py31logger = logging.getLogger(__name__)CODE
LOWlibs/checkpoint/langgraph/checkpoint/serde/jsonplus.py49logger = logging.getLogger(__name__)CODE
LOW…s/checkpoint/langgraph/checkpoint/serde/event_hooks.py10logger = logging.getLogger(__name__)CODE
LOWlibs/checkpoint/langgraph/checkpoint/base/__init__.py35logger = logging.getLogger(__name__)CODE
LOWlibs/checkpoint/langgraph/store/memory/__init__.py133logger = logging.getLogger(__name__)CODE
LOWlibs/checkpoint/langgraph/store/base/embed.py432__all__ = [CODE
LOWlibs/checkpoint/langgraph/store/base/__init__.py1384__all__ = [CODE
LOWlibs/sdk-py/integration/graph/__init__.py6__all__ = ["deep_agent", "streaming_graph"]CODE
LOWlibs/sdk-py/integration/scripts/test_update_state.py40async def _update_state_with_retry_async(threads, thread_id: str, values: dict) -> None:CODE
LOWlibs/sdk-py/integration/scripts/test_update_state.py63def _update_state_with_retry_sync(threads, thread_id: str, values: dict) -> None:CODE
LOWlibs/sdk-py/tests/integration/test_update_state.py20async def _update_state_with_retry_async(threads, thread_id, values) -> None:CODE
LOWlibs/sdk-py/tests/integration/test_update_state.py38def _update_state_with_retry_sync(threads, thread_id, values) -> None:CODE
LOWlibs/sdk-py/tests/streaming/_sync_fake_server.py69 def set_graph(self, graph: dict[str, Any]) -> None:CODE
LOWlibs/sdk-py/tests/streaming/_fake_server.py125 def set_graph(self, graph: dict[str, Any]) -> None:CODE
LOWlibs/sdk-py/langgraph_sdk/client.py33__all__ = [CODE
LOWlibs/sdk-py/langgraph_sdk/cache.py51__all__ = [CODE
LOWlibs/sdk-py/langgraph_sdk/__init__.py8__all__ = [CODE
LOWlibs/sdk-py/langgraph_sdk/runtime.py22__all__ = [CODE
LOWlibs/sdk-py/langgraph_sdk/errors.py10logger = logging.getLogger(__name__)CODE
LOWlibs/sdk-py/langgraph_sdk/_async/client.py26logger = logging.getLogger(__name__)CODE
LOWlibs/sdk-py/langgraph_sdk/_async/__init__.py11__all__ = [CODE
LOWlibs/sdk-py/langgraph_sdk/_async/http.py23logger = logging.getLogger(__name__)CODE
LOWlibs/sdk-py/langgraph_sdk/auth/__init__.py926__all__ = ["Auth", "exceptions", "types"]CODE
LOWlibs/sdk-py/langgraph_sdk/auth/types.py1143__all__ = [CODE
LOWlibs/sdk-py/langgraph_sdk/auth/exceptions.py59__all__ = ["HTTPException"]CODE
LOWlibs/sdk-py/langgraph_sdk/stream/__init__.py10__all__ = [CODE
LOWlibs/sdk-py/langgraph_sdk/stream/transport/__init__.py16__all__ = [CODE
LOWlibs/sdk-py/langgraph_sdk/_sync/__init__.py11__all__ = [CODE
LOWlibs/sdk-py/langgraph_sdk/_sync/stream.py157 def set_result(self, value: Any) -> None:CODE
LOWlibs/sdk-py/langgraph_sdk/_sync/stream.py163 def set_exception(self, error: BaseException) -> None:CODE
LOWlibs/sdk-py/langgraph_sdk/_sync/http.py22logger = logging.getLogger(__name__)CODE
LOWlibs/prebuilt/langgraph/prebuilt/__init__.py14__all__ = [CODE
LOWlibs/prebuilt/langgraph/prebuilt/chat_agent_executor.py1008__all__ = [CODE
LOWlibs/prebuilt/tests/conftest_store.py137__all__ = [CODE
LOWlibs/prebuilt/tests/conftest_checkpointer.py167__all__ = [CODE
LOWlibs/cli/langgraph_cli/deploy.py2785 def _update_start_time(ts) -> None:CODE
LOWlibs/cli/langgraph_cli/host_backend.py162 def set_tenant(self, tenant_id: str) -> None:CODE
LOWlibs/cli/langgraph_cli/schemas.py780__all__ = [CODE
LOW…on-monorepo-example/libs/shared/src/shared/__init__.py5__all__ = ["get_dummy_message"]CODE
LOW…bs/cli/python-monorepo-example/libs/common/__init__.py5__all__ = ["get_common_prefix"]CODE
LOW…v-examples/monorepo/libs/shared/src/shared/__init__.py3__all__ = ["get_dummy_message"]CODE
LOW…nformance/langgraph/checkpoint/conformance/__init__.py6__all__ = [CODE
5 more matches not shown…
Modern AI Meta-Vocabulary13 hits · 38 pts
SeverityFileLineSnippetContext
MEDIUM⚡docs/redirects.json93 "/tutorials/rag/langgraph_adaptive_rag": "https://docs.langchain.com/oss/python/langgraph/agentic-rag",CODE
MEDIUM⚡docs/redirects.json97 "/tutorials/customer-support/customer-support": "https://docs.langchain.com/oss/python/langgraph/agentic-rag",CODE
MEDIUM⚡docs/redirects.json99 "/tutorials/code_assistant/langgraph_code_assistant": "https://docs.langchain.com/oss/python/langgraph/agentic-rag",CODE
MEDIUMdocs/redirects.json226 "/tutorials/rag/langgraph_agentic_rag": "https://docs.langchain.com/oss/python/langgraph/agentic-rag",CODE
MEDIUMdocs/redirects.json263 "/tutorials/rag/langgraph_self_rag": "https://docs.langchain.com/oss/python/langgraph/agentic-rag",CODE
MEDIUM⚡docs/redirects.json284 "/tutorials/rag/langgraph_adaptive_rag_local": "https://docs.langchain.com/oss/python/langgraph/agentic-rag",CODE
MEDIUM⚡docs/redirects.json285 "/tutorials/rag/langgraph_crag": "https://docs.langchain.com/oss/python/langgraph/agentic-rag",CODE
MEDIUM⚡docs/redirects.json286 "/tutorials/rag/langgraph_crag_local": "https://docs.langchain.com/oss/python/langgraph/agentic-rag",CODE
MEDIUM⚡docs/redirects.json287 "/tutorials/rag/langgraph_self_rag_local": "https://docs.langchain.com/oss/python/langgraph/agentic-rag",CODE
MEDIUMdocs/llms.txt8- [Build a custom RAG agent with LangGraph](https://docs.langchain.com/oss/python/langgraph/agentic-rag.md)CODE
MEDIUMlibs/prebuilt/langgraph/prebuilt/tool_node.py994 # (2 and 3 can happen in a "supervisor w/ tools" multi-agent architecture)COMMENT
MEDIUMlibs/prebuilt/langgraph/prebuilt/tool_node.py1154 # (2 and 3 can happen in a "supervisor w/ tools" multi-agent architecture)COMMENT
MEDIUM⚡libs/cli/langgraph_cli/deploy.py819# Deployment orchestration helpersCOMMENT
Slop Phrases13 hits · 36 pts
SeverityFileLineSnippetContext
LOW…int-postgres/langgraph/checkpoint/postgres/__init__.py158 # if we change this to use .stream() we need to make sure to close the cursorCOMMENT
LOW…eckpoint-postgres/langgraph/checkpoint/postgres/aio.py147 # if we change this to use .stream() we need to make sure to close the cursorCOMMENT
MEDIUMlibs/langgraph/tests/test_large_cases.py1731 # meaning you can use it as you would any other runnableCOMMENT
MEDIUMlibs/langgraph/tests/test_large_cases.py2486 # meaning you can use it as you would any other runnableCOMMENT
MEDIUMlibs/langgraph/tests/test_large_cases.py3198 # meaning you can use it as you would any other runnableCOMMENT
MEDIUMlibs/langgraph/tests/test_large_cases_async.py1452 # meaning you can use it as you would any other runnableCOMMENT
MEDIUMlibs/langgraph/tests/test_large_cases_async.py2162 # meaning you can use it as you would any other runnableCOMMENT
MEDIUMlibs/prebuilt/langgraph/prebuilt/chat_agent_executor.py994 # meaning you can use it as you would any other runnableCOMMENT
MEDIUMlibs/cli/examples/graphs_reqs_b/graphs_submod/agent.py99# meaning you can use it as you would any other runnableCOMMENT
MEDIUMlibs/cli/examples/graph_prerelease_reqs_fail/agent.py88# meaning you can use it as you would any other runnableCOMMENT
MEDIUMlibs/cli/examples/graph_prerelease_reqs/agent.py87# meaning you can use it as you would any other runnableCOMMENT
MEDIUMlibs/cli/examples/graphs/agent.py95# meaning you can use it as you would any other runnableCOMMENT
MEDIUMlibs/cli/examples/graphs_reqs_a/graphs_submod/agent.py98# meaning you can use it as you would any other runnableCOMMENT
Redundant / Tautological Comments18 hits · 27 pts
SeverityFileLineSnippetContext
LOWdocs/generate_redirects.py168 # Check if path has a file extension (e.g., .txt, .xml)COMMENT
LOWlibs/langgraph/langgraph/pregel/_algo.py487 # Check if any processes should be run in next stepCOMMENT
LOWlibs/langgraph/langgraph/graph/state.py849 # Check if it's a Command typeCOMMENT
LOWlibs/langgraph/tests/test_pregel_async.py8407 # Check if there are only two checkpointsCOMMENT
LOWlibs/langgraph/tests/test_pregel.py7933 # Check if there are only two checkpointsCOMMENT
LOWlibs/prebuilt/langgraph/prebuilt/tool_node.py554 # Check if error location contains any injected argumentCOMMENT
LOWlibs/prebuilt/langgraph/prebuilt/tool_node.py1018 # Check if this error should be handledCOMMENT
LOWlibs/prebuilt/langgraph/prebuilt/tool_node.py1178 # Check if this error should be handledCOMMENT
LOWlibs/cli/langgraph_cli/config.py1149 # Check if it's a file pathCOMMENT
LOWlibs/cli/langgraph_cli/templates.py143 # Check if path exists and is not emptyCOMMENT
LOWlibs/cli/langgraph_cli/cli.py625 # Check if the .env file exists in the same directory as the DockerfileCOMMENT
LOWlibs/cli/tests/unit_tests/cli/test_cli.py810 # Check if Dockerfile was createdCOMMENT
LOWlibs/cli/tests/unit_tests/cli/test_cli.py854 # Check if Dockerfile was createdCOMMENT
LOWlibs/cli/tests/unit_tests/cli/test_cli.py925 # Check if Dockerfile, .dockerignore, docker-compose.yml, and .env were createdCOMMENT
LOWlibs/cli/tests/unit_tests/cli/test_cli.py1111 # Check if Dockerfile was created and contains correct FROM lineCOMMENT
LOWlibs/cli/tests/unit_tests/cli/test_cli.py1151 # Check if Dockerfile was created and contains correct FROM lineCOMMENT
LOWlibs/cli/tests/unit_tests/cli/test_cli.py1187 # Check if Dockerfile was created and contains correct FROM lineCOMMENT
LOWlibs/checkpoint-sqlite/tests/test_store.py472 # Check if vector tables existCOMMENT
Over-Commented Block28 hits · 26 pts
SeverityFileLineSnippetContext
LOWlibs/langgraph/langgraph/pregel/_loop.py201 Any,COMMENT
LOWlibs/langgraph/langgraph/pregel/_loop.py221 # drain this list so the write is durable before the handler starts.COMMENT
LOWlibs/langgraph/langgraph/pregel/_loop.py241COMMENT
LOWlibs/langgraph/langgraph/pregel/_loop.py261 # to the newly-saved checkpoint's id — by exit time the original parentCOMMENT
LOWlibs/langgraph/langgraph/pregel/_loop.py1041 updated_channels.update(null_updated_channels)COMMENT
LOWlibs/langgraph/langgraph/pregel/_loop.py1141 self._delta_channels_forced_snapshot.update(COMMENT
LOWlibs/langgraph/langgraph/pregel/_loop.py1201 # `_suppress_interrupt`(will rename to _on_loop_exit soon)COMMENT
LOWlibs/langgraph/langgraph/_internal/_constants.py41# holds the `call` function that accepts a node/func, args and returns a futureCOMMENT
LOWlibs/langgraph/langgraph/_internal/_constants.py81# holds a `NodeError` (failed source node + exception) for the currentCOMMENT
LOWlibs/langgraph/langgraph/stream/transformers.py401COMMENT
LOWlibs/langgraph/tests/test_large_cases.py2461 # First, we define the start node. We use `agent`.COMMENT
LOWlibs/langgraph/tests/test_large_cases_async.py2141 should_continue,COMMENT
LOW…s/langgraph/tests/test_stream_lifecycle_transformer.py441# ---------------------------------------------------------------------------COMMENT
LOWlibs/langgraph/tests/test_delta_channel_migration.py621# ---------------------------------------------------------------------------COMMENT
LOWlibs/sdk-py/langgraph_sdk/_async/stream.py1961 # the shared SSE and fanout keep running; a subsequentCOMMENT
LOWlibs/prebuilt/langgraph/prebuilt/tool_node.py981 # Inside try so validation errors route through _handle_tool_errorsCOMMENT
LOWlibs/prebuilt/langgraph/prebuilt/tool_node.py1141 # Inside try so validation errors route through _handle_tool_errorsCOMMENT
LOWlibs/cli/js-examples/src/agent/graph.ts81 return "__end__";COMMENT
LOWlibs/cli/examples/graphs_reqs_b/graphs_submod/agent.py81 # END is a special node marking that the graph should finish.COMMENT
LOWlibs/cli/examples/graph_prerelease_reqs_fail/agent.py61# We now add a conditional edgeCOMMENT
LOWlibs/cli/examples/graph_prerelease_reqs/agent.py61workflow.add_conditional_edges(COMMENT
LOWlibs/cli/examples/graph_prerelease_reqs/agent.py81# We now add a normal edge from `tools` to `agent`.COMMENT
LOWlibs/cli/examples/graphs/storm.py401# Using turbo preview since the context can get quite longCOMMENT
LOWlibs/cli/examples/graphs/agent.py61workflow.add_node("agent", call_model)COMMENT
LOW.github/workflows/release.yml141COMMENT
LOW.github/workflows/tag-external-issues.yml1# Automatically tag issues as "external" or "internal" based on whetherCOMMENT
LOW.github/workflows/tag-external-prs.yml1# Automatically tag pull requests as "external" or "internal" based onCOMMENT
LOW.github/workflows/require_issue_link.yml1# Require external PRs to reference an approved issue (e.g. Fixes #NNN) andCOMMENT
Dead Code8 hits · 16 pts
SeverityFileLineSnippetContext
MEDIUMlibs/langgraph/tests/test_subgraph_detection.py176CODE
MEDIUMlibs/checkpoint/langgraph/checkpoint/base/__init__.py491CODE
MEDIUMlibs/sdk-py/tests/streaming/test_sync_thread_stream.py147CODE
MEDIUMlibs/sdk-py/tests/streaming/test_sync_thread_stream.py216CODE
MEDIUMlibs/sdk-py/tests/streaming/test_transport_ws.py482CODE
MEDIUMlibs/sdk-py/tests/streaming/test_controller.py278CODE
MEDIUMlibs/sdk-py/tests/streaming/test_controller.py323CODE
MEDIUM…ckpoint-sqlite/langgraph/checkpoint/sqlite/__init__.py625CODE
AI Slop Vocabulary6 hits · 16 pts
SeverityFileLineSnippetContext
MEDIUMlibs/sdk-py/tests/test_api_parity.py83 # Use inspect.signature for parameter names (robust across versions)COMMENT
MEDIUM⚡libs/sdk-py/tests/streaming/test_sync_projections.py126# Task 10.7 — comprehensive sync messages projection testsCOMMENT
MEDIUM⚡libs/sdk-py/tests/streaming/test_sync_projections.py295# Task 10.7 — comprehensive sync tool_calls projection testsCOMMENT
MEDIUMlibs/sdk-py/langgraph_sdk/schema.py450 """Whether to persist the stream chunks in order to resume the stream later."""STRING
LOWlibs/prebuilt/tests/test_on_tool_call.py217 # Don't call execute, just return None (invalid)COMMENT
MEDIUMlibs/cli/examples/graphs/storm.py136 """You need to select a diverse (and distinct) group of Wikipedia editors who will work together to create aSTRING
Fake / Example Data14 hits · 11 pts
SeverityFileLineSnippetContext
LOWlibs/langgraph/tests/test_pregel_async.py5568 ("placeholder", "{messages}"),CODE
LOWlibs/langgraph/tests/test_pregel.py3799 ("placeholder", "{messages}"),CODE
LOWlibs/sdk-py/langgraph_sdk/_async/store.py213 filter={"author": "John Doe"},STRING
LOWlibs/sdk-py/langgraph_sdk/_async/store.py230 "author": "John Doe"STRING
LOWlibs/sdk-py/langgraph_sdk/_sync/store.py213 filter={"author": "John Doe"},STRING
LOWlibs/sdk-py/langgraph_sdk/_sync/store.py229 "author": "John Doe"STRING
LOWlibs/checkpoint-sqlite/tests/test_store.py1005 {"title": "Doc 1", "author": "John Doe", "tags": ["important"]},CODE
LOWlibs/checkpoint-sqlite/tests/test_store.py1007 {"title": "Report A", "author": "John Doe", "tags": ["final"]},CODE
LOWlibs/checkpoint-sqlite/tests/test_store.py1040 john_items = store.search((base,), filter={"author": "John Doe"})CODE
LOWlibs/checkpoint-sqlite/tests/test_store.py1042 assert all(item.value["author"] == "John Doe" for item in john_items)CODE
LOWlibs/checkpoint-sqlite/tests/test_async_store.py675 {"title": "Doc 1", "author": "John Doe", "tags": ["important"]},CODE
LOWlibs/checkpoint-sqlite/tests/test_async_store.py677 {"title": "Report A", "author": "John Doe", "tags": ["final"]},CODE
LOWlibs/checkpoint-sqlite/tests/test_async_store.py710 john_items = await store.asearch((base,), filter={"author": "John Doe"})CODE
LOWlibs/checkpoint-sqlite/tests/test_async_store.py712 assert all(item.value["author"] == "John Doe" for item in john_items)CODE
Magic Placeholder Names1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHlibs/cli/langgraph_cli/cli.py633 "# LANGSMITH_API_KEY=your-api-key",CODE
Verbosity Indicators1 hit · 2 pts
SeverityFileLineSnippetContext
LOW…ckpoint/conformance/spec/test_delta_channel_history.py172 # Step 1: plain value (migration case — old checkpoint before delta)COMMENT
Structural Annotation Overuse1 hit · 2 pts
SeverityFileLineSnippetContext
LOW…ckpoint/conformance/spec/test_delta_channel_history.py172 # Step 1: plain value (migration case — old checkpoint before delta)COMMENT
Overly Generic Function Names1 hit · 1 pts
SeverityFileLineSnippetContext
LOWlibs/prebuilt/tests/test_validation_node.py15def my_function(some_val: int, some_other_val: str) -> str:CODE