# Execution Log: Phase 3 (Testing)

**Date:** 2026-05-13

## Tasks Executed
- [x] Testing (Uji Coba Dokumen 1): Executed `scripts/Testing-Pipeline/benchmark_parsing.py` against `Literature/RAGAS Automated Evaluation of Retrieval Augmented Generation.pdf`.
  - Encountered an initial `ModuleNotFoundError: No module named 'psutil'` error.
  - Rectified by properly installing dependencies within the local virtual environment (`source venv/bin/activate && pip install psutil fitz pymupdf`).
  - Encountered a secondary `ModuleNotFoundError: No module named 'frontend'` error related to `fitz`.
  - Diagnosed that `fitz` the package was conflicting with `PyMuPDF`. Rectified by uninstalling `fitz` and `pymupdf`, and reinstalling solely `PyMuPDF`.
  - Execution succeeded. The output markdown was saved successfully, and the matrix row was correctly appended. The matrix effectively captured `Peak RAM` (458.4 MB) and `Peak CPU` (330.0%).
- [x] Testing (Uji Coba Dokumen 2): Modified `benchmark_parsing.py` to comment out the first target and uncomment the second target (`Literature/SciLit Joint Literature Discovery, Summarization and Citation Generation.pdf`).
  - Execution succeeded.
  - Verified `archive/Testing-Pipeline/benchmark-parsing/Perform-Matrix/performance_matrix_parsing.md`. The row for the second document was correctly appended below the first row without overwriting it. It properly captured the execution time (32.84s), output length (50497 chars), Peak RAM (503.3 MB), and Peak CPU (374.0%).

## Activity Details
- Successfully diagnosed and corrected virtual environment package conflicts.
- Verified that output logs and output parsing files correspond correctly to the sanitized filenames.
- Ensured strict code-level constraints were maintained (no `app/` folder files were altered).

## Status
Phase 3 tasks completed successfully. The parsing benchmark pipeline has been fully executed, tested, and validated according to the Artifact Plan.