Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Open-Bee/DataStudio
/ functions
Functions
1,367 in github.com/Open-Bee/DataStudio
⨍
Functions
1,367
◇
Types & classes
308
↳
Endpoints
27
Method
test_debug_level
Test DEBUG level exists.
tests/utils/test_logging.py:23
Method
test_deep_nesting
Test deeply nested config.
tests/utils/test_config.py:298
Method
test_delay_increases_with_attempts
(self, api)
tests/models/test_openai_api.py:243
Method
test_delay_is_bounded
(self, api)
tests/models/test_openai_api.py:238
Method
test_denormalize_data
(self)
tests/datasets/test_schema_converter.py:264
Method
test_denormalize_empty_list
(self)
tests/datasets/test_schema_converter.py:277
Method
test_denormalize_messages_item
(self)
tests/datasets/test_schema_converter.py:173
Method
test_denormalize_messages_multiple_images
(self)
tests/datasets/test_schema_converter.py:189
Method
test_denormalize_no_schema_key
Items without _original_schema default to standard.
tests/datasets/test_schema_converter.py:198
Method
test_denormalize_standard_item
(self)
tests/datasets/test_schema_converter.py:161
Method
test_detect_both_fields_prefers_messages
When both fields exist, messages takes priority.
tests/datasets/test_schema_converter.py:52
Method
test_detect_consecutive_repetition_chars
Test detect_consecutive_repetition with character repetition.
tests/utils/test_other_utils.py:297
Method
test_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
Method
test_detect_consecutive_repetition_found
Test detect_consecutive_repetition finds repetition.
tests/utils/test_other_utils.py:278
Method
test_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
Method
test_detect_consecutive_repetition_not_found
Test detect_consecutive_repetition with no repetition.
tests/utils/test_other_utils.py:288
Method
test_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
Method
test_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
Method
test_detect_consecutive_repetition_threshold
Test detect_consecutive_repetition with custom threshold.
tests/utils/test_other_utils.py:307
Method
test_detect_from_empty_list
(self)
tests/datasets/test_schema_converter.py:77
Method
test_detect_from_messages_list
(self)
tests/datasets/test_schema_converter.py:71
Method
test_detect_from_standard_list
(self)
tests/datasets/test_schema_converter.py:64
Method
test_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
Method
test_detect_language_chinese
Test detect_language correctly identifies Chinese text.
tests/utils/test_other_utils.py:141
Method
test_detect_language_chinese_char_detected
Test that a single Chinese character is detected as Chinese.
tests/utils/test_other_utils.py:537
Method
test_detect_language_chinese_text
Test detect_language with Chinese text.
tests/utils/test_other_utils.py:521
Method
test_detect_language_empty
Test detect_language with empty string.
tests/utils/test_other_utils.py:160
Method
test_detect_language_empty_string
Test detect_language with empty string.
tests/utils/test_other_utils.py:530
Method
test_detect_language_english
Test detect_language with English text.
tests/utils/test_other_utils.py:134
Method
test_detect_language_english_text
Test detect_language with English text.
tests/utils/test_other_utils.py:514
Method
test_detect_language_mixed
Test detect_language with mixed English and Chinese text.
tests/utils/test_other_utils.py:151
Method
test_detect_messages
(self)
tests/datasets/test_schema_converter.py:43
Method
test_detect_no_conversation_field
Items without conversation fields default to standard.
tests/datasets/test_schema_converter.py:47
Method
test_detect_skips_items_without_fields
(self)
tests/datasets/test_schema_converter.py:80
Method
test_detect_standard
(self)
tests/datasets/test_schema_converter.py:39
Method
test_dfs_nested
Test dfs with nested dict.
tests/utils/test_config.py:119
Method
test_dfs_simple
Test dfs with simple dict.
tests/utils/test_config.py:112
Method
test_dfs_with_list
Test dfs with list.
tests/utils/test_config.py:126
Method
test_dict_config_missing_file_path_raises
Test that dict config without any file path raises ValueError.
tests/datasets/test_data_loader.py:414
Method
test_dict_config_with_file_path
Test that dict config with file_path resolves correctly.
tests/datasets/test_data_loader.py:383
Method
test_dict_config_with_json_path_alias
Test that dict config with json_path alias resolves correctly.
tests/datasets/test_data_loader.py:393
Method
test_dump_nested
Test dumping nested config.
tests/utils/test_config.py:147
Method
test_dump_preserves_types
Test dump preserves data types.
tests/utils/test_config.py:158
Method
test_dump_simple
Test dumping simple config.
tests/utils/test_config.py:136
Method
test_empty_api_key
(self)
tests/models/test_openai_api.py:527
Method
test_empty_conversations
Test DataItem with empty conversations.
tests/operators/test_data_item.py:388
Method
test_empty_conversations
(self)
tests/datasets/test_schema_converter.py:312
Method
test_empty_file_handled_gracefully
Test that an empty checkpoint file is handled gracefully.
tests/utils/test_checkpoint.py:423
Method
test_empty_list
Test cleanup with empty list does not raise.
tests/datasets/test_data_saver.py:370
Method
test_empty_message
Test rewrite decision with empty message.
tests/operators/test_result.py:324
Method
test_empty_messages
(self)
tests/datasets/test_schema_converter.py:317
Method
test_empty_py_file
Test loading empty Python file.
tests/utils/test_config.py:280
Method
test_empty_reason
Test filter decision with empty reason.
tests/operators/test_result.py:318
Method
test_empty_registry_iteration
Test iterating empty registry.
tests/utils/test_registry.py:305
Method
test_encode_image_from_base64_string
Test encoding already base64 encoded string.
tests/models/test_base_api.py:102
Method
test_encode_image_from_bytes
Test encoding from bytes.
tests/models/test_base_api.py:92
Method
test_encode_image_from_pil
Test encoding PIL Image.
tests/models/test_base_api.py:85
Method
test_encode_image_to_base64
Test encode_image_to_base64.
tests/utils/test_other_utils.py:320
Method
test_encode_image_to_base64_with_resize
Test encode_image_to_base64 with resize.
tests/utils/test_other_utils.py:333
Method
test_end_operator
Test end_operator.
tests/utils/test_statistics.py:257
Method
test_end_operator_without_start
Test end_operator without start_operator.
tests/utils/test_statistics.py:429
Method
test_end_pipeline
Test end_pipeline.
tests/utils/test_statistics.py:237
Method
test_end_pipeline_without_start
Test end_pipeline without start_pipeline.
tests/utils/test_statistics.py:436
Method
test_equality
Test equality comparison.
tests/datasets/test_config.py:89
Method
test_error
Test error logging.
tests/utils/test_logging.py:225
Method
test_error_level
Test ERROR level exists.
tests/utils/test_logging.py:35
Method
test_execute_operator_pads_results
Test _execute_operator pads results when operator returns fewer results than items.
tests/pipelines/test_sub_pipeline.py:441
Method
test_execution_order_by_priority
Test that sub-pipelines execute in priority order.
tests/pipelines/test_pipeline.py:163
Method
test_execution_time_property
Test execution_time property.
tests/utils/test_statistics.py:143
Method
test_exists
Test exists method.
tests/utils/test_other_utils.py:436
Method
test_expand_items_empty_list
Test expand_items with empty list.
tests/operators/test_rewriters.py:385
Method
test_expand_items_multi_turn
Test expand_items splits multi-turn into single turns.
tests/operators/test_rewriters.py:370
Method
test_expand_items_preserves_data
Test expand_items preserves conversation data.
tests/operators/test_rewriters.py:377
Method
test_expand_items_single
Test expand_items with single turn.
tests/operators/test_rewriters.py:364
Method
test_export_csv
Test export_csv.
tests/utils/test_statistics.py:360
Method
test_export_csv_custom_path
Test export_csv with custom path.
tests/utils/test_statistics.py:367
Method
test_export_empty_collector
Test exporting empty collector.
tests/utils/test_statistics.py:450
Method
test_export_json
Test export_json.
tests/utils/test_statistics.py:375
Method
test_export_json_custom_path
Test export_json with custom path.
tests/utils/test_statistics.py:382
Method
test_extensions
Test that JsonFormat supports .json extension.
tests/datasets/test_formatters.py:84
Method
test_extensions
Test that JsonlFormat supports .jsonl extension.
tests/datasets/test_formatters.py:185
Method
test_filter_decision_equality
Test FilterDecision equality.
tests/operators/test_result.py:47
Method
test_filter_decision_global
Test FilterDecision with global index (-1).
tests/operators/test_result.py:31
Method
test_filter_decision_is_frozen
Test that FilterDecision is immutable.
tests/operators/test_result.py:41
Method
test_filter_decision_not_rejected
Test FilterDecision for kept item.
tests/operators/test_result.py:36
Method
test_filter_empty_conversations
Test filters handle empty conversations.
tests/operators/test_filters.py:507
Method
test_filter_invalid_json_response
Test filter handles invalid JSON response.
tests/operators/test_mllm.py:382
Method
test_filter_model_error
Test filter handles model error.
tests/operators/test_mllm.py:345
Method
test_filter_removes_items
Test that filter removes items.
tests/pipelines/test_pipeline.py:213
Method
test_filter_special_characters
Test filters handle special characters.
tests/operators/test_filters.py:528
Method
test_filter_unicode_content
Test filters handle unicode content.
tests/operators/test_filters.py:514
Method
test_filter_with_empty_item
Test filter with empty conversations.
tests/operators/test_operator.py:316
Method
test_format_all_qa
Test format_all_qa for multi-turn.
tests/operators/test_data_item.py:271
Method
test_format_content
Test format_content creates formatted string.
tests/operators/test_mllm.py:116
Method
test_format_error_record
Test formatting ERROR level record.
tests/utils/test_logging.py:80
Method
test_format_info_record
Test formatting INFO level record.
tests/utils/test_logging.py:63
Method
test_format_qa_question_only
Test format_qa with question only.
tests/operators/test_data_item.py:253
Method
test_format_qa_with_answer
Test format_qa with question and answer.
tests/operators/test_data_item.py:259
Method
test_format_qa_with_original
Test format_qa with original values.
tests/operators/test_data_item.py:265
Method
test_format_with_color
Test formatting with color enabled.
tests/utils/test_logging.py:97
← previous
next →
701–800 of 1,367, ranked by callers