MCPcopy Create free account

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

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

Methodtest_call_preserves_extra_fields
Test pipeline preserves extra fields in data.
tests/pipelines/test_sub_pipeline.py:213
Methodtest_call_returns_batch
Test __call__ returns a batch.
tests/datasets/test_data_loader.py:171
Methodtest_call_separates_rejected
Test that rejected items are separated.
tests/datasets/test_data_saver.py:94
Methodtest_call_single_item
Test pipeline call with single item.
tests/pipelines/test_pipeline.py:108
Methodtest_call_with_all_rejected
Test __call__ with data where all items get rejected.
tests/pipelines/test_pipeline.py:350
Methodtest_call_with_empty_list
Test __call__ with empty list returns empty list.
tests/pipelines/test_pipeline.py:344
Methodtest_call_with_empty_list
Test __call__ with empty list.
tests/datasets/test_data_saver.py:84
Methodtest_call_with_filter
Test pipeline with filter operator.
tests/pipelines/test_sub_pipeline.py:190
Methodtest_call_with_rewriter
Test pipeline with rewriter operator.
tests/pipelines/test_sub_pipeline.py:200
Methodtest_call_with_single_item
Test __call__ with single item.
tests/datasets/test_data_saver.py:89
Methodtest_cannot_instantiate_base_api
Test that BaseAPI cannot be instantiated directly.
tests/models/test_base_api.py:297
Methodtest_cannot_instantiate_filter_without_check
Test that Filter subclass can be instantiated (check has default impl).
tests/operators/test_operator.py:292
Methodtest_cannot_instantiate_operator
Test that Operator cannot be instantiated.
tests/operators/test_operator.py:287
Methodtest_cannot_instantiate_rewriter_without_rewrite
Test that Rewriter subclass can be instantiated (rewrite has default impl).
tests/operators/test_operator.py:302
Methodtest_check_consecutive_chars
Test check detects consecutive character repetition.
tests/operators/test_filters.py:468
Methodtest_check_content_text_only
Test check_content with text string.
tests/models/test_base_api.py:118
Methodtest_check_content_with_dict
Test check_content with dict.
tests/models/test_base_api.py:123
Methodtest_check_content_with_list_dict
Test check_content with list of dicts.
tests/models/test_base_api.py:133
Methodtest_check_content_with_list_str
Test check_content with list of strings.
tests/models/test_base_api.py:128
Methodtest_check_empty_extension
Test check handles empty extension.
tests/operators/test_filters.py:282
Methodtest_check_excluded_extension
Test check rejects excluded extension.
tests/operators/test_filters.py:267
Methodtest_check_extreme_ratio
Test check rejects extreme aspect ratio.
tests/operators/test_filters.py:212
Methodtest_check_image_too_small
Test check rejects too small image.
tests/operators/test_filters.py:152
Methodtest_check_keep
Test check that keeps.
tests/operators/test_operator.py:158
Methodtest_check_no_image
Test check passes when no image.
tests/operators/test_filters.py:190
Methodtest_check_no_image
Test check passes when no image (item-level filter returns False).
tests/operators/test_filters.py:248
Methodtest_check_no_image_not_required
Test check passes when no image and not required.
tests/operators/test_filters.py:121
Methodtest_check_no_image_required
Test check rejects when no image but required.
tests/operators/test_filters.py:126
Methodtest_check_no_repetition
Test check passes for non-repetitive text.
tests/operators/test_filters.py:446
Methodtest_check_no_tags
Test check passes when no image/video tags.
tests/operators/test_filters.py:379
Methodtest_check_processed
Test checking already processed dataset.
tests/datasets/test_saver_components.py:197
Methodtest_check_question
Test checking question length.
tests/operators/test_filters.py:355
Methodtest_check_reject
Test check that rejects.
tests/operators/test_operator.py:151
Methodtest_check_returns_tuple
Test check returns (rejected, reason) tuple.
tests/operators/test_operator.py:141
Methodtest_check_tag_in_question_ok
Test check allows tags in question.
tests/operators/test_filters.py:412
Methodtest_check_too_long
Test process rejects too long conversation (qa_count > max_length).
tests/operators/test_filters.py:80
Methodtest_check_too_long
Test check rejects too long text.
tests/operators/test_filters.py:341
Methodtest_check_too_short
Test process rejects too short conversation (qa_count < min_length).
tests/operators/test_filters.py:66
Methodtest_check_too_short
Test check rejects too short text.
tests/operators/test_filters.py:327
Methodtest_check_unprocessed
Test checking unprocessed dataset.
tests/datasets/test_saver_components.py:191
Methodtest_check_valid_extension
Test check passes for valid extension.
tests/operators/test_filters.py:253
Methodtest_check_valid_image
Test check passes for valid image size.
tests/operators/test_filters.py:133
Methodtest_check_valid_length
Test check passes for valid length.
tests/operators/test_filters.py:53
Methodtest_check_valid_length
Test check passes for valid length.
tests/operators/test_filters.py:322
Methodtest_check_valid_ratio
Test check passes for valid aspect ratio.
tests/operators/test_filters.py:195
Methodtest_check_with_image_tag
Test check rejects response with image tag.
tests/operators/test_filters.py:384
Methodtest_check_with_repetition
Test check rejects repetitive text (needs 1000+ chars with 10+ repeats).
tests/operators/test_filters.py:451
Methodtest_check_with_video_tag
Test check rejects response with video tag.
tests/operators/test_filters.py:398
Methodtest_checkpoint_file_format
Test checkpoint file is valid JSON.
tests/utils/test_checkpoint.py:233
Methodtest_checkpoint_persists_across_instances
Test checkpoint persists across manager instances.
tests/utils/test_checkpoint.py:220
Methodtest_clean_clears_buffer
Test that clean clears the data buffer.
tests/datasets/test_data_saver.py:254
Methodtest_clean_item
Test cleaning data item.
tests/datasets/test_saver_components.py:46
Methodtest_clear_all
Test clearing all checkpoints.
tests/utils/test_checkpoint.py:202
Methodtest_clear_nonexistent
Test clearing nonexistent checkpoint.
tests/utils/test_checkpoint.py:212
Methodtest_clear_specific_file
Test clearing checkpoint for specific file.
tests/utils/test_checkpoint.py:194
Methodtest_close
Test closing logger.
tests/utils/test_logging.py:292
Methodtest_close_all
Test close_all method.
tests/utils/test_other_utils.py:449
Methodtest_close_multiple_times
Test closing logger multiple times.
tests/utils/test_logging.py:302
Methodtest_cnt_data_increments_after_save
Test cnt_data increments after save.
tests/datasets/test_data_saver.py:398
Methodtest_cnt_rejected_data_increments_after_save
Test cnt_rejected_data increments after save with rejected items.
tests/datasets/test_data_saver.py:409
Methodtest_concurrent_generation
Test concurrent generation.
tests/models/test_base_api.py:287
Methodtest_concurrent_updates
Test handling concurrent updates (basic).
tests/utils/test_checkpoint.py:279
Methodtest_contains_existing
Test __contains__ for existing module.
tests/utils/test_registry.py:147
Methodtest_contains_nonexistent
Test __contains__ for nonexistent module.
tests/utils/test_registry.py:151
Methodtest_conv_length_filter_registered
Test ConvLengthFilter is registered.
tests/operators/test_filters.py:485
Methodtest_conversations_property
Test conversations property.
tests/operators/test_data_item.py:121
Methodtest_copy_image_bytes
Test copy_image with bytes.
tests/operators/test_mllm.py:29
Methodtest_copy_image_none
Test copy_image with None.
tests/operators/test_mllm.py:24
Methodtest_copy_image_pil
Test copy_image with PIL Image returns the same reference.
tests/operators/test_mllm.py:35
Methodtest_corrupt_file_allows_new_updates
Test that after corrupt file, new updates work normally.
tests/utils/test_checkpoint.py:398
Methodtest_corrupt_file_with_logger_warns
Test that a corrupt file logs a warning when logger is provided.
tests/utils/test_checkpoint.py:412
Methodtest_corrupt_json_file_handled_gracefully
Test that a corrupt checkpoint file results in empty checkpoints.
tests/utils/test_checkpoint.py:386
Methodtest_counters_accumulate_across_multiple_saves
Test counters accumulate across multiple saves.
tests/datasets/test_data_saver.py:421
Methodtest_create_basic
Test creating basic OperatorStats.
tests/utils/test_statistics.py:32
Methodtest_create_basic
Test creating basic DatasetStats.
tests/utils/test_statistics.py:105
Methodtest_create_basic
Test creating basic PipelineStats.
tests/utils/test_statistics.py:129
Methodtest_create_config_from_file_paths
Test creating config from file paths.
tests/datasets/test_config.py:258
Methodtest_create_config_with_data_sizes
Test creating config with data sizes.
tests/datasets/test_config.py:275
Methodtest_create_config_with_sources
Test creating config with source mapping.
tests/datasets/test_config.py:266
Methodtest_create_empty
Test creating empty StandardConfig.
tests/datasets/test_config.py:102
Methodtest_create_filter_decision
Test creating FilterDecision.
tests/operators/test_result.py:24
Methodtest_create_operator_result
Test creating OperatorResult.
tests/operators/test_result.py:309
Methodtest_create_qa
Test creating QA instance.
tests/operators/test_data_item.py:25
Methodtest_create_result
Test creating Result.
tests/operators/test_result.py:108
Methodtest_create_result_with_decisions
Test creating Result with existing decisions.
tests/operators/test_result.py:115
Methodtest_create_rewrite_decision
Test creating RewriteDecision.
tests/operators/test_result.py:60
Methodtest_create_with_all_fields
Test creating DatasetConfig with all fields.
tests/datasets/test_config.py:30
Methodtest_create_with_datasets
Test creating with dataset configs.
tests/datasets/test_config.py:108
Methodtest_create_with_required_fields
Test creating DatasetConfig with required fields only.
tests/datasets/test_config.py:24
Methodtest_critical
Test critical logging.
tests/utils/test_logging.py:229
Methodtest_critical_level
Test CRITICAL level exists.
tests/utils/test_logging.py:39
Methodtest_custom_kwargs_passed_through
(self)
tests/models/test_openai_api.py:536
Methodtest_data_property
Test data property returns underlying dict.
tests/operators/test_data_item.py:116
Methodtest_dataloader_contains_standard_data_loader
Test DATALOADER contains StandardDataLoader.
tests/utils/test_registry.py:432
Methodtest_dataloader_has_standard
Test DATALOADER registry has StandardDataLoader.
tests/utils/test_registry.py:276
Methodtest_dataloader_registry_exists
Test DATALOADER registry exists.
tests/utils/test_registry.py:222
Methodtest_datasaver_contains_standard_data_saver
Test DATASAVER contains StandardDataSaver.
tests/utils/test_registry.py:436
Methodtest_datasaver_has_standard
Test DATASAVER registry has StandardDataSaver.
tests/utils/test_registry.py:280
Methodtest_datasaver_registry_exists
Test DATASAVER registry exists.
tests/utils/test_registry.py:242
Methodtest_debug
Test debug logging.
tests/utils/test_logging.py:213
← previousnext →601–700 of 1,367, ranked by callers