Repository Analysis

plastic-labs/honcho

Memory library for building stateful agents

28.7 Moderate AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of plastic-labs/honcho, a Python project with 6,911 GitHub stars. SynthScan v2.0 examined 213,604 lines of code across 618 source files, recording 4231 pattern matches distributed across 22 syntactic categories. The overall adjusted score of 28.7 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).

28.7
Adjusted Score
28.7
Raw Score
100%
Time Factor
2026-08-28
Last Push
6.9K
Stars
Python
Language
213.6K
Lines of Code
618
Files
4.2K
Pattern Hits
2026-08-29
Scan Date
0.22
HC Hit Rate

What These Metrics Mean

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

Score History

This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.

Severity Breakdown

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

CRITICAL 22HIGH 114MEDIUM 695LOW 3400

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 4231 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 Identifiers2145 hits · 2002 pts
SeverityFileLineSnippetContext
LOWhoncho-cli/tests/test_setup.py15def test_basic_openai_applies_chat_model_everywhere():CODE
LOWhoncho-cli/tests/test_setup.py33def test_basic_anthropic_keeps_openai_embeddings_default():CODE
LOWhoncho-cli/tests/test_setup.py50def test_openai_compatible_copies_base_url_to_embeddings():CODE
LOWhoncho-cli/tests/test_setup.py67def test_leaving_openai_compatible_drops_proxy_urls():CODE
LOWhoncho-cli/tests/test_setup.py77def test_chat_default_comes_from_image_toml(tmp_path):CODE
LOWhoncho-cli/tests/test_common.py40def test_valid_token_is_not_refreshed(cfg_path):CODE
LOWhoncho-cli/tests/test_common.py47def test_expired_token_refreshes_despite_manual_key(cfg_path):CODE
LOWhoncho-cli/tests/test_common.py60def test_host_mismatch_skips_refresh(cfg_path):CODE
LOWhoncho-cli/tests/test_common.py71def test_expired_token_refreshes_and_persists(cfg_path):CODE
LOWhoncho-cli/tests/test_common.py98def test_refresh_failure_exits(cfg_path):CODE
LOWhoncho-cli/tests/test_common.py105def test_refresh_failure_falls_back_to_api_key(cfg_path):CODE
LOWhoncho-cli/tests/test_common.py114def test_missing_refresh_token_exits(cfg_path):CODE
LOWhoncho-cli/tests/test_common.py121def test_missing_refresh_token_falls_back_to_api_key(cfg_path):CODE
LOWhoncho-cli/tests/test_output.py52 def test_normalizes_utc_shapes(self, value, expected):CODE
LOWhoncho-cli/tests/test_output.py62 def test_converts_offsets_instead_of_relabelling_them(self, value, expected):CODE
LOWhoncho-cli/tests/test_output.py66 def test_keeps_sub_second_precision(self):CODE
LOWhoncho-cli/tests/test_output.py73 def test_accepts_datetime_objects(self):CODE
LOWhoncho-cli/tests/test_output.py78 def test_empty_values_render_blank(self, value):CODE
LOWhoncho-cli/tests/test_output.py81 def test_unparseable_values_pass_through(self):CODE
LOWhoncho-cli/tests/test_output.py84 def test_output_matches_the_declared_column_width(self):CODE
LOWhoncho-cli/tests/test_output.py89 def test_newlines_are_not_reflowed_into_a_paragraph(self, render):CODE
LOWhoncho-cli/tests/test_output.py95 def test_tagged_content_is_not_stripped(self, render):CODE
LOWhoncho-cli/tests/test_output.py101 def test_console_markup_is_not_interpreted(self, render):CODE
LOWhoncho-cli/tests/test_output.py105 def test_ids_are_shown_in_full(self, render):CODE
LOWhoncho-cli/tests/test_output.py111 def test_long_peer_ids_stay_distinguishable(self, render):CODE
LOWhoncho-cli/tests/test_output.py122 def test_empty_transcript_reports_the_session(self, render):CODE
LOWhoncho-cli/tests/test_output.py129 def test_given_hint_is_printed(self, render, monkeypatch):CODE
LOWhoncho-cli/tests/test_output.py135 def test_no_hint_when_none_given(self, render, monkeypatch):CODE
LOWhoncho-cli/tests/test_oauth.py55 def test_derives_urls_from_base_url(self):CODE
LOWhoncho-cli/tests/test_oauth.py62 def test_strips_trailing_slash(self):CODE
LOWhoncho-cli/tests/test_oauth.py71 def test_true_when_device_grant_advertised(self):CODE
LOWhoncho-cli/tests/test_oauth.py76 def test_false_when_device_grant_absent(self):CODE
LOWhoncho-cli/tests/test_oauth.py86 def test_false_on_connection_error(self):CODE
LOWhoncho-cli/tests/test_oauth.py90 def test_false_on_unparseable_body(self):CODE
LOWhoncho-cli/tests/test_oauth.py122 def test_transport_failure_wrapped(self):CODE
LOWhoncho-cli/tests/test_oauth.py146 def test_pending_then_slowdown_then_success(self):CODE
LOWhoncho-cli/tests/test_oauth.py176 def test_unexpected_error_raises_generic(self):CODE
LOWhoncho-cli/tests/test_oauth.py182 def test_transport_failure_wrapped(self):CODE
LOWhoncho-cli/tests/test_oauth.py189 def test_times_out_past_deadline(self):CODE
LOWhoncho-cli/tests/test_oauth.py206 def test_success_returns_rotated_pair(self):CODE
LOWhoncho-cli/tests/test_oauth.py228 def test_transport_failure_wrapped(self):CODE
LOWhoncho-cli/tests/test_commands.py99 def test_first_run_writes_exact_shape(self, cfg, runner):CODE
LOWhoncho-cli/tests/test_commands.py112 def test_preserves_foreign_keys(self, cfg, runner):CODE
LOWhoncho-cli/tests/test_commands.py139 def test_workspace_delete_aborts_on_no(self, cfg, runner):CODE
LOWhoncho-cli/tests/test_commands.py150 def test_session_delete_aborts_on_no(self, cfg, runner):CODE
LOWhoncho-cli/tests/test_commands.py166 def test_workspace_list_json_array_shape(self, cfg, runner):CODE
LOWhoncho-cli/tests/test_commands.py175 def test_workspace_search_preserves_full_content_in_json_mode(self, cfg, runner):CODE
LOWhoncho-cli/tests/test_commands.py203 def test_message_get_returns_single_json_object(self, cfg, runner):CODE
LOWhoncho-cli/tests/test_commands.py231 def test_message_list_rejects_non_positive_last(self, cfg, runner, last):CODE
LOWhoncho-cli/tests/test_commands.py244 def test_session_view_json_is_chronological_window(self, cfg, runner):CODE
LOWhoncho-cli/tests/test_commands.py266 def test_session_view_rejects_all_with_last(self, cfg, runner):CODE
LOWhoncho-cli/tests/test_commands.py277 def test_session_view_page_fetches_exact_server_page(self, cfg, runner):CODE
LOWhoncho-cli/tests/test_commands.py307 def test_session_view_page_with_reverse_pages_from_newest(self, cfg, runner):CODE
LOWhoncho-cli/tests/test_commands.py324 def test_session_view_rejects_page_with_last(self, cfg, runner):CODE
LOWhoncho-cli/tests/test_commands.py344 def test_session_view_rejects_bad_flags_before_any_api_call(self, cfg, runner, args):CODE
LOWhoncho-cli/tests/test_commands.py353 def test_session_view_does_not_create_the_session(self, cfg, runner):CODE
LOWhoncho-cli/tests/test_commands.py385 def test_next_page_command_carries_the_invocation_scope(self, kwargs, expected):CODE
LOWhoncho-cli/tests/test_commands.py399 def test_next_page_command_shell_quotes_identifiers(CODE
LOWhoncho-cli/tests/test_commands.py414 def test_session_view_hint_carries_group_level_scope(self, cfg, runner):CODE
LOWhoncho-cli/tests/test_commands.py429 def test_session_view_last_walks_pages_past_the_page_cap(self, cfg, runner):CODE
2085 more matches not shown…
Decorative Section Separators371 hits · 1298 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.py299# ==============================================================================COMMENT
MEDIUMsdks/python/src/honcho/api_types.py301# ==============================================================================COMMENT
MEDIUMsdks/python/src/honcho/api_types.py337# ==============================================================================COMMENT
MEDIUMsdks/python/src/honcho/api_types.py339# ==============================================================================COMMENT
MEDIUMsdks/python/src/honcho/api_types.py362# ==============================================================================COMMENT
MEDIUMsdks/python/src/honcho/api_types.py364# ==============================================================================COMMENT
MEDIUMsdks/python/src/honcho/api_types.py379# ==============================================================================COMMENT
MEDIUMsdks/python/src/honcho/api_types.py381# ==============================================================================COMMENT
MEDIUMsdks/python/src/honcho/api_types.py445# ==============================================================================COMMENT
MEDIUMsdks/python/src/honcho/api_types.py447# ==============================================================================COMMENT
MEDIUMsdks/python/src/honcho/api_types.py502# ==============================================================================COMMENT
MEDIUMsdks/python/src/honcho/api_types.py504# ==============================================================================COMMENT
MEDIUMsdks/python/src/honcho/api_types.py527# ==============================================================================COMMENT
MEDIUMsdks/python/src/honcho/api_types.py529# ==============================================================================COMMENT
MEDIUMsdks/python/src/honcho/api_types.py567# ==============================================================================COMMENT
MEDIUMsdks/python/src/honcho/api_types.py569# ==============================================================================COMMENT
MEDIUMsdks/python/src/honcho/api_types.py582# ==============================================================================COMMENT
MEDIUMsdks/python/src/honcho/api_types.py584# ==============================================================================COMMENT
MEDIUMtests/test_search.py422# =============================================================================COMMENT
MEDIUMtests/test_search.py424# =============================================================================COMMENT
MEDIUMtests/test_workspace_chat.py190# =============================================================================COMMENT
MEDIUMtests/test_workspace_chat.py192# =============================================================================COMMENT
MEDIUMtests/test_workspace_chat.py463# =============================================================================COMMENT
MEDIUMtests/test_workspace_chat.py465# =============================================================================COMMENT
MEDIUMtests/test_workspace_chat.py34# =============================================================================COMMENT
MEDIUMtests/test_workspace_chat.py36# =============================================================================COMMENT
MEDIUMtests/test_workspace_chat.py1028# =============================================================================COMMENT
MEDIUMtests/test_workspace_chat.py1030# =============================================================================COMMENT
MEDIUMtests/test_workspace_chat.py1142# =============================================================================COMMENT
MEDIUMtests/test_workspace_chat.py1144# =============================================================================COMMENT
MEDIUMtests/bench/runner_common.py792 # -------------------------------------------------------------------------COMMENT
MEDIUMtests/bench/runner_common.py794 # -------------------------------------------------------------------------COMMENT
MEDIUMtests/bench/runner_common.py286# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/bench/runner_common.py288# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/bench/runner_common.py442 # -------------------------------------------------------------------------COMMENT
MEDIUMtests/bench/runner_common.py444 # -------------------------------------------------------------------------COMMENT
MEDIUMtests/bench/runner_common.py528 # -------------------------------------------------------------------------COMMENT
MEDIUMtests/bench/runner_common.py530 # -------------------------------------------------------------------------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
311 more matches not shown…
Self-Referential Comments200 hits · 578 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.py50# Create a custom handler that doesn't get closed prematurelyCOMMENT
MEDIUMtests/conftest.py658 # Create a mock vector store that stores vectors in memoryCOMMENT
MEDIUMtests/conftest.py701 # Create the mock vector storeCOMMENT
MEDIUMtests/conftest.py751 # Create an async generator for streaming responsesCOMMENT
MEDIUMtests/conftest.py1019 # 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_workspace_chat.py227 # Create a session firstCOMMENT
MEDIUMtests/test_workspace_chat.py765 # Create a peer cardCOMMENT
MEDIUMtests/test_workspace_chat.py1005 # Create a deductive document with source_idsCOMMENT
MEDIUMtests/test_advanced_filters.py1942 # 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.py854 # 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
140 more matches not shown…
Unused Imports517 hits · 430 pts
SeverityFileLineSnippetContext
LOWhoncho-cli/tests/conftest.py3CODE
LOWhoncho-cli/tests/test_setup.py3CODE
LOWhoncho-cli/tests/test_common.py3CODE
LOWhoncho-cli/tests/test_validation.py7CODE
LOWhoncho-cli/tests/test_output.py7CODE
LOWhoncho-cli/tests/test_oauth.py3CODE
LOWhoncho-cli/tests/test_commands.py8CODE
LOWhoncho-cli/tests/test_local.py3CODE
LOWhoncho-cli/tests/test_start.py3CODE
LOWhoncho-cli/scripts/generate_cli_docs.py16CODE
LOWhoncho-cli/src/honcho_cli/config.py26CODE
LOWhoncho-cli/src/honcho_cli/update_check.py7CODE
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/oauth.py7CODE
LOWhoncho-cli/src/honcho_cli/validation.py6CODE
LOWhoncho-cli/src/honcho_cli/local/env.py3CODE
LOWhoncho-cli/src/honcho_cli/local/health.py3CODE
LOWhoncho-cli/src/honcho_cli/local/profile.py7CODE
LOWhoncho-cli/src/honcho_cli/local/__init__.py3CODE
LOWhoncho-cli/src/honcho_cli/local/docker.py3CODE
LOWhoncho-cli/src/honcho_cli/local/setup.py8CODE
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/stack.py8CODE
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.py41CODE
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__.py45CODE
LOWsdks/python/src/honcho/__init__.py45CODE
LOWsdks/python/src/honcho/__init__.py45CODE
LOWsdks/python/src/honcho/__init__.py51CODE
LOWsdks/python/src/honcho/__init__.py51CODE
LOWsdks/python/src/honcho/__init__.py51CODE
LOWsdks/python/src/honcho/__init__.py52CODE
LOWsdks/python/src/honcho/__init__.py53CODE
LOWsdks/python/src/honcho/__init__.py54CODE
LOWsdks/python/src/honcho/__init__.py54CODE
LOWsdks/python/src/honcho/__init__.py54CODE
LOWsdks/python/src/honcho/__init__.py54CODE
LOWsdks/python/src/honcho/__init__.py54CODE
LOWsdks/python/src/honcho/__init__.py54CODE
LOWsdks/python/src/honcho/__init__.py54CODE
LOWsdks/python/src/honcho/__init__.py54CODE
LOWsdks/python/src/honcho/__init__.py54CODE
457 more matches not shown…
Docstring Block Structure69 hits · 345 pts
SeverityFileLineSnippetContext
HIGHsdks/python/src/honcho/client.py548 Get or create a scope with the given ID. A scope is a named set of sessions that acts as a visibility STRING
HIGHsdks/python/src/honcho/session.py614 Get optimized context for this session within a token limit. Makes an API call to retrieve a curated lSTRING
HIGHsdks/python/src/honcho/conclusions.py354 Build a single conclusion create payload. This normalizes both `ConclusionCreateParams` instanSTRING
HIGHsdks/python/src/honcho/peer.py278 Query the peer's representation with a natural language question. Makes an API call to the Honcho dialSTRING
HIGHsdks/python/src/honcho/peer.py366 Query the peer's representation with a natural language question, streaming the response. Makes an APISTRING
HIGHsdks/python/src/honcho/peer.py680 Get a subset of the representation of the peer. Args: session: Optional session to scope tSTRING
HIGHsdks/python/src/honcho/aio.py385 Get or create a scope with the given ID asynchronously. A scope is a named set of sessions that acts aSTRING
HIGHsdks/python/src/honcho/utils/scopes.py47Validate an unprefixed scope ID. Args: value: The scope ID as the caller supplied it. Returns: STRING
HIGHsdks/python/src/honcho/utils/scopes.py78Resolve the ``scope`` read option to its wire value. A single scope stays a string; a sequence becomes a list of IDSTRING
HIGHsdks/python/src/honcho/utils/scopes.py112Resolve the ``sessions`` allowlist option to a list of session IDs. Args: sessions: Sessions to allow, as ISTRING
HIGHsdks/python/src/honcho/utils/scopes.py136Validate a session ID against the charset the server accepts. Args: value: The session ID as the caller supSTRING
HIGHsdks/python/src/honcho/utils/scopes.py156Resolve and validate a single session ID for a scope membership change. Validated rather than passed through becausSTRING
HIGHsdks/python/src/honcho/utils/scopes.py179Resolve a scope membership change to a list of session IDs. Capped at the server's per-call limit rather than silenSTRING
HIGHsdks/python/src/honcho/utils/scopes.py212Build the query fields for ``scope``/``sessions`` on the context route. Unlike the recall endpoints, session contexSTRING
HIGHsdks/python/src/honcho/utils/scopes.py267Build the request-body fields for the ``scope``/``sessions`` options. ``sessions`` is sugar: it goes on the wire asSTRING
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.py223 Create an AsyncAnthropic client. Args: api_key: Optional API key. If not provided, uses LLM_ANTHROPIC_STRING
HIGHtests/bench/runner_common.py249 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
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
HIGH…ntegration/references/bot-frameworks/nanobot/client.py37 Get or create the Honcho client singleton. Args: config: Optional config. If not provided, uses enviroSTRING
HIGHsrc/embedding_client.py357 Batch-embed a list of text strings. Does not sub-chunk oversized inputs. Internally goes through the sSTRING
HIGHsrc/llm/request_builder.py28Validate 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.py90 Parse a work unit key to extract its components. Args: work_unit_key: The work unit key string to parsSTRING
HIGHsrc/utils/schema_conversion.py85Convert a JSON Schema dict (root type ``object``) into a Pydantic model. Supported constructs: primitive types (``sSTRING
HIGHsrc/utils/formatting.py95 Parse ISO 8601 datetime string, handling various timezone formats. This function properly handles Z suffix, tiSTRING
HIGHsrc/utils/queue_payload.py183 Create a processed payload from a message for queue processing. Note: workspace_name and message_id are no lonSTRING
HIGHsrc/utils/search.py323 Search across message content using a hybrid approach with Reciprocal Rank Fusion (RRF). This function combineSTRING
HIGHsrc/utils/filter.py82Validate a numeric operand without losing precision or overflowing. Integers become Decimal rather than staying intSTRING
HIGHsrc/utils/filter.py131Return ``value`` ready to bind against ``column``, or raise FilterError. SQLAlchemy types a bind from the *operand*STRING
HIGHsrc/utils/filter.py227Parse a recall-path ``filters`` body into a session allowlist. The dialectic and representation endpoints accept a STRING
HIGHsrc/utils/filter.py293Validate and de-duplicate a session allowlist. Shared by every route-level entry point that accepts one — the ``filSTRING
HIGHsrc/utils/filter.py350 Apply advanced filter to a SQL statement based on filter dictionary. Supports logical operators (AND, OR, NOT)STRING
HIGHsrc/utils/representation.py50 Flatten message_ids that may be in old tuple format or nested list format. This handles backwards compatibilitSTRING
HIGHsrc/vector_store/turbopuffer.py131 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.py279 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.py29 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.py198 Get an active session in a workspace or create it if it does not exist. If the session already exists, provideSTRING
HIGHsrc/crud/session.py411 Get a session in a workspace. Args: db: Database session session_name: Name of the session STRING
HIGHsrc/crud/session.py455 Get or create a session, then apply metadata and configuration updates. Provided metadata replaces the currentSTRING
HIGHsrc/crud/session.py557 Delete a session and all associated data (hard delete). This performs cascading deletes for all session-relateSTRING
HIGHsrc/crud/session.py870 Remove specified peers from a session. Args: db: Database session workspace_name: Name of the STRING
HIGHsrc/crud/session.py1053 Replace a session's ordinary peer set with ``peer_names``. Active members keep their joined_at but take the inSTRING
HIGHsrc/crud/session.py1177 Upsert session-peer memberships for a session and optionally fetch the active memberships afterward. New pSTRING
HIGHsrc/crud/session.py1337 Get the configuration for a peer in a session. Args: db: Database session workspace_name: NamSTRING
HIGHsrc/crud/message.py391 Bulk create messages for a session while maintaining order. Args: db: Database session messageSTRING
HIGHsrc/crud/peer.py264 Get an existing list of peers or create new peers if they don't exist. Updates existing peers with metadata andSTRING
HIGHsrc/crud/peer.py437 Get an existing peer. Takes a plain name, not a create schema: this is a pure read, and validating an alreSTRING
9 more matches not shown…
Excessive Try-Catch Wrapping312 hits · 331 pts
SeverityFileLineSnippetContext
LOWhoncho-cli/src/honcho_cli/update_check.py46 except Exception:CODE
LOWhoncho-cli/src/honcho_cli/commands/session.py67 except Exception as e:CODE
LOWhoncho-cli/src/honcho_cli/commands/session.py106 except Exception as e:CODE
LOWhoncho-cli/src/honcho_cli/commands/session.py141 except Exception as e:CODE
LOWhoncho-cli/src/honcho_cli/commands/session.py348 except Exception as e:CODE
LOWhoncho-cli/src/honcho_cli/commands/session.py399 except Exception as e:CODE
LOWhoncho-cli/src/honcho_cli/commands/session.py425 except Exception as e:CODE
LOWhoncho-cli/src/honcho_cli/commands/session.py468 except Exception as e:CODE
LOWhoncho-cli/src/honcho_cli/commands/session.py490 except Exception as e:CODE
LOWhoncho-cli/src/honcho_cli/commands/session.py511 except Exception as e:CODE
LOWhoncho-cli/src/honcho_cli/commands/session.py532 except Exception as e:CODE
LOWhoncho-cli/src/honcho_cli/commands/session.py564 except Exception as e:CODE
LOWhoncho-cli/src/honcho_cli/commands/session.py594 except Exception as e:CODE
LOWhoncho-cli/src/honcho_cli/commands/session.py615 except Exception as e:CODE
LOWhoncho-cli/src/honcho_cli/commands/session.py644 except Exception as e:CODE
LOWhoncho-cli/src/honcho_cli/commands/message.py89 except Exception as e:CODE
LOWhoncho-cli/src/honcho_cli/commands/message.py131 except Exception as e:CODE
LOWhoncho-cli/src/honcho_cli/commands/message.py163 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.py83 except Exception as e:CODE
LOWhoncho-cli/src/honcho_cli/commands/setup.py232 except Exception:CODE
LOWhoncho-cli/src/honcho_cli/commands/setup.py399 except Exception as e:CODE
LOWhoncho-cli/src/honcho_cli/commands/setup.py405 except Exception:CODE
LOWhoncho-cli/src/honcho_cli/commands/setup.py413 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.py248 except Exception as e:CODE
LOWtests/conftest.py272 except Exception as e:CODE
LOWtests/conftest.py304 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
252 more matches not shown…
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 Boilerplate153 hits · 156 pts
SeverityFileLineSnippetContext
LOWhoncho-cli/src/honcho_cli/output.py33def 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.py42logger = logging.getLogger(__name__)CODE
LOWsdks/python/src/honcho/session.py43logger = logging.getLogger(__name__)CODE
LOWsdks/python/src/honcho/session.py45__all__ = ["Session", "SessionPeerConfig"]CODE
LOWsdks/python/src/honcho/__init__.py105__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.py86logger = logging.getLogger(__name__)CODE
LOWsdks/python/src/honcho/aio.py88__all__ = [CODE
LOWsdks/python/src/honcho/aio.py139 def _set_metadata(self, metadata: dict[str, object]) -> None:CODE
LOWsdks/python/src/honcho/aio.py143 def _set_configuration(self, configuration: dict[str, object]) -> None:CODE
LOWsdks/python/src/honcho/aio.py170 async def set_configuration(self, configuration: WorkspaceConfiguration) -> None: # pyright: ignore[reportIncompatiCODE
LOWsdks/python/src/honcho/aio.py711 def _set_metadata(self, metadata: dict[str, object]) -> None:CODE
LOWsdks/python/src/honcho/aio.py714 def _set_configuration(self, configuration: dict[str, object]) -> None:CODE
LOWsdks/python/src/honcho/aio.py760 async def set_configuration(self, configuration: PeerConfig) -> None: # pyright: ignore[reportIncompatibleMethodOveCODE
LOWsdks/python/src/honcho/aio.py1144 def _set_metadata(self, metadata: dict[str, object]) -> None:CODE
LOWsdks/python/src/honcho/aio.py1147 def _set_configuration(self, configuration: dict[str, object]) -> None:CODE
LOWsdks/python/src/honcho/aio.py1198 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/scope.py24logger = logging.getLogger(__name__)CODE
LOWsdks/python/src/honcho/scope.py26__all__ = ["Scope"]CODE
LOWsdks/python/src/honcho/utils/scopes.py20__all__ = [CODE
LOWsdks/python/src/honcho/utils/__init__.py20__all__ = [CODE
LOWsdks/python/src/honcho/utils/sse.py11logger = logging.getLogger(__name__)CODE
LOWsdks/python/src/honcho/http/__init__.py20__all__ = [CODE
LOWtests/conftest.py67logger = 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.py62logger = 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
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
LOW…ation/references/bot-frameworks/nanobot/honcho_tool.py58 def set_context(self, session_key: str) -> None:CODE
LOWsrc/db.py21logger = logging.getLogger(__name__)CODE
LOWsrc/config.py25logger = logging.getLogger(__name__)CODE
LOWsrc/embedding_client.py25logger = logging.getLogger(__name__)CODE
LOWsrc/security.py15logger = logging.getLogger(__name__)CODE
LOWsrc/main.py75logger = logging.getLogger(__name__)CODE
LOWsrc/routers/scopes.py28logger = logging.getLogger(__name__)CODE
LOWsrc/routers/sessions.py33logger = logging.getLogger(__name__)CODE
LOWsrc/routers/peers.py42logger = logging.getLogger(__name__)CODE
LOWsrc/routers/keys.py16logger = logging.getLogger(__name__)CODE
93 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 Nesting115 hits · 102 pts
SeverityFileLineSnippetContext
LOWhoncho-cli/src/honcho_cli/output.py59CODE
LOWhoncho-cli/src/honcho_cli/local/env.py108CODE
LOWhoncho-cli/src/honcho_cli/local/docker.py53CODE
LOWhoncho-cli/src/honcho_cli/local/docker.py207CODE
LOWhoncho-cli/src/honcho_cli/local/docker.py392CODE
LOWhoncho-cli/src/honcho_cli/local/setup.py459CODE
LOWhoncho-cli/src/honcho_cli/commands/session.py224CODE
LOWsdks/python/src/honcho/http/client.py75CODE
LOWsdks/python/src/honcho/http/async_client.py75CODE
LOWsdks/python/src/honcho/http/exceptions.py134CODE
LOWtests/conftest.py813CODE
LOWtests/conftest.py827CODE
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.py291CODE
LOWtests/bench/runner_common.py362CODE
LOWtests/bench/runner_common.py389CODE
LOWtests/bench/runner_common.py596CODE
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.py90CODE
LOWtests/unified/runner.py272CODE
LOWtests/unified/runner.py388CODE
LOWtests/unified/runner.py508CODE
LOWtests/unified/runner.py640CODE
LOWtests/utils/test_filter.py402CODE
LOWtests/deriver/test_queue_processing.py840CODE
LOWtests/alembic/verifier.py125CODE
LOWtests/telemetry/conftest.py513CODE
LOWtests/telemetry/conftest.py519CODE
LOWtests/routes/test_scope_route_policy.py644CODE
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.py1109CODE
55 more matches not shown…
Redundant / Tautological Comments39 hits · 60 pts
SeverityFileLineSnippetContext
LOWsdks/python/src/honcho/utils/file_upload.py71 # Read the file contentCOMMENT
LOWtests/conftest.py906 # 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.py109 # 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.py504 # Check if adding this chunk would exceed limitsCOMMENT
LOWsrc/routers/workspaces.py248 # Check if dreams are enabledCOMMENT
LOWsrc/utils/search.py240 # Check if message was created during any of the peer's active windows in this sessionCOMMENT
LOWsrc/utils/search.py269 # 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.py550 # Check if the column exists on the modelCOMMENT
LOWsrc/utils/filter.py576 # Check if this is a comparison operators dict by looking for known operatorsCOMMENT
LOWsrc/utils/agent_tools.py1698 # Check if peer card creation is disabled via configurationCOMMENT
LOWsrc/vector_store/turbopuffer.py251 # Check if value is a dict with "in" operatorCOMMENT
LOWsrc/vector_store/__init__.py248 # Check if an instance was ever createdCOMMENT
LOWsrc/crud/webhook.py45 # Check if webhook already exists for this workspaceCOMMENT
LOWsrc/crud/session.py1410 # Check if a SessionPeer entry already existsCOMMENT
LOWsrc/crud/session.py1420 # Check if this update would exceed observer limitsCOMMENT
LOWsrc/crud/session.py1422 # Check if peer is already an observerCOMMENT
LOWsrc/crud/session.py249 # Check if session already existsCOMMENT
LOWsrc/crud/session.py434 # Check if session is active (unless include_inactive is True)COMMENT
LOWsrc/crud/workspace.py110 # Check if workspace already existsCOMMENT
LOWsrc/deriver/enqueue.py342 # Check if the sender should be observed based on peer configurationCOMMENT
LOWsrc/deriver/queue_manager.py542 # Check if we have capacity before querying. There is work to doCOMMENT
LOWsrc/reconciler/scheduler.py226 # Check if task is already in progressCOMMENT
LOWsrc/reconciler/scheduler.py240 # Check if there's already a pending taskCOMMENT
Cross-Language Confusion9 hits · 55 pts
SeverityFileLineSnippetContext
HIGHtests/bench/oolong_common.py311 Date: YYYY-MM-DD || User: user_XYZ || Instance: <text> [label]STRING
HIGHtests/llm/test_backends/test_openai.py1288 assert result.content is None # provider null, not a parsed modelCODE
HIGHtests/live_llm/test_live_structured_output_unions.py10union-ish construct the converter supports (anyOf with null, a type list, anSTRING
HIGHtests/utils/test_filter.py285 """`NOT [{col: null}]` and `{col: {ne: null}}` must select the same rows.STRING
HIGHsrc/utils/schema_conversion.py90 strings/integers/booleans/null, ``anyOf``/``oneOf`` unions (aSTRING
HIGHsrc/utils/filter.py562 # this has to short-circuit or `{"col": null}` raises instead of matching theCOMMENT
HIGHsrc/utils/filter.py563 # rows it names. Keeps bare null agreeing with `{"ne": null}` (IS NOT NULL)COMMENT
HIGHsrc/utils/filter.py564 # and with `NOT [{"col": null}]`.COMMENT
HIGHsrc/utils/filter.py818 f"Operator '{operator}' does not accept null. Use {{\"ne\": null}} for a not-null check, or null on CODE
Structural Annotation Overuse28 hits · 46 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
LOWskills/honcho-integration/references/bot-frameworks.md41### Step 1: Add dependencyCOMMENT
LOWskills/honcho-integration/references/bot-frameworks.md70### Step 2: Add config schemaCOMMENT
LOWskills/honcho-integration/references/bot-frameworks.md106### Step 3: Create the honcho packageCOMMENT
LOWskills/honcho-integration/references/bot-frameworks.md134### Step 4: Wire into the agent loopCOMMENT
LOWskills/honcho-integration/references/bot-frameworks.md169### Step 5: Pass config through CLICOMMENT
LOWskills/honcho-integration/references/bot-frameworks.md173### Step 6: Migration supportCOMMENT
LOWsrc/utils/summarizer.py480 # Step 3: Save to database with new transactionCOMMENT
LOWsrc/crud/document.py1202 # Step 1: Find potential duplicates using cosine similarityCOMMENT
LOWsrc/crud/document.py1220 # Step 2: Determine which has more information using token set differenceCOMMENT
LOWsrc/deriver/queue_manager.py841 # Step 1: Verify worker still owns the work_unit_key.COMMENT
LOWsrc/deriver/queue_manager.py853 # Step 2: Build a single SQL query that:COMMENT
LOWsrc/reconciler/sync_vectors.py125 # Step 1: pick distinct message_ids with at least one eligible pending row,COMMENT
LOWsrc/reconciler/sync_vectors.py147 # Step 2: claim all pending rows for those messages. Skip rows anotherCOMMENT
LOWsrc/reconciler/sync_vectors.py292 # Step 1: Re-embed documents missing embeddings in postgres (cases 2 & 3)COMMENT
LOWsrc/reconciler/sync_vectors.py331 # Step 2: Build vector records and upsert to external store (all cases)COMMENT
LOWsrc/reconciler/sync_vectors.py424 # Step 1: Re-embed message embeddings missing vectors in postgres (cases 2 & 3)COMMENT
LOWsrc/reconciler/sync_vectors.py493 # Step 2: Compute chunk positions for vector IDsCOMMENT
LOWsrc/reconciler/sync_vectors.py507 # Step 3: Build vector records and upsert to external store (all cases)COMMENT
Magic Placeholder Names9 hits · 45 pts
SeverityFileLineSnippetContext
HIGHhoncho-cli/src/honcho_cli/local/env.py44 "your-api-key-here",CODE
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.ts74 * 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.py1202 # Step 1: Find potential duplicates using cosine similarityCOMMENT
LOWsrc/crud/document.py1220 # Step 2: Determine which has more information using token set differenceCOMMENT
LOWsrc/deriver/queue_manager.py841 # Step 1: Verify worker still owns the work_unit_key.COMMENT
LOWsrc/deriver/queue_manager.py853 # Step 2: Build a single SQL query that:COMMENT
LOWsrc/reconciler/sync_vectors.py125 # Step 1: pick distinct message_ids with at least one eligible pending row,COMMENT
LOWsrc/reconciler/sync_vectors.py147 # Step 2: claim all pending rows for those messages. Skip rows anotherCOMMENT
LOWsrc/reconciler/sync_vectors.py292 # Step 1: Re-embed documents missing embeddings in postgres (cases 2 & 3)COMMENT
LOWsrc/reconciler/sync_vectors.py331 # Step 2: Build vector records and upsert to external store (all cases)COMMENT
LOWsrc/reconciler/sync_vectors.py424 # Step 1: Re-embed message embeddings missing vectors in postgres (cases 2 & 3)COMMENT
LOWsrc/reconciler/sync_vectors.py493 # Step 2: Compute chunk positions for vector IDsCOMMENT
LOWsrc/reconciler/sync_vectors.py507 # Step 3: Build vector records and upsert to external store (all cases)COMMENT
AI Structural Patterns37 hits · 36 pts
SeverityFileLineSnippetContext
LOWhoncho-cli/src/honcho_cli/commands/session.py224CODE
LOWhoncho-cli/src/honcho_cli/commands/session.py569CODE
LOWhoncho-cli/src/honcho_cli/commands/message.py26CODE
LOWhoncho-cli/src/honcho_cli/commands/peer.py282CODE
LOWhoncho-cli/src/honcho_cli/commands/stack.py136CODE
LOWsdks/python/src/honcho/client.py186CODE
LOWsdks/python/src/honcho/session.py560CODE
LOWsdks/python/src/honcho/peer.py667CODE
LOWsdks/python/src/honcho/aio.py1026CODE
LOWsdks/python/src/honcho/aio.py1391CODE
LOWtests/integration/test_telemetry.py65CODE
LOWtests/telemetry/test_langfuse_exporter.py72CODE
LOWtests/telemetry/conftest.py480CODE
LOWsrc/routers/sessions.py681CODE
LOWsrc/routers/peers.py646CODE
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.py61CODE
LOWsrc/llm/backends/gemini.py134CODE
LOWsrc/llm/backends/openai.py153CODE
LOWsrc/llm/backends/openai.py273CODE
LOWsrc/llm/backends/anthropic.py25CODE
LOWsrc/llm/backends/anthropic.py118CODE
LOWsrc/utils/agent_tools.py2608CODE
LOWsrc/crud/representation.py575CODE
LOWsrc/crud/representation.py214CODE
LOWsrc/telemetry/emitter.py506CODE
LOWsrc/telemetry/emitter.py566CODE
LOWsrc/telemetry/emitter.py112CODE
AI Slop Vocabulary19 hits · 34 pts
SeverityFileLineSnippetContext
LOWtests/conftest.py547 # Mock the decorator to just return the functionCOMMENT
MEDIUMtests/test_workspace_chat.py50 """Create comprehensive test data with multiple peers and observations.STRING
MEDIUMtests/test_advanced_filters.py2108 """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.py96 """Save comprehensive test results to S3.STRING
MEDIUMtests/unified/runner.py120 # Create comprehensive results objectCOMMENT
MEDIUMtests/unified/runner.py236 # passed explicitly). The harness sets no AUTH vars of its own, so auth isCOMMENT
MEDIUMtests/unified/runner.py360 # Flush mode is enabled by default in the harness (DERIVER_FLUSH_ENABLED=true)COMMENT
MEDIUMtests/unified/runner.py646 # Setup .env for harnessCOMMENT
MEDIUMtests/utils/test_agent_tools.py57 """Create comprehensive test data for agent tools testing.STRING
MEDIUMsrc/routers/sessions.py441 # 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.py1211 # If no peers to add, skip the insert and just return existing active session peersCOMMENT
Modern AI Meta-Vocabulary11 hits · 34 pts
SeverityFileLineSnippetContext
MEDIUMtests/conftest.py759 # 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.py89 # 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/schemas/configuration.py21 # peer-card tools. Used for event-driven refreshes (scope membershipCOMMENT
MEDIUMsrc/deriver/deriver.py291 # 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.py251 # 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
Over-Commented Block31 hits · 26 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.py601 # monkeypatch: pytest.MonkeyPatch,COMMENT
LOWtests/deriver/test_deriver_processing.py621 # explicit=[],COMMENT
LOWtests/deriver/test_deriver_processing.py641 # message = models.Message(COMMENT
LOWtests/deriver/test_deriver_processing.py661 # message_level_configuration=None,COMMENT
LOWtests/routes/test_scope_route_policy.py101 build: Builder | None = NoneCOMMENT
LOW.github/workflows/issue-gate.yml1name: Issue GateCOMMENT
LOW.github/workflows/pr-sweeper.yml1name: PR SweeperCOMMENT
LOWsrc/config.py1261COMMENT
LOWsrc/llm/types.py81 # OpenTelemetry-style span-tree correlation.COMMENT
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/cache/client.py121def get_cache_namespace() -> str:COMMENT
LOWsrc/utils/filter.py841 # IS DISTINCT FROM, not <>: `NULL <> 'abc'` is NULL, so plainCOMMENT
LOWsrc/utils/representation.py1from collections.abc import SequenceCOMMENT
LOWsrc/crud/document.py521 # mirror _normalize_content. Matching is further scoped per-document byCOMMENT
LOWsrc/crud/document.py961 await get_peer(db, workspace_name, peer_name)COMMENT
LOWsrc/crud/workspace.py381COMMENT
LOWsrc/deriver/queue_manager.py981 for m, qi, _cap in rows:COMMENT
LOWsrc/deriver/queue_manager.py1041 #COMMENT
LOWsrc/telemetry/emitter.py241 if not self.enabled:COMMENT
LOWsrc/telemetry/prometheus/metrics.py61 MESSAGES = "messages"COMMENT
LOWsrc/telemetry/prometheus/metrics.py441 """COMMENT
LOWsrc/telemetry/prometheus/metrics.py461 # 2. service-scoped additive (the token counters, ``telemetry_events_emitted``)COMMENT
LOWsrc/telemetry/events/__init__.py141 # Zero-init registryCOMMENT
LOWsrc/telemetry/events/__init__.py181 "embedding.call.completed",COMMENT
LOWsrc/reconciler/sync_vectors.py701 metrics.documents_cleaned += cleanedCOMMENT
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
Dead Code1 hit · 2 pts
SeverityFileLineSnippetContext
MEDIUMtests/llm/test_telemetry_llm_call.py591CODE