learningequality / learningequality/ricecooker
Incremental cheffing
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 31
- Forks
- 77
- Avg merge
- 5d 4h
- Merged PRs (30d)
- 3
Description
Description
Ability to add content to an existing chef_tree on studio incrementally.
Use case (Alejandro)
The chem libretexts has 4 main categories 'Courses', 'Bookshelves', 'Homework' and 'Ancillary Materials'. The Courses category is really huge, it takes 2 days to scrape, uploading the materials to studio if something gone wrong at the moment of scrapping the Homework category, I have to wait for someting witch was do it before.
We could is an option like --merge for example
I would like do
./sushichef --merge --category='Courses'
then next day
./sushichef --merge --category='Bookshelves'
and again
./sushichef --merge --category='Homework'
and don't overwrite the previous uploaded content.
(or merge the json_tree file generated after scraping)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the sushichef command entry point and trace how chef_tree or the generated json_tree is created and uploaded. Compare the requested --merge --category='Courses' workflow with the existing scraping and upload flow. Done means content from successive category runs is added without overwriting previously uploaded content.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100