MCPcopy Create free account

hub / github.com/Haidra-Org/AI-Horde / functions

Functions1,285 in github.com/Haidra-Org/AI-Horde

Methodtest_generate_client_id_format
(self)
tests/unit/test_utils.py:177
Methodtest_generate_client_id_unique
(self)
tests/unit/test_utils.py:182
Methodtest_get_block_timeouts_matching_ip
(self, redis_caches)
tests/unit/test_countermeasures.py:117
Methodtest_giga
(self)
tests/unit/test_utils.py:61
Methodtest_hash_api_key_deterministic
(self)
tests/unit/test_utils.py:90
Methodtest_hash_api_key_different_inputs
(self)
tests/unit/test_utils.py:95
Methodtest_hash_dictionary_deterministic
(self)
tests/unit/test_utils.py:98
Methodtest_hash_dictionary_different_inputs
(self)
tests/unit/test_utils.py:107
Methodtest_hash_dictionary_order_independent
(self)
tests/unit/test_utils.py:102
Functiontest_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
Functiontest_import_consts
()
tests/unit/test_imports.py:14
Functiontest_import_exceptions
()
tests/unit/test_imports.py:18
Functiontest_import_utils
()
tests/unit/test_imports.py:10
Functiontest_import_vars
()
tests/unit/test_imports.py:22
Methodtest_info_over_1000_chars_rejected
(self, client, make_api_user)
tests/integration/test_validation_boundaries.py:53
Functiontest_init_telemetry_early_is_idempotent
(telemetry_app)
tests/unit/test_telemetry.py:75
Methodtest_insufficient_kudos_rejected
(self, client, api_key, make_api_user)
tests/integration/test_user_ops.py:195
Methodtest_invalid_api_key_rejected
(self, client)
tests/integration/test_worker_ops.py:86
Methodtest_invalid_job_id_rejected
(self, client, make_api_user)
tests/integration/test_worker_ops.py:200
Methodtest_invalid_model_state_rejected
(self, client)
tests/integration/test_statistics.py:66
Methodtest_invalid_regex
(self)
tests/unit/test_utils.py:137
Methodtest_is_ipv4
(self)
tests/unit/test_countermeasures.py:25
Methodtest_is_ipv6
(self)
tests/unit/test_countermeasures.py:31
Methodtest_is_valid_ip
(self)
tests/unit/test_countermeasures.py:36
Methodtest_is_whitelisted_vpn
(self)
tests/unit/test_countermeasures.py:47
Methodtest_iso_datetime_converted
(self)
tests/unit/test_utils.py:158
Methodtest_kilo
(self)
tests/unit/test_utils.py:49
Methodtest_kudos_modify_requires_admin_not_just_moderator
(self, client, api_key, make_api_user, monkeypatch)
tests/integration/test_user_ops.py:113
Methodtest_kudos_validation_error
(self)
tests/unit/test_exceptions.py:38
Methodtest_large_numbers
(self)
tests/unit/test_utils.py:37
Methodtest_locked
(self)
tests/unit/test_exceptions.py:29
Functiontest_logfire_installed_real_meter_provider
(telemetry_app)
tests/unit/test_telemetry.py:45
Functiontest_logger
()
horde/logger.py:64
Methodtest_maintenance_blocks_other_users_silently
(self)
tests/unit/test_worker_can_generate.py:87
Methodtest_maintenance_does_not_block_owner
(self)
tests/unit/test_worker_can_generate.py:95
Methodtest_maintenance_takes_priority_over_nsfw
(self)
tests/unit/test_worker_can_generate.py:219
Functiontest_malformed_request_never_500s
(client, auth, case)
tests/integration/test_malformed_requests.py:192
Methodtest_mega
(self)
tests/unit/test_utils.py:55
Functiontest_metric_instruments_record_after_init
A representative histogram and counter must accept record/add post-init.
tests/unit/test_telemetry.py:53
Functiontest_missing_api_key_is_unauthorized_not_500
(client, method, path, body)
tests/integration/test_malformed_requests.py:225
Methodtest_missing_api_key_unauthorized
(self, client)
tests/integration/test_user_ops.py:79
Methodtest_missing_prompt
(self)
tests/unit/test_exceptions.py:33
Methodtest_missing_returns_none
(self, db_session, make_user)
tests/unit/test_database_functions.py:47
Methodtest_mixed_fields
(self)
tests/unit/test_utils.py:170
Methodtest_models_endpoint_returns_a_list
(self, client)
tests/integration/test_statistics.py:137
Methodtest_moderator_can_grant_trusted_and_it_persists
(self, client, app, api_key, make_api_user)
tests/integration/test_user_ops.py:95
Methodtest_moderator_can_pause_any_worker
(self, client, make_api_user, api_key)
tests/integration/test_worker_ops.py:148
Methodtest_moderator_view_exposes_privileged_field_anon_view_does_not
(self, client, api_key, make_api_user)
tests/integration/test_user_ops.py:57
Methodtest_modes_returns_boolean_flags
(self, client)
tests/integration/test_statistics.py:128
Methodtest_more_than_five_extra_source_images_rejected
(self, client, api_key)
tests/integration/test_validation_boundaries.py:100
Methodtest_multi_digit
(self)
tests/unit/test_utils.py:28
Methodtest_multiple_pairs
(self)
tests/unit/test_utils.py:118
Methodtest_negative_amount_rejected
(self, client, api_key, make_api_user)
tests/integration/test_user_ops.py:185
Methodtest_nested
(self)
tests/unit/test_utils.py:121
Methodtest_no_duplicates
(self)
tests/unit/test_exceptions.py:72
Methodtest_no_fields_is_rejected
(self, client, api_key, make_api_user)
tests/integration/test_user_ops.py:121
Functiontest_no_otel_span_missing_warning_on_404
(telemetry_app, caplog)
tests/unit/test_telemetry.py:81
Methodtest_no_parentheses
(self)
tests/unit/test_utils.py:112
Methodtest_no_slow_workers_requires_upfront_with_unclamped_budget
(self)
tests/unit/test_kobold_text_wp.py:35
Methodtest_no_valid_actions
(self)
tests/unit/test_exceptions.py:43
Methodtest_non_datetime_unchanged
(self)
tests/unit/test_utils.py:165
Methodtest_non_moderator_cannot_grant_trusted
(self, client, make_api_user)
tests/integration/test_user_ops.py:106
Methodtest_non_numeric_id_rejected
(self, client)
tests/integration/test_user_ops.py:47
Methodtest_non_numeric_suffix_returns_none
(self, db_session, make_user)
tests/unit/test_database_functions.py:62
Methodtest_non_owner_non_mod_cannot_set_maintenance
(self, client, make_api_user)
tests/integration/test_worker_ops.py:129
Methodtest_not_empty
(self)
tests/unit/test_consts.py:18
Methodtest_not_empty
(self)
tests/unit/test_consts.py:23
Methodtest_not_empty
(self)
tests/unit/test_exceptions.py:65
Methodtest_not_found
(self)
tests/unit/test_utils.py:149
Methodtest_nsfw_request_to_sfw_worker_rejected
(self)
tests/unit/test_worker_can_generate.py:110
Methodtest_nsfw_takes_priority_over_trusted
(self)
tests/unit/test_worker_can_generate.py:232
Functiontest_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
Functiontest_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
Methodtest_over_budget_requires_upfront
(self)
tests/unit/test_kobold_text_wp.py:53
Methodtest_owner_can_delete_and_worker_disappears
(self, client, make_api_user)
tests/integration/test_worker_ops.py:179
Methodtest_owner_can_set_own_public_workers
(self, client, make_api_user)
tests/integration/test_user_ops.py:127
Methodtest_owner_can_toggle_maintenance
(self, client, make_api_user)
tests/integration/test_worker_ops.py:115
Methodtest_pause_requires_moderator_not_just_owner
(self, client, make_api_user)
tests/integration/test_worker_ops.py:139
Methodtest_performance_reports_coherent_nonnegative_counts
(self, client)
tests/integration/test_statistics.py:89
Methodtest_peta
(self)
tests/unit/test_utils.py:72
Methodtest_plain_text_unchanged
(self)
tests/unit/test_utils.py:85
Methodtest_profane_info_rejected
(self, client, make_api_user)
tests/integration/test_validation_boundaries.py:63
Methodtest_profane_text
(self)
tests/unit/test_utils.py:200
Methodtest_prompt_with_blacklisted_word_rejected
(self)
tests/unit/test_worker_can_generate.py:146
Methodtest_prunes_expired_keeps_fresh
(self, client, app, api_key)
tests/integration/test_maintenance_threads.py:62
Methodtest_queue_pressure_clamps_budget_to_floor
(self)
tests/unit/test_kobold_text_wp.py:61
Methodtest_remix_source_processing_treated_as_img2img
(self, kudos_model, basis_payload)
tests/unit/test_kudos_pricing.py:149
Methodtest_rename_to_existing_name_rejected
(self, client, make_api_user)
tests/integration/test_validation_boundaries.py:70
Methodtest_report_suspicion_fibonacci_backoff
(self, redis_caches)
tests/unit/test_countermeasures.py:68
Methodtest_request_requires_trusted_owner_trusted_passes
(self)
tests/unit/test_worker_can_generate.py:132
Methodtest_request_requires_trusted_owner_untrusted_blocks
(self)
tests/unit/test_worker_can_generate.py:127
Methodtest_resolves_by_trailing_id
(self, db_session, make_user)
tests/unit/test_database_functions.py:57
Methodtest_retrieve_suspicion_unknown_ip_is_zero
(self, redis_caches)
tests/unit/test_countermeasures.py:77
Methodtest_retrieve_timeout_unknown_ip_no_block
(self, redis_caches)
tests/unit/test_countermeasures.py:94
Methodtest_returns_false_when_no_roles_loaded
(self, make_user)
tests/unit/test_user_roles.py:121
Methodtest_returns_false_when_role_absent
(self, user_with_roles)
tests/unit/test_user_roles.py:129
Methodtest_returns_value_when_role_present
(self, user_with_roles)
tests/unit/test_user_roles.py:125
Methodtest_role_absent_is_false
(self, user_with_roles)
tests/unit/test_user_roles.py:45
Methodtest_role_explicitly_false_is_false
(self, user_with_roles)
tests/unit/test_user_roles.py:42
Methodtest_role_props_use_cached_collection_on_repeat_access
( self, user_with_roles, assert_query_count, )
tests/unit/test_user_roles.py:99
← previousnext →1,101–1,200 of 1,285, ranked by callers