MCPcopy Create free account

hub / github.com/JuliusBrussee/caveman / functions

Functions12,391 in github.com/JuliusBrussee/caveman

Methodtest_malformed_session_id_falls_back_to_legacy
(self)
tests/test_mode_tracker.py:464
Functiontest_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
Methodtest_markdown_still_compressible
(self)
tests/test_detect.py:161
Methodtest_match
(self)
tests/test_validate_inline.py:181
Functiontest_matches_framework_refuses_an_absent_distribution
()
packages/middleware/python/tests/test_versions.py:59
Functiontest_matches_framework_requires_every_pin
()
packages/middleware/python/tests/test_versions.py:63
Methodtest_max_retention_seconds_must_be_positive
(self)
packages/sdk/python/tests/test_middleware_v1_1.py:228
Functiontest_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
Methodtest_metadata_prompt_count_mismatch_is_rejected
(self)
tests/test_eval_snapshot_contract.py:64
Methodtest_midline_run_file_validates_against_itself
(self)
tests/test_validate_inline.py:153
Methodtest_midline_triple_backtick_does_not_shift_pairing
(self)
tests/test_validate_inline.py:149
Methodtest_missing_control_arm_is_rejected
(self)
tests/test_eval_snapshot_contract.py:34
Methodtest_missing_model_raises_before_any_network_call
(self)
tests/test_compress_safety.py:1230
Functiontest_missing_optional_adapter_skips
(monkeypatch)
packages/middleware/python/tests/test_frameworks.py:7
Methodtest_missing_or_duplicated_code_marker_fails_closed
(self)
tests/test_compress_safety.py:699
Functiontest_missing_or_invalid_counters_cannot_replace_last_known_good
()
packages/sdk/python/tests/test_runtime_policy.py:476
Methodtest_missing_provider_cli_has_actionable_error
(self)
tests/test_compress_safety.py:1002
Functiontest_missing_required_adapter_fails
(monkeypatch)
packages/middleware/python/tests/test_frameworks.py:14
Methodtest_missing_unicode_file_reports_error_without_import_or_encoding_failure
(self)
tests/test_compress_cli.py:68
Methodtest_mixed_and_legacy_runtimes
(self)
packages/sdk/python/tests/test_middleware_v1_1.py:664
Functiontest_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
Methodtest_moved_comma_and_period_validate
(self)
tests/test_validate_inline.py:44
Methodtest_multiline_span_is_extracted
(self)
tests/test_validate_inline.py:120
Methodtest_mutated_indented_command_fails
(self)
tests/test_validate_inline.py:247
Methodtest_mutating_a_multiline_span_is_an_error_not_a_warning
(self)
tests/test_validate_inline.py:135
Functiontest_mutating_stable_slot_on_turn_six_fails_without_request
()
packages/sdk/python/tests/test_assembly.py:125
Methodtest_namespaced_commit_and_review_recognized
(self)
tests/test_mode_tracker.py:316
Methodtest_namespaced_status_reports_the_new_id_for_a_legacy_value
(self)
tests/test_mode_tracker.py:211
Functiontest_nan_holdout_fraction_falls_back
()
packages/sdk/python/tests/test_runtime_policy.py:727
Functiontest_native_stream_completion
(langchain, protocol_runtime, asynchronous)
packages/middleware/python/tests/test_langchain_native.py:120
Functiontest_native_stream_lifecycle_preserved
(adapter, httpx2, protocol_runtime, asynchronous, ending)
packages/middleware/python/tests/test_openai_native.py:106
Methodtest_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
Methodtest_nested_fence_file_validates_against_itself
(self)
tests/test_validate_inline.py:66
Functiontest_no_money_vocabulary_in_the_decision_surface
()
packages/sdk/python/tests/test_runtime_policy.py:1014
Methodtest_no_proxy_and_loopback_bypass_the_proxy
(self)
packages/sdk/python/tests/test_middleware_transport.py:183
Methodtest_no_reinforcement_during_independent_turn
(self)
tests/test_mode_tracker.py:325
Methodtest_no_text_block_returns_empty_like_cli_arm
(self)
tests/test_compress_safety.py:1338
Functiontest_no_trace_means_no_emission_and_a_bad_sink_is_ignored
()
packages/sdk/python/tests/test_runtime_policy.py:997
Methodtest_no_usage_table_without_usage
(self)
tests/test_eval_measure.py:90
Methodtest_non_https_source_fails_closed
(self)
shared/provider-catalog/tests/test_validate_catalog.py:159
Methodtest_non_string_output_is_rejected
(self)
tests/test_eval_snapshot_contract.py:54
Methodtest_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
Methodtest_normal_mode_command_deactivates
(self)
tests/test_mode_tracker.py:121
Methodtest_nudge_does_not_recommend_a_versioned_plugin_cache_path
(self)
tests/test_hooks.py:271
Methodtest_nudge_recommends_a_path_that_exists
A recommendation the user accepts must be runnable, not just stable.
tests/test_hooks.py:286
Methodtest_nudge_survives_a_plugin_version_bump
The accepted command must still resolve after the old version is pruned.
tests/test_hooks.py:303
Methodtest_observe_normalizes_the_scope_and_drops_an_invalid_one
(self)
packages/sdk/python/tests/test_middleware_v1_1.py:905
Methodtest_off_and_endpoint_controls
(self)
packages/sdk/python/tests/test_middleware.py:94
Methodtest_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
Methodtest_one_shot_skill_does_not_switch_an_off_session_on
(self)
tests/test_mode_tracker.py:478
Functiontest_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
Functiontest_openai_client_still_reaches_the_provider
(unreachable_runtime)
packages/middleware/python/tests/test_fail_open.py:80
Functiontest_openai_recovery_answers_malformed_arguments
(asynchronous)
packages/middleware/python/tests/test_recovery_errors.py:351
Functiontest_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
Functiontest_openai_self_emits_key_and_unknown_provider_orders_only
()
packages/sdk/python/tests/test_assembly.py:167
Functiontest_openai_tool_name_conflict_disables_recovery_instead_of_raising
(caplog)
packages/middleware/python/tests/test_contracts.py:339
Functiontest_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
Methodtest_opencode_child_inherits_the_caller_environment
(self)
tests/test_compress_safety.py:802
Methodtest_opencode_cleanup_failure_does_not_mask_the_real_error
(self)
tests/test_compress_safety.py:933
Methodtest_opencode_non_object_agent_config_is_named
(self)
tests/test_compress_safety.py:854
Methodtest_opencode_prompt_is_removed_when_write_fails
(self)
tests/test_compress_safety.py:959
Methodtest_opencode_provider_uses_configured_model
(self)
tests/test_compress_safety.py:746
Methodtest_opencode_runs_a_dedicated_deny_all_agent
(self)
tests/test_compress_safety.py:823
Methodtest_opencode_runs_standalone_with_tools_denied
(self)
tests/test_compress_safety.py:783
Methodtest_opencode_unparseable_inline_config_is_named
(self)
tests/test_compress_safety.py:843
Methodtest_opentelemetry_is_opt_in_and_uses_spec_names
(self)
packages/sdk/python/tests/test_middleware_v1_1.py:566
Functiontest_out_of_range_version_warns_once_and_skips
(family, lenient_runtime, monkeypatch, caplog)
packages/middleware/python/tests/test_behavior.py:623
Methodtest_output_at_the_cap_raises_instead_of_returning_a_truncated_body
(self)
tests/test_call_claude_streaming.py:55
Methodtest_output_at_the_length_cap_raises
(self)
tests/test_compress_safety.py:1237
Methodtest_output_ceiling_fits_a_max_size_input
(self)
tests/test_call_claude_streaming.py:47
Functiontest_overlapping_exports_serialize_without_duplicate_or_dropped_spans
()
packages/sdk/python/tests/test_exporter.py:231
Methodtest_override_lowers_the_requested_ceiling
(self)
tests/test_call_claude_streaming.py:78
Methodtest_oversized_file_is_rejected_before_provider_call
(self)
tests/test_compress_safety.py:1040
Methodtest_parallel_sessions_keep_separate_modes
(self)
tests/test_mode_tracker.py:382
Functiontest_parity
(op: dict[str, Any])
packages/sdk/python/tests/test_parity.py:375
Functiontest_parity_fixtures_cover_surface
()
packages/sdk/python/tests/test_parity.py:417
Methodtest_payloadless_invocation_behaves_as_before
(self)
tests/test_hooks.py:687
Methodtest_permission_preserved_across_compression
(self)
tests/test_compress_safety.py:379
Methodtest_plain_body_fix_cannot_return_frontmatter
(self)
tests/test_compress_frontmatter.py:107
Methodtest_plain_body_fix_duplicate_frontmatter_rejected
(self)
tests/test_compress_frontmatter.py:145
Methodtest_plain_body_invented_frontmatter_rejected
(self)
tests/test_compress_frontmatter.py:64
Methodtest_plain_body_invented_list_frontmatter_rejected
(self)
tests/test_compress_frontmatter.py:97
Methodtest_plain_body_trailing_commentary_rejected
(self)
tests/test_compress_frontmatter.py:117
Methodtest_plain_prose_can_change_its_first_line
(self)
tests/test_compress_frontmatter.py:84
Methodtest_plan_constraints
(self)
packages/sdk/python/tests/test_middleware_v1_1.py:161
Methodtest_plugin_mirror_has_no_hub_blocking_shapes
(self)
tests/test_compress_hub_scan.py:74
Functiontest_policy_without_an_experiment_applies_to_everything_past_the_guards
()
packages/sdk/python/tests/test_runtime_policy.py:689
Methodtest_posts_chat_completion_to_configured_endpoint
(self)
tests/test_compress_safety.py:1169
Methodtest_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
Functiontest_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
Methodtest_prepared_plan_does_not_claim_application
(self)
packages/sdk/python/tests/test_middleware_reports.py:47
Methodtest_prev_restore_is_session_scoped
(self)
tests/test_mode_tracker.py:452
Methodtest_price_affecting_keys_match_the_go_source_of_truth
(self)
shared/provider-catalog/tests/test_validate_catalog.py:43
Methodtest_price_multiplier_is_inside_the_snapshot_identity
(self)
shared/provider-catalog/tests/test_validate_catalog.py:71
Functiontest_projection_applied_and_caller_input_untouched
(family, session, view, protocol_runtime)
packages/middleware/python/tests/test_behavior.py:548
Methodtest_prompt_forbids_appended_trailer
(self)
tests/test_compress_frontmatter.py:161
Methodtest_prompt_keeps_the_instruction_verb
(self)
tests/test_compress_frontmatter.py:165
Methodtest_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
Functiontest_provider_calls_inside_a_trace_carry_continuity_headers
()
packages/sdk/python/tests/test_trace_continuity.py:55
Methodtest_provider_cli_failure_includes_stderr
(self)
tests/test_compress_safety.py:1013
← previousnext →12,001–12,100 of 12,391, ranked by callers