-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix testcases for updated model #73
base: main
Are you sure you want to change the base?
Conversation
PR Reviewer Guide 🔍(Review updated until commit 9aa3f48)Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
Persistent review updated to latest commit 9aa3f48 |
PR Code Suggestions ✨Explore these optional code suggestions:
|
tests/outputs/correct_pdf_output.txt
Outdated
@@ -1,137 +1,43 @@ | |||
STOXX INDEX METHODOLOGY GUIDE CONTENTS | |||
John Doe |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If I recall correctly, this is a demo file that Rachel was using. However, the output looks completely different from before and are you sure this is the correct output?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changed to input file due to model output instability for now
User description
Description
Update the ground truth to match the output of updated anyparser model
Related Issue
Type of Change
How Has This Been Tested?
Screenshots (if applicable)
Checklist
Additional Notes
PR Type
Bug fix, Tests
Description
tests/test.py
to use a new sample file (resume_1.pdf
) and improved parameter formatting for readability.correct_docx_output.txt
,correct_pdf_output.txt
,correct_png_output.txt
,correct_pptx_output.txt
) to align with the updated model outputs.Changes walkthrough 📝
test.py
Update test cases to align with new model and file structure
tests/test.py
resume_1.pdf
) instead ofthe previous file.
async_parse
method to improve readability by formattingparameters across multiple lines.
test cases.
correct_docx_output.txt
Update ground truth for DOCX output with formatting fixes
tests/outputs/correct_docx_output.txt
correct_pdf_output.txt
Replace PDF ground truth with updated resume-based content
tests/outputs/correct_pdf_output.txt
correct_png_output.txt
Update PNG ground truth with consistent table formatting
tests/outputs/correct_png_output.txt
correct_pptx_output.txt
Update PPTX ground truth with improved formatting
tests/outputs/correct_pptx_output.txt