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_large_batch
Test pipeline with large batch.
tests/pipelines/test_sub_pipeline.py:331
Method
test_large_data_batch
Test processing large data batch.
tests/pipelines/test_pipeline.py:250
Method
test_large_qa_idx
Test with large qa_idx.
tests/operators/test_result.py:343
Method
test_len
Test __len__ returns number of batches.
tests/datasets/test_data_loader.py:111
Method
test_length_anomaly_filter_registered
Test LengthAnomalyFilter is registered.
tests/operators/test_filters.py:497
Method
test_load_adds_source_file
Test that load adds file_path to items.
tests/datasets/test_formatters.py:309
Method
test_load_empty_json_array
Test loading an empty JSON array.
tests/datasets/test_formatters.py:95
Method
test_load_empty_jsonl
Test loading an empty JSONL file.
tests/datasets/test_formatters.py:195
Method
test_load_empty_yaml
Test loading empty YAML file.
tests/datasets/test_config.py:212
Method
test_load_file_no_extension
Test loading file without extension.
tests/datasets/test_formatters.py:371
Method
test_load_file_paths
Test loading just file paths from config.
tests/datasets/test_config.py:236
Method
test_load_file_paths_with_data_root
Test loading file paths with data_root prefix.
tests/datasets/test_config.py:242
Method
test_load_file_with_uppercase_extension
Test loading file with uppercase extension.
tests/datasets/test_formatters.py:358
Method
test_load_images_returns_batch_unchanged_when_use_image_false
Test that _load_images_for_batch returns batch unchanged when use_image=False.
tests/datasets/test_data_loader.py:503
Method
test_load_invalid_json
Test loading invalid JSON raises error.
tests/datasets/test_formatters.py:119
Method
test_load_invalid_jsonl_line
Test loading JSONL with invalid line - invalid lines are skipped.
tests/datasets/test_formatters.py:220
Method
test_load_invalid_yaml
Test loading invalid YAML raises error.
tests/datasets/test_config.py:203
Method
test_load_json_file
Test loading JSON file through registry.
tests/datasets/test_formatters.py:297
Method
test_load_json_save_json_preserves_data
Test load JSON -> save JSON preserves data.
tests/datasets/test_formatters_extended.py:211
Method
test_load_jsonl_file
Test loading JSONL file through registry.
tests/datasets/test_formatters.py:303
Method
test_load_jsonl_save_jsonl_preserves_data
Test load JSONL -> save JSONL preserves data.
tests/datasets/test_formatters_extended.py:233
Method
test_load_jsonl_with_blank_lines
Test loading JSONL with blank lines.
tests/datasets/test_formatters.py:204
Method
test_load_messages_schema_save_load_back_preserves_data
Test load messages schema -> save -> load back preserves data.
tests/datasets/test_formatters_extended.py:255
Method
test_load_nonexistent_file
Test loading nonexistent file raises error.
tests/utils/test_config.py:53
Method
test_load_nonexistent_file
Test loading a nonexistent file raises error.
tests/datasets/test_formatters.py:114
Method
test_load_nonexistent_file
Test loading a nonexistent file raises error.
tests/datasets/test_formatters.py:215
Method
test_load_nonexistent_file
Test loading nonexistent file raises error.
tests/datasets/test_config.py:198
Method
test_load_python_file
Test loading Python config file.
tests/utils/test_config.py:42
Method
test_load_removes_rejected_items
Test that load removes 'filtered' and 'rejected' fields.
tests/datasets/test_formatters.py:376
Method
test_load_single_object_json
Test loading a JSON file with single object (not array).
tests/datasets/test_formatters.py:104
Method
test_load_sources_map
Test loading sources map from config.
tests/datasets/test_config.py:252
Method
test_load_str_to_dict_basic_json
Test load_str_to_dict with basic JSON string.
tests/utils/test_other_utils.py:56
Method
test_load_str_to_dict_invalid
Test load_str_to_dict with invalid JSON.
tests/utils/test_other_utils.py:112
Method
test_load_str_to_dict_invalid_returns_string
Test load_str_to_dict returns original string when parsing fails.
tests/utils/test_other_utils.py:83
Method
test_load_str_to_dict_nested
Test load_str_to_dict with nested JSON.
tests/utils/test_other_utils.py:121
Method
test_load_str_to_dict_valid_json
Test load_str_to_dict with valid JSON.
tests/utils/test_other_utils.py:92
Method
test_load_str_to_dict_with_markdown
Test load_str_to_dict with markdown wrapper.
tests/utils/test_other_utils.py:102
Method
test_load_str_to_dict_with_single_quotes
Test load_str_to_dict handles single-quoted JSON via json_repair.
tests/utils/test_other_utils.py:64
Method
test_load_str_to_dict_with_whitespace
Test load_str_to_dict handles JSON with surrounding whitespace.
tests/utils/test_other_utils.py:74
Method
test_load_valid_json
Test loading a valid JSON file.
tests/datasets/test_formatters.py:88
Method
test_load_valid_jsonl
Test loading a valid JSONL file.
tests/datasets/test_formatters.py:189
Method
test_load_with_auto_normalize_converts_messages_to_conversations
Test load with auto_normalize=True converts messages to conversations.
tests/datasets/test_formatters_extended.py:14
Method
test_load_with_auto_normalize_false_preserves_messages_schema
Test load with auto_normalize=False preserves messages schema.
tests/datasets/test_formatters_extended.py:48
Method
test_load_with_base_inheritance
Test loading config with _base_ inheritance.
tests/utils/test_config.py:59
Method
test_load_with_remove_rejected_false_preserves_rejected_field
Test load with remove_rejected=False preserves 'rejected' field.
tests/datasets/test_formatters_extended.py:181
Method
test_load_with_remove_rejected_true_removes_filtered_field
Test load with remove_rejected=True removes 'filtered' field.
tests/datasets/test_formatters_extended.py:159
Method
test_load_with_remove_rejected_true_removes_rejected_field
Test load with remove_rejected=True removes 'rejected' field.
tests/datasets/test_formatters_extended.py:137
Method
test_load_yaml_config
Test loading YAML config file.
tests/datasets/test_config.py:192
Method
test_load_yaml_with_anchors
Test loading YAML with anchors and aliases.
tests/datasets/test_config.py:287
Method
test_load_yaml_with_relative_paths
Test loading config with relative file paths.
tests/datasets/test_config.py:308
Method
test_log_dict_message
Test logging dict as message.
tests/utils/test_logging.py:362
Method
test_log_exception_info
Test logging with exception info.
tests/utils/test_logging.py:351
Method
test_log_metrics_basic
Test logging metrics.
tests/utils/test_logging.py:253
Method
test_log_metrics_empty
Test logging empty metrics.
tests/utils/test_logging.py:263
Method
test_log_metrics_with_step
Test logging metrics with step.
tests/utils/test_logging.py:258
Method
test_log_none_message
Test logging None message.
tests/utils/test_logging.py:333
Method
test_log_stats_basic
Test logging stats.
tests/utils/test_logging.py:278
Method
test_log_stats_without_wandb
Test logging stats without wandb.
tests/utils/test_logging.py:283
Method
test_log_unicode_message
Test logging unicode message.
tests/utils/test_logging.py:339
Method
test_log_very_long_message
Test logging very long message.
tests/utils/test_logging.py:345
Method
test_log_with_args
Test logging with format arguments using f-string.
tests/utils/test_logging.py:233
Method
test_log_with_kwargs
Test logging with kwargs.
tests/utils/test_logging.py:238
Method
test_lower_priority_executes_first
Test that operations with lower priority execute first.
tests/pipelines/test_pipeline.py:390
Method
test_mark_completed
Test mark_completed sets completed status.
tests/utils/test_checkpoint.py:148
Method
test_mark_completed_with_total
Test mark_completed stores total items.
tests/utils/test_checkpoint.py:154
Method
test_mark_kept
Test mark_kept clears rejected flag.
tests/operators/test_data_item.py:292
Method
test_mark_rejected
Test mark_rejected sets rejected flag.
tests/operators/test_data_item.py:287
Method
test_merge_empty_b
Test merge with empty b.
tests/utils/test_config.py:101
Method
test_merge_nested
Test nested dict merge.
tests/utils/test_config.py:94
Method
test_merge_override
Test merge with override.
tests/utils/test_config.py:87
Method
test_merge_simple
Test simple dict merge.
tests/utils/test_config.py:80
Method
test_messages_round_trip
(self)
tests/datasets/test_schema_converter.py:226
Method
test_messages_type
(self)
tests/datasets/test_schema_converter.py:32
Method
test_missing_content_in_message
(self)
tests/datasets/test_schema_converter.py:322
Method
test_missing_role_in_message
(self)
tests/datasets/test_schema_converter.py:327
Method
test_mllm_filter_registered
Test MLLMFilter is registered.
tests/operators/test_mllm.py:404
Method
test_mllm_rewriter_registered
Test MLLMRewriter is registered.
tests/operators/test_mllm.py:410
Method
test_models_registry_exists
Test MODELS registry exists.
tests/utils/test_registry.py:237
Method
test_multiple_iterations
Test multiple iterations over loader.
tests/datasets/test_data_loader.py:365
Method
test_must_implement_generate_inner
Test that subclass must implement generate_inner.
tests/models/test_base_api.py:306
Method
test_name_default
Test default name is class name.
tests/operators/test_operator.py:59
Method
test_name_from_init
Test name set from initialization.
tests/operators/test_operator.py:54
Method
test_negative_item_idx
Test Result with negative item_idx.
tests/operators/test_result.py:338
Method
test_no_items_rejected
Test when no items are rejected.
tests/pipelines/test_sub_pipeline.py:284
Method
test_norm_think_rewriter_registered
Test NormThinkRewriter is registered.
tests/operators/test_rewriters.py:400
Method
test_normalize_data
(self)
tests/datasets/test_schema_converter.py:258
Method
test_normalize_empty_list
(self)
tests/datasets/test_schema_converter.py:274
Method
test_normalize_item_without_conversations_or_messages
(self)
tests/datasets/test_schema_converter.py:306
Method
test_normalize_messages_empty_images
(self)
tests/datasets/test_schema_converter.py:130
Method
test_normalize_messages_item
(self)
tests/datasets/test_schema_converter.py:104
Method
test_normalize_messages_multiple_images
(self)
tests/datasets/test_schema_converter.py:122
Method
test_normalize_messages_preserves_extra_fields
(self)
tests/datasets/test_schema_converter.py:138
Method
test_normalize_standard_item
(self)
tests/datasets/test_schema_converter.py:91
Method
test_normalize_system_role
(self)
tests/datasets/test_schema_converter.py:146
Method
test_odd_number_messages
Test DataItem with odd number of messages.
tests/operators/test_data_item.py:400
Method
test_operator_raises_exception
Test pipeline handles operator exception.
tests/pipelines/test_sub_pipeline.py:349
Method
test_operator_result_is_result
Test that OperatorResult is alias for Result.
tests/operators/test_result.py:305
Method
test_operators_contains_all_filter_types
Test OPERATORS contains all filter types.
tests/utils/test_registry.py:383
Method
test_operators_contains_all_rewriter_types
Test OPERATORS contains all rewriter types.
tests/utils/test_registry.py:397
Method
test_operators_contains_mllm_operators
Test OPERATORS contains MLLM operators.
tests/utils/test_registry.py:415
← previous
next →
1,001–1,100 of 1,367, ranked by callers