checker_app.rb
# id is the position in the item list (starting from 1)
# stable_id is the persistent task identifier (e.g., a subject ID)
id is the position in the item list (starting from 1)
stable_id is the persistent task identifier
id is the position in the item list ( starting from 1 ) stable_id is the persistent task identifier
def read_from_file(type)
    filename = File.join("tasks", @set.id.to_s, "#{ type }-#{ @stable_id }.txt")
    if File.exists? filename
      File.read(filename).strip
    else
      nil
    end
  end
def read_from_file ( type ) filename = File . join ( "tasks" , @set . id . to_s , "#{ type }-#{ @stable_id }.txt" ) if File . exists? filename File . read ( filename ) . strip else nil end end
id is the position in the item list (starting from 1)
stable_id is the persistent task identifier (e.g., a subject ID)
id is the position in the item list ( starting from 1 ) stable_id is the persistent task identifier ( e . g . a subject ID )
type
<not_specific>