marshall62 / msadmin Goto Github PK
View Code? Open in Web Editor NEWAdmin tools for configuring Mathspring
Admin tools for configuring Mathspring
This involves:
Snapshot should be 'warned' to make a problem with status='ready'.
The “Preview” is launching MathSpring on woj, and on rose. This has to be changed to point to AWS: http://ec2-34-239-246-100.compute-1.amazonaws.com
file uploads can be slow in quickAuth problems and hints. They need a progress bar.
Hints especially problematic because save happens when dialog closes and there is no indication
of upload happening
Generate a list of tables that MSAdmin accesses?
Maybe create a new schema.
“No spaces” in the file names for images or sounds is horrible. So hard, complicated, unnecessary (Ivon, 10/5/18)
Students who login to a class that uses strategies should get assigned a strategy at login time. It should try to load-balance the available strategies used by the class across logins.
Currently I am hand-assigning students to a strategy with db manual edit
If I create a new SC and give it an IS the easiest way to set up the default params for that IS (that would go into the is_param_sc table) is to use the scismap admin form.
But because the name of param comes from is_param_base I have to use a function to get this value. I used to have the name field in the is_param_sc table so that I could use the tabular inline to add params.
I need some way to select (pulldown?) a parameter name from the base IS params...
The current awkward workaround is to go to the InterventionSelectorParam admin form and create the variable/values there for each one I want in there. Once created, you can then see them in scismap form.
Refreshing the page and trying to open the Edit Hint dialog does not recreate the hint URL for the image thumbnail correctly
Eg. The link shows up as:
http://rose.cs.umass.edu/msadmin/qauth/prob/save/undefinedhint_7358/mvn-conditional.png
Instead of:
http://rose.cs.umass.edu/mathspring/mscontent/html5Probs/qa/problem_1589/hint_7358/mvn-conditional.png
This leads to a 404 in the msadmin tool.
A possibly related issue is that subsequent changes to image placement options are not propagated to the database. It is only reflected if you make the changes the first time you upload / reupload an image.
When altering/creating a Topic, the JSON code for the language has to be correctly saved/generated.
problemgroup_description_multi_language has to be updated
If I want to add a new param to an IS it is a pain in the ass especially if I want the param to have several legal values. Currently, I find myself using 4 different forms to get this done. It should be at most two.
after checking the boxes to turn off interventions this doesn't get saved when I return to the strategy.
Need a "save" button to commit these changes
Hi all,
if you run the following query, you should see that these two columns match, but they don't. Many times, the gradeFromStandard is empty, and we rely on it for Neeraj's script that updates the problem difficulty. Can you please fix in the rose database (towards the past), and save the correct value when a problem is saved (towards future problem creation)?
select id, gradeFromStandard, left(standardID,1)
from problem
where status='ready'
Note that, when the grade is a letter, the gradeFromStandard should be 9.
Want to be able to hover over the SC so I can get a brief description of what it does (Maybe this could
just collect the brief descrs of its intervention selectors + its params)
I added HighlightHintIS to the MiniGames SC. I then deleted class 1022's miniGame strategy and then added it. When I opened the miniGame SC, the HighlightHintIS is there but its params are all OFF.
THe is_param_base and maybe the is_param_sc should have an isActive setting to set whether the param is active by default and that value should then be used to initialize the is_param_class when it is created.
I have seen a few problems that don't show the last hint, when played as examples at the beginning of a topic. Could you check if this is the case?
If they are flash, the "play next step" doesn't work, I might need to disable those from being playable as examples.
--Ivon
I am running into bugs because some topics were created with no introductions (intro).
I am editing the database directly to re-use some of the old topic introductions.
First --how do I upload a new introduction into the system? It would be an html file, or alike.
Second --please make sure that it is not allowed to create a new topic without an introduction.
Tom (@perspegrity5) suggested that it would be convenient to have an option to download all the media associated with a problem, especially when the same media needs to be reused (e.g. creating a Spanish problem from an existing English one)
This would involve having a button on the UI, and a script that zips the relevant content and returns it.
Example:
If a strategy row does not have a learning companion assigned and then we add this strategy to a class,
it will fail during creation. We are then left with a partial set of objects.
If we use the delete strategy from the class page, this will fail because of the incompleteness.
Solution: Rework the deletion routines so that they get rid of everything associated with a strategy even if its an incomplete structure.
Have the foreign keys on all class related tables behave so that deletes cascade so that all we have to do is delete the class_strategy and then all the other rows associated with it are deleted through the FKs.
Secondly, on creation, if there is a failure, we should rollback the partial structure.
“Replace main figure” with a figure uploaded in the hint, does not work. It does not replace the main figure of the problem with the one indicated/uploaded in the hint. (Ivon, 10/4/18)
Given a topic, assign to standards, delete a standard.
Remove the minus sign button for deleting hints. Make the Save button pass the hints to be deleted.
Move the Save button below the hints table.
When saving a problem, we should update a timestamp, so that we can move problems that go beyond a certain date.
Empathy based SCs need a learning companion class in order to have a level of empathy and a character.
The learning companion is only set in the sc_class. Seems like one should be set in the strategyComponent as a default which would be copied into the class. The problem with this is that it would also set Jane/Jake as the default.
Can also look at PNG to JPEG conversion.
This is an example of one that doecsn't generally fit in the screen:
1560 | 7GB5_4 | Supplementary, complementary, vertical, and adjacent angles_4 | 0.75 | 7.G.5 |
---|
Reduce to 75% of this size? That would the max height.
--Ivon
Neeraj moved a new definition for the problemgroup table, which includes english and spanish.
The code for Topic creation in MSAdmin should reflect this language format also.
Answers don't work in this one? Exceptions thrown.
After hint dialog closes it may need to update the media file list if the hint had media files added.
MSAdmin
Set starting values for all of these:
avgsecsprob = 60
avgincorrect = 1
avghints = 0.5
As soon as the standard is set:
Update the diff_level as = 0. + 0.05
When adding an IS to an SC it is very difficult to configure the IS to have params.
We'd like it to get all the base IS-params by default and then copy them into the IS-param-sc then we could modify them here or turn them off.
Some button saying to take all the defaults from the IS-param-base would be good.
Instead we have an empty inline table editor where there are 3 lines that include a pulldown menu that allows picking a base-is-param+value
and then typing in that name and value (or a new value) which is then put into the is-param-sc
When any change is made to an item within a classes SCs mark the ClassSC with a last write time.
This way the cache inside the tutor can know what items need to be dumped and reloaded based on live edits.
We get a 505 error when trying to create a new question here.
We really need this solved ASAP.
--Ivon
Need some controls for adding /editing topic intros as HTML. Should include some kind of HTML editor text area.
Otherwise generates exceptions in the Student Progress Page.
After Problem searching you are supposed to select from the list of problems found in the search.
It is confusing and non-obvious what to click on to select the problem. Suggestion: include a table column that just says SELECT in each cell, which is the appropriate URL link.
Display a warning when saving a problem, for all those fields that are still empty/unfilled.
Different for problems being saved as 'testabLE' VS. 'READY'.
This would allow to create a problem with exactly the same specification, hints, images, etc. but with a new ID. This will help tremendously for the translation, where all that needs to change is the text and the sounds.
Even the snapshot could be copied over, as it might be the same, depending on the problem.
The hint has a primary image that should be able to have a position of primary, overlay or edge
The problem has a hint_XXX folder for each hints uploaded files. If you delete the hint,
this directory and its contents should be nuked.
Note: This would be an argument against allowing other problems or hints to refer to this hints media.
Deleting would require knowing that no one else is referencing the media in this hint.
By default prob_language should be English.
However, authors should be able to select Spanish from a pull down menu.
A thumbnail image is necessary so that the problem can be inserted in reports, etc.
To speed up the backing up of mscontent, provide an option of backing up only the files that have been changed beyond a point.
This should be more graceful, such as a warning or alike, as it can take a long time to figure out what is going on (Ivon, 10/4/18)
Hint table and Media Files should be accordians.
A single SAVE button at the bottom could handle sending all the info to the server.
This will eliminate the '-' button above the hint table for deleting hints and the "Save Media Files"
button.
When creating/altering a topic from MSAdmin, assign a set of standards to it, in a new table that associates standards to topics.
The Media Files section allows deleting a media file but the file may be referenced in a statementHTML.
Also it may be the audioResource for the problem or the hint or it may be the problem figure or the hint figure
Hello all,
I just discovered that many hints created in recent months have Order of "-1". There are 103 such hints in the system. There is no consistency RE which hint they are , e.g. Hint1, Hint5.... They are not "gives answer" hints in most cases. In some cases there are several of these hints in the same problem. Problem hint ordering may be problematic in recently created problems. e.g. 1677 -- I verified in MS that the order hints are given does not follow the Hint1, Hint2...sequence.
Note that hints have a Name, e.g. Hint 2 and an Order, e.g. 2. This is because in the past (and maybe in future) some hint names were descriptive, e.g. "remind about formula".
Some of these are Ready problems. I don't think I should turn them off if they are quasi-working. Ivon, should I?
FYI In looking at some I see that 1636 shows up blank in mathspring.org.
If I try to create a new SC and I set it to have some intervention selectors, it will fail to save the SC
because the SCISmaps that are created from the tabular are not correctly saved.
Create a new StrategyComponent. Add the 2 fields and select an intervention selector in the SCISMap
inline section. Try to save. It will fail.
Workaround. Save with no intervention selector selected. Then reopen and select the IS and save.
This is because an ID does not exist for the SC yet and the SCISMap needs it. It's an ordering problem #
If we edit a strategy (or delete it) this can mess up students who are assigned to use it. May want to pop up warnings about editing a strategy that is in use.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.