You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, terms are "keyed" using a standardized form of their Cherokee phonetics. (look up keyForCard and cherokeeToKey). These keys are used by the leitnerBoxes, lesson objects, vocabSets, and many other things. We have serious problems when we need to update the Cherokee phonetics for a term, eg. due to a typo, because we have stored these phonetics in a billion places. And we have to update phonetics regularly.
Solution
All terms get a UUID that is used as a key.
Things to watch out for
This will require changes outside of just the CherokeeLanguage/online-exercises repo, but also CherokeeLanguage/online-exercises-audio-pipeline and maybe CherokeeLanguage/cherokee-audio-data, too
We need to figure out where in the data pipeline to assign these UUIDs (as early as possible, in ground-truth tables)
We need to identify all the places where a key is generated or used from a card, and move to using UUIDs. Eg. find all lookups, records that use "term" as a key, etc.
We need to figure out how we will handle mixed data between the database and the code...
Eg. Loading old lessons that were keyed with phonetics (maybe use a new field for UUID keyed stuff or add a "version" field to some records)
Acceptance requirements
Test that shows old data will be rekeyed properly
Test that makes sure all terms load with new key structure
We know exactly which python packages are needed to run our code
The text was updated successfully, but these errors were encountered:
Problem statement
Currently, terms are "keyed" using a standardized form of their Cherokee phonetics. (look up
keyForCard
andcherokeeToKey
). These keys are used by theleitnerBoxes
,lesson
objects,vocabSets
, and many other things. We have serious problems when we need to update the Cherokee phonetics for a term, eg. due to a typo, because we have stored these phonetics in a billion places. And we have to update phonetics regularly.Solution
All terms get a UUID that is used as a key.
Things to watch out for
Acceptance requirements
The text was updated successfully, but these errors were encountered: