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

import tutorials, statement resources, groups info, interactors and test points #44

Merged
merged 2 commits into from
Nov 13, 2023

Conversation

adilyas
Copy link
Contributor

@adilyas adilyas commented Nov 12, 2023

Добавил загрузку разборов в техе, ресурсов условий, настроек групп, интеракторов и потестовых баллов для команды import_package. Потестил у себя локально на нескольких архивах отсюда(icpc и ioi контесты): http://neerc.ifmo.ru/school/io/2022-2023.html

@adilyas adilyas changed the title import tutorials, statement resources, groups info and test points import tutorials, statement resources, groups info, interactors and test points Nov 12, 2023
Copy link
Collaborator

@niyaznigmatullin niyaznigmatullin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I hope you've tested it, I've looked at it and it seems OK, but in fact, I don't remember what I actually did, it was years ago :)

In new (I mean after 2017 or 2018) polygon packages there is a statement-sections directory. And for instance, tutorial.tex there is exactly the same as what's written in the corresponding field on the web view (I mean without \begin{tutorial}). Maybe we should take it from there. I don't have a strong opinion on that, because if we use sections, we still have to be able to upload old archives, and parsing always should work. There is also an issue that problem.xml doesn't contain any of the sections and statement resources:

@niyaznigmatullin niyaznigmatullin merged commit b82d201 into kunyavskiy:master Nov 13, 2023
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

Successfully merging this pull request may close these issues.

2 participants