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

Handle CTAT 1.1 instances #119

Open
darrensiegel opened this issue Jan 6, 2023 · 1 comment
Open

Handle CTAT 1.1 instances #119

darrensiegel opened this issue Jan 6, 2023 · 1 comment
Assignees

Comments

@darrensiegel
Copy link
Contributor

The Intro to Stats course contains CTAT activity instances that the digest tool does not handle correctly. While the digest tool will successfully convert the course and create a digest, the ingest in Torus fails during the Oli.Ingest.RewireLinks.rewire/3 step due to the missing CTAT resource.

The course SVN branch is: https://svn.oli.cmu.edu/svn/content/statistics/statistics/trunk.

I believe I've found the instances of these activities in the course content by running:

$ find . -type f -name "*.xml" -exec grep -H "cmu-ctat-tutor_1.1.dtd " {} \; | cut -d":" -f1

Which yields:

./content/ctat_stattutor/m4_cell_phones_1q/x-cmu-ctat-tutor2/ctat2_m4_1q_stattutor.xml
./content/ctat_stattutor/m2_body_image_2q/x-cmu-ctat-tutor2/ctat2_m2_2q_stattutor.xml
./content/ctat_stattutor/m3_depression/x-cmu-ctat-tutor2/ctat2_m3_stattutor.xml
./content/ctat_stattutor/m2_X_body_image/x-cmu-ctat-tutor/ctat_m2_X_stattutor.xml
./content/ctat_stattutor/m6_low_birth_weight/x-cmu-ctat-tutor2/ctat2_m6_stattutor.xml
./content/ctat_stattutor/m5_extra_credit/x-cmu-ctat-tutor2/ctat2_m5_stattutor.xml
./content/ctat_stattutor/m7_auto_premiums/x-cmu-ctat-tutor2/ctat2_m7_stattutor.xml
./content/ctat_stattutor/m2_body_image/x-cmu-ctat-tutor2/ctat2_m2_stattutor.xml
./content/ctat_stattutor/m4_cell_phones/x-cmu-ctat-tutor2/ctat2_m4_stattutor.xml
./content/ctat_stattutor/m1_survey_1q/x-cmu-ctat-tutor/ctat_m1_1q_stattutor.xml
./content/ctat_stattutor/m1_survey_1q/x-cmu-ctat-tutor2/ctat2_m1_1q_stattutor.xml
./content/ctat_stattutor/m5_extra_credit_2q/x-cmu-ctat-tutor2/ctat2_m5_2q_stattutor.xml
./content/ctat_stattutor/m1_survey/x-cmu-ctat-tutor/ctat_m1_stattutor.xml
./content/ctat_stattutor/m1_survey/x-cmu-ctat-tutor2/ctat2_m1_stattutor.xml
@Ringenberg
Copy link

There might be some additional resources beyond those xml files. I believe there might also be some image and text files that go along with that content, at least it did years ago when originally authored.

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