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_fidelity_set_runs_case_prompts
(self)
tests/test_eval_llm_run.py:210
Function
test_filelock_floor_is_litellm_only
(extra)
packages/middleware/python/tests/test_dependency_security.py:31
Method
test_filesystem_without_lock_support_degrades_to_unlocked
(self)
tests/test_compress_concurrency.py:230
Method
test_first_pass_commentary_and_frontmatter_rejected
(self)
tests/test_compress_frontmatter.py:40
Method
test_first_pass_frontmatter_only_rejected
(self)
tests/test_compress_frontmatter.py:43
Method
test_first_pass_trailing_commentary_rejected
(self)
tests/test_compress_frontmatter.py:111
Method
test_five_outcomes_and_immutable_bounded_metadata
(self)
packages/sdk/python/tests/test_middleware_reports.py:9
Method
test_fix_attempt_that_rewrites_the_region_is_skipped
(self)
tests/test_compress_safety.py:1142
Method
test_fix_call_exception_leaves_no_backup_or_staging
(self)
tests/test_compress_safety.py:503
Method
test_fix_call_keyboard_interrupt_leaves_no_backup_or_staging
(self)
tests/test_compress_safety.py:506
Method
test_fix_frontmatter_and_commentary_rejected
(self)
tests/test_compress_frontmatter.py:46
Method
test_fix_heading_preface_rejected
(self)
tests/test_compress_frontmatter.py:49
Method
test_fix_pass_cannot_change_list_nested_code
(self)
tests/test_compress_safety.py:277
Method
test_fix_pass_cannot_rewrite_frontmatter
(self)
tests/test_compress_safety.py:283
Method
test_fix_pass_that_only_restores_the_url_is_written
(self)
tests/test_compress_safety.py:274
Method
test_fix_prompt_and_reply_are_body_only
(self)
tests/test_compress_frontmatter.py:53
Method
test_fix_trailing_commentary_rejected
(self)
tests/test_compress_frontmatter.py:121
Method
test_forced_primary_write_failure_leaves_original_and_backup_intact
(self)
tests/test_compress_safety.py:346
Function
test_forked_child_drives_the_adapter_without_hanging
D3: the parent's pools, threads and loops exist before the fork; the child must still finish, and compress.
packages/middleware/python/tests/test_behavior.py:704
Method
test_fresh_lock_not_stolen_and_times_out
(self)
tests/test_compress_concurrency.py:192
Method
test_full_pool_is_capacity_and_stuck_io_is_deadline
(self)
packages/sdk/python/tests/test_middleware.py:205
Function
test_gate_policy
Decision 3: out of range skips and warns once, unreadable runs with version_unverified, never raises.
packages/middleware/python/tests/test_versions.py:68
Method
test_generated_file_is_skipped
(self)
tests/test_detect.py:150
Method
test_generic_caveman_provider_is_not_read
(self)
tests/test_compress_safety.py:922
Function
test_google_wrap_returns_idempotent_clones_with_per_call_scope
D11: the caller's Client is never mutated, re-wrapping never stacks, one transport serves many scopes.
packages/middleware/python/tests/test_contracts.py:561
Function
test_guard_case
Every guard case in the shared fixture, evaluated twice: directly against the evaluator, and end-to-end through decide(). A condition is TRUE only
packages/sdk/python/tests/test_runtime_policy.py:847
Function
test_guard_cases_cover_every_supported_operator
()
packages/sdk/python/tests/test_runtime_policy.py:866
Function
test_guard_operator_table
(op: str, value: Any, actual: Any, expected: bool)
packages/sdk/python/tests/test_runtime_policy.py:911
Function
test_guards_failed_still_carries_the_declining_policys_terms
The caller is about to run this policy's fallback, so it still needs the policy's budget/verify/escalation. Mirrors the TypeScript forDoc, which
packages/sdk/python/tests/test_runtime_policy.py:746
Method
test_hard_failure_writes_partial_and_exits
(self)
tests/test_eval_llm_run.py:176
Method
test_headers_features_client_and_credential
(self)
packages/sdk/python/tests/test_middleware_v1_1.py:477
Method
test_heading_preface_without_frontmatter_rejected
(self)
tests/test_compress_frontmatter.py:61
Method
test_help_and_argument_errors_for_direct_and_module_entrypoints
(self)
tests/test_compress_cli.py:25
Method
test_hook_never_blocks_on_stdin_that_never_closes
The hook must finish while the host still holds the write end open. Claude Code writes one payload and closes, but that close can lag
tests/test_hooks.py:732
Method
test_html_comments_are_masked_before_model_and_restored_byte_exact
(self)
tests/test_compress_safety.py:645
Method
test_http_error_body_surfaces
(self)
tests/test_compress_safety.py:1246
Method
test_http_proxy_forwards_absolute_form
(self)
packages/sdk/python/tests/test_middleware_transport.py:173
Method
test_https_or_socks_proxy_is_invalid_configuration_naming_the_scheme
(self)
packages/sdk/python/tests/test_middleware_v1_1.py:953
Method
test_https_proxy_connect_tunnel_with_custom_ca
(self)
packages/sdk/python/tests/test_middleware_transport.py:191
Function
test_httpx2_is_never_imported_eagerly
D1: an openai 2.x stack has no httpx2; importing the shared transport module must not need it.
packages/middleware/python/tests/test_contracts.py:35
Method
test_identical_compressed_output_does_not_touch_disk
(self)
tests/test_compress_safety.py:168
Method
test_identical_document_still_passes
(self)
tests/test_validate_inline.py:295
Method
test_idle_closed_pooled_connections_are_never_reused
(self)
packages/sdk/python/tests/test_middleware_transport.py:287
Function
test_image_and_long_history_still_compress_the_newest_result
C5/D6: 2100 earlier tool turns (over 256 candidates and 4096 manifest items) and an image never skip the call.
packages/middleware/python/tests/test_behavior.py:834
Function
test_in_range
(installed, low, high, expected)
packages/middleware/python/tests/test_versions.py:41
Method
test_indented_fence_markers_not_leaked_as_inline
(self)
tests/test_validate_inline.py:63
Function
test_init_no_network
()
packages/sdk/python/tests/test_sdk.py:12
Function
test_injected_ids_are_canonicalized_or_replaced
()
packages/sdk/python/tests/test_trace_continuity.py:81
Function
test_injected_ids_are_used_verbatim
()
packages/sdk/python/tests/test_trace_continuity.py:69
Method
test_inner_backtick_span_rewrite_still_fails_validation
(self)
tests/test_validate_inline.py:233
Method
test_install_reconfigures_missing_statusline
(self)
tests/test_hooks.py:70
Method
test_install_upgrades_old_two_file_install
(self)
tests/test_hooks.py:49
Method
test_interrupted_half_open_probe_neither_closes_nor_strands_the_breaker
(self)
packages/sdk/python/tests/test_middleware_v1_1.py:886
Function
test_invalid_experiment_configs_fall_back_and_never_guess_an_arm
(experiment: Any)
packages/sdk/python/tests/test_runtime_policy.py:714
Function
test_invalid_scope_is_recovery_free
(family, lenient_runtime, caplog)
packages/middleware/python/tests/test_behavior.py:614
Function
test_invalid_support_bounds_fail_closed
(low, high)
packages/middleware/python/tests/test_versions.py:55
Method
test_io_does_not_block_loop_and_cancel_never_returns_fallback
(self)
packages/sdk/python/tests/test_middleware.py:180
Method
test_json_response_over_the_limit_still_overflows
(self)
packages/middleware/python/tests/test_usage_reader.py:26
Method
test_json_response_under_the_limit_is_read_in_many_chunks
(self)
packages/middleware/python/tests/test_usage_reader.py:9
Method
test_keep_alive_reuses_one_connection_under_a_path_prefix
(self)
packages/sdk/python/tests/test_middleware_transport.py:146
Function
test_kill_env_forces_baseline_and_off_values_do_not
()
packages/sdk/python/tests/test_runtime_policy.py:443
Function
test_kill_env_name_is_configurable
()
packages/sdk/python/tests/test_runtime_policy.py:453
Method
test_known_names_case_insensitive
(self)
tests/test_detect.py:86
Function
test_langchain_missing_thread_id_passes_through
D15: scope_from_config without a thread no longer raises into the agent call.
packages/middleware/python/tests/test_contracts.py:426
Function
test_langchain_returns_the_callers_messages
(unreachable_runtime)
packages/middleware/python/tests/test_fail_open.py:13
Function
test_langchain_tool_name_conflict_warns
(caplog)
packages/middleware/python/tests/test_contracts.py:441
Method
test_language_selects_control_and_snapshot
(self)
tests/test_eval_llm_run.py:198
Method
test_late_watchdog_never_shuts_down_a_pooled_connection
(self)
packages/sdk/python/tests/test_middleware_transport.py:346
Method
test_legacy_env_default_resolves_to_its_skill
(self)
tests/test_hooks.py:633
Method
test_legacy_mirror_never_holds_literal_off
(self)
tests/test_mode_tracker.py:438
Method
test_legacy_mirror_tracks_last_write
(self)
tests/test_mode_tracker.py:447
Method
test_legacy_session_file_resolves_to_its_skill
(self)
tests/test_mode_tracker.py:502
Method
test_legacy_wenyan_session_file_resolves_to_megacave
(self)
tests/test_hooks.py:624
Function
test_litellm_extra_excludes_only_known_bad_releases
(version, accepted)
packages/middleware/python/tests/test_packaging.py:21
Function
test_litellm_live_instances_share_one_callback_and_the_hosts_still_runs
LiteLLM caps each callback list at 100 (MAX_CALLBACKS): 150 live instances must not push out the host's logger.
packages/middleware/python/tests/test_contracts.py:478
Function
test_litellm_pending_capacity_is_reported_not_silent
D10: a full pending table passes the call through with `capacity`, never evicting another call.
packages/middleware/python/tests/test_contracts.py:462
Function
test_litellm_sync_router_projects_the_dispatched_body
D10: the sync Router edit lands on the dict LiteLLM actually sends, verified after the call.
packages/middleware/python/tests/test_contracts.py:530
Function
test_litellm_sync_router_reports_unsupported_provider_and_identity_breaks
()
packages/middleware/python/tests/test_contracts.py:514
Function
test_litellm_wheel_accepts_patched_filelock
()
packages/middleware/python/tests/test_dependency_security.py:24
Function
test_litellm_wheel_rejects_vulnerable_filelock
(version)
packages/middleware/python/tests/test_dependency_security.py:18
Method
test_live_file_never_holds_unvalidated_output_before_validation_passes
(self)
tests/test_compress_safety.py:424
Method
test_live_file_untouched_when_all_validation_attempts_fail
(self)
tests/test_compress_safety.py:449
Function
test_llama_index_unknown_provider_passes_through_and_conflict_disables_recovery
(caplog)
packages/middleware/python/tests/test_contracts.py:686
Method
test_loader_rejects_malformed_json
(self)
tests/test_eval_snapshot_contract.py:142
Function
test_local_kill_latch_wins_over_a_live_bundle
()
packages/sdk/python/tests/test_runtime_policy.py:433
Method
test_lock_dir_is_chmod_0700
(self)
tests/test_compress_concurrency.py:256
Method
test_lock_file_persists_but_is_unlocked_after_release
(self)
tests/test_compress_concurrency.py:127
Method
test_lock_released_on_exception_inside_block
(self)
tests/test_compress_concurrency.py:218
Method
test_lone_indented_marker_does_not_capture_the_real_block
(self)
tests/test_validate_inline.py:87
Method
test_lone_surrogate_is_unsupported_shape_not_an_outage
(self)
packages/sdk/python/tests/test_middleware_v1_1.py:396
Method
test_long_span_is_truncated_and_newlines_escaped
(self)
tests/test_validate_inline.py:172
Method
test_lost
(self)
tests/test_validate_inline.py:186
Method
test_makefile_is_code
(self)
tests/test_detect.py:80
Function
test_malformed_or_partial_signature_metadata_cannot_downgrade_to_unsigned
()
packages/sdk/python/tests/test_runtime_policy.py:243
Method
test_malformed_override_raises_before_paying_for_a_call
(self)
tests/test_call_claude_streaming.py:99
Method
test_malformed_payload_degrades_instead_of_failing
(self)
tests/test_hooks.py:692
Method
test_malformed_proxy_is_invalid_configuration_never_a_constructor_error
(self)
packages/sdk/python/tests/test_middleware_v1_1.py:967
Function
test_malformed_recovery_arguments_are_invalid_request
Model-written arguments that are not an object with a string handle never reach the runtime or raise past it.
packages/middleware/python/tests/test_recovery_errors.py:339
Function
test_malformed_response_and_bundle_are_rejected
()
packages/sdk/python/tests/test_runtime_policy.py:529
Method
test_malformed_response_body_is_a_runtime_error
(self)
tests/test_compress_safety.py:1210
← previous
next →
11,901–12,000 of 12,391, ranked by callers