-
Notifications
You must be signed in to change notification settings - Fork 9
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
CONTEXT not updated #130
Comments
This is really important to make dynamic feedback. |
This is just a bug no ? |
Yes. |
I realy woud like to start the second semester with this bug fixed on the production because more people will write exercises directly on PL and it's an important feature |
Le bug est dans le code suivant (playexo/model/sessionexerciceabstract)
|
any progress on this ?? |
It's fixed, currently on full_editor, will be merge on 0.5.0 with #163 |
excellent |
If you could check over pl-test4 that it's working as intended. |
Context is now updated |
To avoid miscommunications about bugs and behaviors. Perhaps we should turn into smaller cycles of development with less ambitious enhancement (just split them could be enough). Also, print the number of the current version of PL-server being run inside the GUI is more and more becoming critical since users are reporting bugs in all direction (without citing the machine, the url, the run version, verbally only, false bug, not reproducible, etc... ). For this issue #130, on https://pl.u-pem.fr/, this 6 February, defining context['click'] = 0 in my build and applying context['click'] += 1 in my grader, the variable context['click'] stay at 1 after the first run of my grader and stay at 1 event I click submit severals times. I have evidences that my grader is well running since other content are well upated (context['text'] and context['form'] seems to me well updates).This behavior is obtained with the following ressource https://github.com/nborie/OSbank/blob/master/exercises/MCQ/generalities/parametrized_MCQ.pl |
Problem may come from the fact the we don't send the context again to the sandbox once the exercise is build. |
The bug seams to be solved will be closed when in PRODUCTION ;) |
On preprod, on the version 0.6.0 The context is no more updated (text, form, any_key in context, ...) |
If the problem is that the exercice is not refreshed after an evaluation, like for #248, this issue is fixed on fix-239 branch that will be integrated to the next release. |
There is good chance that all this stuff is related... I am ready to re-close it once PL resources will be back functionning ! |
@qcoumes is this closed ? |
It is OK for me on prod... |
you mean it's ok on prod |
did the following in an evaluator (qcm_evaluator.pl in python-pl-bank )
dic["text"]=" Berk"
output(100," bravo" , dic)
the old text was still visible.
The text was updated successfully, but these errors were encountered: