Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Haidra-Org/AI-Horde
/ functions
Functions
1,285 in github.com/Haidra-Org/AI-Horde
⨍
Functions
1,285
◇
Types & classes
287
↳
Endpoints
37
Method
test_generate_client_id_format
(self)
tests/unit/test_utils.py:177
Method
test_generate_client_id_unique
(self)
tests/unit/test_utils.py:182
Method
test_get_block_timeouts_matching_ip
(self, redis_caches)
tests/unit/test_countermeasures.py:117
Method
test_giga
(self)
tests/unit/test_utils.py:61
Method
test_hash_api_key_deterministic
(self)
tests/unit/test_utils.py:90
Method
test_hash_api_key_different_inputs
(self)
tests/unit/test_utils.py:95
Method
test_hash_dictionary_deterministic
(self)
tests/unit/test_utils.py:98
Method
test_hash_dictionary_different_inputs
(self)
tests/unit/test_utils.py:107
Method
test_hash_dictionary_order_independent
(self)
tests/unit/test_utils.py:102
Function
test_histogram_views_cover_all_registered_histograms
Every histogram declared via the bucket-profile helpers should produce a corresponding ``View`` so its boundaries reach the SDK.
tests/unit/test_telemetry.py:64
Function
test_import_consts
()
tests/unit/test_imports.py:14
Function
test_import_exceptions
()
tests/unit/test_imports.py:18
Function
test_import_utils
()
tests/unit/test_imports.py:10
Function
test_import_vars
()
tests/unit/test_imports.py:22
Method
test_info_over_1000_chars_rejected
(self, client, make_api_user)
tests/integration/test_validation_boundaries.py:53
Function
test_init_telemetry_early_is_idempotent
(telemetry_app)
tests/unit/test_telemetry.py:75
Method
test_insufficient_kudos_rejected
(self, client, api_key, make_api_user)
tests/integration/test_user_ops.py:195
Method
test_invalid_api_key_rejected
(self, client)
tests/integration/test_worker_ops.py:86
Method
test_invalid_job_id_rejected
(self, client, make_api_user)
tests/integration/test_worker_ops.py:200
Method
test_invalid_model_state_rejected
(self, client)
tests/integration/test_statistics.py:66
Method
test_invalid_regex
(self)
tests/unit/test_utils.py:137
Method
test_is_ipv4
(self)
tests/unit/test_countermeasures.py:25
Method
test_is_ipv6
(self)
tests/unit/test_countermeasures.py:31
Method
test_is_valid_ip
(self)
tests/unit/test_countermeasures.py:36
Method
test_is_whitelisted_vpn
(self)
tests/unit/test_countermeasures.py:47
Method
test_iso_datetime_converted
(self)
tests/unit/test_utils.py:158
Method
test_kilo
(self)
tests/unit/test_utils.py:49
Method
test_kudos_modify_requires_admin_not_just_moderator
(self, client, api_key, make_api_user, monkeypatch)
tests/integration/test_user_ops.py:113
Method
test_kudos_validation_error
(self)
tests/unit/test_exceptions.py:38
Method
test_large_numbers
(self)
tests/unit/test_utils.py:37
Method
test_locked
(self)
tests/unit/test_exceptions.py:29
Function
test_logfire_installed_real_meter_provider
(telemetry_app)
tests/unit/test_telemetry.py:45
Function
test_logger
()
horde/logger.py:64
Method
test_maintenance_blocks_other_users_silently
(self)
tests/unit/test_worker_can_generate.py:87
Method
test_maintenance_does_not_block_owner
(self)
tests/unit/test_worker_can_generate.py:95
Method
test_maintenance_takes_priority_over_nsfw
(self)
tests/unit/test_worker_can_generate.py:219
Function
test_malformed_request_never_500s
(client, auth, case)
tests/integration/test_malformed_requests.py:192
Method
test_mega
(self)
tests/unit/test_utils.py:55
Function
test_metric_instruments_record_after_init
A representative histogram and counter must accept record/add post-init.
tests/unit/test_telemetry.py:53
Function
test_missing_api_key_is_unauthorized_not_500
(client, method, path, body)
tests/integration/test_malformed_requests.py:225
Method
test_missing_api_key_unauthorized
(self, client)
tests/integration/test_user_ops.py:79
Method
test_missing_prompt
(self)
tests/unit/test_exceptions.py:33
Method
test_missing_returns_none
(self, db_session, make_user)
tests/unit/test_database_functions.py:47
Method
test_mixed_fields
(self)
tests/unit/test_utils.py:170
Method
test_models_endpoint_returns_a_list
(self, client)
tests/integration/test_statistics.py:137
Method
test_moderator_can_grant_trusted_and_it_persists
(self, client, app, api_key, make_api_user)
tests/integration/test_user_ops.py:95
Method
test_moderator_can_pause_any_worker
(self, client, make_api_user, api_key)
tests/integration/test_worker_ops.py:148
Method
test_moderator_view_exposes_privileged_field_anon_view_does_not
(self, client, api_key, make_api_user)
tests/integration/test_user_ops.py:57
Method
test_modes_returns_boolean_flags
(self, client)
tests/integration/test_statistics.py:128
Method
test_more_than_five_extra_source_images_rejected
(self, client, api_key)
tests/integration/test_validation_boundaries.py:100
Method
test_multi_digit
(self)
tests/unit/test_utils.py:28
Method
test_multiple_pairs
(self)
tests/unit/test_utils.py:118
Method
test_negative_amount_rejected
(self, client, api_key, make_api_user)
tests/integration/test_user_ops.py:185
Method
test_nested
(self)
tests/unit/test_utils.py:121
Method
test_no_duplicates
(self)
tests/unit/test_exceptions.py:72
Method
test_no_fields_is_rejected
(self, client, api_key, make_api_user)
tests/integration/test_user_ops.py:121
Function
test_no_otel_span_missing_warning_on_404
(telemetry_app, caplog)
tests/unit/test_telemetry.py:81
Method
test_no_parentheses
(self)
tests/unit/test_utils.py:112
Method
test_no_slow_workers_requires_upfront_with_unclamped_budget
(self)
tests/unit/test_kobold_text_wp.py:35
Method
test_no_valid_actions
(self)
tests/unit/test_exceptions.py:43
Method
test_non_datetime_unchanged
(self)
tests/unit/test_utils.py:165
Method
test_non_moderator_cannot_grant_trusted
(self, client, make_api_user)
tests/integration/test_user_ops.py:106
Method
test_non_numeric_id_rejected
(self, client)
tests/integration/test_user_ops.py:47
Method
test_non_numeric_suffix_returns_none
(self, db_session, make_user)
tests/unit/test_database_functions.py:62
Method
test_non_owner_non_mod_cannot_set_maintenance
(self, client, make_api_user)
tests/integration/test_worker_ops.py:129
Method
test_not_empty
(self)
tests/unit/test_consts.py:18
Method
test_not_empty
(self)
tests/unit/test_consts.py:23
Method
test_not_empty
(self)
tests/unit/test_exceptions.py:65
Method
test_not_found
(self)
tests/unit/test_utils.py:149
Method
test_nsfw_request_to_sfw_worker_rejected
(self)
tests/unit/test_worker_can_generate.py:110
Method
test_nsfw_takes_priority_over_trusted
(self)
tests/unit/test_worker_can_generate.py:232
Function
test_nul_byte_payload_is_rejected_cleanly
A NUL byte in a raw-stored JSON text field (prompt) is a clean 400, not a DB-flush 500. Regression guard for the reactive ValueError handler that
tests/integration/test_malformed_requests.py:242
Function
test_out_of_range_user_id_is_not_found_not_500
A user id beyond Postgres int4 range must resolve to 404, not a NumericValueOutOfRange 500 (regression guard for _coerce_user_id).
tests/integration/test_malformed_requests.py:234
Method
test_over_budget_requires_upfront
(self)
tests/unit/test_kobold_text_wp.py:53
Method
test_owner_can_delete_and_worker_disappears
(self, client, make_api_user)
tests/integration/test_worker_ops.py:179
Method
test_owner_can_set_own_public_workers
(self, client, make_api_user)
tests/integration/test_user_ops.py:127
Method
test_owner_can_toggle_maintenance
(self, client, make_api_user)
tests/integration/test_worker_ops.py:115
Method
test_pause_requires_moderator_not_just_owner
(self, client, make_api_user)
tests/integration/test_worker_ops.py:139
Method
test_performance_reports_coherent_nonnegative_counts
(self, client)
tests/integration/test_statistics.py:89
Method
test_peta
(self)
tests/unit/test_utils.py:72
Method
test_plain_text_unchanged
(self)
tests/unit/test_utils.py:85
Method
test_profane_info_rejected
(self, client, make_api_user)
tests/integration/test_validation_boundaries.py:63
Method
test_profane_text
(self)
tests/unit/test_utils.py:200
Method
test_prompt_with_blacklisted_word_rejected
(self)
tests/unit/test_worker_can_generate.py:146
Method
test_prunes_expired_keeps_fresh
(self, client, app, api_key)
tests/integration/test_maintenance_threads.py:62
Method
test_queue_pressure_clamps_budget_to_floor
(self)
tests/unit/test_kobold_text_wp.py:61
Method
test_remix_source_processing_treated_as_img2img
(self, kudos_model, basis_payload)
tests/unit/test_kudos_pricing.py:149
Method
test_rename_to_existing_name_rejected
(self, client, make_api_user)
tests/integration/test_validation_boundaries.py:70
Method
test_report_suspicion_fibonacci_backoff
(self, redis_caches)
tests/unit/test_countermeasures.py:68
Method
test_request_requires_trusted_owner_trusted_passes
(self)
tests/unit/test_worker_can_generate.py:132
Method
test_request_requires_trusted_owner_untrusted_blocks
(self)
tests/unit/test_worker_can_generate.py:127
Method
test_resolves_by_trailing_id
(self, db_session, make_user)
tests/unit/test_database_functions.py:57
Method
test_retrieve_suspicion_unknown_ip_is_zero
(self, redis_caches)
tests/unit/test_countermeasures.py:77
Method
test_retrieve_timeout_unknown_ip_no_block
(self, redis_caches)
tests/unit/test_countermeasures.py:94
Method
test_returns_false_when_no_roles_loaded
(self, make_user)
tests/unit/test_user_roles.py:121
Method
test_returns_false_when_role_absent
(self, user_with_roles)
tests/unit/test_user_roles.py:129
Method
test_returns_value_when_role_present
(self, user_with_roles)
tests/unit/test_user_roles.py:125
Method
test_role_absent_is_false
(self, user_with_roles)
tests/unit/test_user_roles.py:45
Method
test_role_explicitly_false_is_false
(self, user_with_roles)
tests/unit/test_user_roles.py:42
Method
test_role_props_use_cached_collection_on_repeat_access
( self, user_with_roles, assert_query_count, )
tests/unit/test_user_roles.py:99
← previous
next →
1,101–1,200 of 1,285, ranked by callers