Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Douglas Blank
    @dsblank
    To see what other educators say about using nbgrader, you might like to see: https://jupyter4edu.github.io/jupyter-edu-book/ especially Chapter 6
    Douglas Blank
    @dsblank
    Need some help with names and icons, but some progress with feedback UI:
    Manage Feedback UI
    Jessica B. Hamrick
    @jhamrick
    Ooh, very nice!
    Hmm, choice of icons is hard though. I’ll have a look and see if any jump out at me
    Douglas Blank
    @dsblank
    Yes, please do! I glanced over them, didn't see anything that popped out, and picked these two as place holders. Here they are for anyone who wants to play: https://getbootstrap.com/docs/3.3/components/
    Jessica B. Hamrick
    @jhamrick
    What about glyphicon-envelope for releasing feedback?
    Douglas Blank
    @dsblank
    Sure! What about generate_feedback?
    Jessica B. Hamrick
    @jhamrick
    Maybe glyphicon-comment or glyphicon-list-alt?
    (Side note: there are so many good glyphicons. I want an excuse to use glyphicon-baby-formula and glyphicon-tent)
    Douglas Blank
    @dsblank
    Ha! Baby formula and tent get my votes :)
    Jessica B. Hamrick
    @jhamrick
    nbgrader-mindmap.001.jpeg
    In case it’s useful, that’s the diagram from my slides earlier today
    Douglas Blank
    @dsblank
    nbgrader_config.py

    c = get_config()

    c.Exchange.course_id = "example_course"
    c.Exchange.root = "/tmp/exchange"

    Jessica B. Hamrick
    @jhamrick
    Hi all, just so you’re all aware Bert and I made some PRs that should speed up the tests on Travis and Appveyor. So for future work if you could rebase onto the most recent master that would be great so your tests run faster too!
    billywardrop29
    @billywardrop29
    @dsblank here is the contents of the diff file - not sure how to attach
    diff --git a/nbgrader/nbextensions/assignment_list/assignment_list.js b/nbgrader/nbextensions/assignment_list/assignment_list.$
    index e4cd9a89..966840a6 100644
    --- a/nbgrader/nbextensions/assignment_list/assignment_list.js
    +++ b/nbgrader/nbextensions/assignment_list/assignment_list.js
    @@ -315,10 +315,17 @@ define([
     Assignment.prototype.make_row = function () {
         var row = $('<div/>').addClass('col-md-12');
    • var feedback_url = '';
    • var feedback_url_text = '';
      row.append(this.make_link());
      row.append($('<span/>').addClass('item_course col-sm-2').text(this.data.course_id));
      if (this.data.status === 'submitted') {
    • row.append($('<span/>').addClass('item_status col-sm-4').text(this.data.timestamp));
    • if (feedback_url) {
    • row.append($('<span/>').addClass('item_feedback col-sm-1').html('<a href="' + feedback_url + '">' + feedback_$
    • row.append($('<span/>').addClass('item_status col-sm-3').text(this.data.timestamp));
    • } else {
    • row.append($('<span/>').addClass('item_status col-sm-4').text(this.data.timestamp));
    • }
      } else {
      row.append(this.make_button());
      }

    ``` diff --git a/nbgrader/nbextensions/assignment_list/assignment_list.js b/nbgrader/nbextensions/assignment_list/assignment_list.$
    index e4cd9a89..966840a6 100644
    --- a/nbgrader/nbextensions/assignment_list/assignment_list.js
    +++ b/nbgrader/nbextensions/assignment_list/assignment_list.js
    @@ -315,10 +315,17 @@ define([

     Assignment.prototype.make_row = function () {
         var row = $('<div/>').addClass('col-md-12');
    • var feedback_url = '';
    • var feedback_url_text = '';
      row.append(this.make_link());
      row.append($('<span/>').addClass('item_course col-sm-2').text(this.data.course_id));
      if (this.data.status === 'submitted') {
    • row.append($('<span/>').addClass('item_status col-sm-4').text(this.data.timestamp));
    • if (feedback_url) {
    • row.append($('<span/>').addClass('item_feedback col-sm-1').html('<a href="' + feedback_url + '">' + feedback_$
    • row.append($('<span/>').addClass('item_status col-sm-3').text(this.data.timestamp));
    • } else {
    • row.append($('<span/>').addClass('item_status col-sm-4').text(this.data.timestamp));
    • }
      } else {
      row.append(this.make_button());
      }

    ```

    Karen Cranston
    @kcranston
    I am getting a warning and error with the latest release. This an nbgrader course dir that already existed. The warning is about course_id, which is set in the config. In the logs, I see:
    Config optioncourse_idnot recognized byCourseDirectory
    and in the UI, I get The course id has not been set in nbgrader_config.py
    I am also seeing that sqlalchemy error when trying to manual grade (sqlalchemy.exc.InvalidRequestError: Can't determine which FROM clause to join from, there are multiple FROMS which can join to this entity. Try adding an explicit ON clause to help resolve the ambiguity)
    sqlalchemy 1.3.7 py37h01d97ff_0 conda-forge
    stemming from File "/usr/local/miniconda3/envs/earth-analytics-python/lib/python3.7/site-packages/nbgrader/api.py", line 2504, in notebook_submission_dicts ).join(SubmittedAssignment, Notebook, Assignment, Student, Grade, GradeCell)\
    Karen Cranston
    @kcranston
    although I thought this was fixed with jupyter/nbgrader#1080
    Karen Cranston
    @kcranston
    ok, reading through the release notes for 0.6.0, I see I did not do the requested updates. Now getting an alembic error when running nbgrader db upgrade
    Karen Cranston
    @kcranston
    Sorry for yesterday's stream-of-consciousness. My nbgrader version was 0.5.6 (eager to install the partial credit feature) and once I updated to 0.6.0 all is well.