Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/WellApp-ai/Well
/ functions
Functions
296 in github.com/WellApp-ai/Well
⨍
Functions
296
◇
Types & classes
91
↳
Endpoints
45
Method
test_anthropic_generator_initialization
Test Anthropic generator initialization
ai-receipt-generator/tests/test_comprehensive.py:608
Method
test_api_key_not_found
Test behavior when API key is not found
ai-receipt-generator/tests/test_comprehensive.py:521
Method
test_api_key_precedence
Test that config API key takes precedence over environment
ai-receipt-generator/tests/test_comprehensive.py:507
Method
test_api_key_resolution_from_config
Test API key resolution from configuration
ai-receipt-generator/tests/test_comprehensive.py:477
Method
test_api_key_resolution_from_env
Test API key resolution from environment variable
ai-receipt-generator/tests/test_comprehensive.py:492
Method
test_barcode_generation
Test barcode data generation
ai-receipt-generator/tests/test_comprehensive.py:210
Method
test_basic_receipt_structure
Test that generated receipt has all required fields
ai-receipt-generator/tests/test_comprehensive.py:18
Method
test_card_and_terminal_data
Test card and terminal information generation
ai-receipt-generator/tests/test_comprehensive.py:188
Method
test_cli_integration
Test CLI integration with mocked dependencies
ai-receipt-generator/tests/test_comprehensive.py:644
Method
test_complete_workflow
Test the complete workflow from data generation to image prompt
ai-receipt-generator/tests/test_comprehensive.py:741
Method
test_config_validation_failure
Test validation of an invalid configuration
ai-receipt-generator/tests/test_comprehensive.py:459
Method
test_config_validation_success
Test validation of a valid configuration
ai-receipt-generator/tests/test_comprehensive.py:445
Method
test_configuration_integration
Test configuration loading and validation integration
ai-receipt-generator/tests/test_comprehensive.py:800
Function
test_cors_headers
Test CORS headers are present
ai-receipt-generator/tests/test_api.py:522
Function
test_create_style_already_exists
Test creating style that already exists
ai-receipt-generator/tests/test_api.py:336
Function
test_create_style_success
Test successful style creation
ai-receipt-generator/tests/test_api.py:315
Method
test_data_consistency
Test that generated data is internally consistent
ai-receipt-generator/tests/test_comprehensive.py:244
Function
test_delete_style_not_found
Test deleting non-existent style
ai-receipt-generator/tests/test_api.py:361
Function
test_delete_style_success
Test successful style deletion
ai-receipt-generator/tests/test_api.py:348
Method
test_different_styles
Test prompt generation with different styles
ai-receipt-generator/tests/test_comprehensive.py:385
Method
test_edge_cases
Test edge cases and boundary conditions
ai-receipt-generator/tests/test_comprehensive.py:277
Method
test_end_to_end_generation
Test end-to-end generation including AI call
ai-receipt-generator/tests/test_comprehensive.py:774
Method
test_error_handling_integration
Test error handling across the complete workflow
ai-receipt-generator/tests/test_comprehensive.py:829
Function
test_exporter_output
(tmp_path, fmt)
ai-invoice-extractor/tests/test_exporters/test_all_exporters.py:16
Function
test_generate_receipt_data_only
Test receipt data generation without image
ai-receipt-generator/tests/test_api.py:120
Function
test_generate_receipt_data_structure
Ensures the generated data has the correct structure and keys.
ai-receipt-generator/tests/test_core.py:18
Function
test_generate_receipt_invalid_style
Test receipt generation with invalid style
ai-receipt-generator/tests/test_api.py:138
Function
test_generate_receipt_success
Test successful receipt generation
ai-receipt-generator/tests/test_api.py:94
Function
test_generate_receipt_with_overrides
Tests that overrides are correctly applied to the generated data.
ai-receipt-generator/tests/test_core.py:42
Function
test_get_config
Test getting configuration
ai-receipt-generator/tests/test_api.py:374
Method
test_get_generator_anthropic
Test generator creation for Anthropic
ai-receipt-generator/tests/test_comprehensive.py:687
Method
test_get_generator_missing_api_key
Test generator creation with missing API key
ai-receipt-generator/tests/test_comprehensive.py:706
Method
test_get_generator_openai
Test generator creation for OpenAI
ai-receipt-generator/tests/test_comprehensive.py:668
Method
test_get_generator_unsupported_provider
Test generator creation with unsupported provider
ai-receipt-generator/tests/test_comprehensive.py:721
Function
test_get_style_info_not_found
Test getting non-existent style information
ai-receipt-generator/tests/test_api.py:306
Function
test_get_style_info_success
Test getting style information
ai-receipt-generator/tests/test_api.py:288
Function
test_global_exception_handler
Test global exception handler
ai-receipt-generator/tests/test_api.py:506
Function
test_health_check
Test health check endpoint
ai-receipt-generator/tests/test_api.py:72
Function
test_image_prompt_contains_data
Ensures the generated prompt contains the JSON payload and style.
ai-receipt-generator/tests/test_core.py:100
Function
test_image_prompt_generation
Tests that a valid prompt string is generated.
ai-receipt-generator/tests/test_core.py:91
Function
test_invalid_json_request
Test handling of invalid JSON requests
ai-receipt-generator/tests/test_api.py:491
Function
test_item_totals_are_calculated_correctly
Tests that totals are correctly calculated when specific items are provided.
ai-receipt-generator/tests/test_core.py:53
Method
test_items_generation
Test that items are generated correctly
ai-receipt-generator/tests/test_comprehensive.py:88
Function
test_legacy_create_style
Test legacy create-style endpoint
ai-receipt-generator/tests/test_api.py:448
Function
test_legacy_generate_receipt
Test legacy generate-receipt endpoint
ai-receipt-generator/tests/test_api.py:468
Function
test_legacy_get_current_config
Test legacy current-config endpoint
ai-receipt-generator/tests/test_api.py:418
Function
test_legacy_update_input
Test legacy update-input endpoint
ai-receipt-generator/tests/test_api.py:429
Function
test_list_styles
Test listing available styles
ai-receipt-generator/tests/test_api.py:277
Function
test_load_config
Tests loading a valid YAML config file.
ai-receipt-generator/tests/test_config_loader.py:33
Function
test_load_missing_config
Tests behavior when the config file is missing.
ai-receipt-generator/tests/test_config_loader.py:41
Method
test_load_missing_config
Test loading a non-existent configuration file
ai-receipt-generator/tests/test_comprehensive.py:438
Method
test_load_valid_config
Test loading a valid configuration file
ai-receipt-generator/tests/test_comprehensive.py:410
Method
test_localization_support
Test that data supports French localization
ai-receipt-generator/tests/test_comprehensive.py:296
Method
test_merchant_data_structure
Test merchant information is properly structured
ai-receipt-generator/tests/test_comprehensive.py:41
Function
test_missing_required_fields
Test handling of missing required fields
ai-receipt-generator/tests/test_api.py:496
Method
test_multiple_generation_uniqueness
Test that multiple generations produce unique data
ai-receipt-generator/tests/test_comprehensive.py:261
Method
test_openai_error_handling
Test OpenAI error handling
ai-receipt-generator/tests/test_comprehensive.py:594
Method
test_openai_generator_initialization
Test OpenAI generator initialization
ai-receipt-generator/tests/test_comprehensive.py:539
Method
test_openai_image_generation
Test OpenAI image generation
ai-receipt-generator/tests/test_comprehensive.py:548
Method
test_openai_text_generation
Test OpenAI text generation
ai-receipt-generator/tests/test_comprehensive.py:574
Method
test_overrides_merchant_name
Test that merchant name override works
ai-receipt-generator/tests/test_comprehensive.py:112
Method
test_overrides_specific_items
Test that specific items override works
ai-receipt-generator/tests/test_comprehensive.py:133
Method
test_overrides_tax_rate
Test that tax rate override works
ai-receipt-generator/tests/test_comprehensive.py:119
Method
test_overrides_total_amount
Test that total amount override generates correct items
ai-receipt-generator/tests/test_comprehensive.py:152
Function
test_parse_receipt_failure
Test receipt parsing failure
ai-receipt-generator/tests/test_api.py:187
Function
test_parse_receipt_success
Test successful receipt parsing
ai-receipt-generator/tests/test_api.py:156
Method
test_performance_requirements
Test that generation meets performance requirements
ai-receipt-generator/tests/test_comprehensive.py:850
Function
test_ping_endpoint
Test ping endpoint
ai-receipt-generator/tests/test_api.py:65
Method
test_prompt_contains_receipt_data
Test that prompt contains the receipt data
ai-receipt-generator/tests/test_comprehensive.py:351
Method
test_prompt_contains_style_data
Test that prompt contains the style configuration
ai-receipt-generator/tests/test_comprehensive.py:361
Method
test_prompt_formatting
Test that prompt is properly formatted
ai-receipt-generator/tests/test_comprehensive.py:371
Method
test_prompt_generation_basic
Test basic prompt generation
ai-receipt-generator/tests/test_comprehensive.py:338
Function
test_resolve_api_key_from_config
Tests resolving API key when it's present in the config.
ai-receipt-generator/tests/test_config_loader.py:58
Function
test_resolve_api_key_from_env
Tests resolving API key from environment variable as a fallback.
ai-receipt-generator/tests/test_config_loader.py:63
Function
test_resolve_api_key_not_found
Tests that None is returned when no key is found.
ai-receipt-generator/tests/test_config_loader.py:80
Function
test_resolve_api_key_prefers_config_over_env
Tests that the config key is preferred over the environment variable.
ai-receipt-generator/tests/test_config_loader.py:74
Function
test_response_headers
Test that response headers are properly set
ai-receipt-generator/tests/test_api.py:516
Function
test_root_endpoint
Test root endpoint
ai-receipt-generator/tests/test_api.py:56
Method
test_save_json_functionality
Test JSON saving functionality
ai-receipt-generator/tests/test_comprehensive.py:220
Function
test_status_endpoint
Test status endpoint
ai-receipt-generator/tests/test_api.py:80
Function
test_total_override_generates_correct_sum
Tests that generated items sum up to the forced total.
ai-receipt-generator/tests/test_core.py:75
Method
test_transaction_amount_calculations
Test that transaction amounts are calculated correctly
ai-receipt-generator/tests/test_comprehensive.py:66
Method
test_transaction_datetime
Test that transaction datetime is properly set
ai-receipt-generator/tests/test_comprehensive.py:174
Function
test_update_config
Test updating configuration
ai-receipt-generator/tests/test_api.py:389
Function
test_validate_config_failure
Tests that an invalid config fails validation and prints an error.
ai-receipt-generator/tests/test_config_loader.py:50
Function
test_validate_config_success
Tests that a valid config passes validation.
ai-receipt-generator/tests/test_config_loader.py:46
Function
test_validate_receipt_batch
Test batch receipt validation
ai-receipt-generator/tests/test_api.py:252
Function
test_validate_receipt_invalid
Test receipt validation with errors
ai-receipt-generator/tests/test_api.py:228
Function
test_validate_receipt_success
Test successful receipt validation
ai-receipt-generator/tests/test_api.py:205
Function
toJSON
()
shared/errors/base.ts:32
Function
update_config
Update receipt generation configuration - **fields**: Configuration fields to update
ai-receipt-generator/src/core/api/router.py:389
Function
update_input
Legacy endpoint for updating input configuration
ai-receipt-generator/src/core/api/router.py:426
Function
valid_config_data
()
ai-receipt-generator/tests/test_config_loader.py:9
Function
validate_receipt
Validate receipt data for consistency and completeness - **receipt_data**: Receipt data to validate - **strict_mode**: Enable strict
ai-receipt-generator/src/core/api/router.py:198
Function
validate_receipts_batch
Validate multiple receipts in batch Returns validation results for all receipts
ai-receipt-generator/src/core/api/router.py:221
Method
wrapper
(exporter_cls: Type['BaseExporter'])
ai-invoice-extractor/exporters/exporter_factory.py:10
← previous
201–296 of 296, ranked by callers