Ignore:
Timestamp:
01/22/09 17:03:58 (3 years ago)
Author:
bogdan2412
Message:

Detailed feedback

  • Moved (and renamed) task parameters "tests", "testgroups", "okfiles" and "evaluator" to ia_task (they will be common to every task type anyway). Only memlimit and timelimit remain in ia_parameter_value for tasks.
  • Added 'public_tests' column to ia_task in which you can specify tests for detailed feedback in the same format as a group in 'test_groups'
  • Added "job-view-partial-feedback" permission. Users should only be able to see their own feedback, not that of others.
  • Added UI for job_detail to show results on public tests
  • Made monitor show when detailed feedback is available for a job

Extra

  • Moved score and size hiding in monitor from view to controller
  • Added "job-view-score" permission check to job_view_source controller

Reviewed: http://reviewboard.infoarena.ro/r/46/

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/common/parameter.php

    r852 r996  
    99// $value           raw value string stored in database 
    1010function parameter_decode($parameter_id, $value) { 
    11     $booleans = array('unique_output', 'okfiles', 'rating_update'); 
    12     $ints = array('memlimit', 'tests', 'rating_timestamp'); 
     11    $booleans = array('rating_update'); 
     12    $ints = array('memlimit', 'rating_timestamp'); 
    1313    $floats = array('timelimit'); 
    14     $strings = array('evaluator'); 
     14    $strings = array(); 
    1515 
    1616    if (in_array($parameter_id, $booleans)) { 
Note: See TracChangeset for help on using the changeset viewer.