Repository navigation
Closed
open-craft/taxonomy-sample-data
#1Milestone
Description
"As a developer, I want to work on and test the Taxonomy and Tagging features without spending a lot of time creating and configuring taxonomies."
Acceptance criteria:
- Create a simple script which can be run (from the django shell?) on a devstack, Tutor devstack, or sandbox and which will:
-
Create a at least two test organizations
-
Create a few taxonomies of various types, including at least:
- a disabled taxonomy with 10 tags
- a "flat" taxonomy with over 5,000 tags (generate them in a loop)
- an enabled hierarchical taxonomy with three levels and 4^x tags per level (4 root tags, each with 16 child tags, each with 64 grandchild tags)
- a small enabled taxonomy with two levels of tags.
- a taxonomy that is enabled for / used by multiple orgs.
Plus anything else you think would be useful for testing.
-
Create a couple of test courses (one for each org), where the units and components have been tagged with various tags from that org's taxonomies (as well as system-defined taxonomies). These should include some tags from disabled taxonomies so we can test that those are hidden while the taxonomy is disabled.
-
- Include the small 4 level taxonomy from https://open.canada.ca/data/en/dataset/6093c709-2a0d-4c23-867e-27987a79212c/resource/0a120b15-9708-4d8a-8af2-2431c4540c0b
- Include the LightCast Open Skills Taxonomy https://lightcast.io/open-skills or a subset of it. Note that a download is not available, but we can access it via API and re-distribute it as needed, such as via CSV file, as long as it's for non-commercial use.
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
- StatusShow more project fieldsDone
Activity
[-][Tagging] Script to create sample data[/-][+][Tagging] Sample taxonomy and org data[/+]ali-hugo commentedon Sep 25, 2023
I'm not sure. @jmakowski1123 Do you know?
bradenmacdonald commentedon Oct 13, 2023
Turns out we are allowed to. See the PR linked above ^
bradenmacdonald commentedon Oct 16, 2023
This is done, and the sample data is available at https://github.com/open-craft/taxonomy-sample-data