BIM – talking to the gradebook

One of the bigger tasks left to do is to integrate BIM with the gradebook. Some initial exploration has been done, this post seeks to document the initial implementation.

This implementation is going to be quite simple, and perhaps simple minded. The less than straight-forward nature of the task of finding information about how to do this and the reducing time available are the main reasons for the simple approach. Potentially, the simple approach might also help the academic staff driving it.

Initial design

As posts are “released” by the coordinator, the marks will be added to a column in the gradebook that matches the name of the BIM activity. i.e. this will be simple addition. In terms of scaling etc. it will be up to the teaching staff to use the gradebook features to do this.

At best there should be an option to include in the gradebook.

Implementation

Add option to include results in gradebook

  • Modify the bim table with new field.
  • Modify mod_form.php to have field.
  • Modify lib.php functions to appropriately modify the database appropriately.

    TO DO: Modify add_instance to include a call to grade_update to add the item to the gradebook.

    Borrowing a lot from existing modules.

Question arises: what happens if the gradebook option is added after some results have been released? Should BIM:

  • Not allow changing.
  • Allow coordinator to “reset” gradebook for all currently released results?

Add the results

  • Modify the “release” posts function to update the gradebook.

    TO DO: If the appropriate option is set, then call grade_update to change the entry.

    Have initial code in place. Doesn’t seem to be updating correctly. Need to look at this more. Subsequent additions of marks, not summing up?

A simple testing process for this:

  • Register feeds for 3 students in the one course.
  • Allocate posts to a few questions for each.
  • As an iterative process
    • Mark one or two, check gradebook, release one or two, check gradebook, repeat
  • Repeat for another course, observe.

Initial testing of releasing 2 students with 2 of the same questions, works fine. All in gradebook as expected.

More questions/students seems to work.

Go to another course, without creating questions and register a couple of student blogs. Now, create the questions and run the bim_cron function. Yep, that works like a charm. Now back to gradebook.

Adding BIM to gradebook after initial addition is working. Can I release and add marks to it? Oops, yes, but it adds another entry!!!! Bugger. Will it do it again? Nope. and it works.

TO DO: fix the problem with an update of BIM adding Gradebook followed by release resulting in 2 columns, not one.

Problem with bugs introduced in the update_instance method. Fixed and working.

One thought on “BIM – talking to the gradebook

  1. Pingback: BIM – Tidy up #4 – Getting ready for user testing « The Weblog of (a) David Jones

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s