src.llm_interpreter.inputs.test_readers

Test script for validating CSV readers against actual AMMM pipeline output files.

This script tests that all CSV files can be successfully loaded and parsed using the schema definitions and readers.

Author: AMMM Team Created: 2025-04-10 Last Modified: 2025-04-10

Module Contents

src.llm_interpreter.inputs.test_readers.test_csv_readers(results_dir: pathlib.Path | str = 'results/csv') dict[str, Any]

Test CSV readers against actual files.

Parameters:

results_dir – Path to results/csv directory

Returns:

Dictionary with test results and statistics

src.llm_interpreter.inputs.test_readers.test_specific_file(csv_name: str, results_dir: pathlib.Path | str = 'results/csv')

Test loading a specific CSV file with detailed output.

Parameters:
  • csv_name – Name of CSV file (with or without .csv extension)

  • results_dir – Path to results/csv directory