How do I make assignments worth more than 100 points?

How do I make assignments worth more than 100 points?

από Nate Nate -
Αριθμός απαντήσεων: 24
How do I make assignment submissions worth more than 100 points? Any help would be appreciated. Thanks.
Μέσος όρος βαθμολογίας:Useful (1)
Σε απάντηση σε Nate Nate

Re: How do I make assignments worth more than 100 points?

από Tony Hursh -
You can create a custom scale by clicking on Scales in the course administration block, then clicking on "Add a new scale". Enter a name and description for the new scale (these can be anything that makes sense to you). For the Scale field, enter a list of possible grades separated by commas. For instance, if you wanted a maximum of 150 points with 5 point intervals, you could enter 150,145,140,135,130 ... all the way down to 0. A little tedious, but it works. After you save the changes, you'll be able to select your new scale for any assignment.
Σε απάντηση σε Tony Hursh

Re: How do I make assignments worth more than 100 points?

από John Isner -
Hi Tony,
Two problems with custom scales are pointed out in this discussion: (1) they will always show up as "uncategorized" in the gradebook and (2) they won't affect points earned or total points, even if the scale is numerical (150, 145, etc.).

Instead of a custom scale for assignment X, we could add an offline assignment "extra credit for assignment X" worth 50 points. By checking "extra credit," it won't contribute to total points. We can put this assignment in an unseen block so it doesn't confuse students.

Σε απάντηση σε John Isner

Re: How do I make assignments worth more than 100 points?

από Tony Hursh -
Hmm... when I tested the procedure before replying to Nate, the 150 point score from a custom scale did show up in the gradebook for my test course.

I didn't try using a category at that that time, but when I went back and created a category, then put the custom scale assignment in that activity, it seemed to work fine.

The point value does show up, and the assignment does display in the proper category.


Perhaps that limitation has been fixed?
Σε απάντηση σε Tony Hursh

Re: How do I make assignments worth more than 100 points?

από John Isner -
That's good news. What version of Moodle are you running? Are you using the standard gradebook? I had this problem in 1.6 with the standard gradebook and then discovered the discussion that I referenced.
Σε απάντηση σε John Isner

Re: How do I make assignments worth more than 100 points?

από Tony Hursh -
What version of Moodle are you running?

That's sort of hard to say. It reports itself as 1.6.2, but it's rather heavily patched (both to incorporate security fixes that have come out since then, and with a fair amount of our own custom code). We're using the standard gradebook.

I don't recall doing any patches to the gradebook code offhand, but my log is in my office and it might be a while before I get back to it (heavy blowing and drifting snow here, UIUC is shut down completely).


Σε απάντηση σε Nate Nate

Re: How do I make assignments worth more than 100 points?

από David Banach -
The fix I used was to set $i to the new max total (I used 200)
at about line 3599
of lib/weblib.php

The line number will most likely vary with your version, but the correct line was fairly easy to search for.

You will then have a choice of making your assignments worth up to that total.

Hope it works for you.

David


Σε απάντηση σε David Banach

Re: How do I make assignments worth more than 100 points?

από Kin Cheung -
Hi,
I am new to moodle.
My predecessor had modified lib/weblib.php to increase assisgnment
point value from 100 to 200.
The modification worked great for 1.6.5, but ever since we upgraded
to 1.8+, the same modification does not work anymore.

4695c4690
< for ($i=200; $i>=1; $i--) { // changed max grade from 100 to 200
---
> for ($i=100; $i>=1; $i--) {

Could someone show me what is wrong.

Thank you!

Kin
Σε απάντηση σε Kin Cheung

Re: How do I make assignments worth more than 100 points?

από Rod Gambon -
I have the same problem. The school term starts on Monday and I need to get this fixed as we have been using a 200 point grading system for a couple years and can't go back to the 100 point scale. Does anyone have a fix for this?
Σε απάντηση σε Rod Gambon

Re: How do I make assignments worth more than 100 points?

από John Isner -
Read Tony Hursh's post early in this discussion. You can create a Custom scale with values like 10, 20, 30, ... , 190, 200 (or 100, 110, 120, ..., 190, 200 if you like giving 100 free points). Then in the assignment, select your custom scale for grading. This works in the current release of Moodle, and as far as I know, in earlier releases.
Σε απάντηση σε John Isner

Re: How do I make assignments worth more than 100 points?

από JD Hall -
Doesn't seem to work for me; Using Moodle 1.8.

In a test course I had two exisiting grades. One worth 25, one worth 100.
I created a numerical custom scale. 100, 200, 300 . . . 1000.
I created a third assignment using the custom scale and gave a student 700 points.
Now, in the gradebook, he has a 648% for the class (810 out of 125 points).
24/25 + 86/100 + 700/1000 should be a 72%.

How do I get the value 1000 point assignment to register in the total points for the class?

I tried checking extra credit; but that, as expected, that didn't do anything.

I tried scaling the assignment to 1000, but my '1000' is changed back to 'Custom Scale' (the name of my custom scale).

Ideas?

Thanks - JD
Σε απάντηση σε Kin Cheung

Re: How do I make assignments worth more than 100 points?

από Ethan Blomquist -

I'm running 1.8.2+ and found that you need to modify a different file:  <moodleRoot>/lib/form/modgrade.php

I changed the FOR loop to $i=300 and got the whole list.  This at least worked for the assignments.

Σε απάντηση σε Ethan Blomquist

Re: How do I make assignments worth more than 100 points?

από J m -
If you change this to 300, do you have to change anything else?  Do you also have to change the scales?  I wanted to use this for bonus points.
Σε απάντηση σε Ethan Blomquist

Re: How do I make assignments worth more than 100 points?

από JD Hall -
I tried this on a test xampp server (thankfully), and now the assignment module appears to be broken. I can't edit or create assignments. I just get a blank page.

I changed it back to 100, but ... still broken.

Thoughts?

- JD
Σε απάντηση σε Nate Nate

Re: How do I make assignments worth more than 100 points?

από JD Hall -
Have there been any advancements on this? I've tried two of the suggestions here with no luck.

I haven't looked into Moodle1.9. Does this release address the issue?


- JD
Σε απάντηση σε JD Hall

Re: How do I make assignments worth more than 100 points?

από Gary Anderson -
In lib/weblib.php, find function print_grade_menu.

Change

for ($i=150; $i>=1; $i--) {
$grades[$i] = $i;
}

to

for ($i=150; $i>=1; $i--) { //GVA to allow for 150 from 100
$grades[$i] = $i;
}

Take care,
--Gary
Σε απάντηση σε Gary Anderson

Re: How do I make assignments worth more than 100 points?

από JD Hall -
I made the change on a xampp-test instance of moodle 1.8.2 to moodle\lib\weblib.php,

for ($i=1000; $i>=1; $i--) {
$grades[$i] = $i;
}

but saw no change.

Thoughts?

- JD
Σε απάντηση σε JD Hall

Re: How do I make assignments worth more than 100 points?

από Gary Anderson -
I did a search on my version 1.9 Beta2 for $grades[$i] = $i and found that they have duplicated the code in lib/forms/modgrade.php

I changed it as above, and it works fine.

The new forms library was added after version 1.6 (which is our current production server), so your version uses the new code, but the weblib.php code must be there for compatibility with other modules.

Take care.

--Gary
Σε απάντηση σε Gary Anderson

Re: How do I make assignments worth more than 100 points?

από JD Hall -
Thank you very much!

Making the code change in both places seems to be the key.

Now, do I dare try this on our production server? thoughtful

The teachers want to be able to create assignments worth more than 100 points; but, now, having to scroll through 1000 might spur a new complaint.

Thanks again! - JD
Σε απάντηση σε Nate Nate

Re: How do I make assignments worth more than 100 points?

από Dana Dahlstrom -
As noted earlier, a select box with 1000 options would probably fetch complaints. Frankly I'm inclined to complain about a select box with 100 options (when they're just numbers from 1 to 100). Why don't we just make an ordinary text field for the number of points?
Σε απάντηση σε Nate Nate

Re: How do I make assignments worth more than 100 points?

από Shawn Kulla -
I'm not sure if it has been suggested yet, but you can add graded items and you can type in the value that you want it to be worth. Go to grades>full view and at the bottom click on the "add grade item" button. Type your points in maximum grade field and you can have something worth more than 100. Only drawback is that it doesn't show up in the topic outline, only the grade book.
Σε απάντηση σε Shawn Kulla

Re: How do I make assignments worth more than 100 points?

από Eric Bryant -

bump...any progress on this topic?

Σε απάντηση σε Eric Bryant

Re: How do I make assignments worth more than 100 points?

από Bob Puffer -

You may want to watch (and vote for) MDL-20617 -- it includes patches that allow text input of grades for assignments including floating point numbers.  Could evolve it to allow text input for the original Maximum Grade for the assignment also.