-
Notifications
You must be signed in to change notification settings - Fork 2
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
Refactor the report export function to fit in refactored TestEvaluato… #95
Conversation
…ty_items' into prep-checklist-for-sys-dev
…functionality-to-export-the-checklist-in-htmlpdf-format-for-visualization' into prep-checklist-for-sys-dev
…-the-checklist-in-htmlpdf-format-for-visualization' into prep-checklist-for-sys-dev
…r codes. Add demo notebook
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.
@tonyshumlh Please see comments. Otherwise I think it is quite decent - will merge it once I have resolved the code duplication.
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.
@tonyshumlh I have done the refactoring we have discussed this afternoon. If you are OK with the changes, let's merge it into main
. Thanks!
@JohnShiuMK Tested with the Command Line demo and Notebook demo. Look good to me |
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.
It throws runtime error when run python
src/test_creation/analyze.py checklist_path repo_path . html ,
python src/test_creation/analyze.py checklist_path repo_path ./report.html pdf and
python src/test_creation/analyze.py checklist_path repo_path ./report.pdf htmlor
python src/test_creation/analyze.py checklist_path repo_path ./report html`
![image](https://private-user-images.githubusercontent.com/108684429/333700094-e8a9f64b-6c30-4759-8046-b88f01cb414f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjI2NjMwNjYsIm5iZiI6MTcyMjY2Mjc2NiwicGF0aCI6Ii8xMDg2ODQ0MjkvMzMzNzAwMDk0LWU4YTlmNjRiLTZjMzAtNDc1OS04MDQ2LWI4OGYwMWNiNDE0Zi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODAzJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgwM1QwNTI2MDZaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT00MGE4YWMyOWYxMjU5ZWVhZWU5NWI5OWU4ZjkxYzRlZjcwZDNmZThiNjgxMTU1MzNjZWVmYTljMmI3Mzg2NDVkJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.DoZeA4YkJAwjKI2kmAQ1hvV58XokjJSv6hHCyMpnMYI)
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.
pending Orix to fix it
@jinyz8888 to review it
checks added to see if the provided filename:
Please feel free to test the commands again - they now should raise our own errors instead of Should be ready to merge now. Will write tests after converting our project into an installable package. |
@JohnShiuMK I tested the functionality. Ready to merge |
@SoloSynth1 there seems a bit formatting issue for Quarto export. I have given some comment |
…kdown' in checklist.py
@JohnShiuMK please help with the review and merge. Thank you |
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.
all good, thanks!
Refactor the report export function to fit in refactored TestEvaluator codes. Add demo notebook