Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/JuliusBrussee/caveman
/ functions
Functions
12,391 in github.com/JuliusBrussee/caveman
⨍
Functions
12,391
◇
Types & classes
1,304
↳
Endpoints
5
Method
test_malformed_session_id_falls_back_to_legacy
(self)
tests/test_mode_tracker.py:464
Function
test_manifest_hashes_opaque_parts_and_keeps_a_prefix_stable_head
D6: images/bytes become hashed stand-ins; long history is windowed, never a whole-call bypass.
packages/middleware/python/tests/test_contracts.py:42
Method
test_markdown_still_compressible
(self)
tests/test_detect.py:161
Method
test_match
(self)
tests/test_validate_inline.py:181
Function
test_matches_framework_refuses_an_absent_distribution
()
packages/middleware/python/tests/test_versions.py:59
Function
test_matches_framework_requires_every_pin
()
packages/middleware/python/tests/test_versions.py:63
Method
test_max_retention_seconds_must_be_positive
(self)
packages/sdk/python/tests/test_middleware_v1_1.py:228
Function
test_mcp_host_never_raises_at_construction_for_an_unusable_scope
Decision 3: even strict mode surfaces invalid_scope from the call, not the constructor.
packages/middleware/python/tests/test_contracts.py:706
Method
test_metadata_prompt_count_mismatch_is_rejected
(self)
tests/test_eval_snapshot_contract.py:64
Method
test_midline_run_file_validates_against_itself
(self)
tests/test_validate_inline.py:153
Method
test_midline_triple_backtick_does_not_shift_pairing
(self)
tests/test_validate_inline.py:149
Method
test_missing_control_arm_is_rejected
(self)
tests/test_eval_snapshot_contract.py:34
Method
test_missing_model_raises_before_any_network_call
(self)
tests/test_compress_safety.py:1230
Function
test_missing_optional_adapter_skips
(monkeypatch)
packages/middleware/python/tests/test_frameworks.py:7
Method
test_missing_or_duplicated_code_marker_fails_closed
(self)
tests/test_compress_safety.py:699
Function
test_missing_or_invalid_counters_cannot_replace_last_known_good
()
packages/sdk/python/tests/test_runtime_policy.py:476
Method
test_missing_provider_cli_has_actionable_error
(self)
tests/test_compress_safety.py:1002
Function
test_missing_required_adapter_fails
(monkeypatch)
packages/middleware/python/tests/test_frameworks.py:14
Method
test_missing_unicode_file_reports_error_without_import_or_encoding_failure
(self)
tests/test_compress_cli.py:68
Method
test_mixed_and_legacy_runtimes
(self)
packages/sdk/python/tests/test_middleware_v1_1.py:664
Function
test_model_only_entry_resolves_scope_per_call_and_never_compresses
D-C7: with_caveman_model has no recovery executor, so compress mode is recovery_unbound, warned once.
packages/middleware/python/tests/test_langchain_native.py:61
Method
test_moved_comma_and_period_validate
(self)
tests/test_validate_inline.py:44
Method
test_multiline_span_is_extracted
(self)
tests/test_validate_inline.py:120
Method
test_mutated_indented_command_fails
(self)
tests/test_validate_inline.py:247
Method
test_mutating_a_multiline_span_is_an_error_not_a_warning
(self)
tests/test_validate_inline.py:135
Function
test_mutating_stable_slot_on_turn_six_fails_without_request
()
packages/sdk/python/tests/test_assembly.py:125
Method
test_namespaced_commit_and_review_recognized
(self)
tests/test_mode_tracker.py:316
Method
test_namespaced_status_reports_the_new_id_for_a_legacy_value
(self)
tests/test_mode_tracker.py:211
Function
test_nan_holdout_fraction_falls_back
()
packages/sdk/python/tests/test_runtime_policy.py:727
Function
test_native_stream_completion
(langchain, protocol_runtime, asynchronous)
packages/middleware/python/tests/test_langchain_native.py:120
Function
test_native_stream_lifecycle_preserved
(adapter, httpx2, protocol_runtime, asynchronous, ending)
packages/middleware/python/tests/test_openai_native.py:106
Method
test_nested_bullets_are_not_code
Four spaces inside a list item is the item's content indentation. Treating it as code would make ordinary nested prose uncompressible.
tests/test_validate_inline.py:257
Method
test_nested_fence_file_validates_against_itself
(self)
tests/test_validate_inline.py:66
Function
test_no_money_vocabulary_in_the_decision_surface
()
packages/sdk/python/tests/test_runtime_policy.py:1014
Method
test_no_proxy_and_loopback_bypass_the_proxy
(self)
packages/sdk/python/tests/test_middleware_transport.py:183
Method
test_no_reinforcement_during_independent_turn
(self)
tests/test_mode_tracker.py:325
Method
test_no_text_block_returns_empty_like_cli_arm
(self)
tests/test_compress_safety.py:1338
Function
test_no_trace_means_no_emission_and_a_bad_sink_is_ignored
()
packages/sdk/python/tests/test_runtime_policy.py:997
Method
test_no_usage_table_without_usage
(self)
tests/test_eval_measure.py:90
Method
test_non_https_source_fails_closed
(self)
shared/provider-catalog/tests/test_validate_catalog.py:159
Method
test_non_string_output_is_rejected
(self)
tests/test_eval_snapshot_contract.py:54
Method
test_non_utf8_input_refused_before_anything_is_written
errors="ignore" used to drop the undecodable byte, write the mangled text to the backup, pass the mangled-vs-mangled readback check, then
tests/test_compress_safety.py:554
Method
test_normal_mode_command_deactivates
(self)
tests/test_mode_tracker.py:121
Method
test_nudge_does_not_recommend_a_versioned_plugin_cache_path
(self)
tests/test_hooks.py:271
Method
test_nudge_recommends_a_path_that_exists
A recommendation the user accepts must be runnable, not just stable.
tests/test_hooks.py:286
Method
test_nudge_survives_a_plugin_version_bump
The accepted command must still resolve after the old version is pruned.
tests/test_hooks.py:303
Method
test_observe_normalizes_the_scope_and_drops_an_invalid_one
(self)
packages/sdk/python/tests/test_middleware_v1_1.py:905
Method
test_off_and_endpoint_controls
(self)
packages/sdk/python/tests/test_middleware.py:94
Method
test_one_crlf_line_does_not_convert_an_lf_document
A single pasted CRLF line used to rewrite every ending in the file — and the backup with it, so the original bytes were unrecoverable.
tests/test_compress_safety.py:727
Method
test_one_shot_skill_does_not_switch_an_off_session_on
(self)
tests/test_mode_tracker.py:478
Function
test_opaque_payload_lists_are_filtered_to_well_typed_members
Mirrors TS forDoc: verify keeps only strings, escalation only objects. Wrong-typed members are dropped, never repaired.
packages/sdk/python/tests/test_runtime_policy.py:767
Function
test_openai_client_still_reaches_the_provider
(unreachable_runtime)
packages/middleware/python/tests/test_fail_open.py:80
Function
test_openai_recovery_answers_malformed_arguments
(asynchronous)
packages/middleware/python/tests/test_recovery_errors.py:351
Function
test_openai_responses_store_is_not_compressed_unless_opted_in
A stored Responses turn would outlive the call: provider_state_retained unless store=False or opted in.
packages/middleware/python/tests/test_contracts.py:328
Function
test_openai_self_emits_key_and_unknown_provider_orders_only
()
packages/sdk/python/tests/test_assembly.py:167
Function
test_openai_tool_name_conflict_disables_recovery_instead_of_raising
(caplog)
packages/middleware/python/tests/test_contracts.py:339
Function
test_openai_uses_the_sdks_own_http_library
D1: openai 2.x runs on httpx, 3.x on httpx2; the adapter follows the installed major.
packages/middleware/python/tests/test_contracts.py:292
Method
test_opencode_child_inherits_the_caller_environment
(self)
tests/test_compress_safety.py:802
Method
test_opencode_cleanup_failure_does_not_mask_the_real_error
(self)
tests/test_compress_safety.py:933
Method
test_opencode_non_object_agent_config_is_named
(self)
tests/test_compress_safety.py:854
Method
test_opencode_prompt_is_removed_when_write_fails
(self)
tests/test_compress_safety.py:959
Method
test_opencode_provider_uses_configured_model
(self)
tests/test_compress_safety.py:746
Method
test_opencode_runs_a_dedicated_deny_all_agent
(self)
tests/test_compress_safety.py:823
Method
test_opencode_runs_standalone_with_tools_denied
(self)
tests/test_compress_safety.py:783
Method
test_opencode_unparseable_inline_config_is_named
(self)
tests/test_compress_safety.py:843
Method
test_opentelemetry_is_opt_in_and_uses_spec_names
(self)
packages/sdk/python/tests/test_middleware_v1_1.py:566
Function
test_out_of_range_version_warns_once_and_skips
(family, lenient_runtime, monkeypatch, caplog)
packages/middleware/python/tests/test_behavior.py:623
Method
test_output_at_the_cap_raises_instead_of_returning_a_truncated_body
(self)
tests/test_call_claude_streaming.py:55
Method
test_output_at_the_length_cap_raises
(self)
tests/test_compress_safety.py:1237
Method
test_output_ceiling_fits_a_max_size_input
(self)
tests/test_call_claude_streaming.py:47
Function
test_overlapping_exports_serialize_without_duplicate_or_dropped_spans
()
packages/sdk/python/tests/test_exporter.py:231
Method
test_override_lowers_the_requested_ceiling
(self)
tests/test_call_claude_streaming.py:78
Method
test_oversized_file_is_rejected_before_provider_call
(self)
tests/test_compress_safety.py:1040
Method
test_parallel_sessions_keep_separate_modes
(self)
tests/test_mode_tracker.py:382
Function
test_parity
(op: dict[str, Any])
packages/sdk/python/tests/test_parity.py:375
Function
test_parity_fixtures_cover_surface
()
packages/sdk/python/tests/test_parity.py:417
Method
test_payloadless_invocation_behaves_as_before
(self)
tests/test_hooks.py:687
Method
test_permission_preserved_across_compression
(self)
tests/test_compress_safety.py:379
Method
test_plain_body_fix_cannot_return_frontmatter
(self)
tests/test_compress_frontmatter.py:107
Method
test_plain_body_fix_duplicate_frontmatter_rejected
(self)
tests/test_compress_frontmatter.py:145
Method
test_plain_body_invented_frontmatter_rejected
(self)
tests/test_compress_frontmatter.py:64
Method
test_plain_body_invented_list_frontmatter_rejected
(self)
tests/test_compress_frontmatter.py:97
Method
test_plain_body_trailing_commentary_rejected
(self)
tests/test_compress_frontmatter.py:117
Method
test_plain_prose_can_change_its_first_line
(self)
tests/test_compress_frontmatter.py:84
Method
test_plan_constraints
(self)
packages/sdk/python/tests/test_middleware_v1_1.py:161
Method
test_plugin_mirror_has_no_hub_blocking_shapes
(self)
tests/test_compress_hub_scan.py:74
Function
test_policy_without_an_experiment_applies_to_everything_past_the_guards
()
packages/sdk/python/tests/test_runtime_policy.py:689
Method
test_posts_chat_completion_to_configured_endpoint
(self)
tests/test_compress_safety.py:1169
Method
test_pre_rekey_backup_still_blocks_a_rerun
The #1351 rekey must not strand an existing backup: a file compressed before the key changed has its only original under the old parent-name
tests/test_compress_safety.py:106
Function
test_preflight_and_ready_surface_an_untested_framework
Strict version failures surface from preflight()/ready(), not from wrapping.
packages/middleware/python/tests/test_versions.py:92
Method
test_prepared_plan_does_not_claim_application
(self)
packages/sdk/python/tests/test_middleware_reports.py:47
Method
test_prev_restore_is_session_scoped
(self)
tests/test_mode_tracker.py:452
Method
test_price_affecting_keys_match_the_go_source_of_truth
(self)
shared/provider-catalog/tests/test_validate_catalog.py:43
Method
test_price_multiplier_is_inside_the_snapshot_identity
(self)
shared/provider-catalog/tests/test_validate_catalog.py:71
Function
test_projection_applied_and_caller_input_untouched
(family, session, view, protocol_runtime)
packages/middleware/python/tests/test_behavior.py:548
Method
test_prompt_forbids_appended_trailer
(self)
tests/test_compress_frontmatter.py:161
Method
test_prompt_keeps_the_instruction_verb
(self)
tests/test_compress_frontmatter.py:165
Method
test_prose_rule_dotfile_still_compressible
`.cursorrules` is Cursor's legacy rule file — prose, and the one dotfile shape caveman is meant to compress.
tests/test_detect.py:130
Function
test_provider_calls_inside_a_trace_carry_continuity_headers
()
packages/sdk/python/tests/test_trace_continuity.py:55
Method
test_provider_cli_failure_includes_stderr
(self)
tests/test_compress_safety.py:1013
← previous
next →
12,001–12,100 of 12,391, ranked by callers