-
Notifications
You must be signed in to change notification settings - Fork 361
Measure the accessibility of our content #2935
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
base: main
Are you sure you want to change the base?
Conversation
…ent snapshot file
…eded to read assessment item data
🗄️ Schema Change: No Changes ✅ |
| import {ContentRepository} from "./content-repository"; | ||
| import {getPublishedContentVersion} from "./content-version"; | ||
|
|
||
| async function main() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We could print a nice error message here if gcloud or jq isn't installed.
…re the data directory wasn't created
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yay!! Thank you for writing this!
| // bucket is supposed to be for. | ||
| // TODO(benchristel): should the extension for the data file be .ndjson? | ||
| // See: https://github.com/ndjson/ndjson-spec?tab=readme-ov-file#33-mediatype-and-file-extensions | ||
| await gcloudStorage.cp( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Adding a note here, this script works when run once on a new object, but when you attempt to overwrite an existing object you will experience 404 errors.
Added a bug here detailing this phenomenon, will also add a TODO here in case anyone wants to run this script before it is fixed.
https://khanacademy.atlassian.net/browse/LEMS-3674
This PR adds a new
perseus-a11y-metricspackage. It includes a script thatdownloads a snapshot of Khan Academy's content and evaluates the accessibility
of each exercise.
It is still a work in progress!
Issue: LEMS-3261
Test plan:
should output a report that looks like this:
Note: you need
gcloudandjqinstalled.