Skip to content
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

Show which solution could not be compiled to pdf when errors happen #20

Open
lgabs opened this issue Nov 15, 2024 · 3 comments
Open

Show which solution could not be compiled to pdf when errors happen #20

lgabs opened this issue Nov 15, 2024 · 3 comments
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@lgabs
Copy link
Owner

lgabs commented Nov 15, 2024

Context

In the README, the troubleshooting section describes common errors when running the package. Pdf compilation can fail when some solution has some syntax error, since they can happen as they are generated by a llm. Currently, when this happens, it's not clear which solution has wrong syntax.

Objective

In the generate_pdf.py, check the syntax for each question and throw an error if one or more questions have wrong syntax, so that the user can fix them.

This check could be some pylatex method for syntax check (I'm not sure there is one) or trying to compile each question individually.

@lgabs lgabs added enhancement New feature or request good first issue Good for newcomers labels Nov 15, 2024
@Krishn1412
Copy link
Contributor

Hello @lgabs ,
Can I pick up this issue?

@lgabs
Copy link
Owner Author

lgabs commented Nov 17, 2024

@Krishn1412, for sure! Thank you for the interest in this project 🙏

@Krishn1412
Copy link
Contributor

Hey @lgabs, I have raised a PR, could you review it?
#21

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants