-
Notifications
You must be signed in to change notification settings - Fork 6
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
Fix videos only showing in one content node #78
base: master
Are you sure you want to change the base?
Fix videos only showing in one content node #78
Conversation
Awesome work, and about time that this is fixed :) I'm thinking that this might need some verification in KA Lite itself, for instance:
Don't think that we should over-complicate this, maybe we are lucky and everything works... one way to assert this quickly would be to introduce some tests that supply a content db with duplicate video IDs and see if those tests pass.. and to ensure that already existing tests also have duplicate content IDs. Regarding moving the Indian topics, is this fix a blocker? Because it's actually more urgent for announcing 0.17.4. |
I'm not quite sure how this one works though. Will check the source code and might as well do some manual testing.
About this one, when I tested the
Can you explain a little bit further about this? I don't understand what you meant here. |
Should have written |
@benjaoming I only found one that seems to be relevant to I can't think of any reason why it was made this way that it removes duplicate |
@benjaoming finally.. I think we can release KA-Lite by next week since videos are appearing properly @radinamatic would you mind testing this english content pack if you have time? |
Awesome job @mrpau-eugene! 👍 I'll grab the content pack for testing and give it a ride before the next week! |
@mrpau-eugene Looking much better! 👍 The only question I have is why are these subtopics appearing with French titles, when the content at the last level is in English...? Should we maybe place them in Math - France to be consistent with the rest? |
@radinamatic it's because those math topics were just appended to the topic nodes list making it appear at the very last part of the Math subtopics
Yeah, I agree. Will do this asap |
@radinamatic I tried to rebuild the content packs again with the |
Since these are 100% French topics, they should not be part of the English content database at all, not even just moved to a different subtopic... but entirely ignored. Is it an error in upstream data? Or is there a new property in the dataset regarding the language? |
@benjaoming I can't tell if it's an error from the upstream though. I think since the subtopics are english, KA treated it to belong to the english content. Should we just ignore the french ones instead? |
If someone asked us to make a decision right now, I think we should exclude them. No one will navigate something with these French topic names, that's completely useless in the English content pack :) The issue might have existed before, but in cases where -- because we ignored duplicates -- these topics just remained empty.
I tried looking for site:khanacademy.org "comparing-groups-through-10-example" and it seems like it is supposed to live in "Kindergarten" lessons: https://www.khanacademy.org/math/cc-kindergarten-math/cc-kindergarten-counting/kindergarten-comparing-numbers/v/comparing-groups-through-10-example The French topics seem empty on the English site, but I don't know based on which data property they exclude them :/ |
Seems like they don't have any data available that distinguishes them from being French aside from its title.
I couldn't find any other contents when I checked. I think we can safely add these French topics to the blacklist.
They aren't unique to the french sub topics. We had the same results while googling Note: Removing the |
@benjaoming https://drive.google.com/open?id=1Mxiq0Iy5lAuESveKpuCvmXSHyIO7zg5h The French topics have been blacklisted in this contentpack |
Sorry about the slow response, @mrpau-eduard -- have built the new content pack into an installer and will be testing it now. |
Have tested the content pack, and Math now looks very tidy :) The .debs are built for the proposed PPA and available in an hour or so @radinamatic : https://launchpad.net/~learningequality/+archive/ubuntu/ka-lite-proposed/+packages |
@benjaoming I haven't tested building the content packs yet but what I did was had a
before
andafter
with this one.I wrote the
before
to a file and theafter
to another file. My only basis was theIntro to Arcsine
video.Inside the
before
,Intro to Arcsine
only appears once. But now, it appears 5 times in different topic nodes.Before:

After:

I'll try to build the content packs again. Hopefully it fixes most of the issues regarding "missing" videos 🤞
Also, thanks to @rtibbles for mentioning about this bug 👍