plexus.data package
The Plexus data packages are for loading and caching data for use in training and evaluating scores. The abstract base class DataCache defines the interface for the various data cache implementations. Each should override the parameters to define whatever parameters it needs, and then implement the load_data method to load a dataframe from the cache.
Submodules
- plexus.data.AWSDataLakeCache module
AWSDataLakeCacheAWSDataLakeCache.ParametersAWSDataLakeCache.__init__()AWSDataLakeCache.download_content_item()AWSDataLakeCache.execute_athena_query()AWSDataLakeCache.execute_batch_athena_queries()AWSDataLakeCache.get_query_results()AWSDataLakeCache.load_dataframe()AWSDataLakeCache.process_content_item()AWSDataLakeCache.split_into_batches()
- plexus.data.DataCache module
- plexus.data.FeedbackItems module
FeedbackItemsFeedbackItems.ParametersFeedbackItems.Parameters.backfill_cellsFeedbackItems.Parameters.cache_fileFeedbackItems.Parameters.column_mappingsFeedbackItems.Parameters.daysFeedbackItems.Parameters.days_must_be_positive()FeedbackItems.Parameters.feedback_idFeedbackItems.Parameters.final_valueFeedbackItems.Parameters.identifier_extractorFeedbackItems.Parameters.initial_valueFeedbackItems.Parameters.limitFeedbackItems.Parameters.limit_must_be_positive()FeedbackItems.Parameters.limit_per_cellFeedbackItems.Parameters.limit_per_cell_must_be_positive()FeedbackItems.Parameters.local_cache_directoryFeedbackItems.Parameters.model_configFeedbackItems.Parameters.scoreFeedbackItems.Parameters.scorecard
FeedbackItems.__init__()FeedbackItems.load_dataframe()
- plexus.data.HuggingFaceDataCache module
- plexus.data.TestDataCache module
- plexus.data.session_manager module
- plexus.data.test_feedback_items module
test_cache_identifier_with_filter_values()test_cache_methods()test_case_insensitive_normalization()test_column_mappings_applied_to_dataset()test_column_mappings_case_sensitivity()test_column_mappings_parameter()test_column_mappings_with_empty_dataset()test_create_dataset_rows_comment_logic()test_create_dataset_rows_handles_missing_edit_comment()test_create_dataset_rows_structure()test_create_dataset_rows_with_data()test_initial_value_and_final_value_parameters()test_parameter_defaults()test_parameter_validation()
- plexus.data.test_feedback_sampling module
MockFeedbackItemMockFeedbackItemsTestFeedbackItemsSamplingTestFeedbackItemsSampling.setUp()TestFeedbackItemsSampling.test_edge_case_empty_items()TestFeedbackItemsSampling.test_edge_case_limit_zero()TestFeedbackItemsSampling.test_scenario_1_fewer_items_than_limit()TestFeedbackItemsSampling.test_scenario_2_prioritize_edit_comments_with_room_for_others()TestFeedbackItemsSampling.test_scenario_3_more_items_with_comments_than_limit()TestFeedbackItemsSampling.test_scenario_4_no_items_with_comments()TestFeedbackItemsSampling.test_scenario_5_all_items_have_comments()
main()