Repository Analysis

plastic-labs/honcho

Memory library for building stateful agents

27.6 Moderate AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of plastic-labs/honcho, a Python project with 5,963 GitHub stars. SynthScan v2.0 examined 182,770 lines of code across 545 source files, recording 3424 pattern matches distributed across 22 syntactic categories. The overall adjusted score of 27.6 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).

27.6
Adjusted Score
27.6
Raw Score
100%
Time Factor
2026-07-14
Last Push
6.0K
Stars
Python
Language
182.8K
Lines of Code
545
Files
3.4K
Pattern Hits
2026-07-14
Scan Date
0.19
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

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

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

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 22HIGH 82MEDIUM 629LOW 2691

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

The scanner identified 3424 distinct pattern matches across 22 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Hyper-Verbose Identifiers1560 hits · 1434 pts
SeverityFileLineSnippetContext
LOWhoncho-cli/tests/test_commands.py41 def test_first_run_writes_exact_shape(self, cfg, runner):CODE
LOWhoncho-cli/tests/test_commands.py54 def test_preserves_foreign_keys(self, cfg, runner):CODE
LOWhoncho-cli/tests/test_commands.py81 def test_workspace_delete_aborts_on_no(self, cfg, runner):CODE
LOWhoncho-cli/tests/test_commands.py92 def test_session_delete_aborts_on_no(self, cfg, runner):CODE
LOWhoncho-cli/tests/test_commands.py108 def test_workspace_list_json_array_shape(self, cfg, runner):CODE
LOWhoncho-cli/tests/test_commands.py117 def test_workspace_search_preserves_full_content_in_json_mode(self, cfg, runner):CODE
LOWhoncho-cli/tests/test_commands.py145 def test_message_get_returns_single_json_object(self, cfg, runner):CODE
LOWhoncho-cli/tests/test_commands.py177 def test_no_workspace_scoped_exits_nonzero_with_code(self, cfg, runner):CODE
LOWhoncho-cli/tests/test_commands.py184 def test_not_found_exits_nonzero_with_code(self, cfg, runner):CODE
LOWhoncho-cli/tests/test_config.py22 def test_defaults_when_no_file(self, cfg_path):CODE
LOWhoncho-cli/tests/test_config.py28 def test_malformed_file_uses_defaults(self, cfg_path):CODE
LOWhoncho-cli/tests/test_config.py32 def test_reads_environment_url(self, cfg_path):CODE
LOWhoncho-cli/tests/test_config.py38 def test_api_key_and_base_url_from_env(self, cfg_path, monkeypatch):CODE
LOWhoncho-cli/tests/test_config.py49 def test_writes_only_cli_owned_keys(self, cfg_path):CODE
LOWhoncho-cli/tests/test_config.py63 def test_preserves_foreign_keys(self, cfg_path):CODE
LOWhoncho-cli/tests/test_config.py102def test_api_key_redaction_empty_omitted():CODE
LOWsdks/python/src/honcho/conclusions.py32def _reject_reserved_filter_keys(CODE
LOWsdks/python/src/honcho/http/exceptions.py134def create_error_from_response(CODE
LOWsdks/typescript/__tests__/session.unit.test.ts21function createSessionContextResponse(): SessionContextResponse {CODE
LOWsdks/typescript/src/utils.ts26function transformSessionQueueStatus(CODE
LOWtests/test_security.py30 def test_peer_token_without_workspace_rejected(self):CODE
LOWtests/test_security.py35 def test_session_token_without_workspace_rejected(self):CODE
LOWtests/test_security.py40 def test_workspace_only_token_ok(self):CODE
LOWtests/test_security.py45 def test_workspace_peer_token_ok(self):CODE
LOWtests/test_security.py62 async def test_denies_sibling_peer_same_workspace(self):CODE
LOWtests/test_security.py69 async def test_denies_workspace_route_with_no_peer(self):CODE
LOWtests/test_security.py76 async def test_self_authorizing_route_receives_claims(self):CODE
LOWtests/test_security.py84 async def test_denies_cross_workspace(self):CODE
LOWtests/test_security.py100 async def test_denies_sibling_session_same_workspace(self):CODE
LOWtests/test_security.py106 async def test_denies_workspace_route_with_no_session(self):CODE
LOWtests/test_security.py112 async def test_self_authorizing_route_receives_claims(self):CODE
LOWtests/test_security.py127 async def test_workspace_token_reaches_peer_route(self):CODE
LOWtests/test_security.py134 async def test_denies_cross_workspace(self):CODE
LOWtests/test_security.py140 async def test_passes_self_authorizing_route(self):CODE
LOWtests/test_security.py239 async def test_peer_key_without_workspace_rejected(self):CODE
LOWtests/test_security.py246 async def test_session_key_without_workspace_rejected(self):CODE
LOWtests/test_security.py253 async def test_peer_key_with_workspace_ok(self):CODE
LOWtests/test_security.py262 async def test_admin_passes_any_route(self):CODE
LOWtests/test_security.py268 async def test_non_admin_token_denied_on_admin_route(self):CODE
LOWtests/test_security.py274 async def test_unscoped_token_on_self_authorizing_route(self):CODE
LOWtests/test_security.py284 async def test_unscoped_token_denied_on_scoped_route(self):CODE
LOWtests/test_security.py168 async def test_member_peer_allowed_on_read_route(CODE
LOWtests/test_security.py182 async def test_non_member_peer_denied_on_read_route(CODE
LOWtests/test_security.py196 async def test_member_peer_denied_on_write_route(CODE
LOWtests/test_security.py211 async def test_member_peer_denied_cross_workspace(CODE
LOWtests/test_security.py225 async def test_session_token_has_no_cross_scope_to_peer_routes(self):CODE
LOWtests/conftest.py118def pytest_collection_modifyitems(CODE
LOWtests/conftest.py507 async def mock_simple_batch_embed_func(texts: list[str]) -> list[list[float]]:CODE
LOWtests/conftest.py604 def mock_get_vector_namespace(CODE
LOWtests/conftest.py875def mock_crud_collection_operations(request: pytest.FixtureRequest):CODE
LOWtests/conftest.py885 async def mock_get_or_create_collection(CODE
LOWtests/test_datetime_parsing.py225 def test_format_naive_datetime_assumes_utc(self):CODE
LOWtests/test_datetime_parsing.py231 def test_format_non_utc_converts_to_utc(self):CODE
LOWtests/test_datetime_parsing.py239 def test_format_with_microseconds(self):CODE
LOWtests/test_datetime_parsing.py245 def test_roundtrip_consistency(self):CODE
LOWtests/test_datetime_parsing.py26 def test_parse_z_suffix_format(self):CODE
LOWtests/test_datetime_parsing.py41 def test_parse_plus_zero_format(self):CODE
LOWtests/test_datetime_parsing.py54 def test_parse_without_timezone(self):CODE
LOWtests/test_datetime_parsing.py66 def test_equivalency_between_formats(self):CODE
LOWtests/test_datetime_parsing.py79 def test_microseconds_precision(self):CODE
1500 more matches not shown…
Decorative Section Separators310 hits · 1058 pts
SeverityFileLineSnippetContext
MEDIUMsdks/python/src/honcho/api_types.py17# ==============================================================================COMMENT
MEDIUMsdks/python/src/honcho/api_types.py19# ==============================================================================COMMENT
MEDIUMsdks/python/src/honcho/api_types.py95# ==============================================================================COMMENT
MEDIUMsdks/python/src/honcho/api_types.py97# ==============================================================================COMMENT
MEDIUMsdks/python/src/honcho/api_types.py124# ==============================================================================COMMENT
MEDIUMsdks/python/src/honcho/api_types.py126# ==============================================================================COMMENT
MEDIUMsdks/python/src/honcho/api_types.py171# ==============================================================================COMMENT
MEDIUMsdks/python/src/honcho/api_types.py173# ==============================================================================COMMENT
MEDIUMsdks/python/src/honcho/api_types.py250# ==============================================================================COMMENT
MEDIUMsdks/python/src/honcho/api_types.py252# ==============================================================================COMMENT
MEDIUMsdks/python/src/honcho/api_types.py298# ==============================================================================COMMENT
MEDIUMsdks/python/src/honcho/api_types.py300# ==============================================================================COMMENT
MEDIUMsdks/python/src/honcho/api_types.py323# ==============================================================================COMMENT
MEDIUMsdks/python/src/honcho/api_types.py325# ==============================================================================COMMENT
MEDIUMsdks/python/src/honcho/api_types.py340# ==============================================================================COMMENT
MEDIUMsdks/python/src/honcho/api_types.py342# ==============================================================================COMMENT
MEDIUMsdks/python/src/honcho/api_types.py406# ==============================================================================COMMENT
MEDIUMsdks/python/src/honcho/api_types.py408# ==============================================================================COMMENT
MEDIUMsdks/python/src/honcho/api_types.py463# ==============================================================================COMMENT
MEDIUMsdks/python/src/honcho/api_types.py465# ==============================================================================COMMENT
MEDIUMsdks/python/src/honcho/api_types.py488# ==============================================================================COMMENT
MEDIUMsdks/python/src/honcho/api_types.py490# ==============================================================================COMMENT
MEDIUMsdks/python/src/honcho/api_types.py527# ==============================================================================COMMENT
MEDIUMsdks/python/src/honcho/api_types.py529# ==============================================================================COMMENT
MEDIUMsdks/python/src/honcho/api_types.py542# ==============================================================================COMMENT
MEDIUMsdks/python/src/honcho/api_types.py544# ==============================================================================COMMENT
MEDIUMtests/test_search.py421# =============================================================================COMMENT
MEDIUMtests/test_search.py423# =============================================================================COMMENT
MEDIUMtests/bench/runner_common.py795 # -------------------------------------------------------------------------COMMENT
MEDIUMtests/bench/runner_common.py797 # -------------------------------------------------------------------------COMMENT
MEDIUMtests/bench/runner_common.py289# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/bench/runner_common.py291# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/bench/runner_common.py445 # -------------------------------------------------------------------------COMMENT
MEDIUMtests/bench/runner_common.py447 # -------------------------------------------------------------------------COMMENT
MEDIUMtests/bench/runner_common.py531 # -------------------------------------------------------------------------COMMENT
MEDIUMtests/bench/runner_common.py533 # -------------------------------------------------------------------------COMMENT
MEDIUMtests/bench/coverage.py76# =============================================================================COMMENT
MEDIUMtests/bench/coverage.py78# =============================================================================COMMENT
MEDIUMtests/bench/coverage.py113# =============================================================================COMMENT
MEDIUMtests/bench/coverage.py115# =============================================================================COMMENT
MEDIUMtests/bench/coverage.py257# =============================================================================COMMENT
MEDIUMtests/bench/coverage.py259# =============================================================================COMMENT
MEDIUMtests/bench/coverage.py397# =============================================================================COMMENT
MEDIUMtests/bench/coverage.py399# =============================================================================COMMENT
MEDIUMtests/bench/coverage.py1063# =============================================================================COMMENT
MEDIUMtests/bench/coverage.py1065# =============================================================================COMMENT
MEDIUMtests/bench/coverage.py1160# =============================================================================COMMENT
MEDIUMtests/bench/coverage.py1162# =============================================================================COMMENT
MEDIUMtests/bench/coverage.py1229# =============================================================================COMMENT
MEDIUMtests/bench/coverage.py1231# =============================================================================COMMENT
MEDIUMtests/bench/molecular.py88# =============================================================================COMMENT
MEDIUMtests/bench/molecular.py90# =============================================================================COMMENT
MEDIUMtests/bench/molecular.py140# =============================================================================COMMENT
MEDIUMtests/bench/molecular.py142# =============================================================================COMMENT
MEDIUMtests/bench/molecular.py304# =============================================================================COMMENT
MEDIUMtests/bench/molecular.py306# =============================================================================COMMENT
MEDIUMtests/bench/molecular.py455# =============================================================================COMMENT
MEDIUMtests/bench/molecular.py457# =============================================================================COMMENT
MEDIUMtests/bench/molecular.py975# =============================================================================COMMENT
MEDIUMtests/bench/molecular.py977# =============================================================================COMMENT
250 more matches not shown…
Self-Referential Comments198 hits · 572 pts
SeverityFileLineSnippetContext
MEDIUMsdks/python/examples/pydantic_validation_example.py112 # Create a valid messageCOMMENT
MEDIUMsdks/python/examples/get_context.py6# Create a Honcho client with the default workspaceCOMMENT
MEDIUMsdks/python/examples/get_context.py15# Create a new sessionCOMMENT
MEDIUMsdks/python/examples/chat.py6# Create a Honcho client with the default workspaceCOMMENT
MEDIUMsdks/python/examples/chat.py15# Create a new sessionCOMMENT
MEDIUMsdks/python/examples/search.py6# Create a Honcho client with the default workspaceCOMMENT
MEDIUMsdks/python/examples/search.py17# Create a new sessionCOMMENT
MEDIUMsdks/python/examples/search.py20# Create a message with our special keywordCOMMENT
MEDIUMsdks/python/examples/file_upload.py5# Create a Honcho client with the default workspaceCOMMENT
MEDIUMsdks/python/examples/file_upload.py8# Create a new sessionCOMMENT
MEDIUMsdks/python/examples/multi_user_representations.py7# Create a Honcho client with the default workspaceCOMMENT
MEDIUMsdks/python/examples/multi_user_representations.py13# Create a new sessionCOMMENT
MEDIUMsdks/python/examples/multi_user_representations.py34# Create a separate sessionCOMMENT
MEDIUMsdks/python/src/honcho/__init__.py18 # Create a sessionSTRING
MEDIUMtests/conftest.py49# Create a custom handler that doesn't get closed prematurelyCOMMENT
MEDIUMtests/conftest.py269 # Create a fake redis instance that persists for the sessionCOMMENT
MEDIUMtests/conftest.py554 # Create a mock vector store that stores vectors in memoryCOMMENT
MEDIUMtests/conftest.py597 # Create the mock vector storeCOMMENT
MEDIUMtests/conftest.py647 # Create an async generator for streaming responsesCOMMENT
MEDIUMtests/conftest.py891 # Create a mock collection object that doesn't require database commitCOMMENT
MEDIUMtests/test_datetime_parsing.py439 # Create a datetime in EST (UTC-5)COMMENT
MEDIUMtests/test_advanced_filters.py1779 # Create a very complex filter structureCOMMENT
MEDIUMtests/bench/locomo_summary.py139 # Initialize base classCOMMENT
MEDIUMtests/bench/harness.py637 # Create a Python script to import and print the settingsCOMMENT
MEDIUMtests/bench/harness.py839 # Create an empty .env file in temp directory to satisfy docker-composeSTRING
MEDIUMtests/bench/harness.py999 # Create an empty .env file in temp directorySTRING
MEDIUMtests/bench/locomo.py199 # Initialize base classCOMMENT
MEDIUMtests/bench/beam.py130 # Initialize base classCOMMENT
MEDIUMtests/bench/longmem.py160 # Initialize base class (sets up metrics collector and logger)COMMENT
MEDIUMtests/bench/longmem.py208 # Create a single merged sessionCOMMENT
MEDIUMtests/integration/test_enqueue.py497 # Create an observer peerCOMMENT
MEDIUMtests/integration/test_enqueue.py1157 # Create a test sessionCOMMENT
MEDIUMtests/integration/test_enqueue.py1164 # Create a message payload with seq_in_session includedCOMMENT
MEDIUMtests/integration/test_enqueue.py1235 # Create a test sessionCOMMENT
MEDIUMtests/integration/test_enqueue.py1242 # Create a message payload WITHOUT seq_in_sessionCOMMENT
MEDIUMtests/integration/test_representation.py38 # Create a deterministic 1536-dimensional embedding vectorCOMMENT
MEDIUMtests/integration/test_message_embeddings.py77 # Create a test sessionCOMMENT
MEDIUMtests/integration/test_message_embeddings.py84 # Create a message using the CRUD function directlyCOMMENT
MEDIUMtests/integration/test_message_embeddings.py199 # Create a test sessionCOMMENT
MEDIUMtests/integration/test_message_embeddings.py206 # Create a message using the CRUD function directlyCOMMENT
MEDIUMtests/integration/test_message_embeddings.py249 # Create a test sessionCOMMENT
MEDIUMtests/integration/test_message_embeddings.py719 # Create a test sessionCOMMENT
MEDIUM…cases/longmem_triple_e47becba_single-session-user.json224 "content": "To generate a graph of the action intensity in a scene, you can use Python with the Matplotlib andCODE
MEDIUM…cases/longmem_triple_e47becba_single-session-user.json234 "content": "To represent the intensity of the script provided, we can estimate the intensity levels during theCODE
MEDIUMtests/utils/test_clients.py377 # Create a mock parsed objectCOMMENT
MEDIUMtests/utils/test_clients.py380 # Create a proper ChatCompletionMessage and add parsed attributeCOMMENT
MEDIUMtests/utils/test_agent_tools.py705 # Create a peer with no observationsCOMMENT
MEDIUMtests/sdk_typescript/conftest.py137 # Create a tracked_db that uses fresh sessions (not shared)COMMENT
MEDIUMtests/sdk/test_file_uploads.py62 # Create a large text file that will require chunkingCOMMENT
MEDIUMtests/sdk/test_pagination.py21 await peer.aio.get_metadata() # Create the peerCODE
MEDIUMtests/sdk/test_pagination.py38 peer.get_metadata() # Create the peerCODE
MEDIUMtests/sdk/test_conclusions.py39 # Create a single observationCOMMENT
MEDIUMtests/sdk/test_conclusions.py73 # Create a single observationCOMMENT
MEDIUMtests/sdk/test_conclusions.py429 # Create a self-observationCOMMENT
MEDIUMtests/sdk/test_conclusions.py450 # Create a self-observationCOMMENT
MEDIUMtests/sdk/test_conclusions.py627 # Create a session just to ensure peers existCOMMENT
MEDIUMtests/sdk/test_conclusions.py660 # Create a session just to ensure peers existCOMMENT
MEDIUMtests/sdk/test_session.py561 await peer.aio.get_metadata() # Create the peerCODE
MEDIUMtests/sdk/test_session.py586 peer.get_metadata() # Create the peerCODE
MEDIUMtests/sdk/sdk_integration_test.py116 # Create the peers on the server by adding a messageCOMMENT
138 more matches not shown…
Unused Imports449 hits · 380 pts
SeverityFileLineSnippetContext
LOWhoncho-cli/tests/test_validation.py7CODE
LOWhoncho-cli/tests/test_commands.py8CODE
LOWhoncho-cli/scripts/generate_cli_docs.py16CODE
LOWhoncho-cli/src/honcho_cli/config.py19CODE
LOWhoncho-cli/src/honcho_cli/_help.py14CODE
LOWhoncho-cli/src/honcho_cli/common.py13CODE
LOWhoncho-cli/src/honcho_cli/main.py6CODE
LOWhoncho-cli/src/honcho_cli/output.py6CODE
LOWhoncho-cli/src/honcho_cli/validation.py6CODE
LOWhoncho-cli/src/honcho_cli/commands/config_cmd.py9CODE
LOWhoncho-cli/src/honcho_cli/commands/session.py3CODE
LOWhoncho-cli/src/honcho_cli/commands/message.py3CODE
LOWhoncho-cli/src/honcho_cli/commands/peer.py3CODE
LOWhoncho-cli/src/honcho_cli/commands/setup.py7CODE
LOWhoncho-cli/src/honcho_cli/commands/conclusion.py3CODE
LOWhoncho-cli/src/honcho_cli/commands/workspace.py3CODE
LOWsdks/python/src/honcho/api_types.py6CODE
LOWsdks/python/src/honcho/session_context.py1CODE
LOWsdks/python/src/honcho/mixins.py3CODE
LOWsdks/python/src/honcho/client.py3CODE
LOWsdks/python/src/honcho/session.py4CODE
LOWsdks/python/src/honcho/session.py39CODE
LOWsdks/python/src/honcho/__init__.py44CODE
LOWsdks/python/src/honcho/__init__.py44CODE
LOWsdks/python/src/honcho/__init__.py44CODE
LOWsdks/python/src/honcho/__init__.py44CODE
LOWsdks/python/src/honcho/__init__.py45CODE
LOWsdks/python/src/honcho/__init__.py46CODE
LOWsdks/python/src/honcho/__init__.py46CODE
LOWsdks/python/src/honcho/__init__.py47CODE
LOWsdks/python/src/honcho/__init__.py48CODE
LOWsdks/python/src/honcho/__init__.py48CODE
LOWsdks/python/src/honcho/__init__.py49CODE
LOWsdks/python/src/honcho/__init__.py49CODE
LOWsdks/python/src/honcho/__init__.py49CODE
LOWsdks/python/src/honcho/__init__.py49CODE
LOWsdks/python/src/honcho/__init__.py49CODE
LOWsdks/python/src/honcho/__init__.py49CODE
LOWsdks/python/src/honcho/__init__.py49CODE
LOWsdks/python/src/honcho/__init__.py49CODE
LOWsdks/python/src/honcho/__init__.py49CODE
LOWsdks/python/src/honcho/__init__.py49CODE
LOWsdks/python/src/honcho/__init__.py49CODE
LOWsdks/python/src/honcho/__init__.py49CODE
LOWsdks/python/src/honcho/__init__.py63CODE
LOWsdks/python/src/honcho/__init__.py64CODE
LOWsdks/python/src/honcho/__init__.py64CODE
LOWsdks/python/src/honcho/__init__.py65CODE
LOWsdks/python/src/honcho/__init__.py66CODE
LOWsdks/python/src/honcho/__init__.py67CODE
LOWsdks/python/src/honcho/__init__.py67CODE
LOWsdks/python/src/honcho/__init__.py67CODE
LOWsdks/python/src/honcho/__init__.py68CODE
LOWsdks/python/src/honcho/__init__.py68CODE
LOWsdks/python/src/honcho/message.py3CODE
LOWsdks/python/src/honcho/types.py3CODE
LOWsdks/python/src/honcho/conclusions.py4CODE
LOWsdks/python/src/honcho/conclusions.py19CODE
LOWsdks/python/src/honcho/peer.py4CODE
LOWsdks/python/src/honcho/peer.py36CODE
389 more matches not shown…
Excessive Try-Catch Wrapping292 hits · 312 pts
SeverityFileLineSnippetContext
LOWhoncho-cli/src/honcho_cli/commands/session.py60 except Exception as e:CODE
LOWhoncho-cli/src/honcho_cli/commands/session.py99 except Exception as e:CODE
LOWhoncho-cli/src/honcho_cli/commands/session.py134 except Exception as e:CODE
LOWhoncho-cli/src/honcho_cli/commands/session.py158 except Exception as e:CODE
LOWhoncho-cli/src/honcho_cli/commands/session.py184 except Exception as e:CODE
LOWhoncho-cli/src/honcho_cli/commands/session.py227 except Exception as e:CODE
LOWhoncho-cli/src/honcho_cli/commands/session.py249 except Exception as e:CODE
LOWhoncho-cli/src/honcho_cli/commands/session.py270 except Exception as e:CODE
LOWhoncho-cli/src/honcho_cli/commands/session.py291 except Exception as e:CODE
LOWhoncho-cli/src/honcho_cli/commands/session.py323 except Exception as e:CODE
LOWhoncho-cli/src/honcho_cli/commands/session.py353 except Exception as e:CODE
LOWhoncho-cli/src/honcho_cli/commands/session.py374 except Exception as e:CODE
LOWhoncho-cli/src/honcho_cli/commands/session.py403 except Exception as e:CODE
LOWhoncho-cli/src/honcho_cli/commands/message.py86 except Exception as e:CODE
LOWhoncho-cli/src/honcho_cli/commands/message.py128 except Exception as e:CODE
LOWhoncho-cli/src/honcho_cli/commands/message.py160 except Exception as e:CODE
LOWhoncho-cli/src/honcho_cli/commands/peer.py60 except Exception as e:CODE
LOWhoncho-cli/src/honcho_cli/commands/peer.py102 except Exception as e:CODE
LOWhoncho-cli/src/honcho_cli/commands/peer.py124 except Exception as e:CODE
LOWhoncho-cli/src/honcho_cli/commands/peer.py159 except Exception as e:CODE
LOWhoncho-cli/src/honcho_cli/commands/peer.py190 except Exception as e:CODE
LOWhoncho-cli/src/honcho_cli/commands/peer.py228 except Exception as e:CODE
LOWhoncho-cli/src/honcho_cli/commands/peer.py249 except Exception as e:CODE
LOWhoncho-cli/src/honcho_cli/commands/peer.py277 except Exception as e:CODE
LOWhoncho-cli/src/honcho_cli/commands/peer.py307 except Exception as e:CODE
LOWhoncho-cli/src/honcho_cli/commands/setup.py80 except Exception as e:CODE
LOWhoncho-cli/src/honcho_cli/commands/setup.py253 except Exception as e:CODE
LOWhoncho-cli/src/honcho_cli/commands/setup.py259 except Exception:CODE
LOWhoncho-cli/src/honcho_cli/commands/setup.py267 except Exception as e:CODE
LOWhoncho-cli/src/honcho_cli/commands/conclusion.py74 except Exception as e:CODE
LOWhoncho-cli/src/honcho_cli/commands/conclusion.py116 except Exception as e:CODE
LOWhoncho-cli/src/honcho_cli/commands/conclusion.py169 except Exception as e:CODE
LOWhoncho-cli/src/honcho_cli/commands/conclusion.py218 except Exception as e:CODE
LOWhoncho-cli/src/honcho_cli/commands/workspace.py63 except Exception as e:CODE
LOWhoncho-cli/src/honcho_cli/commands/workspace.py95 except Exception as e:CODE
LOWhoncho-cli/src/honcho_cli/commands/workspace.py141 except Exception as e:CODE
LOWhoncho-cli/src/honcho_cli/commands/workspace.py170 except Exception as e:CODE
LOWhoncho-cli/src/honcho_cli/commands/workspace.py210 except Exception as e:CODE
LOWhoncho-cli/src/honcho_cli/commands/workspace.py241 except Exception as e:CODE
LOWhoncho-cli/src/honcho_cli/commands/workspace.py263 except Exception as e:CODE
LOWsdks/python/src/honcho/http/client.py153 except Exception as e:CODE
LOWsdks/python/src/honcho/http/client.py350 except Exception:CODE
LOWsdks/python/src/honcho/http/client.py373 except Exception:CODE
LOWsdks/python/src/honcho/http/async_client.py153 except Exception as e:CODE
LOWsdks/python/src/honcho/http/async_client.py352 except Exception:CODE
LOWsdks/python/src/honcho/http/async_client.py376 except Exception:CODE
LOWtests/conftest.py158 except Exception as e:CODE
LOWtests/conftest.py190 except Exception as e:CODE
LOWtests/bench/locomo_summary.py429 except Exception as e:CODE
MEDIUMtests/bench/locomo_summary.py558 print(f"Error: Data file {args.data_file} does not exist")STRING
MEDIUMtests/bench/harness.py191 print(f"Error restoring .env file: {e}")CODE
MEDIUMtests/bench/harness.py569 print(f"Error reading from {name}: {e}")CODE
MEDIUMtests/bench/harness.py801 print(f"Error stopping database: {e}")STRING
MEDIUMtests/bench/harness.py811 print(f"Error removing temp directory: {e}")STRING
MEDIUMtests/bench/harness.py817 print(f"Error closing cache: {e}")STRING
LOWtests/bench/harness.py190 except Exception as e:CODE
LOWtests/bench/harness.py309 except Exception:CODE
LOWtests/bench/harness.py332 except Exception as e:CODE
LOWtests/bench/harness.py345 except Exception as e:CODE
LOWtests/bench/harness.py394 except Exception:CODE
232 more matches not shown…
Docstring Block Structure46 hits · 230 pts
SeverityFileLineSnippetContext
HIGHsdks/python/src/honcho/conclusions.py354 Build a single conclusion create payload. This normalizes both `ConclusionCreateParams` instanSTRING
HIGHsdks/python/src/honcho/utils/datetime.py24 Parse an ISO 8601 datetime string into a `datetime` instance. This accepts timestamps in the forms commonly prSTRING
HIGHsdks/python/src/honcho/utils/file_upload.py15 Normalize various file input formats to a standard tuple format. Args: file: File to normalize. Can beSTRING
HIGHsdks/python/src/honcho/utils/file_upload.py54 Prepare a file for upload by normalizing and reading its content. Args: file: File to prepare. Can be:STRING
HIGHtests/bench/runner_common.py226 Create an AsyncAnthropic client. Args: api_key: Optional API key. If not provided, uses LLM_ANTHROPIC_STRING
HIGHtests/bench/runner_common.py252 Create an AsyncOpenAI client. Args: api_key: Optional API key. If not provided, uses env_key_name env STRING
HIGHtests/bench/longmem_common.py98Parse longmemeval date format to datetime. Args: date_str: Date string in format "YYYY/MM/DD (Day) HH:MM" STRING
HIGHtests/bench/oolong_common.py152Load the OOLONG-synth dataset from filesystem. Args: split: Dataset split to load (default: "test") STRING
HIGHtests/bench/oolong_common.py235Load the OOLONG-real dataset from filesystem. Args: split: Dataset split to load (default: "test") STRING
HIGHtests/bench/oolong_common.py638Filter dataset by context length and example count. Args: dataset: HuggingFace dataset max_context_STRING
HIGH…ntegration/references/bot-frameworks/nanobot/client.py37 Get or create the Honcho client singleton. Args: config: Optional config. If not provided, uses enviroSTRING
HIGHexamples/zo/tools/save_memory.py13Save a single conversation turn to Honcho memory. Creates the peer and session if they do not already exist. RegistSTRING
HIGHexamples/zo/tools/query_memory.py9Query stored memory for a user using Honcho's Dialectic API. Sends a natural language question to Honcho and returnSTRING
HIGHsrc/embedding_client.py278 Batch-embed a list of text strings. Each input must already fit within `max_embedding_tokens`; this metSTRING
HIGHsrc/llm/request_builder.py24Validate an operator-supplied provider_params passthrough is a mapping. ``provider_params`` is typed ``dict[str, AnSTRING
HIGHsrc/utils/files.py184 Process an uploaded file and prepare message creation data. This function extracts text from a file, splits itSTRING
HIGHsrc/utils/work_unit.py22 Generate a work unit key for a given task type, workspace name, and event type. Args: workspace_name: STRING
HIGHsrc/utils/work_unit.py81 Parse a work unit key to extract its components. Args: work_unit_key: The work unit key string to parsSTRING
HIGHsrc/utils/formatting.py95 Parse ISO 8601 datetime string, handling various timezone formats. This function properly handles Z suffix, tiSTRING
HIGHsrc/utils/queue_payload.py140 Create a processed payload from a message for queue processing. Note: workspace_name and message_id are no lonSTRING
HIGHsrc/utils/search.py320 Search across message content using a hybrid approach with Reciprocal Rank Fusion (RRF). This function combineSTRING
HIGHsrc/utils/filter.py62 Apply advanced filter to a SQL statement based on filter dictionary. Supports logical operators (AND, OR, NOT)STRING
HIGHsrc/utils/representation.py21 Flatten message_ids that may be in old tuple format or nested list format. This handles backwards compatibilitSTRING
HIGHsrc/vector_store/turbopuffer.py133 Query for similar vectors in Turbopuffer. Args: namespace: The namespace to query STRING
HIGHsrc/vector_store/__init__.py139 Query for similar vectors. Args: namespace: The namespace to query embedding: STRING
HIGHsrc/vector_store/lancedb.py202 Query for similar vectors in LanceDB. Args: namespace: The namespace (table) to query STRING
HIGHsrc/vector_store/lancedb.py276 Convert a filter dict to SQL WHERE clause syntax. Supports filter formats: - {"key": "value"} STRING
HIGHsrc/dreamer/trees/__init__.py18 Factory function to create different tree types. Args: tree_type: Type of tree to create ('rptree', 'kSTRING
HIGHsrc/crud/peer_card.py24 Get peer card from internal_metadata. The peer card is returned for the observer/observed relationship. ASTRING
HIGHsrc/crud/webhook.py20 Get an existing webhook endpoint for a workspace or create it if missing. Args: db: Database session STRING
HIGHsrc/crud/session.py153 Get an active session in a workspace or create it if it does not exist. If the session already exists, provideSTRING
HIGHsrc/crud/session.py315 Get a session in a workspace. Args: db: Database session session_name: Name of the session STRING
HIGHsrc/crud/session.py359 Get or create a session, then apply metadata and configuration updates. Provided metadata replaces the currentSTRING
HIGHsrc/crud/session.py461 Delete a session and all associated data (hard delete). This performs cascading deletes for all session-relateSTRING
HIGHsrc/crud/session.py772 Remove specified peers from a session. Args: db: Database session workspace_name: Name of the STRING
HIGHsrc/crud/session.py914 Set peers for a session, overwriting any existing peers. If peers don't exist, they will be created. Args:STRING
HIGHsrc/crud/session.py989 Upsert session-peer memberships for a session and optionally fetch the active memberships afterward. New pSTRING
HIGHsrc/crud/session.py1098 Get the configuration for a peer in a session. Args: db: Database session workspace_name: NamSTRING
HIGHsrc/crud/peer.py46 Get an existing list of peers or create new peers if they don't exist. Updates existing peers with metadata andSTRING
HIGHsrc/crud/peer.py186 Get an existing peer. Args: db: Database session workspace_name: Name of the workspace STRING
HIGHsrc/crud/peer.py232 Get or create a peer, then apply metadata and configuration updates. If the peer does not exist, the workspaceSTRING
HIGHsrc/crud/document.py843 Create multiple observations (documents) from user input. This function validates all referenced resources, geSTRING
HIGHsrc/crud/collection.py87 Get a collection by observer/observed for a workspace. Args: db: Database session workspace_naSTRING
HIGHsrc/crud/workspace.py90 Get an existing workspace or create a new one if it doesn't exist. Args: db: Database session STRING
HIGHsrc/crud/workspace.py186 Get an existing workspace. Args: db: Database session workspace_name: Name of the workspace STRING
HIGHsrc/crud/workspace.py215 Get or create a workspace, then apply metadata and configuration updates. Provided metadata replaces the curreSTRING
Hallucination Indicators22 hits · 210 pts
SeverityFileLineSnippetContext
CRITICALdocs/v1/openapi.json1729 "source": "import Honcho from 'honcho-ai';\n\nconst client = new Honcho({\n apiKey: process.envCODE
CRITICALdocs/v1/openapi.json1733 "source": "import os\nfrom honcho import Honcho\n\nclient = Honcho(\n api_key=os.environ.get(CODE
CRITICALdocs/v1/openapi.json1827 "source": "import Honcho from 'honcho-ai';\n\nconst client = new Honcho({\n apiKey: process.envCODE
CRITICALdocs/v1/openapi.json1831 "source": "import os\nfrom honcho import Honcho\n\nclient = Honcho(\n api_key=os.environ.get(CODE
CRITICALdocs/v1/openapi.json1974 "source": "import Honcho from 'honcho-ai';\n\nconst client = new Honcho({\n apiKey: process.envCODE
CRITICALdocs/v1/openapi.json1978 "source": "import os\nfrom honcho import Honcho\n\nclient = Honcho(\n api_key=os.environ.get(CODE
CRITICALdocs/v1/openapi.json2068 "source": "import Honcho from 'honcho-ai';\n\nconst client = new Honcho({\n apiKey: process.envCODE
CRITICALdocs/v1/openapi.json2072 "source": "import os\nfrom honcho import Honcho\n\nclient = Honcho(\n api_key=os.environ.get(CODE
CRITICALdocs/v1/openapi.json2171 "source": "import Honcho from 'honcho-ai';\n\nconst client = new Honcho({\n apiKey: process.envCODE
CRITICALdocs/v1/openapi.json2175 "source": "import os\nfrom honcho import Honcho\n\nclient = Honcho(\n api_key=os.environ.get(CODE
CRITICALdocs/v1/openapi.json3275 "source": "import Honcho from 'honcho-ai';\n\nconst client = new Honcho({\n apiKey: process.envCODE
CRITICALdocs/v1/openapi.json3279 "source": "import os\nfrom honcho import Honcho\n\nclient = Honcho(\n api_key=os.environ.get(CODE
CRITICALdocs/v1/openapi.json3369 "source": "import Honcho from 'honcho-ai';\n\nconst client = new Honcho({\n apiKey: process.envCODE
CRITICALdocs/v1/openapi.json3373 "source": "import os\nfrom honcho import Honcho\n\nclient = Honcho(\n api_key=os.environ.get(CODE
CRITICALdocs/v1/openapi.json3472 "source": "import Honcho from 'honcho-ai';\n\nconst client = new Honcho({\n apiKey: process.envCODE
CRITICALdocs/v1/openapi.json3476 "source": "import os\nfrom honcho import Honcho\n\nclient = Honcho(\n api_key=os.environ.get(CODE
CRITICALdocs/v1/openapi.json3562 "source": "import Honcho from 'honcho-ai';\n\nconst client = new Honcho({\n apiKey: process.envCODE
CRITICALdocs/v1/openapi.json3566 "source": "import os\nfrom honcho import Honcho\n\nclient = Honcho(\n api_key=os.environ.get(CODE
CRITICALdocs/v1/openapi.json3660 "source": "import Honcho from 'honcho-ai';\n\nconst client = new Honcho({\n apiKey: process.envCODE
CRITICALdocs/v1/openapi.json3664 "source": "import os\nfrom honcho import Honcho\n\nclient = Honcho(\n api_key=os.environ.get(CODE
CRITICALdocs/v1/openapi.json3754 "source": "import Honcho from 'honcho-ai';\n\nconst client = new Honcho({\n apiKey: process.envCODE
CRITICALdocs/v1/openapi.json3758 "source": "import os\nfrom honcho import Honcho\n\nclient = Honcho(\n api_key=os.environ.get(CODE
Slop Phrases90 hits · 162 pts
SeverityFileLineSnippetContext
MEDIUM…test_cases/observation_isolation_between_sessions.json33 "content": "Let me know if you need help with the data analysis."CODE
LOWtests/unified/test_cases/longmem_ancash.json50 "content": "Here are a few more tips to keep in mind as you prepare your Seco de Cordero:\n\n1. It's best to uCODE
MEDIUMtests/unified/test_cases/longmem_giftcard.json360 "content": "As an AI language model, I do not have personal opinions or beliefs, but I can provide informationCODE
MEDIUMtests/unified/test_cases/longmem_giftcard.json370 "content": "As an AI language model, I do not have personal beliefs or opinions, but I can provide informationCODE
MEDIUMtests/unified/test_cases/longmem_giftcard.json380 "content": "As an AI language model, I do not have personal beliefs or opinions, but I can provide informationCODE
MEDIUMtests/unified/test_cases/longmem_giftcard.json1205 "content": "As an AI language model, I believe that NLP technology will continue to evolve and become even morCODE
MEDIUMtests/unified/test_cases/longmem_giftcard.json1215 "content": "As an AI language model, I believe that NLP technology has made significant strides in mimicking hCODE
MEDIUMtests/unified/test_cases/longmem_giftcard.json1225 "content": "As an AI language model, I believe that NLP can be trained to understand and recognize when a custCODE
MEDIUMtests/unified/test_cases/longmem_giftcard.json1235 "content": "As an AI language model, I think that e-commerce companies should be mindful of potential ethical CODE
MEDIUMtests/unified/test_cases/longmem_giftcard.json1245 "content": "As an AI language model, I would say that NLP technology has made significant strides in understanCODE
MEDIUMtests/unified/test_cases/longmem_giftcard.json1910 "content": "As an AI language model, I do not have the ability to see or experience anything in the physical wCODE
MEDIUMtests/unified/test_cases/longmem_giftcard.json2380 "content": "To incorporate haptic feedback into the capacitive touch-sensitive stalks, you can use a techniqueCODE
MEDIUMtests/unified/test_cases/longmem_giftcard.json2390 "content": "Yes, there are other ways to incorporate haptic feedback into your capacitive touch-sensitive stalCODE
MEDIUMtests/unified/test_cases/longmem_giftcard.json2624 "content": "As an AI language model, I don't have personal experiences or opinions. Nevertheless, here are somCODE
MEDIUMtests/unified/test_cases/longmem_giftcard.json2734 "content": "A fun birthday message or inside joke can make the gift even more special and personal. Here are sCODE
MEDIUMtests/unified/test_cases/longmem_giftcard.json2784 "content": "As an AI language model, I don't have access to current data. However, according to the UK Census CODE
MEDIUMtests/unified/test_cases/longmem_giftcard.json2794 "content": "I apologize, but as an AI language model, I do not have access to real-time or updated data. HowevCODE
LOWtests/unified/test_cases/longmem_giftcard.json720 "content": "Seattle is a great destination! I'm happy to help you pack smart for your trip.\n\nFirstly, congraCODE
LOWtests/unified/test_cases/longmem_giftcard.json2230 "content": "For a sunrise shot, I would highly recommend Presque Isle State Park. You can capture the vibrant CODE
LOWtests/unified/test_cases/longmem_giftcard.json2250 "content": "Sure, here are some tips to take great sunrise photos:\n \n1. Scout the location beforehand and fiCODE
LOWtests/unified/test_cases/longmem_giftcard.json2594 "content": "You're welcome! It was my pleasure to help you. I'm glad I could assist you in exploring online coCODE
LOWtests/unified/test_cases/longmem_giftcard.json3569 "content": "The MCU movies are plenty to take in on their own.\n\nNow, about those snacks... I've got some MarCODE
LOWtests/unified/test_cases/longmem_giftcard.json3659 "content": "You're welcome! I'm glad I could help. Remember, everyone's body is different, so experiment with CODE
MEDIUM…cases/longmem_triple_e47becba_single-session-user.json509 "content": "Here is how you can modify the code to create a real-time interactive candlestick chart:\n```\nimpCODE
MEDIUM…cases/longmem_triple_e47becba_single-session-user.json509 "content": "Here is how you can modify the code to create a real-time interactive candlestick chart:\n```\nimpCODE
MEDIUM…cases/longmem_triple_e47becba_single-session-user.json529 "content": "Here is the continued example:\n```\n# add a condition to check if the line is within the y-range CODE
LOW…cases/longmem_triple_e47becba_single-session-user.json829 "content": "Alex's grandfather's secret recipe sounds like a winner! A 24-hour dry rub marinade can make a hugCODE
MEDIUM…cases/longmem_triple_e47becba_single-session-user.json1059 "content": "As an AI language model, I haven\u2019t tried any of these flavor combinations personally, but I hCODE
MEDIUM…cases/longmem_triple_e47becba_single-session-user.json1139 "content": "Luka Doncic is indeed having an incredible season! The Dallas Mavericks' star is putting up MVP-caCODE
LOW…cases/longmem_triple_e47becba_single-session-user.json1524 "content": "Congratulations on redeeming your Ibotta rewards and getting a nice deposit into your PayPal accouCODE
MEDIUM…cases/longmem_triple_e47becba_single-session-user.json1574 "content": "Let's create a morning routine that works for you.\n\n**Regular Days (No Morning Meetings)**\n\n1.CODE
MEDIUM…cases/longmem_triple_e47becba_single-session-user.json2109 "content": "A Monk's Armor Class (AC) is calculated using the following formula:\n\n10 + Dexterity modifier + CODE
MEDIUM…cases/longmem_triple_e47becba_single-session-user.json2129 "content": "A 5th level Sorcerer can cast the 2nd level Druid spell Flame Blade by using the Sorcerer's SpellcCODE
MEDIUM…cases/longmem_triple_e47becba_single-session-user.json2733 "content": "As an AI language model, I do not have personal experiences, but I can give general information. \CODE
LOW…cases/longmem_triple_e47becba_single-session-user.json2953 "content": "Buon appetito! Italian cuisine is a great choice for a dinner party, and I'd be happy to help you CODE
LOW…cases/longmem_triple_e47becba_single-session-user.json3063 "content": "That's a great idea! The local tourism board might have information about upcoming craft fairs andCODE
MEDIUM…cases/longmem_triple_e47becba_single-session-user.json3298 "content": "I'd be happy to help you create a list to track your jewelry collection.\n\nHere's a suggested forCODE
MEDIUM…cases/longmem_triple_e47becba_single-session-user.json3318 "content": "Let's add your mother's locket to the list.\n\n**Jewelry Inventory List**\n\n**Necklaces:**\n\n1. CODE
LOW…cases/longmem_triple_e47becba_single-session-user.json3588 "content": "That's amazing! Five Ruby-throated Hummingbirds at a time on your feeder is a great sight! You musCODE
LOW…cases/longmem_triple_e47becba_single-session-user.json3598 "content": "Bird photography is a fascinating aspect of birding! Capturing birds in flight can be challenging,CODE
MEDIUM…cases/longmem_triple_e47becba_single-session-user.json3668 "content": "As an AI language model built on language samples, I am not capable of having feelings, emotions oCODE
LOW…sts/unified/test_cases/longmem_ancash_directional.json50 "content": "Here are a few more tips to keep in mind as you prepare your Seco de Cordero:\n\n1. It's best to uCODE
LOW…/longmem_triple_7161e7e2_single-session-assistant.json44 "content": "Both #bookrecommendations and #bookrecs are popular hashtags, but I'd recommend using #bookrecs. ICODE
LOW…/longmem_triple_7161e7e2_single-session-assistant.json44 "content": "Both #bookrecommendations and #bookrecs are popular hashtags, but I'd recommend using #bookrecs. ICODE
LOW…/longmem_triple_7161e7e2_single-session-assistant.json64 "content": "That's a great idea! Using the same set of hashtags for all your posts can lead to a plateau in enCODE
MEDIUM…/longmem_triple_7161e7e2_single-session-assistant.json234 "content": "As an AI language model, I cannot predict the future, but the recovery of the tourism industry wilCODE
MEDIUM…/longmem_triple_7161e7e2_single-session-assistant.json244 "content": "As an AI language model, I completely agree with you. Traveling plays an essential role in promotiCODE
MEDIUM…/longmem_triple_7161e7e2_single-session-assistant.json254 "content": "As an AI language model, I agree that sustainability is becoming increasingly crucial in the touriCODE
MEDIUM…/longmem_triple_7161e7e2_single-session-assistant.json264 "content": "As an AI language model, I completely agree with you that sustainable tourism is the way forward. CODE
LOW…/longmem_triple_7161e7e2_single-session-assistant.json794 "content": "Sounds like you're planning a fun party! I'd be happy to help you with suggestions for popular spoCODE
MEDIUM…/longmem_triple_7161e7e2_single-session-assistant.json804 "content": "Kansas City, Missouri! Home of the Kansas City Chiefs!\n\nAs for your NFL playoff game, I think I CODE
LOW…/longmem_triple_7161e7e2_single-session-assistant.json1164 "content": "Packing wisely is crucial for a stress-free trip. Here are some specific packing tips and essentiaCODE
MEDIUM…/longmem_triple_7161e7e2_single-session-assistant.json1509 "content": "What a great idea! Social media is a fantastic way to promote your charity bake sale and encourageCODE
LOW…/longmem_triple_7161e7e2_single-session-assistant.json1509 "content": "What a great idea! Social media is a fantastic way to promote your charity bake sale and encourageCODE
LOW…/longmem_triple_7161e7e2_single-session-assistant.json1509 "content": "What a great idea! Social media is a fantastic way to promote your charity bake sale and encourageCODE
MEDIUM…/longmem_triple_7161e7e2_single-session-assistant.json1769 "content": "As an AI language model, I do not have personal experiences, opinions, or emotions. However, studiCODE
LOW…/longmem_triple_7161e7e2_single-session-assistant.json1869 "content": "You're welcome! I'm thrilled to hear that you're excited to try out the texture mat technique. RemCODE
MEDIUM…/longmem_triple_7161e7e2_single-session-assistant.json2369 "content": "As an AI language model, I don't have any personal experience with failure, but I have been traineCODE
LOW…/longmem_triple_7161e7e2_single-session-assistant.json2429 "content": "Vegan quinoa salad is a fantastic option for lunch! Quinoa is a great source of protein, fiber, anCODE
MEDIUM…/longmem_triple_7161e7e2_single-session-assistant.json2529 "content": "Yes, there are many restaurants in Athlone now that offer gluten-free options for those with gluteCODE
30 more matches not shown…
Modern Structural Boilerplate146 hits · 149 pts
SeverityFileLineSnippetContext
LOWhoncho-cli/src/honcho_cli/output.py29def set_json_mode(enabled: bool) -> None:CODE
LOWsdks/python/src/honcho/mixins.py186 def _set_metadata(self, metadata: dict[str, object]) -> None:CODE
LOWsdks/python/src/honcho/mixins.py191 def _set_configuration(self, configuration: dict[str, object]) -> None:CODE
LOWsdks/python/src/honcho/mixins.py215 async def set_metadata(self, metadata: dict[str, object]) -> None:CODE
LOWsdks/python/src/honcho/mixins.py233 async def set_configuration(self, configuration: dict[str, object]) -> None:CODE
LOWsdks/python/src/honcho/client.py34logger = logging.getLogger(__name__)CODE
LOWsdks/python/src/honcho/session.py41logger = logging.getLogger(__name__)CODE
LOWsdks/python/src/honcho/session.py43__all__ = ["Session", "SessionPeerConfig"]CODE
LOWsdks/python/src/honcho/__init__.py93__all__ = [CODE
LOWsdks/python/src/honcho/types.py8__all__ = [CODE
LOWsdks/python/src/honcho/conclusions.py21__all__ = [CODE
LOWsdks/python/src/honcho/peer.py39logger = logging.getLogger(__name__)CODE
LOWsdks/python/src/honcho/aio.py77logger = logging.getLogger(__name__)CODE
LOWsdks/python/src/honcho/aio.py79__all__ = [CODE
LOWsdks/python/src/honcho/aio.py129 def _set_metadata(self, metadata: dict[str, object]) -> None:CODE
LOWsdks/python/src/honcho/aio.py133 def _set_configuration(self, configuration: dict[str, object]) -> None:CODE
LOWsdks/python/src/honcho/aio.py160 async def set_configuration(self, configuration: WorkspaceConfiguration) -> None: # pyright: ignore[reportIncompatiCODE
LOWsdks/python/src/honcho/aio.py523 def _set_metadata(self, metadata: dict[str, object]) -> None:CODE
LOWsdks/python/src/honcho/aio.py526 def _set_configuration(self, configuration: dict[str, object]) -> None:CODE
LOWsdks/python/src/honcho/aio.py572 async def set_configuration(self, configuration: PeerConfig) -> None: # pyright: ignore[reportIncompatibleMethodOveCODE
LOWsdks/python/src/honcho/aio.py885 def _set_metadata(self, metadata: dict[str, object]) -> None:CODE
LOWsdks/python/src/honcho/aio.py888 def _set_configuration(self, configuration: dict[str, object]) -> None:CODE
LOWsdks/python/src/honcho/aio.py939 async def set_configuration(self, configuration: SessionConfiguration) -> None: # pyright: ignore[reportIncompatiblCODE
LOWsdks/python/src/honcho/pagination.py14__all__ = ["SyncPage", "AsyncPage"]CODE
LOWsdks/python/src/honcho/utils/__init__.py11__all__ = [CODE
LOWsdks/python/src/honcho/utils/sse.py11logger = logging.getLogger(__name__)CODE
LOWsdks/python/src/honcho/http/__init__.py20__all__ = [CODE
LOWtests/conftest.py66logger = logging.getLogger(__name__)CODE
LOWtests/bench/locomo_common.py29logger = logging.getLogger(__name__)CODE
LOWtests/bench/beam_common.py18logger = logging.getLogger(__name__)CODE
LOWtests/bench/longmem_common.py16logger = logging.getLogger(__name__)CODE
LOWtests/bench/oolong_common.py23logger = logging.getLogger(__name__)CODE
LOWtests/llm/test_langfuse_trace_annotation.py82 def update_current_generation(self, **kwargs: Any) -> None:CODE
LOWtests/llm/test_langfuse_trace_annotation.py86 def update_current_span(self, **kwargs: Any) -> None:CODE
LOWtests/unified/runner.py61logger = logging.getLogger(__name__)CODE
LOWtests/alembic/registry.py68__all__ = [CODE
LOWtests/alembic/__init__.py5__all__ = ["revisions"]CODE
LOWtests/alembic/scaffold.py129__all__ = [STRING
LOWtests/alembic/verifier.py144__all__ = ["MigrationVerifier"]CODE
LOWtests/alembic/revisions/__init__.py31__all__ = [CODE
LOWtests/telemetry/test_langfuse_exporter.py25 def set_attribute(self, key: str, value: object) -> None:CODE
LOWtests/telemetry/test_cross_agent_trace.py179 def set_attribute(self, *_a: object) -> None: ...CODE
LOW…ation/references/bot-frameworks/nanobot/honcho_tool.py58 def set_context(self, session_key: str) -> None:CODE
LOWexamples/crewai/python/src/honcho_crewai/tools.py15logger = logging.getLogger(__name__)CODE
LOWexamples/crewai/python/src/honcho_crewai/__init__.py60__all__ = [CODE
LOWexamples/crewai/python/src/honcho_crewai/storage.py38logger = logging.getLogger(__name__)CODE
LOWexamples/zo/tools/__init__.py7__all__ = ["get_context", "query_memory", "save_memory"]CODE
LOWscripts/configure_embeddings.py49logger = logging.getLogger(__name__)CODE
LOWsrc/db.py17logger = logging.getLogger(__name__)CODE
LOWsrc/config.py23logger = logging.getLogger(__name__)CODE
LOWsrc/embedding_client.py17logger = logging.getLogger(__name__)CODE
LOWsrc/security.py15logger = logging.getLogger(__name__)CODE
LOWsrc/main.py75logger = logging.getLogger(__name__)CODE
LOWsrc/routers/sessions.py31logger = logging.getLogger(__name__)CODE
LOWsrc/routers/peers.py28logger = logging.getLogger(__name__)CODE
LOWsrc/routers/keys.py16logger = logging.getLogger(__name__)CODE
LOWsrc/routers/conclusions.py15logger = logging.getLogger(__name__)CODE
LOWsrc/routers/messages.py30logger = logging.getLogger(__name__)CODE
LOWsrc/routers/webhooks.py19logger = logging.getLogger(__name__)CODE
LOWsrc/routers/workspaces.py18logger = logging.getLogger(__name__)CODE
86 more matches not shown…
Cross-File Repetition27 hits · 135 pts
SeverityFileLineSnippetContext
HIGHsdks/python/src/honcho/client.py0get configuration from the server and update the cache. returns: a peerconfig object containing the configuration settinSTRING
HIGHsdks/python/src/honcho/session.py0get configuration from the server and update the cache. returns: a peerconfig object containing the configuration settinSTRING
HIGHsdks/python/src/honcho/peer.py0get configuration from the server and update the cache. returns: a peerconfig object containing the configuration settinSTRING
HIGHsdks/python/src/honcho/client.py0set configuration on the server and update the cache. args: configuration: a peerconfig object with configuration settinSTRING
HIGHsdks/python/src/honcho/session.py0set configuration on the server and update the cache. args: configuration: a peerconfig object with configuration settinSTRING
HIGHsdks/python/src/honcho/peer.py0set configuration on the server and update the cache. args: configuration: a peerconfig object with configuration settinSTRING
HIGHtests/bench/longmem_baseline.py0generate a comprehensive json summary of test results.STRING
HIGHtests/bench/locomo_common.py0generate a comprehensive json summary of test results.STRING
HIGHtests/bench/beam_common.py0generate a comprehensive json summary of test results.STRING
HIGHtests/scripts/test_configure_embeddings.py0select c.relname as table_name, a.atttypmod as typmod from pg_attribute a join pg_class c on a.attrelid = c.oid join pg_STRING
HIGHscripts/configure_embeddings.py0select c.relname as table_name, a.atttypmod as typmod from pg_attribute a join pg_class c on a.attrelid = c.oid join pg_STRING
HIGHsrc/startup/embedding_validator.py0select c.relname as table_name, a.atttypmod as typmod from pg_attribute a join pg_class c on a.attrelid = c.oid join pg_STRING
HIGH…05486ce795d5_make_session_name_required_on_messages.py0insert into "{schema}"."workspaces" ("id", "name") values (:workspace_id, :workspace_name)STRING
HIGH…test_bb6fb3a7a643_add_message_seq_in_session_column.py0insert into "{schema}"."workspaces" ("id", "name") values (:workspace_id, :workspace_name)STRING
HIGH…st_110bdf470272_rename_deriver_disabled_to_deriver_.py0insert into "{schema}"."workspaces" ("id", "name") values (:workspace_id, :workspace_name)STRING
HIGH…t_564ba40505c5_add_session_name_column_to_documents.py0insert into "{schema}"."workspaces" ("id", "name") values (:workspace_id, :workspace_name)STRING
HIGH…05486ce795d5_make_session_name_required_on_messages.py0insert into "{schema}"."peers" ("id", "name", "workspace_name") values (:peer_id, :peer_name, :workspace_name)STRING
HIGH…test_bb6fb3a7a643_add_message_seq_in_session_column.py0insert into "{schema}"."peers" ("id", "name", "workspace_name") values (:peer_id, :peer_name, :workspace_name)STRING
HIGH…st_110bdf470272_rename_deriver_disabled_to_deriver_.py0insert into "{schema}"."peers" ("id", "name", "workspace_name") values (:peer_id, :peer_name, :workspace_name)STRING
HIGH…t_564ba40505c5_add_session_name_column_to_documents.py0insert into "{schema}"."peers" ("id", "name", "workspace_name") values (:peer_id, :peer_name, :workspace_name)STRING
HIGHtests/routes/test_workspaces.py0paged reverse listing returns newest-first across consecutive pages.STRING
HIGHtests/routes/test_sessions.py0paged reverse listing returns newest-first across consecutive pages.STRING
HIGHtests/routes/test_peers.py0paged reverse listing returns newest-first across consecutive pages.STRING
HIGHsrc/crud/session.py0fetch a workspace from the database and return as a plain dict for safe caching.STRING
HIGHsrc/crud/peer.py0fetch a workspace from the database and return as a plain dict for safe caching.STRING
HIGHsrc/crud/collection.py0fetch a workspace from the database and return as a plain dict for safe caching.STRING
HIGHsrc/crud/workspace.py0fetch a workspace from the database and return as a plain dict for safe caching.STRING
Deep Nesting101 hits · 91 pts
SeverityFileLineSnippetContext
LOWhoncho-cli/src/honcho_cli/output.py55CODE
LOWsdks/python/src/honcho/http/client.py75CODE
LOWsdks/python/src/honcho/http/async_client.py75CODE
LOWsdks/python/src/honcho/http/exceptions.py134CODE
LOWtests/conftest.py687CODE
LOWtests/conftest.py701CODE
LOWtests/bench/locomo_summary.py221CODE
LOWtests/bench/harness.py538CODE
LOWtests/bench/harness.py574CODE
LOWtests/bench/harness.py822CODE
LOWtests/bench/harness.py962CODE
LOWtests/bench/locomo.py271CODE
LOWtests/bench/locomo.py325CODE
LOWtests/bench/runner_common.py294CODE
LOWtests/bench/runner_common.py365CODE
LOWtests/bench/runner_common.py392CODE
LOWtests/bench/runner_common.py599CODE
LOWtests/bench/locomo_common.py371CODE
LOWtests/bench/beam_common.py124CODE
LOWtests/bench/beam_common.py396CODE
LOWtests/bench/locomo_baseline.py157CODE
LOWtests/bench/coverage.py430CODE
LOWtests/bench/calculate_expected_events.py190CODE
LOWtests/bench/molecular.py1060CODE
LOWtests/bench/molecular.py483CODE
LOWtests/bench/molecular.py586CODE
LOWtests/bench/molecular.py672CODE
LOWtests/bench/molecular.py763CODE
LOWtests/bench/molecular.py855CODE
LOWtests/bench/beam.py188CODE
LOWtests/bench/beam.py233CODE
LOWtests/bench/longmem_common.py139CODE
LOWtests/bench/oolong_common.py144CODE
LOWtests/bench/oolong_common.py227CODE
LOWtests/bench/oolong_common.py494CODE
LOWtests/bench/longmem.py243CODE
LOWtests/bench/longmem.py389CODE
LOWtests/unified/runner.py89CODE
LOWtests/unified/runner.py239CODE
LOWtests/unified/runner.py346CODE
LOWtests/unified/runner.py397CODE
LOWtests/unified/runner.py529CODE
LOWtests/deriver/test_queue_processing.py840CODE
LOWtests/alembic/verifier.py125CODE
LOWtests/telemetry/conftest.py513CODE
LOWtests/telemetry/conftest.py519CODE
LOWexamples/granola/honcho_granola.py169CODE
LOWexamples/granola/honcho_granola.py338CODE
LOWexamples/granola/honcho_granola.py646CODE
LOWscripts/update_version.py158CODE
LOWscripts/run_alembic_tests.py53CODE
LOWsrc/config.py1025CODE
LOWsrc/embedding_client.py429CODE
LOWsrc/embedding_client.py444CODE
LOWsrc/security.py105CODE
LOWsrc/llm/structured_output.py15CODE
LOWsrc/llm/capture.py148CODE
LOWsrc/llm/tool_loop.py337CODE
LOWsrc/llm/backends/gemini.py272CODE
LOWsrc/llm/backends/gemini.py453CODE
41 more matches not shown…
Redundant / Tautological Comments41 hits · 63 pts
SeverityFileLineSnippetContext
LOWsdks/python/src/honcho/utils/file_upload.py71 # Read the file contentCOMMENT
LOWtests/conftest.py780 # Check if the original function is asyncCOMMENT
LOWtests/bench/harness.py602 # Check if the process has died and show outputCOMMENT
LOWtests/bench/harness.py905 # Check if any process has diedSTRING
LOWtests/bench/beam_common.py139 # Check if this is a 10M conversation with plan-based structureCOMMENT
LOWtests/bench/coverage.py1152 # Check if passes both thresholdsCOMMENT
LOWtests/bench/oolong_common.py338 # Check if there's a 4th part with labelCOMMENT
LOWtests/bench/oolong_common.py387 # Check if this is a new speaker turn (must start with speaker label)COMMENT
LOWtests/bench/oolong_common.py486 # Check if it contains commas (list case)COMMENT
LOWtests/integration/test_representation.py368 # Check if workspace already exists to avoid uniqueness constraintCOMMENT
LOWtests/integration/test_telemetry.py83 # Check if we should failCOMMENT
LOWtests/unified/runner.py108 # Check if boto3 can access credentials (either from environment or OIDC)COMMENT
LOWtests/sdk_typescript/test_sdk.py44 # Print output for debuggingCOMMENT
LOWtests/sdk/test_client.py44 # Check if there are more pagesCOMMENT
LOWtests/deriver/test_queue_processing.py1177 # Add items to queueCOMMENT
LOWtests/deriver/test_queue_processing.py1298 # Add items to queueCOMMENT
LOWscripts/update_version.py167 # Check if this is a section headerCOMMENT
LOWscripts/run_alembic_tests.py73 # Check if file is under tests/alembic (including subdirectories)COMMENT
LOWsrc/embedding_client.py407 # Check if adding this chunk would exceed limitsCOMMENT
LOWsrc/routers/workspaces.py216 # Check if dreams are enabledCOMMENT
LOWsrc/utils/search.py237 # Check if message was created during any of the peer's active windows in this sessionCOMMENT
LOWsrc/utils/search.py266 # Check if query contains special characters that FTS might not handle wellCOMMENT
LOWsrc/utils/summarizer.py730 # Check if we have a valid summary with a message_idCOMMENT
LOWsrc/utils/filter.py231 # Check if the column exists on the modelCOMMENT
LOWsrc/utils/filter.py243 # Check if this is a comparison operators dict by looking for known operatorsCOMMENT
LOWsrc/utils/filter.py460 # Check if this is a datetime columnCOMMENT
LOWsrc/utils/agent_tools.py1470 # Check if peer card creation is disabled via configurationCOMMENT
LOWsrc/vector_store/turbopuffer.py250 # Check if value is a dict with "in" operatorCOMMENT
LOWsrc/vector_store/__init__.py239 # Check if an instance was ever createdCOMMENT
LOWsrc/vector_store/lancedb.py301 # Check if value is a dict with "in" operatorCOMMENT
LOWsrc/crud/webhook.py45 # Check if webhook already exists for this workspaceCOMMENT
LOWsrc/crud/session.py1156 # Check if a SessionPeer entry already existsCOMMENT
LOWsrc/crud/session.py1166 # Check if this update would exceed observer limitsCOMMENT
LOWsrc/crud/session.py1168 # Check if peer is already an observerCOMMENT
LOWsrc/crud/session.py204 # Check if session already existsCOMMENT
LOWsrc/crud/session.py338 # Check if session is active (unless include_inactive is True)COMMENT
LOWsrc/crud/workspace.py107 # Check if workspace already existsCOMMENT
LOWsrc/deriver/enqueue.py341 # Check if the sender should be observed based on peer configurationCOMMENT
LOWsrc/deriver/queue_manager.py531 # Check if we have capacity before querying. There is work to doCOMMENT
LOWsrc/reconciler/scheduler.py214 # Check if task is already in progressCOMMENT
LOWsrc/reconciler/scheduler.py228 # Check if there's already a pending taskCOMMENT
Structural Annotation Overuse28 hits · 46 pts
SeverityFileLineSnippetContext
LOW…skills/honcho-integration/references/bot-frameworks.md41### Step 1: Add dependencyCOMMENT
LOW…skills/honcho-integration/references/bot-frameworks.md70### Step 2: Add config schemaCOMMENT
LOW…skills/honcho-integration/references/bot-frameworks.md106### Step 3: Create the honcho packageCOMMENT
LOW…skills/honcho-integration/references/bot-frameworks.md134### Step 4: Wire into the agent loopCOMMENT
LOW…skills/honcho-integration/references/bot-frameworks.md169### Step 5: Pass config through CLICOMMENT
LOW…skills/honcho-integration/references/bot-frameworks.md173### Step 6: Migration supportCOMMENT
LOWexamples/crewai/python/examples/tools_example.py31 # Step 1: Setup session with conversation historyCOMMENT
LOWexamples/crewai/python/examples/tools_example.py56 # Step 2: Create Honcho toolsCOMMENT
LOWexamples/crewai/python/examples/tools_example.py72 # Step 3: Create agent with toolsCOMMENT
LOWexamples/crewai/python/examples/tools_example.py88 # Step 4: Create taskCOMMENT
LOWexamples/crewai/python/examples/tools_example.py111 # Step 5: ExecuteCOMMENT
LOWscripts/configure_embeddings.py198 # Step 1: lock both tables for the duration of the transaction.COMMENT
LOWscripts/configure_embeddings.py204 # Step 2: population check.COMMENT
LOWscripts/configure_embeddings.py217 # Step 3: snapshot + drop HNSW indices.COMMENT
LOWscripts/configure_embeddings.py224 # Step 4: ALTER columns.COMMENT
LOWscripts/configure_embeddings.py240 # Step 5: recreate HNSW indices from the saved definitions.COMMENT
LOWsrc/utils/summarizer.py480 # Step 3: Save to database with new transactionCOMMENT
LOWsrc/crud/document.py1084 # Step 1: Find potential duplicates using cosine similarityCOMMENT
LOWsrc/crud/document.py1101 # Step 2: Determine which has more information using token set differenceCOMMENT
LOWsrc/deriver/queue_manager.py829 # Step 1: Verify worker still owns the work_unit_key.COMMENT
LOWsrc/deriver/queue_manager.py841 # Step 2: Build a single SQL query that:COMMENT
LOWsrc/reconciler/sync_vectors.py124 # Step 1: pick distinct message_ids with at least one eligible pending row,COMMENT
LOWsrc/reconciler/sync_vectors.py146 # Step 2: claim all pending rows for those messages. Skip rows anotherCOMMENT
LOWsrc/reconciler/sync_vectors.py291 # Step 1: Re-embed documents missing embeddings in postgres (cases 2 & 3)COMMENT
LOWsrc/reconciler/sync_vectors.py328 # Step 2: Build vector records and upsert to external store (all cases)COMMENT
LOWsrc/reconciler/sync_vectors.py421 # Step 1: Re-embed message embeddings missing vectors in postgres (cases 2 & 3)COMMENT
LOWsrc/reconciler/sync_vectors.py490 # Step 2: Compute chunk positions for vector IDsCOMMENT
LOWsrc/reconciler/sync_vectors.py504 # Step 3: Build vector records and upsert to external store (all cases)COMMENT
Magic Placeholder Names8 hits · 40 pts
SeverityFileLineSnippetContext
HIGHsdks/python/README.md17client = Honcho(api_key="your-api-key")CODE
HIGHsdks/python/README.md99 client = Honcho(api_key="your-api-key")CODE
HIGHsdks/python/README.md140export HONCHO_API_KEY="your-api-key"CODE
HIGHsdks/python/README.md149 api_key="your-api-key",CODE
HIGHsdks/python/src/honcho/__init__.py12 client = Honcho(api_key="your-api-key")STRING
HIGHsdks/typescript/src/client.ts63 * apiKey: 'your-api-key',COMMENT
HIGHexamples/zo/README.md29HONCHO_API_KEY=your-api-key-hereCODE
HIGHexamples/zo/SKILL.md22 HONCHO_API_KEY=your-api-keyCODE
Verbosity Indicators22 hits · 38 pts
SeverityFileLineSnippetContext
LOWexamples/crewai/python/examples/tools_example.py31 # Step 1: Setup session with conversation historyCOMMENT
LOWexamples/crewai/python/examples/tools_example.py56 # Step 2: Create Honcho toolsCOMMENT
LOWexamples/crewai/python/examples/tools_example.py72 # Step 3: Create agent with toolsCOMMENT
LOWexamples/crewai/python/examples/tools_example.py88 # Step 4: Create taskCOMMENT
LOWexamples/crewai/python/examples/tools_example.py111 # Step 5: ExecuteCOMMENT
LOWscripts/configure_embeddings.py198 # Step 1: lock both tables for the duration of the transaction.COMMENT
LOWscripts/configure_embeddings.py204 # Step 2: population check.COMMENT
LOWscripts/configure_embeddings.py217 # Step 3: snapshot + drop HNSW indices.COMMENT
LOWscripts/configure_embeddings.py224 # Step 4: ALTER columns.COMMENT
LOWscripts/configure_embeddings.py240 # Step 5: recreate HNSW indices from the saved definitions.COMMENT
LOWsrc/utils/summarizer.py480 # Step 3: Save to database with new transactionCOMMENT
LOWsrc/crud/document.py1084 # Step 1: Find potential duplicates using cosine similarityCOMMENT
LOWsrc/crud/document.py1101 # Step 2: Determine which has more information using token set differenceCOMMENT
LOWsrc/deriver/queue_manager.py829 # Step 1: Verify worker still owns the work_unit_key.COMMENT
LOWsrc/deriver/queue_manager.py841 # Step 2: Build a single SQL query that:COMMENT
LOWsrc/reconciler/sync_vectors.py124 # Step 1: pick distinct message_ids with at least one eligible pending row,COMMENT
LOWsrc/reconciler/sync_vectors.py146 # Step 2: claim all pending rows for those messages. Skip rows anotherCOMMENT
LOWsrc/reconciler/sync_vectors.py291 # Step 1: Re-embed documents missing embeddings in postgres (cases 2 & 3)COMMENT
LOWsrc/reconciler/sync_vectors.py328 # Step 2: Build vector records and upsert to external store (all cases)COMMENT
LOWsrc/reconciler/sync_vectors.py421 # Step 1: Re-embed message embeddings missing vectors in postgres (cases 2 & 3)COMMENT
LOWsrc/reconciler/sync_vectors.py490 # Step 2: Compute chunk positions for vector IDsCOMMENT
LOWsrc/reconciler/sync_vectors.py504 # Step 3: Build vector records and upsert to external store (all cases)COMMENT
AI Structural Patterns33 hits · 32 pts
SeverityFileLineSnippetContext
LOWhoncho-cli/src/honcho_cli/commands/session.py328CODE
LOWhoncho-cli/src/honcho_cli/commands/message.py26CODE
LOWhoncho-cli/src/honcho_cli/commands/peer.py282CODE
LOWsdks/python/src/honcho/client.py178CODE
LOWsdks/python/src/honcho/session.py558CODE
LOWsdks/python/src/honcho/aio.py1132CODE
LOWtests/integration/test_telemetry.py65CODE
LOWtests/telemetry/test_langfuse_exporter.py72CODE
LOWtests/telemetry/conftest.py480CODE
LOWsrc/routers/sessions.py645CODE
LOWsrc/routers/peers.py395CODE
LOWsrc/llm/backend.py57CODE
LOWsrc/llm/backend.py74CODE
LOWsrc/llm/api.py51CODE
LOWsrc/llm/api.py80CODE
LOWsrc/llm/api.py109CODE
LOWsrc/llm/api.py137CODE
LOWsrc/llm/executor.py319CODE
LOWsrc/llm/executor.py343CODE
LOWsrc/llm/executor.py367CODE
LOWsrc/llm/executor.py402CODE
LOWsrc/llm/backends/gemini.py34CODE
LOWsrc/llm/backends/gemini.py103CODE
LOWsrc/llm/backends/openai.py137CODE
LOWsrc/llm/backends/openai.py239CODE
LOWsrc/llm/backends/anthropic.py22CODE
LOWsrc/llm/backends/anthropic.py109CODE
LOWsrc/utils/agent_tools.py2340CODE
LOWsrc/crud/representation.py522CODE
LOWsrc/crud/representation.py211CODE
LOWsrc/telemetry/emitter.py491CODE
LOWsrc/telemetry/emitter.py551CODE
LOWsrc/telemetry/emitter.py112CODE
Modern AI Meta-Vocabulary10 hits · 32 pts
SeverityFileLineSnippetContext
MEDIUMtests/conftest.py655 # Note: critical_analysis_call was removed as the deriver now uses agentic approachCOMMENT
MEDIUMtests/telemetry/test_summary_v2_fields.py63 # message + prev_summary + scaffold ≈ input_tokens (small drift fromCOMMENT
MEDIUMtests/telemetry/test_representation_v2_fields.py90 # And the breakdown adds up: extra + scaffold + queued ≈ total provider inputCOMMENT
MEDIUMexamples/zo/SKILL.md116# 4. Get context window for next LLM callCOMMENT
MEDIUMsrc/utils/summarizer.py472 # Compute scaffold tokens up front (cheap + idempotent) so both theCOMMENT
MEDIUMsrc/deriver/deriver.py273 # silent estimator failures (provider tokenization drift, scaffold helperCOMMENT
MEDIUMsrc/telemetry/reasoning_traces.py89 # Use messages for multi-turn/agentic calls, otherwise use promptCOMMENT
MEDIUMsrc/telemetry/emitter.py236 # agentic trace is either fully kept or fully dropped — never aCOMMENT
MEDIUMsrc/telemetry/events/trace.py145 # Tags Honcho-authored content (system prompts, scaffold) so tenant-facingCOMMENT
MEDIUMsrc/telemetry/events/agent.py242 # rollup vs. the new messages vs. the scaffold/instructions" withoutCOMMENT
AI Slop Vocabulary17 hits · 28 pts
SeverityFileLineSnippetContext
LOWtests/conftest.py445 # Mock the decorator to just return the functionCOMMENT
MEDIUMtests/test_advanced_filters.py1945 """Test comprehensive edge cases for wildcard behavior"""STRING
MEDIUMtests/bench/harness.py105 # Extract DB credentials from the compose file so the harness stays in syncCOMMENT
MEDIUMtests/bench/harness.py951 # Create all harness instancesSTRING
MEDIUMtests/bench/harness.py1177 # Create and run the harness or poolSTRING
MEDIUMtests/bench/longmem_baseline.py441 """Generate a comprehensive JSON summary of test results."""STRING
MEDIUMtests/bench/locomo_common.py548 """Generate a comprehensive JSON summary of test results."""STRING
MEDIUMtests/bench/beam_common.py597 """Generate a comprehensive JSON summary of test results."""STRING
MEDIUMtests/unified/runner.py95 """Save comprehensive test results to S3.STRING
MEDIUMtests/unified/runner.py119 # Create comprehensive results objectCOMMENT
MEDIUMtests/unified/runner.py318 # Flush mode is enabled by default in the harness (DERIVER_FLUSH_ENABLED=true)COMMENT
MEDIUMtests/unified/runner.py534 # Setup .env for harnessSTRING
MEDIUMtests/utils/test_agent_tools.py54 """Create comprehensive test data for agent tools testing.STRING
MEDIUMsrc/routers/sessions.py413 # TODO: Update crud.clone_session to work with new paradigmCOMMENT
MEDIUMsrc/utils/json_parser.py356 """Main function with comprehensive repair strategies"""STRING
MEDIUMsrc/utils/json_parser.py364 # Try comprehensive repairCOMMENT
LOWsrc/crud/session.py1011 # If no peers to add, skip the insert and just return existing active session peersCOMMENT
Over-Commented Block18 hits · 16 pts
SeverityFileLineSnippetContext
LOWalembic.ini1# A generic, single database configuration.COMMENT
LOWalembic.ini21# Any required deps can installed by adding `alembic[tz]` to the pip requirementsCOMMENT
LOWalembic.ini41# The path separator used here should be the separator specified by "version_path_separator" below.COMMENT
LOWalembic.ini61# are written from script.py.makoCOMMENT
LOWtests/deriver/test_deriver_processing.py401COMMENT
LOWtests/deriver/test_deriver_processing.py421COMMENT
LOWtests/deriver/test_deriver_processing.py441 # "src.deriver.deriver.CertaintyReasoner.reason",COMMENT
LOWtests/deriver/test_deriver_processing.py461 # )COMMENT
LOWsrc/config.py1181 # Sample rate for high-volume events: llm.call.completed, embedding.call.completed,COMMENT
LOWsrc/llm/types.py81 step_seq: int = 0COMMENT
LOWsrc/llm/api.py301 def _trace_stop_seqs() -> list[str] | None:COMMENT
LOWsrc/llm/api.py421 )COMMENT
LOWsrc/llm/executor.py481 stream=stream,COMMENT
LOWsrc/crud/document.py481 batch_normalized: set[str] = {_normalize_content(d.content) for d in documents}COMMENT
LOWsrc/crud/workspace.py381 # then queue items referencing this workspaceCOMMENT
LOWsrc/deriver/queue_manager.py881COMMENT
LOWsrc/deriver/queue_manager.py1021COMMENT
LOWsrc/reconciler/sync_vectors.py481 last_sync_at=func.now(),COMMENT
Fake / Example Data4 hits · 4 pts
SeverityFileLineSnippetContext
LOWtests/unified/test_cases/config_summary_control.json70 "content": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed consectetur elit id tellus interdum, CODE
LOWtests/unified/test_cases/config_summary_control.json70 "content": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed consectetur elit id tellus interdum, CODE
LOW…ied/test_cases/config_summary_control_deriver_off.json69 "content": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed consectetur elit id tellus interdum, CODE
LOW…ied/test_cases/config_summary_control_deriver_off.json69 "content": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed consectetur elit id tellus interdum, CODE
Cross-Language Confusion1 hit · 2 pts
SeverityFileLineSnippetContext
HIGHtests/bench/oolong_common.py311 Date: YYYY-MM-DD || User: user_XYZ || Instance: <text> [label]STRING
Dead Code1 hit · 2 pts
SeverityFileLineSnippetContext
MEDIUMtests/llm/test_telemetry_llm_call.py591CODE