plexus.data.test_feedback_items module
Tests for FeedbackItems data cache. This module validates that the class can be instantiated and parameters are validated correctly.
- plexus.data.test_feedback_items.test_cache_identifier_with_filter_values()
Test cache identifier generation includes filter values.
- plexus.data.test_feedback_items.test_cache_methods()
Test cache-related methods.
- plexus.data.test_feedback_items.test_case_insensitive_normalization()
Test case-insensitive normalization of filter values.
- plexus.data.test_feedback_items.test_column_mappings_applied_to_dataset()
Test that column mappings are correctly applied when creating dataset rows.
- plexus.data.test_feedback_items.test_column_mappings_case_sensitivity()
Test that column mappings are case-sensitive.
- plexus.data.test_feedback_items.test_column_mappings_parameter()
Test the column_mappings parameter validation and usage.
- plexus.data.test_feedback_items.test_column_mappings_with_empty_dataset()
Test that column mappings work correctly with empty datasets.
- plexus.data.test_feedback_items.test_create_dataset_rows_comment_logic()
Test the comment logic in _create_dataset_rows.
- plexus.data.test_feedback_items.test_create_dataset_rows_fails_when_item_metadata_missing()
Feedback-backed evaluation rows must fail fast if related item metadata is missing.
- plexus.data.test_feedback_items.test_create_dataset_rows_handles_missing_edit_comment()
Test that _create_dataset_rows handles missing edit comments correctly.
- plexus.data.test_feedback_items.test_create_dataset_rows_skips_unresolved_labels_and_reports_ids()
Test unresolved feedback items are skipped with deterministic skip reporting.
- plexus.data.test_feedback_items.test_create_dataset_rows_structure()
Test that _create_dataset_rows creates the correct column structure.
- plexus.data.test_feedback_items.test_create_dataset_rows_with_data()
Test that _create_dataset_rows creates correct data with actual feedback items.
- plexus.data.test_feedback_items.test_fetch_feedback_items_for_scores_excludes_invalid_items()
Ensure invalidated feedback items are excluded before sampling.
- plexus.data.test_feedback_items.test_initial_value_and_final_value_parameters()
Test the new initial_value and final_value parameters.
- plexus.data.test_feedback_items.test_parameter_defaults()
Test that new parameters have correct defaults.
- plexus.data.test_feedback_items.test_parameter_validation()
Test parameter validation.
- plexus.data.test_feedback_items.test_reference_label_resolution_imported_and_unresolved()
Test imported example label usage and unresolved outcomes.
- plexus.data.test_feedback_items.test_reference_label_resolution_priority()
Test deterministic label-source priority for reference dataset builds.