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

Feature request: Translate matrix position when switch matrices #105

Open
JackMostow opened this issue Sep 6, 2022 · 1 comment
Open
Assignees

Comments

@JackMostow
Copy link
Contributor

JackMostow commented Sep 6, 2022

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is.
When RoboTutor switches matrices, translate position in current matrix to corresponding position in new matrix.

Describe the solution you'd like
A clear and concise description of what you want to happen.
If current activity also exists in new matrix, stay at that activity, i.e. use activity name to represent position in matrix.
If current activity does not exist in new matrix, find "nearest" activity that does.
Fortunately, this condition occurs only in going from unfiltered matrix to filtered matrix.
Compute the "nearest" relation off-line using the .csv form of the activity matrix, before it gets expanded into .json used at runtime.
@pravallika10473 [ ] Generate the translation table for each content area.
@ssvaditya [ ] load it at start of session to use at runtime.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Approach to be followed (optional)
A clear and concise description of approach to be followed.

Additional context
Add any other context or screenshots about the feature request here.

2022-05-25 MAB architecture.png

"Position" in 2022-08-03 Girish: MAB Implementation

Reordered_Matrices

Code Drop Filtered Matrices

@pravallika10473 [ ] For each cell in (unfiltered) [Copy of Literacy3] =counta($1:$18)=1309

(https://docs.google.com/spreadsheets/d/1Qk1Phfnai4TqRhE0R1Kku6Ew7A8bYPiFgakYUlbEi-8/edit#gid=34600496)
Map it to next cell that appears in (filtered) Copy of Literacy3_squeezed.csv
thereby skipping the activities filtered out as unworthy-ish

Represent the mapping so it's easy to load and apply at runtime.

[ ] For additional context, other MAB meeting notes might be useful.

[ ] Need to find script(s) (in GitHub?) for expanding .csv matrix into .json format.

@JackMostow
Copy link
Contributor Author

Translation table has been generated but needs to be loaded and used.

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

3 participants