MCPcopy Create free account

hub / github.com/mwmbl/mwmbl / functions

Functions929 in github.com/mwmbl/mwmbl

Methodtest_predict_dtype
(self, trained_pipeline)
test/test_rust_pipeline.py:124
Methodtest_predict_empty_dataframe
(self, trained_pipeline)
test/test_rust_pipeline.py:140
Methodtest_predict_no_nan
(self, trained_pipeline)
test/test_rust_pipeline.py:135
Methodtest_predict_range
(self, trained_pipeline)
test/test_rust_pipeline.py:129
Methodtest_predict_shape
(self, trained_pipeline)
test/test_rust_pipeline.py:119
Methodtest_predict_single_row
(self, trained_pipeline)
test/test_rust_pipeline.py:146
Methodtest_predict_with_null_extract
(self, trained_pipeline)
test/test_rust_pipeline.py:159
Methodtest_predict_with_null_title
(self, trained_pipeline)
test/test_rust_pipeline.py:152
Methodtest_predict_without_fit_raises
(self)
test/test_rust_pipeline.py:96
Methodtest_process_batch_workflow
Test the complete batch processing workflow
test/test_crawl_functional.py:150
Functiontest_process_link_excludes_porn
()
test/test_update_urls.py:29
Functiontest_process_link_normal
()
test/test_update_urls.py:8
Functiontest_promoted_results_use_top_k
Exactly top-K docs are promoted for crawling; surplus docs are excluded.
test/test_super_search.py:169
Functiontest_public_ip_literal_is_safe
()
test/test_ssrf.py:35
Functiontest_pypi_404_returns_empty
(httpx_mock)
test/test_super_search_sources.py:140
Functiontest_pypi_rejects_invalid_name
()
test/test_super_search_sources.py:147
Functiontest_pypi_returns_document
(httpx_mock)
test/test_super_search_sources.py:127
Functiontest_quota_increment_refunded_when_over_limit
An over-limit request is rejected and the increment is refunded, so the stored counter is not left permanently inflated (increment-first + refund)
test/test_super_search.py:409
Functiontest_rate_limit_allows_up_to_limit
()
test/test_search_api_key.py:711
Functiontest_recipe_has_smoke_block
(recipe)
test/test_super_search_recipes.py:75
Functiontest_recipe_live
(recipe)
test/test_super_search_smoke.py:40
Functiontest_recipes_dir_exists
()
test/test_super_search_recipes.py:203
Functiontest_recipes_registered_in_sources
()
test/test_super_search_recipes.py:58
Methodtest_redis_connection_and_health_check
Test Redis connection and health check functionality
test/test_crawl_functional.py:119
Functiontest_remove_nonexistent_vote
Test removing a vote that doesn't exist
test/test_voting_api.py:360
Functiontest_remove_vote_success
Test successfully removing a vote
test/test_voting_api.py:325
Methodtest_repr
(self)
test/test_rust_pipeline.py:90
Functiontest_resolution_failure_is_unsafe
(monkeypatch)
test/test_ssrf.py:63
Methodtest_robots_denied_handling
Test robots.txt denial handling
test/test_crawl_functional.py:272
Functiontest_robots_denied_url_marked_as_recently_crawled
A robots-denied URL must also be marked crawled so it isn't re-attempted.
test/test_url_database.py:56
Methodtest_save_and_load
(self)
test/test_rust_pipeline.py:168
Functiontest_schema_examples_in_openapi
Test that our schemas have proper examples in the unified OpenAPI spec
test/test_openapi.py:170
Functiontest_search_crawl_scoped_key_rejected
A crawl-scoped key must not grant access to the search endpoint.
test/test_search_api_key.py:334
Functiontest_search_invalid_key
(api_client)
test/test_search_api_key.py:328
Functiontest_search_missing_key_returns_results_with_null_usage
Unauthenticated requests are allowed; usage fields are null.
test/test_search_api_key.py:318
Functiontest_search_monthly_quota_exceeded
(api_client, search_api_key)
test/test_search_api_key.py:393
Functiontest_search_monthly_quota_exceeded_pro_no_upgrade_message
Pro tier 429 message should not suggest an upgrade.
test/test_search_api_key.py:409
Functiontest_search_rate_limit_exceeded
(api_client, search_api_key)
test/test_search_api_key.py:382
Functiontest_search_response_includes_usage_fields
When quota helpers are mocked, the response includes monthly_usage and monthly_limit.
test/test_search_api_key.py:360
Functiontest_search_with_valid_key
(api_client, search_api_key)
test/test_search_api_key.py:348
Functiontest_shipped_recipes_load
()
test/test_super_search_recipes.py:53
Functiontest_singleCompletions
(mocker)
test/test_completer.py:54
Functiontest_sort_documents
()
test/test_index_batches.py:17
Functiontest_sort_documents_curated_items_first
()
test/test_index_batches.py:45
Functiontest_sort_documents_duplicates_keep_synced_state
()
test/test_index_batches.py:73
Functiontest_source_failure_emits_source_failed
(client, api_key, monkeypatch)
test/test_super_search.py:387
Functiontest_stackexchange_returns_documents
(httpx_mock)
test/test_super_search_sources.py:80
Functiontest_static_blacklist_provider
Test StaticBlacklistProvider with is_domain_blacklisted method.
test/test_blacklist_providers.py:16
Functiontest_submit_invalid_wasm_file
Test submitting an invalid WASM file
test/test_evaluation_api.py:119
Functiontest_submit_large_file
Test submitting a file that exceeds size limit
test/test_evaluation_api.py:163
Functiontest_submit_non_wasm_file
Test submitting a file without .wasm extension
test/test_evaluation_api.py:141
Functiontest_submit_valid_wasm_file
Test submitting a valid WASM file
test/test_evaluation_api.py:90
Functiontest_submit_with_unverified_email
Test submitting with unverified email address
test/test_evaluation_api.py:204
Functiontest_submit_without_authentication
Test submitting without JWT token
test/test_evaluation_api.py:187
Functiontest_submit_without_file
Test submitting without a file
test/test_evaluation_api.py:226
Functiontest_subscription_correct_limit_for_starter_tier
(api_client, access_token, verified_user)
test/test_search_api_key.py:692
Functiontest_subscription_free_user_no_usage
(api_client, access_token, verified_user)
test/test_search_api_key.py:632
Functiontest_subscription_reflects_live_redis_count
Subscription usage comes from Redis (live count), not the periodic Postgres sync.
test/test_search_api_key.py:648
Functiontest_subscription_unauthenticated
(api_client)
test/test_search_api_key.py:626
Functiontest_subscription_usage_matches_search_response
Subscription usage equals the live Redis count incremented by each search request.
test/test_search_api_key.py:664
Functiontest_super_search_module_has_no_blocking_imports
A failsafe against accidentally importing the sync `requests` lib or using `time.sleep` at module scope in the async orchestrator.
test/test_super_search.py:617
Functiontest_super_search_quota_enforced
(client, api_key, monkeypatch)
test/test_super_search.py:152
Functiontest_super_search_requires_auth
(client)
test/test_super_search.py:120
Functiontest_super_search_with_api_key
(client, api_key, monkeypatch)
test/test_super_search.py:126
Functiontest_super_search_with_jwt
(client, access_token, user, monkeypatch)
test/test_super_search.py:139
Functiontest_sync_search_counts_keeps_redis_value_when_higher
If Redis is ahead of Postgres (normal operation), the Redis value is kept.
test/test_search_api_key.py:603
Functiontest_sync_search_counts_redis_to_postgres
sync_search_counts should write live Redis counts into UsageBucket.
test/test_search_api_key.py:547
Functiontest_sync_search_counts_seeds_redis_from_postgres
sync_search_counts should restore missing Redis keys from UsageBucket (Redis restart recovery).
test/test_search_api_key.py:564
Functiontest_sync_search_counts_uses_postgres_value_when_higher
After a Redis restart, requests may have incremented from zero before the sync runs. The sync should take the max so the Postgres baseline is not
test/test_search_api_key.py:583
Methodtest_threshold_binarisation
Labels above threshold should be treated as positive class.
test/test_rust_pipeline.py:220
Functiontest_title_only_source_result_retained
A source/index result with an empty extract is kept (title + URL only), matching standard Mwmbl search rather than being silently dropped. Re
test/test_super_search.py:520
Functiontest_uncancel_subscription_not_scheduled_to_cancel
Test that uncanceling when not scheduled returns 409.
test/test_platform_billing.py:194
Functiontest_uncancel_subscription_success
Test successful uncancel of a pending cancellation.
test/test_platform_billing.py:168
Functiontest_uncancel_subscription_unauthenticated
Test that uncanceling without authentication returns 401.
test/test_platform_billing.py:213
Methodtest_url_queue_operations
Test RedisURLQueue operations with fake Redis
test/test_crawl_functional.py:135
Functiontest_urls_with_commas_multiple_urls
Test handling multiple URLs with commas using POST
test/test_comma_urls.py:79
Functiontest_urls_with_commas_single_url
Test handling URLs with commas using single URL parameter
test/test_comma_urls.py:39
Functiontest_urls_with_various_special_characters
Test URLs with various special characters that could cause parsing issues
test/test_comma_urls.py:131
Methodtest_user_url_assignment
Test user URL assignment and tracking
test/test_crawl_functional.py:320
Functiontest_validate_domain_invalid
()
test/test_utils.py:22
Functiontest_validate_domain_valid
()
test/test_utils.py:16
Functiontest_validate_url_domain_invalid
()
test/test_utils.py:27
Functiontest_validate_url_rejects_internal
()
test/test_ssrf.py:77
Functiontest_validate_url_rejects_non_http_scheme
()
test/test_ssrf.py:70
Functiontest_validate_with_url
()
test/test_utils.py:32
Functiontest_very_long_urls_in_large_list
Test handling URLs with very long paths that would be problematic in query strings
test/test_large_url_list.py:101
Functiontest_vote_invalid_vote_type
Test voting with invalid vote type
test/test_voting_api.py:168
Functiontest_vote_on_search_result_success
Test successfully voting on a search result
test/test_voting_api.py:106
Functiontest_vote_unique_constraint
Test that the unique constraint works (one vote per user per URL per query)
test/test_voting_api.py:414
Functiontest_vote_update_existing_vote
Test updating an existing vote
test/test_voting_api.py:131
Functiontest_vote_with_unverified_email
Test voting with unverified email address
test/test_voting_api.py:201
Functiontest_vote_without_authentication
Test voting without JWT token
test/test_voting_api.py:189
Functiontest_voting_endpoint_documentation
Test that voting endpoints have proper documentation in the unified OpenAPI spec
test/test_openapi.py:130
Functiontest_voting_on_url_with_commas
Test voting on URLs with commas works correctly
test/test_comma_urls.py:178
Functiontest_voting_schemas_in_openapi
Test that our voting schemas are properly defined in the unified OpenAPI spec
test/test_openapi.py:90
Functiontest_wiki_score_zero_for_non_wiki
A non-Wikipedia URL should have wiki_score = 0.
test/test_rust_features.py:176
Functiontest_wiktionary_quotes_titles_with_spaces
(httpx_mock)
test/test_super_search_recipes.py:99
Functiontest_wiktionary_templates_url_and_strips_html
(httpx_mock)
test/test_super_search_recipes.py:83
Functiontest_xml_attributes_and_template
(httpx_mock)
test/test_super_search_recipes.py:171
Methodtext
(self)
mwmbl/justext/paragraph.py:34
← previousnext →801–900 of 929, ranked by callers