camsc / camsc.github.io

3 stars 1 forks source link

extract common core data into a separate repo #1

Open kevinbarabash opened 7 years ago

kevinbarabash commented 7 years ago

That way other people can leverage the data easily without pulling in the rest of this project.

MrMagma commented 7 years ago

Correct me if I'm wrong, but could they not also use this link (https://cdn.kastatic.org/ka-exercise-screenshots-3/types/problemTypes.json) in an AJAX request?

camsc commented 7 years ago

@MrMagma That gets us the KA content that's linked to a given standard. We also need the text for the standards themselves. My innovation here was to augment the raw standards text with a) simple titles and b) in-plain-English descriptions. In summary, I think there are three separate parts of our Common Core data:

1) https://cdn.kastatic.org/ka-exercise-screenshots-3/types/problemTypes.json so we know how KA-content maps to standards

2) A file that gives the official standards text (dunno if this exists somewhere or if we need to create it—the data in the current repo is NOT a faithful reproduction of the standards... my bad)

3) A file that layers on friendly titles and descriptions for each standard (only partially complete in our repo right now)

For #2, @MrMagma maybe you could look into getting the official standards text from somewhere. KA displays standards text on the page, so maybe we've already got it in a nice format somewhere.

For #3, I think that's on me to finish it out...

MrMagma commented 7 years ago

@camsc I've created a repo that should contain the official descriptions for all the standards in JSON format here, which should satisfy item 2 from that list. There may be a few inaccuracies, as I wrote a Python script to get the descriptions and the Common Core site messed it up a few times, but they should be minor and easily fixed.

camsc commented 7 years ago

Sorry for the crazy slow reply. This is great. No matter where we go with this project, this will be a useful foundational step.