GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Courses, Units, Lessons, and KPUB by rtibbles · Pull Request #653 · learningequality/ricecooker

Conversation

@rtibbles

@rtibbles rtibbles commented Jan 20, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

Summary

Adds support for uploading KPUB files
Adds Courses, Units, and Lessons nodes with validation
Adds example courses script for two sample courses.

References

Fixes #638

Reviewer guidance

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@rtibbles
rtibbles force-pushed the of_course branch from fa7f60c to c49fdb1 Compare January 20, 2026 00:04
@rtibbles
rtibbles marked this pull request as draft January 20, 2026 00:05
@rtibbles rtibbles mentioned this pull request Jan 20, 2026
Unit tests (as in, tests for unit folders) learningequality/studio#5646
Merged
bjester
bjester reviewed Jan 20, 2026
View reviewed changes

@bjester bjester left a comment

Copy link
Copy Markdown
Member

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.

Needs to update the le_utils version

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

rtibbles reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
@rtibbles
rtibbles force-pushed the of_course branch from c49fdb1 to 5b1a214 Compare February 8, 2026 21:24
@rtibbles

rtibbles commented Feb 8, 2026

Copy link
Copy Markdown
Member Author

Updated!

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

bjester
bjester reviewed Feb 17, 2026
View reviewed changes
Comment thread tests/pipeline/test_convert.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread ricecooker/classes/curriculum.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread ricecooker/classes/nodes.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread tests/test_curriculum.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread tests/pipeline/test_extract_metadata.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

@rtibbles
rtibbles force-pushed the of_course branch from 5b1a214 to f7b1ea3 Compare March 1, 2026 01:01
@rtibbles
Add support for validating and uploading KPUB files.
461ab12
@rtibbles
rtibbles force-pushed the of_course branch from f7b1ea3 to fabf82c Compare March 1, 2026 17:44
@rtibbles
rtibbles marked this pull request as ready for review March 20, 2026 22:53
@rtibbles

rtibbles commented Mar 20, 2026

Copy link
Copy Markdown
Member Author

Have reworked and deduplicated the tests here.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

bjester
bjester requested changes Mar 23, 2026
View reviewed changes

@bjester bjester left a comment

Copy link
Copy Markdown
Member

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.

Overall everything looks good enough for merge, but I think it'd be worthwhile to match exception messages in TestUnitNodeValidation considering the complexity of the validation. And so for that, at least, I'm requesting changes.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread examples/curriculum_courses/sushichef.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread ricecooker/classes/curriculum.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread ricecooker/classes/nodes.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread ricecooker/classes/nodes.py
Comment on lines +1598 to +1600
Args:
node: LessonNode to add
learning_objectives: List of LearningObjective instances

@bjester bjester Mar 23, 2026

Copy link
Copy Markdown
Member

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.

Seems ricecooker has inconsistent docstring styles...

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@rtibbles rtibbles Apr 7, 2026

Copy link
Copy Markdown
Member Author

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.

Yes, they're all over the shop - I think we should just decide what our standard is across our repos and then standardize.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread tests/test_curriculum.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread tests/test_curriculum.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

@rtibbles
rtibbles force-pushed the of_course branch from fabf82c to ac47cdc Compare April 7, 2026 20:27
rtibbles and others added 3 commits April 7, 2026 18:15
@rtibbles
Add support for courses, units, lessons, learning objectives and prep…
5b80f2c
…osttests.
@rtibbles
Add example course script.
7c933ae
@rtibbles @claude
Fix body.text None crash in HTML5ConversionHandler.
ddfb95e
html5lib sets body.text to None when the body element starts with a
child element rather than text. Guard against this the same way as
KPUBConversionHandler.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
@rtibbles
rtibbles force-pushed the of_course branch from ac47cdc to ddfb95e Compare April 8, 2026 01:15
@rtibbles

rtibbles commented Apr 8, 2026

Copy link
Copy Markdown
Member Author

Updated!

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

bjester
bjester approved these changes Apr 9, 2026
View reviewed changes

@bjester bjester left a comment

Copy link
Copy Markdown
Member

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.

Looks good to me. All previous code review items resolved.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@rtibbles
rtibbles merged commit a903c97 into learningequality:main Apr 10, 2026
33 of 34 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@rtibbles
rtibbles deleted the of_course branch April 10, 2026 14:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@bjester bjester bjester approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Add Node classes for Lessons, Units, and Courses

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@rtibbles @bjester
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.