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

Code compilation result pages broken #1213

Open
ojas1 opened this issue Jul 3, 2020 · 2 comments
Open

Code compilation result pages broken #1213

ojas1 opened this issue Jul 3, 2020 · 2 comments

Comments

@ojas1
Copy link
Contributor

ojas1 commented Jul 3, 2020

The submission*.html files are generated by submitting code for compilation from lab.html page. These pages are not being rendered as expected and do not function.

@ojas1
Copy link
Contributor Author

ojas1 commented Jul 3, 2020

Cause

A submission file is generated by src/lab/exp[n]/judge.py for each experiment. This script uses multiple partial HTML snippets that are stored in separate HTML files prefixed by content. Example: content1.html, content1_1.html etc. The analytics script assumes that each html file it is applied to is a complete html file and when it finds an incomplete html file it automatically completes the structure. This results in changing the structure of content files which are supposed to be incomplete.

Solution

Ignore content files while applying analytics to HTML files.

@ojas1
Copy link
Contributor Author

ojas1 commented Jul 3, 2020

fixed in v1.1.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant