Commit 16acad3a authored by Antony Orlovsky's avatar Antony Orlovsky

Merge branch 'develop' into 'develop'

Added compareError to task db

See merge request !9
parents bbb6c4b6 ab63cf88
......@@ -117,6 +117,10 @@ const TaskSchema = new mongoose.Schema({
externalTester: {
type: String
},
compareError: {
type: Number,
default: 1.0e-8
},
inputTestProgram: {
type: mongoose.Schema.Types.ObjectId,
ref: 'Program'
......@@ -436,6 +440,7 @@ module.exports.setTesterConfig = (id, config) => {
'testerConfig.outputFileNames': config.outputFileNames || null,
'testerConfig.customTester': config.customTester,
'testerConfig.externalTester': config.externalTester,
'testerConfig.compareError': config.compareError,
'testerConfig.inputTestProgram': config.inputTestProgram,
'testerConfig.outputTestProgram': config.outputTestProgram
});
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment