MCPcopy Create free account

hub / github.com/Open-Bee/DataStudio / functions

Functions1,367 in github.com/Open-Bee/DataStudio

Methodtest_debug_level
Test DEBUG level exists.
tests/utils/test_logging.py:23
Methodtest_deep_nesting
Test deeply nested config.
tests/utils/test_config.py:298
Methodtest_delay_increases_with_attempts
(self, api)
tests/models/test_openai_api.py:243
Methodtest_delay_is_bounded
(self, api)
tests/models/test_openai_api.py:238
Methodtest_denormalize_data
(self)
tests/datasets/test_schema_converter.py:264
Methodtest_denormalize_empty_list
(self)
tests/datasets/test_schema_converter.py:277
Methodtest_denormalize_messages_item
(self)
tests/datasets/test_schema_converter.py:173
Methodtest_denormalize_messages_multiple_images
(self)
tests/datasets/test_schema_converter.py:189
Methodtest_denormalize_no_schema_key
Items without _original_schema default to standard.
tests/datasets/test_schema_converter.py:198
Methodtest_denormalize_standard_item
(self)
tests/datasets/test_schema_converter.py:161
Methodtest_detect_both_fields_prefers_messages
When both fields exist, messages takes priority.
tests/datasets/test_schema_converter.py:52
Methodtest_detect_consecutive_repetition_chars
Test detect_consecutive_repetition with character repetition.
tests/utils/test_other_utils.py:297
Methodtest_detect_consecutive_repetition_formatting_patterns_excluded
Test detect_consecutive_repetition with formatting patterns (|, __, --) returns (False, None) even if repeated.
tests/utils/test_other_utils.py:483
Methodtest_detect_consecutive_repetition_found
Test detect_consecutive_repetition finds repetition.
tests/utils/test_other_utils.py:278
Methodtest_detect_consecutive_repetition_long_text_with_repeats
Test detect_consecutive_repetition with text >= 1000 chars and 10+ consecutive repeats returns (True, pattern).
tests/utils/test_other_utils.py:471
Methodtest_detect_consecutive_repetition_not_found
Test detect_consecutive_repetition with no repetition.
tests/utils/test_other_utils.py:288
Methodtest_detect_consecutive_repetition_short_pattern_not_detected_at_length_one
Test detect_consecutive_repetition skips patterns of length < 2 (the loop starts at length=2).
tests/utils/test_other_utils.py:494
Methodtest_detect_consecutive_repetition_short_text_returns_false
Test detect_consecutive_repetition with text < 1000 chars returns (False, None).
tests/utils/test_other_utils.py:461
Methodtest_detect_consecutive_repetition_threshold
Test detect_consecutive_repetition with custom threshold.
tests/utils/test_other_utils.py:307
Methodtest_detect_from_empty_list
(self)
tests/datasets/test_schema_converter.py:77
Methodtest_detect_from_messages_list
(self)
tests/datasets/test_schema_converter.py:71
Methodtest_detect_from_standard_list
(self)
tests/datasets/test_schema_converter.py:64
Methodtest_detect_language_ascii_char_detected_as_english
Test that a pure ASCII letter string is detected as English.
tests/utils/test_other_utils.py:545
Methodtest_detect_language_chinese
Test detect_language correctly identifies Chinese text.
tests/utils/test_other_utils.py:141
Methodtest_detect_language_chinese_char_detected
Test that a single Chinese character is detected as Chinese.
tests/utils/test_other_utils.py:537
Methodtest_detect_language_chinese_text
Test detect_language with Chinese text.
tests/utils/test_other_utils.py:521
Methodtest_detect_language_empty
Test detect_language with empty string.
tests/utils/test_other_utils.py:160
Methodtest_detect_language_empty_string
Test detect_language with empty string.
tests/utils/test_other_utils.py:530
Methodtest_detect_language_english
Test detect_language with English text.
tests/utils/test_other_utils.py:134
Methodtest_detect_language_english_text
Test detect_language with English text.
tests/utils/test_other_utils.py:514
Methodtest_detect_language_mixed
Test detect_language with mixed English and Chinese text.
tests/utils/test_other_utils.py:151
Methodtest_detect_messages
(self)
tests/datasets/test_schema_converter.py:43
Methodtest_detect_no_conversation_field
Items without conversation fields default to standard.
tests/datasets/test_schema_converter.py:47
Methodtest_detect_skips_items_without_fields
(self)
tests/datasets/test_schema_converter.py:80
Methodtest_detect_standard
(self)
tests/datasets/test_schema_converter.py:39
Methodtest_dfs_nested
Test dfs with nested dict.
tests/utils/test_config.py:119
Methodtest_dfs_simple
Test dfs with simple dict.
tests/utils/test_config.py:112
Methodtest_dfs_with_list
Test dfs with list.
tests/utils/test_config.py:126
Methodtest_dict_config_missing_file_path_raises
Test that dict config without any file path raises ValueError.
tests/datasets/test_data_loader.py:414
Methodtest_dict_config_with_file_path
Test that dict config with file_path resolves correctly.
tests/datasets/test_data_loader.py:383
Methodtest_dict_config_with_json_path_alias
Test that dict config with json_path alias resolves correctly.
tests/datasets/test_data_loader.py:393
Methodtest_dump_nested
Test dumping nested config.
tests/utils/test_config.py:147
Methodtest_dump_preserves_types
Test dump preserves data types.
tests/utils/test_config.py:158
Methodtest_dump_simple
Test dumping simple config.
tests/utils/test_config.py:136
Methodtest_empty_api_key
(self)
tests/models/test_openai_api.py:527
Methodtest_empty_conversations
Test DataItem with empty conversations.
tests/operators/test_data_item.py:388
Methodtest_empty_conversations
(self)
tests/datasets/test_schema_converter.py:312
Methodtest_empty_file_handled_gracefully
Test that an empty checkpoint file is handled gracefully.
tests/utils/test_checkpoint.py:423
Methodtest_empty_list
Test cleanup with empty list does not raise.
tests/datasets/test_data_saver.py:370
Methodtest_empty_message
Test rewrite decision with empty message.
tests/operators/test_result.py:324
Methodtest_empty_messages
(self)
tests/datasets/test_schema_converter.py:317
Methodtest_empty_py_file
Test loading empty Python file.
tests/utils/test_config.py:280
Methodtest_empty_reason
Test filter decision with empty reason.
tests/operators/test_result.py:318
Methodtest_empty_registry_iteration
Test iterating empty registry.
tests/utils/test_registry.py:305
Methodtest_encode_image_from_base64_string
Test encoding already base64 encoded string.
tests/models/test_base_api.py:102
Methodtest_encode_image_from_bytes
Test encoding from bytes.
tests/models/test_base_api.py:92
Methodtest_encode_image_from_pil
Test encoding PIL Image.
tests/models/test_base_api.py:85
Methodtest_encode_image_to_base64
Test encode_image_to_base64.
tests/utils/test_other_utils.py:320
Methodtest_encode_image_to_base64_with_resize
Test encode_image_to_base64 with resize.
tests/utils/test_other_utils.py:333
Methodtest_end_operator
Test end_operator.
tests/utils/test_statistics.py:257
Methodtest_end_operator_without_start
Test end_operator without start_operator.
tests/utils/test_statistics.py:429
Methodtest_end_pipeline
Test end_pipeline.
tests/utils/test_statistics.py:237
Methodtest_end_pipeline_without_start
Test end_pipeline without start_pipeline.
tests/utils/test_statistics.py:436
Methodtest_equality
Test equality comparison.
tests/datasets/test_config.py:89
Methodtest_error
Test error logging.
tests/utils/test_logging.py:225
Methodtest_error_level
Test ERROR level exists.
tests/utils/test_logging.py:35
Methodtest_execute_operator_pads_results
Test _execute_operator pads results when operator returns fewer results than items.
tests/pipelines/test_sub_pipeline.py:441
Methodtest_execution_order_by_priority
Test that sub-pipelines execute in priority order.
tests/pipelines/test_pipeline.py:163
Methodtest_execution_time_property
Test execution_time property.
tests/utils/test_statistics.py:143
Methodtest_exists
Test exists method.
tests/utils/test_other_utils.py:436
Methodtest_expand_items_empty_list
Test expand_items with empty list.
tests/operators/test_rewriters.py:385
Methodtest_expand_items_multi_turn
Test expand_items splits multi-turn into single turns.
tests/operators/test_rewriters.py:370
Methodtest_expand_items_preserves_data
Test expand_items preserves conversation data.
tests/operators/test_rewriters.py:377
Methodtest_expand_items_single
Test expand_items with single turn.
tests/operators/test_rewriters.py:364
Methodtest_export_csv
Test export_csv.
tests/utils/test_statistics.py:360
Methodtest_export_csv_custom_path
Test export_csv with custom path.
tests/utils/test_statistics.py:367
Methodtest_export_empty_collector
Test exporting empty collector.
tests/utils/test_statistics.py:450
Methodtest_export_json
Test export_json.
tests/utils/test_statistics.py:375
Methodtest_export_json_custom_path
Test export_json with custom path.
tests/utils/test_statistics.py:382
Methodtest_extensions
Test that JsonFormat supports .json extension.
tests/datasets/test_formatters.py:84
Methodtest_extensions
Test that JsonlFormat supports .jsonl extension.
tests/datasets/test_formatters.py:185
Methodtest_filter_decision_equality
Test FilterDecision equality.
tests/operators/test_result.py:47
Methodtest_filter_decision_global
Test FilterDecision with global index (-1).
tests/operators/test_result.py:31
Methodtest_filter_decision_is_frozen
Test that FilterDecision is immutable.
tests/operators/test_result.py:41
Methodtest_filter_decision_not_rejected
Test FilterDecision for kept item.
tests/operators/test_result.py:36
Methodtest_filter_empty_conversations
Test filters handle empty conversations.
tests/operators/test_filters.py:507
Methodtest_filter_invalid_json_response
Test filter handles invalid JSON response.
tests/operators/test_mllm.py:382
Methodtest_filter_model_error
Test filter handles model error.
tests/operators/test_mllm.py:345
Methodtest_filter_removes_items
Test that filter removes items.
tests/pipelines/test_pipeline.py:213
Methodtest_filter_special_characters
Test filters handle special characters.
tests/operators/test_filters.py:528
Methodtest_filter_unicode_content
Test filters handle unicode content.
tests/operators/test_filters.py:514
Methodtest_filter_with_empty_item
Test filter with empty conversations.
tests/operators/test_operator.py:316
Methodtest_format_all_qa
Test format_all_qa for multi-turn.
tests/operators/test_data_item.py:271
Methodtest_format_content
Test format_content creates formatted string.
tests/operators/test_mllm.py:116
Methodtest_format_error_record
Test formatting ERROR level record.
tests/utils/test_logging.py:80
Methodtest_format_info_record
Test formatting INFO level record.
tests/utils/test_logging.py:63
Methodtest_format_qa_question_only
Test format_qa with question only.
tests/operators/test_data_item.py:253
Methodtest_format_qa_with_answer
Test format_qa with question and answer.
tests/operators/test_data_item.py:259
Methodtest_format_qa_with_original
Test format_qa with original values.
tests/operators/test_data_item.py:265
Methodtest_format_with_color
Test formatting with color enabled.
tests/utils/test_logging.py:97
← previousnext →701–800 of 1,367, ranked by callers