learningequality / learningequality/ricecooker

Incremental cheffing

Open
#205 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

TAG: new feature
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.