## Forum archive 2000-2006

### Brian Camp - Scoring Problems

by Arnold Pizer -
Number of replies: 0
 Scoring Problems topic started 10/15/2006; 6:26:56 PMlast post 10/26/2006; 10:07:42 AM
 Andrew Knightly - Re: Scoring Problems  10/20/2006; 2:47:57 PM (reads: 274, responses: 1) Today a student in office hours asked about a problem and I pulled up her previous answer and we saw that it was correct except for a small syntax error. If I had had this ability, I would have given her credit right there for the problem. So yes, I think it would be nice to have the option. (of course I could have manually give her credit instead, but didn't have the energy.) By the way, I just added the option record_answers_when_acting_as_student => $professor, to my course.conf and nothing seems to have changed. I also tried it in the global.conf with same (non) result. <| Post or View Comments |>  Bob Byerly - Re: Scoring Problems 10/20/2006; 4:51:41 PM (reads: 268, responses: 0) In the course.conf file for one of my courses I added to the permissionLevels hash the options record_answers_when_acting_as_student =>$professor,...record_answers_after_open_date_without_attempts => "professor",record_answers_after_due_date => "professor",record_answers_after_answer_date => "professor", as well. I added these when I was trying to get Davide Cervone's essay answer evaluator (which I like by the way) working. It had the effect of adding a "submit answers for ..." button to each problem after the set's due date. I'm not sure which ones I actually needed. I simply copied the whole %permissionLevels= statement from global conf to course.conf and edited it. For some reason I was having trouble changing individual members of the hash. Probably some silly syntax error. <| Post or View Comments |>
 Michael Gage - Re: Scoring Problems  10/21/2006; 1:12:36 PM (reads: 304, responses: 0) It's possible that $professor had an undefined value in this context. For this particular parameter it's safest to use John Jones suggestion and set this parameter from the web interface -- that way you don't have to worry about syntax. The web interface adds the statement:$permissionLevels{record_answers_when_acting_as_student} = 'professor'; to the file simple.conf. In general when modifying permissions in a course it is probably best to use the complete description of the hash variable, in the form  $permissionLevels{....} otherwise you risk unsetting other parameters. <| Post or View Comments |>  Andrew Knightly - Re: Scoring Problems 10/26/2006; 9:21:54 AM (reads: 230, responses: 0) The only way I can see to use the web interface to edit permissions is to use the file manager to edit course.conf. (There is no simple.conf file on our machine). I suppose we don't have the latest version. Anyhow, in case this is of interest to anyone, I added the following lines to my course.conf, and it seems to do the job:$permissionLevels{record_answers_when_acting_as_student} = '10'; $permissionLevels{record_answers_after_due_date} = '10';$permissionLevels{record_answers_after_answer_date} = '10'; (This adapts mike's suggestion since 'professor' has to be a number in this file.) <| Post or View Comments |>