[LON-CAPA-users] Partial Credit for a Problem?

Guy Albertelli II lon-capa-users@mail.lon-capa.org
Thu, 2 Dec 2004 17:10:28 -0500 (EST)


Hi Todd,

> We are developing some problems for which the instructor wants to award
> "partial credit" in a situation like this.  Allow a single attempt.  If
> the answer is with 2% of the "correct" answer, full credit, within 10%
> of the correct answer, give 90%, and so on.  
> 
> (1) Each problem part appears to have its own partial_credit_factor
> parameter.  Is there a way inside the script of a problem to do some
> calculations and assign a value to this parameter? 

No.

We have decided that problems should never 'self grade' but that all
grading comes from the internal lon-capa code.


> I see a reference to "user.resource.resource.<partid>.awarded"
> How is this related to the partial_credit_factor parameter?  Are they in
> fact the same?

Aye they are the same, but you only have Read-Only access to anything
in &EXT()

> (2) Use the spreadsheet.

This is the official way of doing this.

-- 
guy@albertelli.com  LON-CAPA Developer  0-7-3-2-