MCPcopy Create free account

hub / github.com/abi/screenshot-to-code / functions

Functions861 in github.com/abi/screenshot-to-code

Functiontest_print_prompt_summary_long_content
()
backend/tests/test_prompt_summary.py:64
Functiontest_print_prompt_summary_no_truncate
()
backend/tests/test_prompt_summary.py:114
Functiontest_process_tasks_batches_replicate_calls
( monkeypatch: pytest.MonkeyPatch, )
backend/tests/test_batching.py:13
Functiontest_promote_temporary_asset_id_returns_permanent_url
( monkeypatch, tmp_path: Path, )
backend/tests/test_uploaded_assets.py:39
Functiontest_provider_session_excludes_extract_assets_without_gemini_key
()
backend/tests/test_agent_tools.py:77
Functiontest_provider_session_excludes_screenshot_preview_when_chromium_unavailable
( monkeypatch: pytest.MonkeyPatch, )
backend/tests/test_agent_tools.py:111
Functiontest_provider_session_includes_extract_assets_with_gemini_key
()
backend/tests/test_agent_tools.py:94
Functiontest_provider_session_includes_screenshot_preview_when_chromium_available
( monkeypatch: pytest.MonkeyPatch, )
backend/tests/test_agent_tools.py:133
Functiontest_prune_deletes_only_old_reports_and_legacy_artifacts
( logs_path: Path, )
backend/tests/test_prompt_reports.py:188
Functiontest_reasoning_summary_part_added_and_done_emits_once
()
backend/tests/test_openai_reasoning_parser.py:38
Functiontest_reasoning_summary_part_skipped_after_summary_delta
()
backend/tests/test_openai_reasoning_parser.py:12
Functiontest_receive_params_marks_websocket_closed_on_disconnect
()
backend/tests/test_websocket_communicator.py:28
Functiontest_record_request_writes_json_report
(logs_path: Path)
backend/tests/test_prompt_reports.py:40
Functiontest_record_usage_updates_report_with_cost
(logs_path: Path)
backend/tests/test_prompt_reports.py:59
Functiontest_remove_background_accepts_data_urls
( monkeypatch: pytest.MonkeyPatch, )
backend/tests/test_batching.py:78
Functiontest_remove_background_batches_calls
( monkeypatch: pytest.MonkeyPatch, )
backend/tests/test_batching.py:40
Functiontest_remove_background_converts_localhost_asset_url_to_data_url
( monkeypatch: pytest.MonkeyPatch, tmp_path: Path, )
backend/tests/test_batching.py:109
Functiontest_remove_background_uses_version_and_normalizes_output
( monkeypatch: pytest.MonkeyPatch, )
backend/tests/test_image_generation_replicate.py:90
Functiontest_rewrites_unversioned_unpkg
()
backend/tests/test_babel_cdn.py:4
Functiontest_rewrites_versioned_and_jsdelivr_and_nonmin
()
backend/tests/test_babel_cdn.py:11
Functiontest_save_assets_emits_byte_parts
( monkeypatch: pytest.MonkeyPatch, tmp_path: Path )
backend/tests/test_tool_image_outputs.py:340
Functiontest_save_assets_promotes_temporary_asset_id
( monkeypatch: pytest.MonkeyPatch, tmp_path: Path, )
backend/tests/test_agent_tool_runtime.py:74
Functiontest_save_assets_tool_input_summary_uses_asset_ids
()
backend/tests/test_agent_tools.py:41
Functiontest_screenshot_preview_reports_capture_failure
( monkeypatch: pytest.MonkeyPatch, )
backend/tests/test_agent_tool_runtime.py:464
Functiontest_screenshot_preview_requires_file_content
()
backend/tests/test_agent_tool_runtime.py:360
Functiontest_screenshot_preview_returns_image_part
( monkeypatch: pytest.MonkeyPatch, tmp_path: Path, )
backend/tests/test_agent_tool_runtime.py:377
Functiontest_send_message_ignores_already_completed_websocket
()
backend/tests/test_websocket_communicator.py:11
Functiontest_snapshot_prompt_falls_back_to_display_text
()
backend/tests/test_update_from_file_snapshot.py:40
Functiontest_snapshot_prompt_prefers_full_text_over_display_text
()
backend/tests/test_update_from_file_snapshot.py:19
Methodtest_sums_all_fields
(self)
backend/tests/test_token_usage.py:18
Methodtest_text_mode_create_generation
Test create generation from text description in text mode.
backend/tests/test_prompts.py:325
Methodtest_text_mode_update_with_history
Test update generation with conversation history in text mode.
backend/tests/test_prompts.py:368
Functiontest_throw_error_ignores_already_completed_websocket
()
backend/tests/test_websocket_communicator.py:57
Functiontest_to_serializable_handles_bytes_and_pydantic_like_objects
()
backend/tests/test_prompt_reports.py:112
Functiontest_to_serializable_uses_standard_base64_for_gemini_inline_bytes
()
backend/tests/test_prompt_reports.py:96
Methodtest_unknown_model_returns_none
(self)
backend/tests/test_token_usage.py:295
Methodtest_update_bootstraps_from_file_state_when_history_is_empty
Update should synthesize a user message from fileState + prompt when history is empty.
backend/tests/test_prompts.py:711
Methodtest_update_history_requires_user_message
(self)
backend/tests/test_prompts.py:790
Methodtest_update_history_with_image_generation_disabled
(self)
backend/tests/test_prompts.py:299
Methodtest_update_requires_history_or_file_state
(self)
backend/tests/test_prompts.py:779
Methodtest_update_with_empty_images_arrays
Test that empty images arrays don't break existing functionality.
backend/tests/test_prompts.py:654
Methodtest_url_with_http_protocol
Test that existing http protocol is preserved.
backend/tests/test_screenshot.py:14
Methodtest_url_with_https_protocol
Test that existing https protocol is preserved.
backend/tests/test_screenshot.py:19
Methodtest_url_with_path_and_params
Test URLs with paths and query parameters.
backend/tests/test_screenshot.py:24
Methodtest_url_with_whitespace
Test that whitespace is stripped.
backend/tests/test_screenshot.py:30
Methodtest_url_without_protocol
Test that URLs without protocol get https:// added.
backend/tests/test_screenshot.py:8
Methodtest_video_create_prefers_gemini_minimal_then_3_1_high
Video create always uses two Gemini variants in fixed order.
backend/tests/test_model_selection.py:88
Methodtest_video_mode_basic_prompt_creation
Test basic video prompt creation in video mode. For video mode with generation_type="create", we now assemble a regular system+user p
backend/tests/test_prompts.py:435
Functiontest_video_update_broadcasts_two_variants
()
backend/tests/test_status_broadcast.py:15
Methodtest_video_update_prefers_gemini_minimal_then_3_1_high
Video update always uses the same two Gemini variants as video create.
backend/tests/test_model_selection.py:105
Methodtest_zero_tokens_zero_cost
(self)
backend/tests/test_token_usage.py:53
Methodtest_zero_total_input_is_zero_percent
(self)
backend/tests/test_token_usage.py:90
FunctiontoggleExpanded
()
frontend/src/components/evals/InputFileSelector.tsx:67
Functiontracking_generate
(prompt: str, api_key: str)
backend/tests/test_batching.py:21
Functiontracking_remove_bg
(image_url: str, api_token: str)
backend/tests/test_batching.py:48
Methodwrapped
(context: PipelineContext)
backend/routes/generate_code.py:151
Methodwrite_to_file
(self, filename: str, content: str)
backend/debug/DebugFileWriter.py:22
FunctionzoomIn
()
frontend/src/components/ImageLightbox.tsx:79
FunctionzoomOut
()
frontend/src/components/ImageLightbox.tsx:83
FunctionzoomToDefault
()
frontend/src/components/ImageLightbox.tsx:89
FunctionzoomToFit
()
frontend/src/components/ImageLightbox.tsx:87
← previous801–861 of 861, ranked by callers