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 — Add additional completion to exercises that have already had their completion criteria fixed but their complete value is still wrong by rtibbles · Pull Request #5731 · learningequality/studio

Conversation

@rtibbles

@rtibbles rtibbles commented Mar 3, 2026

Copy link
Copy Markdown
Member

Summary

Further fixes to exercise completion. It appears that some are still not getting properly marked as complete, on inspection, it appears that they may already have had their completion criteria migrated by the frontend, but then never remarked as complete.
Fixes this by adding mark complete calls to all incomplete exercises.
Also adds the exercises command to the deploy step in the Makefile

References

Fixes #5667

Reviewer guidance

It is possible that this could mark otherwise "complete" exercises incomplete, should I guard against that?

AI usage

I used Claude to write the additional test, all other changes were by hand.

Sorry, something went wrong.

Uh oh!

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

All reactions
@rtibbles
Add additional completion to exercises that have already had their co…
b2984a0
…mpletion criteria fixed but their complete value is still wrong
@rtibbles
rtibbles force-pushed the you_complete_me branch from 9a8c05b to b2984a0 Compare March 3, 2026 00:35
@rtibbles rtibbles assigned bjester Mar 10, 2026
bjester
bjester approved these changes Mar 11, 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.

Changes make sense. Just one note about a situation that might be worth reporting, and caution on the deploy hook.

Sorry, something went wrong.

Uh oh!

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

All reactions
Comment thread contentcuration/contentcuration/management/commands/fix_exercise_extra_fields.py
except (json.JSONDecodeError, ValueError):
return None, None
if not isinstance(ef, dict):
return None, None

@bjester bjester Mar 11, 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.

Could the case of not was_complete and not isinstance(ef, dict) be a situation worth reporting? Just thinking about the situation where it may be legit missing the extra fields or criteria, and that's making it incomplete. I don't think we can fix it, but we could have insight into how many there are?

Sorry, something went wrong.

Uh oh!

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

All reactions
Comment thread Makefile
# 5) Repeat!
deploy-migrate:
echo "Nothing to do here!"
python contentcuration/manage.py fix_exercise_extra_fields

@bjester bjester Mar 11, 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.

Since this script takes a really long time, we should be really conscious of merging other PRs to hotfixes. Ideally, we just don't. Alternatively, we could delay adding it here until we're ready to release, then release, then immediately remove it from hotfixes

Sorry, something went wrong.

Uh oh!

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

All reactions
@rtibbles
rtibbles merged commit 050e85b into learningequality:hotfixes Mar 11, 2026
15 checks passed

Uh oh!

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

@rtibbles
rtibbles deleted the you_complete_me branch March 11, 2026 22:58
@marcellamaki marcellamaki mentioned this pull request Mar 12, 2026
Hotfixes release 2026.03.16 #5753
Merged
@rtibbles rtibbles mentioned this pull request Mar 17, 2026
Exercises are being marked as 'Incomplete' for no obvious reason #5667
Closed
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

@bjester bjester

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

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.