Skip to content

Instantly share code, notes, and snippets.

@marcelhollerbach
Created March 17, 2016 16:37
Show Gist options
  • Save marcelhollerbach/d4b6857c45824bc69f85 to your computer and use it in GitHub Desktop.
Save marcelhollerbach/d4b6857c45824bc69f85 to your computer and use it in GitHub Desktop.
This file has been truncated, but you can view the full file.
The options are: -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005 -Ddatabase.url=jdbc:mysql://db -Ddatabase.username=root -Ddatabase.password=root -Dos.url=http://objectservice:4567 -Dlogback.configurationFile=/conf/logging_trace.xml
Listening for transport dt_socket at address: 5005
16:11:41.332 [main] DEBUG e.k.i.c.w.Main - Initial config-location: null
16:11:41.337 [main] DEBUG e.k.i.c.w.Main - Actual config-location: ./conf/configuration.properties
16:11:41.385 [main] DEBUG c.z.h.HikariConfig - HikariPool-0 - configuration:
16:11:41.398 [main] DEBUG c.z.h.HikariConfig - allowPoolSuspension.............false
16:11:41.399 [main] DEBUG c.z.h.HikariConfig - autoCommit......................true
16:11:41.399 [main] DEBUG c.z.h.HikariConfig - catalog.........................null
16:11:41.399 [main] DEBUG c.z.h.HikariConfig - connectionInitSql...............null
16:11:41.399 [main] DEBUG c.z.h.HikariConfig - connectionTestQuery.............null
16:11:41.399 [main] DEBUG c.z.h.HikariConfig - connectionTimeout...............30000
16:11:41.399 [main] DEBUG c.z.h.HikariConfig - dataSource......................null
16:11:41.399 [main] DEBUG c.z.h.HikariConfig - dataSourceClassName.............null
16:11:41.399 [main] DEBUG c.z.h.HikariConfig - dataSourceJNDI..................null
16:11:41.400 [main] DEBUG c.z.h.HikariConfig - dataSourceProperties............{password=<masked>}
16:11:41.400 [main] DEBUG c.z.h.HikariConfig - driverClassName.................null
16:11:41.400 [main] DEBUG c.z.h.HikariConfig - healthCheckProperties...........{}
16:11:41.400 [main] DEBUG c.z.h.HikariConfig - healthCheckRegistry.............null
16:11:41.400 [main] DEBUG c.z.h.HikariConfig - idleTimeout.....................600000
16:11:41.400 [main] DEBUG c.z.h.HikariConfig - initializationFailFast..........true
16:11:41.400 [main] DEBUG c.z.h.HikariConfig - isolateInternalQueries..........false
16:11:41.401 [main] DEBUG c.z.h.HikariConfig - jdbc4ConnectionTest.............false
16:11:41.401 [main] DEBUG c.z.h.HikariConfig - jdbcUrl........................."jdbc:mysql://db"
16:11:41.401 [main] DEBUG c.z.h.HikariConfig - leakDetectionThreshold..........0
16:11:41.401 [main] DEBUG c.z.h.HikariConfig - maxLifetime.....................1800000
16:11:41.401 [main] DEBUG c.z.h.HikariConfig - maximumPoolSize.................10
16:11:41.401 [main] DEBUG c.z.h.HikariConfig - metricRegistry..................null
16:11:41.401 [main] DEBUG c.z.h.HikariConfig - metricsTrackerFactory...........null
16:11:41.401 [main] DEBUG c.z.h.HikariConfig - minimumIdle.....................10
16:11:41.401 [main] DEBUG c.z.h.HikariConfig - password........................<masked>
16:11:41.402 [main] DEBUG c.z.h.HikariConfig - poolName........................"HikariPool-0"
16:11:41.402 [main] DEBUG c.z.h.HikariConfig - readOnly........................false
16:11:41.402 [main] DEBUG c.z.h.HikariConfig - registerMbeans..................false
16:11:41.402 [main] DEBUG c.z.h.HikariConfig - scheduledExecutorService........null
16:11:41.402 [main] DEBUG c.z.h.HikariConfig - threadFactory...................null
16:11:41.402 [main] DEBUG c.z.h.HikariConfig - transactionIsolation............null
16:11:41.402 [main] DEBUG c.z.h.HikariConfig - username........................"root"
16:11:41.402 [main] DEBUG c.z.h.HikariConfig - validationTimeout...............5000
16:11:41.402 [main] INFO c.z.h.HikariDataSource - HikariPool-0 - Started.
16:11:42.156 [HikariPool-0 housekeeper] DEBUG c.z.h.p.HikariPool - HikariPool-0 - Pool stats (total=0, active=0, idle=0, waiting=0)
16:11:42.198 [HikariPool-0 connection adder] DEBUG c.z.h.p.HikariPool - HikariPool-0 - Added connection com.mysql.jdbc.JDBC4Connection@6aca569
16:11:42.219 [HikariPool-0 connection adder] DEBUG c.z.h.p.HikariPool - HikariPool-0 - Added connection com.mysql.jdbc.JDBC4Connection@2499ae37
16:11:42.286 [HikariPool-0 connection adder] DEBUG c.z.h.p.HikariPool - HikariPool-0 - Added connection com.mysql.jdbc.JDBC4Connection@32fb460f
16:11:42.293 [HikariPool-0 connection adder] DEBUG c.z.h.p.HikariPool - HikariPool-0 - Added connection com.mysql.jdbc.JDBC4Connection@26a69641
16:11:42.302 [HikariPool-0 connection adder] DEBUG c.z.h.p.HikariPool - HikariPool-0 - Added connection com.mysql.jdbc.JDBC4Connection@66168ccd
16:11:42.330 [HikariPool-0 connection adder] DEBUG c.z.h.p.HikariPool - HikariPool-0 - Added connection com.mysql.jdbc.JDBC4Connection@53de8cf3
16:11:42.355 [HikariPool-0 connection adder] DEBUG c.z.h.p.HikariPool - HikariPool-0 - Added connection com.mysql.jdbc.JDBC4Connection@70864945
16:11:42.398 [HikariPool-0 connection adder] DEBUG c.z.h.p.HikariPool - HikariPool-0 - Added connection com.mysql.jdbc.JDBC4Connection@2c2b075d
16:11:42.407 [HikariPool-0 connection adder] DEBUG c.z.h.p.HikariPool - HikariPool-0 - Added connection com.mysql.jdbc.JDBC4Connection@766cf8d9
16:11:42.418 [HikariPool-0 connection adder] DEBUG c.z.h.p.HikariPool - HikariPool-0 - Added connection com.mysql.jdbc.JDBC4Connection@1dba9702
16:11:43.923 [main] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Experiment`.`id_experiment`, `crowdcontrol`.`Experiment`.`title`, `crowdcontrol`.`Experiment`.`description`, `crowdcontrol`.`Experiment`.`description_raw`, `crowdcontrol`.`Experiment`.`needed_answers`, `crowdcontrol`.`Experiment`.`ratings_per_answer`, `crowdcontrol`.`Experiment`.`anwers_per_worker`, `crowdcontrol`.`Experiment`.`ratings_per_worker`, `crowdcontrol`.`Experiment`.`answer_type`, `crowdcontrol`.`Experiment`.`algorithm_task_chooser`, `crowdcontrol`.`Experiment`.`algorithm_quality_answer`, `crowdcontrol`.`Experiment`.`algorithm_quality_rating`, `crowdcontrol`.`Experiment`.`base_payment`, `crowdcontrol`.`Experiment`.`bonus_answer`, `crowdcontrol`.`Experiment`.`bonus_rating`, `crowdcontrol`.`Experiment`.`template_data`, `crowdcontrol`.`Experiment`.`template`, `crowdcontrol`.`Experiment`.`worker_quality_threshold`, `crowdcontrol`.`Experiment`.`result_quality_threshold` from `crowdcontrol`.`Experiment`
16:11:43.954 [main] DEBUG o.j.t.StopWatch - Query executed : Total: 65.448ms
16:11:43.995 [main] DEBUG o.j.t.LoggerListener - Fetched result : +-------------+--------+-----------+---------------+--------------+------------------+-----------------+------------------+-----------+----------------------+------------------------+---------------------------+------------+------------+------------+-------------+--------+------------------------+------------------------+
16:11:43.996 [main] DEBUG o.j.t.LoggerListener - : |id_experiment|title |description|description_raw|needed_answers|ratings_per_answer|anwers_per_worker|ratings_per_worker|answer_type|algorithm_task_chooser|algorithm_quality_answer|algorithm_quality_rating |base_payment|bonus_answer|bonus_rating|template_data|template|worker_quality_threshold|result_quality_threshold|
16:11:43.996 [main] DEBUG o.j.t.LoggerListener - : +-------------+--------+-----------+---------------+--------------+------------------+-----------------+------------------+-----------+----------------------+------------------------+---------------------------+------------+------------+------------+-------------+--------+------------------------+------------------------+
16:11:43.996 [main] DEBUG o.j.t.LoggerListener - : | 1|Test Exp|Bla |Bla | 10| 3| 3| 3|{null} |anti_spoof |AnswerQualityByRatings |RatingQualityByDistribution| 0| 10| 10|{null} | {null}| 0| 0|
16:11:43.996 [main] DEBUG o.j.t.LoggerListener - : +-------------+--------+-----------+---------------+--------------+------------------+-----------------+------------------+-----------+----------------------+------------------------+---------------------------+------------+------------+------------+-------------+--------+------------------------+------------------------+
16:11:44.024 [main] DEBUG o.j.t.StopWatch - Finishing : Total: 135.681ms, +70.232ms
16:11:44.029 [main] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Database_Version`.`version` from `crowdcontrol`.`Database_Version` order by `crowdcontrol`.`Database_Version`.`timestamp` desc limit ?
16:11:44.029 [main] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Database_Version`.`version` from `crowdcontrol`.`Database_Version` order by `crowdcontrol`.`Database_Version`.`timestamp` desc limit 1
16:11:44.036 [main] DEBUG o.j.t.StopWatch - Query executed : Total: 9.761ms
16:11:44.042 [main] DEBUG o.j.t.LoggerListener - Fetched result : +-------+
16:11:44.042 [main] DEBUG o.j.t.LoggerListener - : |version|
16:11:44.042 [main] DEBUG o.j.t.LoggerListener - : +-------+
16:11:44.042 [main] DEBUG o.j.t.LoggerListener - : | 2|
16:11:44.042 [main] DEBUG o.j.t.LoggerListener - : +-------+
16:11:44.046 [main] DEBUG o.j.t.StopWatch - Finishing : Total: 19.067ms, +9.305ms
16:11:44.111 [main] DEBUG o.j.t.LoggerListener - Executing query : insert into `crowdcontrol`.`Algorithm_Task_Chooser` (`id_task_chooser`, `description`) values (?, ?) on duplicate key update `crowdcontrol`.`Algorithm_Task_Chooser`.`id_task_chooser` = ?, `crowdcontrol`.`Algorithm_Task_Chooser`.`description` = ?
16:11:44.112 [main] DEBUG o.j.t.LoggerListener - -> with bind values : insert into `crowdcontrol`.`Algorithm_Task_Chooser` (`id_task_chooser`, `description`) values ('anti_spoof', 'This AntiSpoof algorithm divides the runtime of the experiment into 3 phases. In the first phase the workers are only allowed to work on creative tasks. Then in the second phase, the worker can work on both the creative and the rating task. The last phase consists only of the assignment to rate. You can set the duration of the first phase either as an absolute number or as an percentage of the total needed answers of the experiment. The duration of the second phase is defined as the difference of the first phase and the total number of answers needed. The third phase will then run until all the remaining ratings got collected.') on duplicate key update `crowdcontrol`.`Algorithm_Task_Chooser`.`id_task_chooser` = 'anti_spoof', `crowdcontrol`.`Algorithm_Task_Chooser`.`description` = 'This AntiSpoof algorithm divides the runtime of the experiment into 3 phases. In the first phase the workers are only allowed to work on creative tasks. Then in the second phase, the worker can work on both the creative and the rating task. The last phase consists only of the assignment to rate. You can set the duration of the first phase either as an absolute number or as an percentage of the total needed answers of the experiment. The duration of the second phase is defined as the difference of the first phase and the total number of answers needed. The third phase will then run until all the remaining ratings got collected.'
16:11:44.115 [main] DEBUG o.j.t.LoggerListener - Affected row(s) : 1
16:11:44.115 [main] DEBUG o.j.t.StopWatch - Query executed : Total: 4.682ms
16:11:44.116 [main] DEBUG o.j.t.StopWatch - Finishing : Total: 5.766ms, +1.083ms
16:11:44.135 [main] DEBUG o.j.t.LoggerListener - Executing query : select 1 as `one` from dual where exists (select `crowdcontrol`.`Algorithm_Task_Chooser_Param`.`id_Algorithm_Task_Chooser_Param`, `crowdcontrol`.`Algorithm_Task_Chooser_Param`.`description`, `crowdcontrol`.`Algorithm_Task_Chooser_Param`.`regex`, `crowdcontrol`.`Algorithm_Task_Chooser_Param`.`algorithm`, `crowdcontrol`.`Algorithm_Task_Chooser_Param`.`data` from `crowdcontrol`.`Algorithm_Task_Chooser_Param` where (`crowdcontrol`.`Algorithm_Task_Chooser_Param`.`algorithm` = ? and `crowdcontrol`.`Algorithm_Task_Chooser_Param`.`description` = ? and `crowdcontrol`.`Algorithm_Task_Chooser_Param`.`regex` = ?))
16:11:44.136 [main] DEBUG o.j.t.LoggerListener - -> with bind values : select 1 as `one` from dual where exists (select `crowdcontrol`.`Algorithm_Task_Chooser_Param`.`id_Algorithm_Task_Chooser_Param`, `crowdcontrol`.`Algorithm_Task_Chooser_Param`.`description`, `crowdcontrol`.`Algorithm_Task_Chooser_Param`.`regex`, `crowdcontrol`.`Algorithm_Task_Chooser_Param`.`algorithm`, `crowdcontrol`.`Algorithm_Task_Chooser_Param`.`data` from `crowdcontrol`.`Algorithm_Task_Chooser_Param` where (`crowdcontrol`.`Algorithm_Task_Chooser_Param`.`algorithm` = 'anti_spoof' and `crowdcontrol`.`Algorithm_Task_Chooser_Param`.`description` = 'Set the amount of answers in the first phase. To set the absolute number just type the number followed by ab, example "150ab" for 150 answers. To set the parameter to a percentage type first the percentage followed by pc, example "30pc" for 30 percent.' and `crowdcontrol`.`Algorithm_Task_Chooser_Param`.`regex` = '^(([0-9]+ab)|((100|[0-9]?[0-9])pc))$'))
16:11:44.138 [main] DEBUG o.j.t.StopWatch - Query executed : Total: 5.534ms
16:11:44.138 [main] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:11:44.138 [main] DEBUG o.j.t.LoggerListener - : | one|
16:11:44.138 [main] DEBUG o.j.t.LoggerListener - : +----+
16:11:44.138 [main] DEBUG o.j.t.LoggerListener - : | 1|
16:11:44.138 [main] DEBUG o.j.t.LoggerListener - : +----+
16:11:44.139 [main] DEBUG o.j.t.StopWatch - Finishing : Total: 6.713ms, +1.178ms
16:11:44.139 [main] DEBUG e.k.i.c.w.Main - workerservice is using port 4567
16:11:44.247 [main] DEBUG i.n.u.i.l.InternalLoggerFactory - Using SLF4J as the default logging framework
16:11:44.255 [main] DEBUG i.n.u.ResourceLeakDetector - -Dio.netty.leakDetection.level: simple
16:11:44.256 [main] DEBUG i.n.u.ResourceLeakDetector - -Dio.netty.leakDetection.maxRecords: 4
16:11:44.269 [main] INFO r.s.RatpackServer - Starting server...
16:11:44.594 [main] DEBUG i.n.u.i.PlatformDependent0 - java.nio.Buffer.address: available
16:11:44.595 [main] DEBUG i.n.u.i.PlatformDependent0 - sun.misc.Unsafe.theUnsafe: available
16:11:44.597 [main] DEBUG i.n.u.i.PlatformDependent0 - sun.misc.Unsafe.copyMemory: available
16:11:44.597 [main] DEBUG i.n.u.i.PlatformDependent0 - java.nio.Bits.unaligned: true
16:11:44.598 [main] DEBUG i.n.u.i.PlatformDependent - Java version: 8
16:11:44.599 [main] DEBUG i.n.u.i.PlatformDependent - -Dio.netty.noUnsafe: false
16:11:44.599 [main] DEBUG i.n.u.i.PlatformDependent - sun.misc.Unsafe: available
16:11:44.601 [main] DEBUG i.n.u.i.PlatformDependent - -Dio.netty.noJavassist: false
16:11:44.702 [main] DEBUG i.n.u.i.PlatformDependent - Javassist: available
16:11:44.702 [main] DEBUG i.n.u.i.PlatformDependent - -Dio.netty.tmpdir: /tmp (java.io.tmpdir)
16:11:44.703 [main] DEBUG i.n.u.i.PlatformDependent - -Dio.netty.bitMode: 64 (sun.arch.data.model)
16:11:44.703 [main] DEBUG i.n.u.i.PlatformDependent - -Dio.netty.noPreferDirect: false
16:11:44.704 [main] DEBUG i.n.u.i.NativeLibraryLoader - -Dio.netty.tmpdir: /tmp (java.io.tmpdir)
16:11:44.704 [main] DEBUG i.n.u.i.NativeLibraryLoader - -Dio.netty.native.workdir: /tmp (io.netty.tmpdir)
16:11:44.714 [main] DEBUG i.n.u.NetUtil - Loopback interface: lo (lo, 0:0:0:0:0:0:0:1%lo)
16:11:44.717 [main] DEBUG i.n.u.NetUtil - /proc/sys/net/core/somaxconn: 128
16:11:44.737 [main] DEBUG i.n.c.MultithreadEventLoopGroup - -Dio.netty.eventLoopThreads: 8
16:11:44.791 [main] INFO r.s.RatpackServer - Building registry...
16:11:44.817 [main] DEBUG i.n.b.PooledByteBufAllocator - -Dio.netty.allocator.numHeapArenas: 8
16:11:44.817 [main] DEBUG i.n.b.PooledByteBufAllocator - -Dio.netty.allocator.numDirectArenas: 8
16:11:44.817 [main] DEBUG i.n.b.PooledByteBufAllocator - -Dio.netty.allocator.pageSize: 8192
16:11:44.820 [main] DEBUG i.n.b.PooledByteBufAllocator - -Dio.netty.allocator.maxOrder: 11
16:11:44.820 [main] DEBUG i.n.b.PooledByteBufAllocator - -Dio.netty.allocator.chunkSize: 16777216
16:11:44.820 [main] DEBUG i.n.b.PooledByteBufAllocator - -Dio.netty.allocator.tinyCacheSize: 512
16:11:44.820 [main] DEBUG i.n.b.PooledByteBufAllocator - -Dio.netty.allocator.smallCacheSize: 256
16:11:44.820 [main] DEBUG i.n.b.PooledByteBufAllocator - -Dio.netty.allocator.normalCacheSize: 64
16:11:44.820 [main] DEBUG i.n.b.PooledByteBufAllocator - -Dio.netty.allocator.maxCachedBufferCapacity: 32768
16:11:44.820 [main] DEBUG i.n.b.PooledByteBufAllocator - -Dio.netty.allocator.cacheTrimInterval: 8192
16:11:44.955 [main] DEBUG i.n.c.DefaultChannelId - -Dio.netty.processId: 8 (auto-detected)
16:11:44.956 [main] DEBUG i.n.c.DefaultChannelId - -Dio.netty.machineId: 02:42:ac:ff:fe:12:00:05 (auto-detected)
16:11:44.957 [main] DEBUG i.n.u.i.ThreadLocalRandom - -Dio.netty.initialSeedUniquifier: 0x8433f58122d2e5b1 (took 0 ms)
16:11:44.992 [main] DEBUG i.n.b.ByteBufUtil - -Dio.netty.allocator.type: pooled
16:11:44.992 [main] DEBUG i.n.b.ByteBufUtil - -Dio.netty.threadLocalDirectBufferSize: 65536
16:11:44.993 [main] DEBUG i.n.b.ByteBufUtil - -Dio.netty.maxThreadLocalCharBufferSize: 16384
16:11:45.005 [main] INFO r.s.RatpackServer - Ratpack started (development) for http://localhost:4567
16:11:45.005 [main] DEBUG e.k.i.c.w.Main - router initialized
16:12:12.161 [HikariPool-0 housekeeper] DEBUG c.z.h.p.HikariPool - HikariPool-0 - Pool stats (total=10, active=1, idle=9, waiting=0)
16:12:42.162 [HikariPool-0 housekeeper] DEBUG c.z.h.p.HikariPool - HikariPool-0 - Pool stats (total=10, active=1, idle=9, waiting=0)
16:12:50.670 [ratpack-compute-1-2] DEBUG i.n.b.AbstractByteBuf - -Dio.netty.buffer.bytebuf.checkAccessible: true
16:12:50.709 [ratpack-compute-1-2] DEBUG i.n.u.i.JavassistTypeParameterMatcherGenerator - Generated: io.netty.util.internal.__matchers__.io.netty.handler.codec.http.HttpRequestMatcher
16:12:50.711 [ratpack-compute-1-2] DEBUG i.n.u.i.JavassistTypeParameterMatcherGenerator - Generated: io.netty.util.internal.__matchers__.io.netty.handler.codec.http.HttpObjectMatcher
16:12:50.724 [ratpack-compute-1-2] DEBUG i.n.u.Recycler - -Dio.netty.recycler.maxCapacity.maxCapacity: 262144
16:12:50.917 [ratpack-compute-1-2] DEBUG i.n.h.c.c.ZlibCodecFactory - -Dio.netty.noJdkZlibDecoder: true
16:12:50.917 [ratpack-compute-1-2] DEBUG i.n.h.c.c.ZlibCodecFactory - -Dio.netty.noJdkZlibEncoder: false
16:12:50.932 [ratpack-compute-1-2] DEBUG i.n.u.i.JavassistTypeParameterMatcherGenerator - Generated: io.netty.util.internal.__matchers__.io.netty.buffer.ByteBufMatcher
16:12:51.210 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Experiment`.`id_experiment`, `crowdcontrol`.`Experiment`.`title`, `crowdcontrol`.`Experiment`.`description`, `crowdcontrol`.`Experiment`.`description_raw`, `crowdcontrol`.`Experiment`.`needed_answers`, `crowdcontrol`.`Experiment`.`ratings_per_answer`, `crowdcontrol`.`Experiment`.`anwers_per_worker`, `crowdcontrol`.`Experiment`.`ratings_per_worker`, `crowdcontrol`.`Experiment`.`answer_type`, `crowdcontrol`.`Experiment`.`algorithm_task_chooser`, `crowdcontrol`.`Experiment`.`algorithm_quality_answer`, `crowdcontrol`.`Experiment`.`algorithm_quality_rating`, `crowdcontrol`.`Experiment`.`base_payment`, `crowdcontrol`.`Experiment`.`bonus_answer`, `crowdcontrol`.`Experiment`.`bonus_rating`, `crowdcontrol`.`Experiment`.`template_data`, `crowdcontrol`.`Experiment`.`template`, `crowdcontrol`.`Experiment`.`worker_quality_threshold`, `crowdcontrol`.`Experiment`.`result_quality_threshold` from `crowdcontrol`.`Experiment` where `crowdcontrol`.`Experiment`.`id_experiment` = ?
16:12:51.216 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Experiment`.`id_experiment`, `crowdcontrol`.`Experiment`.`title`, `crowdcontrol`.`Experiment`.`description`, `crowdcontrol`.`Experiment`.`description_raw`, `crowdcontrol`.`Experiment`.`needed_answers`, `crowdcontrol`.`Experiment`.`ratings_per_answer`, `crowdcontrol`.`Experiment`.`anwers_per_worker`, `crowdcontrol`.`Experiment`.`ratings_per_worker`, `crowdcontrol`.`Experiment`.`answer_type`, `crowdcontrol`.`Experiment`.`algorithm_task_chooser`, `crowdcontrol`.`Experiment`.`algorithm_quality_answer`, `crowdcontrol`.`Experiment`.`algorithm_quality_rating`, `crowdcontrol`.`Experiment`.`base_payment`, `crowdcontrol`.`Experiment`.`bonus_answer`, `crowdcontrol`.`Experiment`.`bonus_rating`, `crowdcontrol`.`Experiment`.`template_data`, `crowdcontrol`.`Experiment`.`template`, `crowdcontrol`.`Experiment`.`worker_quality_threshold`, `crowdcontrol`.`Experiment`.`result_quality_threshold` from `crowdcontrol`.`Experiment` where `crowdcontrol`.`Experiment`.`id_experiment` = 20
16:12:51.229 [ratpack-compute-1-2] DEBUG o.j.t.StopWatch - Query executed : Total: 20.182ms
16:12:51.236 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - Fetched result : +-------------+---------+-----------+---------------+--------------+------------------+-----------------+------------------+-----------+----------------------+------------------------+---------------------------+------------+------------+------------+-------------+--------+------------------------+------------------------+
16:12:51.236 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : |id_experiment|title |description|description_raw|needed_answers|ratings_per_answer|anwers_per_worker|ratings_per_worker|answer_type|algorithm_task_chooser|algorithm_quality_answer|algorithm_quality_rating |base_payment|bonus_answer|bonus_rating|template_data|template|worker_quality_threshold|result_quality_threshold|
16:12:51.236 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : +-------------+---------+-----------+---------------+--------------+------------------+-----------------+------------------+-----------+----------------------+------------------------+---------------------------+------------+------------+------------+-------------+--------+------------------------+------------------------+
16:12:51.236 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : | 20|Calibtest|test |test | 10| 3| 3| 3|{null} |anti_spoof |AnswerQualityByRatings |RatingQualityByDistribution| 0| 10| 10|{null} | {null}| 0| 4|
16:12:51.236 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : +-------------+---------+-----------+---------------+--------------+------------------+-----------------+------------------+-----------+----------------------+------------------------+---------------------------+------------+------------+------------+-------------+--------+------------------------+------------------------+
16:12:51.237 [ratpack-compute-1-2] DEBUG o.j.t.StopWatch - Finishing : Total: 27.648ms, +7.465ms
16:12:51.254 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Platform`.`id_platform`, `crowdcontrol`.`Platform`.`name`, `crowdcontrol`.`Platform`.`render_calibrations`, `crowdcontrol`.`Platform`.`needs_email`, `crowdcontrol`.`Platform`.`inactive`, `crowdcontrol`.`Platform`.`currency` from `crowdcontrol`.`Platform` where `crowdcontrol`.`Platform`.`id_platform` = ?
16:12:51.272 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Platform`.`id_platform`, `crowdcontrol`.`Platform`.`name`, `crowdcontrol`.`Platform`.`render_calibrations`, `crowdcontrol`.`Platform`.`needs_email`, `crowdcontrol`.`Platform`.`inactive`, `crowdcontrol`.`Platform`.`currency` from `crowdcontrol`.`Platform` where `crowdcontrol`.`Platform`.`id_platform` = 'dummydummy'
16:12:51.274 [ratpack-compute-1-2] DEBUG o.j.t.StopWatch - Query executed : Total: 20.347ms
16:12:51.287 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - Fetched result : +-----------+--------------------+-------------------+-----------+--------+--------+
16:12:51.287 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : |id_platform|name |render_calibrations|needs_email|inactive|currency|
16:12:51.287 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : +-----------+--------------------+-------------------+-----------+--------+--------+
16:12:51.287 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : |dummydummy |Dummy Platform dummy|true |true |false | 0|
16:12:51.287 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : +-----------+--------------------+-------------------+-----------+--------+--------+
16:12:51.288 [ratpack-compute-1-2] DEBUG o.j.t.StopWatch - Finishing : Total: 34.357ms, +14.009ms
16:12:51.291 [ratpack-compute-1-2] TRACE e.k.i.c.w.q.Queries - skipCreative is: false
16:12:51.291 [ratpack-compute-1-2] TRACE e.k.i.c.w.q.Queries - skipRating is: false
16:12:51.342 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - Executing query : select 1 as `one` from dual where exists (select `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer`, `crowdcontrol`.`Calibration_Result`.`id_calibration_result`, `crowdcontrol`.`Calibration_Result`.`worker`, `crowdcontrol`.`Calibration_Result`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`id_experiments_calibration`, `crowdcontrol`.`Experiments_Calibration`.`experiments_platform`, `crowdcontrol`.`Experiments_Calibration`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`not` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` join `crowdcontrol`.`Experiments_Calibration` on (`crowdcontrol`.`Experiments_Calibration`.`experiments_platform` in (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = ? and `crowdcontrol`.`Experiments_Platform`.`platform` = ?)) and `crowdcontrol`.`Calibration_answer_option`.`calibration` = (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` = `crowdcontrol`.`Experiments_Calibration`.`answer`) and ((`crowdcontrol`.`Experiments_Calibration`.`not` = ? and `crowdcontrol`.`Experiments_Calibration`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`) or (`crowdcontrol`.`Experiments_Calibration`.`not` = ? and `crowdcontrol`.`Experiments_Calibration`.`answer` <> `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`))) where `crowdcontrol`.`Calibration_Result`.`worker` = ?)
16:12:51.353 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - -> with bind values : select 1 as `one` from dual where exists (select `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer`, `crowdcontrol`.`Calibration_Result`.`id_calibration_result`, `crowdcontrol`.`Calibration_Result`.`worker`, `crowdcontrol`.`Calibration_Result`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`id_experiments_calibration`, `crowdcontrol`.`Experiments_Calibration`.`experiments_platform`, `crowdcontrol`.`Experiments_Calibration`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`not` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` join `crowdcontrol`.`Experiments_Calibration` on (`crowdcontrol`.`Experiments_Calibration`.`experiments_platform` in (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = 20 and `crowdcontrol`.`Experiments_Platform`.`platform` = 'dummydummy')) and `crowdcontrol`.`Calibration_answer_option`.`calibration` = (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` = `crowdcontrol`.`Experiments_Calibration`.`answer`) and ((`crowdcontrol`.`Experiments_Calibration`.`not` = true and `crowdcontrol`.`Experiments_Calibration`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`) or (`crowdcontrol`.`Experiments_Calibration`.`not` = false and `crowdcontrol`.`Experiments_Calibration`.`answer` <> `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`))) where `crowdcontrol`.`Calibration_Result`.`worker` = 36)
16:12:51.366 [ratpack-compute-1-2] DEBUG o.j.t.StopWatch - Query executed : Total: 25.987ms
16:12:51.372 [ratpack-compute-1-2] DEBUG o.j.t.StopWatch - Finishing : Total: 31.728ms, +5.74ms
16:12:51.376 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:12:51.376 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : | one|
16:12:51.376 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : +----+
16:12:51.377 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Worker`.`quality` from `crowdcontrol`.`Worker` where `crowdcontrol`.`Worker`.`id_worker` = ?
16:12:51.377 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Worker`.`quality` from `crowdcontrol`.`Worker` where `crowdcontrol`.`Worker`.`id_worker` = 36
16:12:51.383 [ratpack-compute-1-2] DEBUG o.j.t.StopWatch - Query executed : Total: 6.794ms
16:12:51.384 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - Fetched result : +-------+
16:12:51.384 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : |quality|
16:12:51.384 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : +-------+
16:12:51.384 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : | 9|
16:12:51.384 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : +-------+
16:12:51.388 [ratpack-compute-1-2] DEBUG o.j.t.StopWatch - Finishing : Total: 10.958ms, +4.164ms
16:12:51.388 [ratpack-compute-1-2] DEBUG e.k.i.c.w.q.Queries - worker 36 is eligible for working on the assignment
16:12:51.389 [ratpack-compute-1-2] TRACE e.k.i.c.w.q.Queries - platform dummydummy is able to render calibrations
16:12:51.393 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Calibration`.`id_calibration`, `crowdcontrol`.`Calibration`.`property`, `crowdcontrol`.`Calibration`.`name`, `crowdcontrol`.`Calibration`.`experiment`, `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration` on `crowdcontrol`.`Calibration_answer_option`.`calibration` = `crowdcontrol`.`Calibration`.`id_calibration` where (`crowdcontrol`.`Calibration`.`id_calibration` in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` in (select `crowdcontrol`.`Experiments_Calibration`.`answer` from `crowdcontrol`.`Experiments_Calibration` where `crowdcontrol`.`Experiments_Calibration`.`experiments_platform` = (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = ? and `crowdcontrol`.`Experiments_Platform`.`platform` = ?)))) and `crowdcontrol`.`Calibration`.`id_calibration` not in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` where `crowdcontrol`.`Calibration_Result`.`worker` = ?))
16:12:51.398 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Calibration`.`id_calibration`, `crowdcontrol`.`Calibration`.`property`, `crowdcontrol`.`Calibration`.`name`, `crowdcontrol`.`Calibration`.`experiment`, `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration` on `crowdcontrol`.`Calibration_answer_option`.`calibration` = `crowdcontrol`.`Calibration`.`id_calibration` where (`crowdcontrol`.`Calibration`.`id_calibration` in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` in (select `crowdcontrol`.`Experiments_Calibration`.`answer` from `crowdcontrol`.`Experiments_Calibration` where `crowdcontrol`.`Experiments_Calibration`.`experiments_platform` = (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = 20 and `crowdcontrol`.`Experiments_Platform`.`platform` = 'dummydummy')))) and `crowdcontrol`.`Calibration`.`id_calibration` not in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` where `crowdcontrol`.`Calibration_Result`.`worker` = 36))
16:12:51.404 [ratpack-compute-1-2] DEBUG o.j.t.StopWatch - Query executed : Total: 14.236ms
16:12:51.414 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - Fetched result : +--------------+------------+----+----------+----------------------------+-----------+------+
16:12:51.414 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : |id_calibration|property |name|experiment|id_calibration_answer_option|calibration|answer|
16:12:51.414 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : +--------------+------------+----+----------+----------------------------+-----------+------+
16:12:51.414 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : | 18|Are you male|Sex | {null}| 18| 18|yes |
16:12:51.414 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : | 18|Are you male|Sex | {null}| 19| 18|no |
16:12:51.414 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : +--------------+------------+----+----------+----------------------------+-----------+------+
16:12:51.414 [ratpack-compute-1-2] DEBUG o.j.t.StopWatch - Finishing : Total: 24.605ms, +10.368ms
16:12:51.422 [ratpack-compute-1-2] TRACE e.k.i.c.w.q.Queries - worker 36 must answer the calibrations {+--------------+------------+----+----------+
|id_calibration|property |name|experiment|
+--------------+------------+----+----------+
| 18|Are you male|Sex | {null}|
+--------------+------------+----+----------+=+----------------------------+-----------+------+
|id_calibration_answer_option|calibration|answer|
+----------------------------+-----------+------+
| 18| 18|yes |
| 19| 18|no |
+----------------------------+-----------+------+}
16:12:51.424 [ratpack-compute-1-2] DEBUG e.k.i.c.w.q.Queries - worker 36 must answer calibrations
16:12:51.453 [ratpack-compute-1-2] DEBUG e.k.i.c.w.q.Queries - returning view: type: CALIBRATION
calibrations {
question: "Are you male"
answer_options {
option: "yes"
id: 18
}
answer_options {
option: "no"
id: 19
}
id: 18
}
16:12:57.877 [ratpack-compute-1-2] DEBUG e.k.i.c.w.c.Commands - Trying to submit calibration answer_option: 19
for worker 36.
16:12:57.879 [ratpack-compute-1-2] DEBUG e.k.i.c.w.o.Communication - Trying to submit calibration answer_id: 19
for worker 36 with route /workers/36/calibrations
16:12:57.947 [I/O dispatcher 2] DEBUG e.k.i.c.w.o.Communication - Object service answered with status 201
16:12:57.947 [ratpack-compute-1-2] DEBUG e.k.i.c.w.c.Commands - Object service answered with OK.
16:12:57.967 [ratpack-compute-1-2] TRACE e.k.i.c.w.q.Queries - skipCreative is: false
16:12:57.967 [ratpack-compute-1-2] TRACE e.k.i.c.w.q.Queries - skipRating is: false
16:12:57.969 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - Executing query : select 1 as `one` from dual where exists (select `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer`, `crowdcontrol`.`Calibration_Result`.`id_calibration_result`, `crowdcontrol`.`Calibration_Result`.`worker`, `crowdcontrol`.`Calibration_Result`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`id_experiments_calibration`, `crowdcontrol`.`Experiments_Calibration`.`experiments_platform`, `crowdcontrol`.`Experiments_Calibration`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`not` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` join `crowdcontrol`.`Experiments_Calibration` on (`crowdcontrol`.`Experiments_Calibration`.`experiments_platform` in (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = ? and `crowdcontrol`.`Experiments_Platform`.`platform` = ?)) and `crowdcontrol`.`Calibration_answer_option`.`calibration` = (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` = `crowdcontrol`.`Experiments_Calibration`.`answer`) and ((`crowdcontrol`.`Experiments_Calibration`.`not` = ? and `crowdcontrol`.`Experiments_Calibration`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`) or (`crowdcontrol`.`Experiments_Calibration`.`not` = ? and `crowdcontrol`.`Experiments_Calibration`.`answer` <> `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`))) where `crowdcontrol`.`Calibration_Result`.`worker` = ?)
16:12:57.970 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - -> with bind values : select 1 as `one` from dual where exists (select `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer`, `crowdcontrol`.`Calibration_Result`.`id_calibration_result`, `crowdcontrol`.`Calibration_Result`.`worker`, `crowdcontrol`.`Calibration_Result`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`id_experiments_calibration`, `crowdcontrol`.`Experiments_Calibration`.`experiments_platform`, `crowdcontrol`.`Experiments_Calibration`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`not` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` join `crowdcontrol`.`Experiments_Calibration` on (`crowdcontrol`.`Experiments_Calibration`.`experiments_platform` in (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = 20 and `crowdcontrol`.`Experiments_Platform`.`platform` = 'dummydummy')) and `crowdcontrol`.`Calibration_answer_option`.`calibration` = (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` = `crowdcontrol`.`Experiments_Calibration`.`answer`) and ((`crowdcontrol`.`Experiments_Calibration`.`not` = true and `crowdcontrol`.`Experiments_Calibration`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`) or (`crowdcontrol`.`Experiments_Calibration`.`not` = false and `crowdcontrol`.`Experiments_Calibration`.`answer` <> `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`))) where `crowdcontrol`.`Calibration_Result`.`worker` = 36)
16:12:57.974 [ratpack-compute-1-2] DEBUG o.j.t.StopWatch - Query executed : Total: 6.014ms
16:12:57.976 [ratpack-compute-1-2] DEBUG o.j.t.StopWatch - Finishing : Total: 7.699ms, +1.684ms
16:12:57.976 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:12:57.976 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : | one|
16:12:57.976 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : +----+
16:12:57.976 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Worker`.`quality` from `crowdcontrol`.`Worker` where `crowdcontrol`.`Worker`.`id_worker` = ?
16:12:57.977 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Worker`.`quality` from `crowdcontrol`.`Worker` where `crowdcontrol`.`Worker`.`id_worker` = 36
16:12:57.977 [ratpack-compute-1-2] DEBUG o.j.t.StopWatch - Query executed : Total: 1.274ms
16:12:57.978 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - Fetched result : +-------+
16:12:57.978 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : |quality|
16:12:57.978 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : +-------+
16:12:57.978 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : | 9|
16:12:57.978 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : +-------+
16:12:57.979 [ratpack-compute-1-2] DEBUG o.j.t.StopWatch - Finishing : Total: 2.495ms, +1.22ms
16:12:57.979 [ratpack-compute-1-2] DEBUG e.k.i.c.w.q.Queries - worker 36 is eligible for working on the assignment
16:12:57.979 [ratpack-compute-1-2] TRACE e.k.i.c.w.q.Queries - platform dummydummy is able to render calibrations
16:12:57.981 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Calibration`.`id_calibration`, `crowdcontrol`.`Calibration`.`property`, `crowdcontrol`.`Calibration`.`name`, `crowdcontrol`.`Calibration`.`experiment`, `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration` on `crowdcontrol`.`Calibration_answer_option`.`calibration` = `crowdcontrol`.`Calibration`.`id_calibration` where (`crowdcontrol`.`Calibration`.`id_calibration` in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` in (select `crowdcontrol`.`Experiments_Calibration`.`answer` from `crowdcontrol`.`Experiments_Calibration` where `crowdcontrol`.`Experiments_Calibration`.`experiments_platform` = (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = ? and `crowdcontrol`.`Experiments_Platform`.`platform` = ?)))) and `crowdcontrol`.`Calibration`.`id_calibration` not in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` where `crowdcontrol`.`Calibration_Result`.`worker` = ?))
16:12:57.982 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Calibration`.`id_calibration`, `crowdcontrol`.`Calibration`.`property`, `crowdcontrol`.`Calibration`.`name`, `crowdcontrol`.`Calibration`.`experiment`, `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration` on `crowdcontrol`.`Calibration_answer_option`.`calibration` = `crowdcontrol`.`Calibration`.`id_calibration` where (`crowdcontrol`.`Calibration`.`id_calibration` in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` in (select `crowdcontrol`.`Experiments_Calibration`.`answer` from `crowdcontrol`.`Experiments_Calibration` where `crowdcontrol`.`Experiments_Calibration`.`experiments_platform` = (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = 20 and `crowdcontrol`.`Experiments_Platform`.`platform` = 'dummydummy')))) and `crowdcontrol`.`Calibration`.`id_calibration` not in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` where `crowdcontrol`.`Calibration_Result`.`worker` = 36))
16:12:57.986 [ratpack-compute-1-2] DEBUG o.j.t.StopWatch - Query executed : Total: 5.875ms
16:12:57.991 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - Fetched result : +--------------+--------+----+----------+----------------------------+-----------+------+
16:12:57.991 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : |id_calibration|property|name|experiment|id_calibration_answer_option|calibration|answer|
16:12:57.991 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : +--------------+--------+----+----------+----------------------------+-----------+------+
16:12:57.991 [ratpack-compute-1-2] DEBUG o.j.t.StopWatch - Finishing : Total: 11.069ms, +5.194ms
16:12:57.991 [ratpack-compute-1-2] TRACE e.k.i.c.w.q.Queries - worker 36 must answer the calibrations {}
16:12:57.992 [ratpack-compute-1-2] DEBUG e.k.i.c.w.q.Queries - worker 36 must not answer calibrations
16:12:58.000 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Experiments_Platform_Mode`.`mode` from `crowdcontrol`.`Experiments_Platform_Mode` where `crowdcontrol`.`Experiments_Platform_Mode`.`experiments_platform` in (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = ? and `crowdcontrol`.`Experiments_Platform`.`platform` = ?)) order by `crowdcontrol`.`Experiments_Platform_Mode`.`timestamp` desc limit ?
16:12:58.000 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Experiments_Platform_Mode`.`mode` from `crowdcontrol`.`Experiments_Platform_Mode` where `crowdcontrol`.`Experiments_Platform_Mode`.`experiments_platform` in (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = 20 and `crowdcontrol`.`Experiments_Platform`.`platform` = 'dummydummy')) order by `crowdcontrol`.`Experiments_Platform_Mode`.`timestamp` desc limit 1
16:12:58.004 [ratpack-compute-1-2] DEBUG o.j.t.StopWatch - Query executed : Total: 8.882ms
16:12:58.005 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - Fetched result : +------+
16:12:58.005 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : |mode |
16:12:58.005 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : +------+
16:12:58.005 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : |normal|
16:12:58.005 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : +------+
16:12:58.007 [ratpack-compute-1-2] DEBUG o.j.t.StopWatch - Finishing : Total: 10.957ms, +2.075ms
16:12:58.007 [ratpack-compute-1-2] DEBUG e.k.i.c.w.q.Queries - invoking task-chooser anti_spoof
16:12:58.019 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - Executing query : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` left outer join `crowdcontrol`.`Answer` on `crowdcontrol`.`Answer`.`reservation` = `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` where ((`crowdcontrol`.`Answer_Reservation`.`used` = ? or (`crowdcontrol`.`Answer_Reservation`.`timestamp` >= ? and `crowdcontrol`.`Answer_Reservation`.`worker` <> ?)) and `crowdcontrol`.`Answer_Reservation`.`experiment` = ? and ((`crowdcontrol`.`Answer`.`quality_assured` = ? and `crowdcontrol`.`Answer`.`quality` > (select `crowdcontrol`.`Experiment`.`result_quality_threshold` from `crowdcontrol`.`Experiment` where `crowdcontrol`.`Experiment`.`id_experiment` = ?)) or ?))) as `q`
16:12:58.020 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - -> with bind values : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` left outer join `crowdcontrol`.`Answer` on `crowdcontrol`.`Answer`.`reservation` = `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` where ((`crowdcontrol`.`Answer_Reservation`.`used` = true or (`crowdcontrol`.`Answer_Reservation`.`timestamp` >= {ts '2016-03-17 14:12:58.01'} and `crowdcontrol`.`Answer_Reservation`.`worker` <> 36)) and `crowdcontrol`.`Answer_Reservation`.`experiment` = 20 and ((`crowdcontrol`.`Answer`.`quality_assured` = true and `crowdcontrol`.`Answer`.`quality` > (select `crowdcontrol`.`Experiment`.`result_quality_threshold` from `crowdcontrol`.`Experiment` where `crowdcontrol`.`Experiment`.`id_experiment` = 20)) or true))) as `q`
16:12:58.024 [ratpack-compute-1-2] DEBUG o.j.t.StopWatch - Query executed : Total: 7.865ms
16:12:58.025 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:12:58.025 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : | c|
16:12:58.025 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : +----+
16:12:58.025 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : | 0|
16:12:58.025 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : +----+
16:12:58.028 [ratpack-compute-1-2] DEBUG o.j.t.StopWatch - Finishing : Total: 11.859ms, +3.994ms
16:12:58.030 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Algorithm_Task_Chooser_Param`.`data`, `crowdcontrol`.`Chosen_Task_Chooser_Param`.`value` from `crowdcontrol`.`Chosen_Task_Chooser_Param` join `crowdcontrol`.`Algorithm_Task_Chooser_Param` on `crowdcontrol`.`Chosen_Task_Chooser_Param`.`param` = `crowdcontrol`.`Algorithm_Task_Chooser_Param`.`id_Algorithm_Task_Chooser_Param` where `crowdcontrol`.`Chosen_Task_Chooser_Param`.`experiment` = ?
16:12:58.031 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Algorithm_Task_Chooser_Param`.`data`, `crowdcontrol`.`Chosen_Task_Chooser_Param`.`value` from `crowdcontrol`.`Chosen_Task_Chooser_Param` join `crowdcontrol`.`Algorithm_Task_Chooser_Param` on `crowdcontrol`.`Chosen_Task_Chooser_Param`.`param` = `crowdcontrol`.`Algorithm_Task_Chooser_Param`.`id_Algorithm_Task_Chooser_Param` where `crowdcontrol`.`Chosen_Task_Chooser_Param`.`experiment` = 20
16:12:58.035 [ratpack-compute-1-2] DEBUG o.j.t.StopWatch - Query executed : Total: 5.851ms
16:12:58.037 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - Fetched result : +----+-----+
16:12:58.038 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : |data|value|
16:12:58.038 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : +----+-----+
16:12:58.038 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : |1 |1ab |
16:12:58.038 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : +----+-----+
16:12:58.038 [ratpack-compute-1-2] DEBUG o.j.t.StopWatch - Finishing : Total: 8.409ms, +2.558ms
16:12:58.044 [ratpack-compute-1-2] TRACE e.k.i.c.w.q.AntiSpoof - calculating phase for: answersCount=0, phases={1=1}, neededAnswers=10
16:12:58.044 [ratpack-compute-1-2] DEBUG e.k.i.c.w.q.AntiSpoof - entering phase 1
16:12:58.044 [ratpack-compute-1-2] TRACE e.k.i.c.w.q.TaskChooserAlgorithm - constructing view with parameters: worker-id = 36, experimentID = 20, skipCreative = false, skipRating = true
16:12:58.046 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - Executing query : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation`, `crowdcontrol`.`Answer_Reservation`.`worker`, `crowdcontrol`.`Answer_Reservation`.`experiment`, `crowdcontrol`.`Answer_Reservation`.`timestamp`, `crowdcontrol`.`Answer_Reservation`.`used` from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`experiment` = ? and `crowdcontrol`.`Answer_Reservation`.`worker` = ? and `crowdcontrol`.`Answer_Reservation`.`used` = ?)) as `q`
16:12:58.046 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - -> with bind values : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation`, `crowdcontrol`.`Answer_Reservation`.`worker`, `crowdcontrol`.`Answer_Reservation`.`experiment`, `crowdcontrol`.`Answer_Reservation`.`timestamp`, `crowdcontrol`.`Answer_Reservation`.`used` from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`experiment` = 20 and `crowdcontrol`.`Answer_Reservation`.`worker` = 36 and `crowdcontrol`.`Answer_Reservation`.`used` = true)) as `q`
16:12:58.049 [ratpack-compute-1-2] DEBUG o.j.t.StopWatch - Query executed : Total: 4.153ms
16:12:58.049 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:12:58.049 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : | c|
16:12:58.049 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : +----+
16:12:58.049 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : | 0|
16:12:58.049 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : +----+
16:12:58.050 [ratpack-compute-1-2] DEBUG o.j.t.StopWatch - Finishing : Total: 5.356ms, +1.203ms
16:12:58.051 [ratpack-compute-1-2] DEBUG e.k.i.c.w.q.TaskChooserAlgorithm - worker 36 has answered 0 times, max. is 3
16:12:58.051 [ratpack-compute-1-2] DEBUG e.k.i.c.w.q.TaskChooserAlgorithm - returning answer-view
16:12:58.051 [ratpack-compute-1-2] DEBUG e.k.i.c.w.q.TaskChooserAlgorithm - task chooser constructs answer-view
16:12:58.062 [ratpack-compute-1-2] DEBUG o.j.i.DefaultConnectionProvider - setting auto commit : false
16:12:58.064 [ratpack-compute-1-2] DEBUG o.j.i.DefaultConnectionProvider - set savepoint
16:12:58.068 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - Executing query : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` left outer join `crowdcontrol`.`Answer` on `crowdcontrol`.`Answer`.`reservation` = `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` where ((`crowdcontrol`.`Answer_Reservation`.`used` = ? or (`crowdcontrol`.`Answer_Reservation`.`timestamp` >= ? and `crowdcontrol`.`Answer_Reservation`.`worker` <> ?)) and `crowdcontrol`.`Answer_Reservation`.`experiment` = ? and ((`crowdcontrol`.`Answer`.`quality_assured` = ? and `crowdcontrol`.`Answer`.`quality` > (select `crowdcontrol`.`Experiment`.`result_quality_threshold` from `crowdcontrol`.`Experiment` where `crowdcontrol`.`Experiment`.`id_experiment` = ?)) or ?))) as `q`
16:12:58.070 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - -> with bind values : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` left outer join `crowdcontrol`.`Answer` on `crowdcontrol`.`Answer`.`reservation` = `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` where ((`crowdcontrol`.`Answer_Reservation`.`used` = true or (`crowdcontrol`.`Answer_Reservation`.`timestamp` >= {ts '2016-03-17 14:12:58.066'} and `crowdcontrol`.`Answer_Reservation`.`worker` <> -1)) and `crowdcontrol`.`Answer_Reservation`.`experiment` = 20 and ((`crowdcontrol`.`Answer`.`quality_assured` = true and `crowdcontrol`.`Answer`.`quality` > (select `crowdcontrol`.`Experiment`.`result_quality_threshold` from `crowdcontrol`.`Experiment` where `crowdcontrol`.`Experiment`.`id_experiment` = 20)) or true))) as `q`
16:12:58.073 [ratpack-compute-1-2] DEBUG o.j.t.StopWatch - Query executed : Total: 5.954ms
16:12:58.073 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:12:58.073 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : | c|
16:12:58.073 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : +----+
16:12:58.073 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : | 0|
16:12:58.073 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : +----+
16:12:58.074 [ratpack-compute-1-2] DEBUG o.j.t.StopWatch - Finishing : Total: 7.287ms, +1.332ms
16:12:58.075 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - Executing query : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation`, `crowdcontrol`.`Answer_Reservation`.`worker`, `crowdcontrol`.`Answer_Reservation`.`experiment`, `crowdcontrol`.`Answer_Reservation`.`timestamp`, `crowdcontrol`.`Answer_Reservation`.`used` from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`experiment` = ? and `crowdcontrol`.`Answer_Reservation`.`worker` = ? and `crowdcontrol`.`Answer_Reservation`.`used` = ?)) as `q`
16:12:58.075 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - -> with bind values : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation`, `crowdcontrol`.`Answer_Reservation`.`worker`, `crowdcontrol`.`Answer_Reservation`.`experiment`, `crowdcontrol`.`Answer_Reservation`.`timestamp`, `crowdcontrol`.`Answer_Reservation`.`used` from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`experiment` = 20 and `crowdcontrol`.`Answer_Reservation`.`worker` = 36 and `crowdcontrol`.`Answer_Reservation`.`used` = true)) as `q`
16:12:58.079 [ratpack-compute-1-2] DEBUG o.j.t.StopWatch - Query executed : Total: 4.284ms
16:12:58.079 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:12:58.079 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : | c|
16:12:58.081 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : +----+
16:12:58.081 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : | 0|
16:12:58.081 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : +----+
16:12:58.081 [ratpack-compute-1-2] DEBUG o.j.t.StopWatch - Finishing : Total: 7.004ms, +2.72ms
16:12:58.082 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - Executing query : select count(*) from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`experiment` = ? and `crowdcontrol`.`Answer_Reservation`.`worker` = ? and `crowdcontrol`.`Answer_Reservation`.`used` = ?)
16:12:58.082 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - -> with bind values : select count(*) from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`experiment` = 20 and `crowdcontrol`.`Answer_Reservation`.`worker` = 36 and `crowdcontrol`.`Answer_Reservation`.`used` = false)
16:12:58.084 [ratpack-compute-1-2] DEBUG o.j.t.StopWatch - Query executed : Total: 2.545ms
16:12:58.084 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - Fetched result : +-----+
16:12:58.085 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : |count|
16:12:58.085 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : +-----+
16:12:58.085 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : | 0|
16:12:58.085 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : +-----+
16:12:58.087 [ratpack-compute-1-2] DEBUG o.j.t.StopWatch - Finishing : Total: 5.447ms, +2.901ms
16:12:58.087 [ratpack-compute-1-2] TRACE e.k.i.c.w.d.o.ExperimentsPlatformOperations - Worker 36 has 0 reserved open answers {}.
16:12:58.095 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - Executing query : update `crowdcontrol`.`Answer_Reservation` set `crowdcontrol`.`Answer_Reservation`.`timestamp` = ? where `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` in (?)
16:12:58.095 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - -> with bind values : update `crowdcontrol`.`Answer_Reservation` set `crowdcontrol`.`Answer_Reservation`.`timestamp` = {ts '2016-03-17 16:12:58.088'} where `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` in (0)
16:@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ match screens 0xdbcf20[0] = 0 0 1920x1080 -- 0
@ matches existing zone 0x11f6190
move resize 0 0 1920x1080 -> 0 0 1920x1080
@ match screens 0x12fb240[1] = 1920 0 1920x1080 -- 1
@ matches existing zone 0x12cd6d0
move resize 1920 0 1920x1080 -> 1920 0 1920x1080
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ match screens 0xdbcf20[0] = 0 0 1920x1080 -- 0
@ matches existing zone 0x11f6190
move resize 0 0 1920x1080 -> 0 0 1920x1080
@ match screens 0x12fb240[1] = 1920 0 1920x1080 -- 1
@ matches existing zone 0x12cd6d0
move resize 1920 0 1920x1080 -> 1920 0 1920x1080
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ match screens 0xdbcf20[0] = 0 0 1920x1080 -- 0
@ matches existing zone 0x11f6190
move resize 0 0 1920x1080 -> 0 0 1920x1080
@ match screens 0x12fb240[1] = 1920 0 1920x1080 -- 1
@ matches existing zone 0x12cd6d0
move resize 1920 0 1920x1080 -> 1920 0 1920x1080
E: Begin Shutdown Procedure!
ESTART: 0.00000 [0.00000] - Begin Startup
ESTART: 0.00004 [0.00004] - Signal Trap
ESTART: 0.00006 [0.00002] - Signal Trap Done
ESTART: 0.00009 [0.00003] - Eina Init
ESTART: 0.00065 [0.00057] - Eina Init Done
ESTART: 0.00065 [0.00000] - Determine Prefix
ESTART: 0.00074 [0.00008] - Determine Prefix Done
ESTART: 0.00076 [0.00002] - Environment Variables
ESTART: 0.00077 [0.00002] - Environment Variables Done
ESTART: 0.00078 [0.00000] - Parse Arguments
ESTART: 0.00078 [0.00001] - Parse Arguments Done
ESTART: 0.00079 [0.00000] - Eet Init
ESTART: 0.00087 [0.00008] - Eet Init Done
ESTART: 0.00087 [0.00000] - Ecore Init
ESTART: 0.00838 [0.00751] - Ecore Init Done
ESTART: 0.00844 [0.00006] - EFX Init
ESTART: 0.00845 [0.00001] - EFX Init Done
ESTART: 0.00845 [0.00000] - EIO Init
ESTART: 0.00861 [0.00016] - EIO Init Done
ESTART: 0.00862 [0.00001] - Ecore Event Handlers
ESTART: 0.00862 [0.00000] - Ecore Event Handlers Done
ESTART: 0.00862 [0.00000] - Ecore_File Init
ESTART: 0.00907 [0.00045] - Ecore_File Init Done
ESTART: 0.00908 [0.00000] - Ecore_Con Init
ESTART: 0.00908 [0.00001] - Ecore_Con Init Done
ESTART: 0.00908 [0.00000] - Ecore_Ipc Init
ESTART: 0.00910 [0.00002] - Ecore_Ipc Init Done
ESTART: 0.00916 [0.00005] - Ecore_Evas Init
ESTART: 0.00983 [0.00067] - Ecore_Evas Init Done
ESTART: 0.00984 [0.00001] - Elementary Init
DEV-: /org/freedesktop/UDisks2/block_devices/dm_2d4
VOL+ /org/freedesktop/UDisks2/block_devices/dm_2d4
DB DEV-: /org/freedesktop/UDisks2/block_devices/dm_2d4
VOL+ /org/freedesktop/UDisks2/block_devices/dm_2d4
DB DEV-: /org/freedesktop/UDisks2/block_devices/dm_2d4
VOL+ /org/freedesktop/UDisks2/block_devices/dm_2d4
VOL+ /org/freedesktop/UDisks2/block_devices/dm_2d5
DB DEV-: /org/freedesktop/UDisks2/block_devices/dm_2d5
DB DEV-: /org/freedesktop/UDisks2/block_devices/dm_2d5
VOL+ /org/freedesktop/UDisks2/block_devices/dm_2d5
DB DEV-: /org/freedesktop/UDisks2/block_devices/dm_2d5
DB DEV-: /org/freedesktop/UDisks2/block_devices/dm_2d5
VOL+ /org/freedesktop/UDisks2/block_devices/dm_2d5
ESTART: 0.07583 [0.06600] - Elementary Init Done
ESTART: 0.07585 [0.00002] - Emotion Init
ESTART: 0.08167 [0.00582] - Emotion Init Done
ESTART: 0.08169 [0.00002] - Ecore_Evas Engine Check
ESTART: 0.08169 [0.00001] - Ecore_Evas Engine Check Done
ESTART: 0.08170 [0.00000] - Edje Init
ESTART: 0.08170 [0.00000] - Edje Init Done
ESTART: 0.08170 [0.00000] - E Intl Init
ESTART: 0.08177 [0.00006] - E Intl Init Done
ESTART: 0.08177 [0.00000] - E_Alert Init
ESTART: 0.08178 [0.00001] - E_Alert Init Done
ESTART: 0.08178 [0.00000] - E Directories Init
ESTART: 0.08188 [0.00010] - E Directories Init Done
ESTART: 0.08188 [0.00000] - E_Filereg Init
ESTART: 0.08189 [0.00001] - E_Filereg Init Done
ESTART: 0.08189 [0.00000] - E_Config Init
ESTART: 0.08416 [0.00227] - E_Config Init Done
ESTART: 0.08417 [0.00001] - E_Env Init
ESTART: 0.08417 [0.00000] - E_Env Init Done
ESTART: 0.08419 [0.00002] - E Paths Init
ESTART: 0.08423 [0.00004] - E Paths Init Done
ESTART: 0.08423 [0.00000] - E_Ipc Init
ESTART: 0.08440 [0.00017] - E_Ipc Init Done
ESTART: 0.08441 [0.00001] - E_Font Init
ESTART: 0.08441 [0.00001] - E_Font Init Done
ESTART: 0.08441 [0.00000] - E_Font Apply
ESTART: 0.08442 [0.00000] - E_Font Apply Done
ESTART: 0.08442 [0.00000] - E_Theme Init
ESTART: 0.08446 [0.00004] - E_Theme Init Done
ESTART: 0.08446 [0.00000] - E_Moveresize Init
ESTART: 0.08447 [0.00002] - E_Moveresize Init Done
ESTART: 0.08448 [0.00001] - E_Msgbus Init
ESTART: 0.08516 [0.00068] - E_Msgbus Init Done
ESTART: 0.08516 [0.00001] - Efreet Init
ESTART: 0.08517 [0.00001] - Efreet Init Done
ESTART: 0.08518 [0.00001] - E_Intl Post Init
ESTART: 0,09003 [0,00486] - E_Intl Post Init Done
ESTART: 0,09005 [0,00001] - E_Configure Init
ESTART: 0,09029 [0,00024] - E_Configure Init Done
ESTART: 0,09029 [0,00001] - E_Actions Init
ESTART: 0,09076 [0,00046] - E_Actions Init Done
ESTART: 0,09078 [0,00002] - E_Powersave Init
ESTART: 0,09078 [0,00000] - E_Powersave Init Done
ESTART: 0,09078 [0,00000] - E_Screensaver Init
ESTART: 0,09079 [0,00000] - E_Screensaver Init Done
ESTART: 0,09079 [0,00000] - Screens Init
ESTART: 0,09079 [0,00000] - screens: client
ESTART: 0,09080 [0,00001] - screens: win
ESTART: 0,09082 [0,00002] - Compositor Init
RRR: ................. info get!
RRR: .... out eDP1
RRR: ...... lid_closed = 0 (1 && 0)
RRR: ...... connected 1
RRR: ...... modes 0x2563e10
RRR: 'eDP1' 0 0 1920x1080
RRR: .... out DP1
RRR: ...... lid_closed = 0 (0 && 0)
RRR: ...... connected 0
RRR: ...... modes (nil)
RRR: .... out HDMI1
RRR: ...... lid_closed = 0 (0 && 0)
RRR: ...... connected 1
RRR: ...... modes 0x2560e60
RRR: 'HDMI1' 1920 0 1920x1080
RRR: .... out VIRTUAL1
RRR: ...... lid_closed = 0 (0 && 0)
RRR: ...... connected 0
RRR: ...... modes (nil)
RRR:-------------------------------- 2
RRR: 'eDP1': 0 0 1920x1080
RRR: 'HDMI1': 1920 0 1920x1080
RRR: result max: 3840x1080
RRR: loaded existing config
RRR: check lid for eDP1...
RRR: check lid for HDMI1...
RRR: check lid for eDP1...
RRR: check lid for HDMI1...
RRR: check lid for eDP1...
RRR: check lid for HDMI1...
RRR: re-get info before applying..
RRR: ................. info get!
RRR: .... out eDP1
RRR: ...... lid_closed = 0 (1 && 0)
RRR: ...... connected 1
RRR: ...... modes 0x24c6170
RRR: 'eDP1' 0 0 1920x1080
RRR: .... out DP1
RRR: ...... lid_closed = 0 (0 && 0)
RRR: ...... connected 0
RRR: ...... modes (nil)
RRR: .... out HDMI1
RRR: ...... lid_closed = 0 (0 && 0)
RRR: ...... connected 1
RRR: ...... modes 0x2569fb0
RRR: 'HDMI1' 1920 0 1920x1080
RRR: .... out VIRTUAL1
RRR: ...... lid_closed = 0 (0 && 0)
RRR: ...... connected 0
RRR: ...... modes (nil)
RRR:-------------------------------- 2
RRR: 'eDP1': 0 0 1920x1080
RRR: 'HDMI1': 1920 0 1920x1080
RRR: result max: 3840x1080
RRR: apply config...
RRR: apply 'eDP1'...
RRR: check lid for eDP1...
RRR: connected = 1
RRR: ... enabled
RRR: ... priority = 0
RRR: apply 'DP1'...
RRR: check lid for DP1...
RRR: connected = 0
RRR: ... disabled
RRR: apply 'HDMI1'...
RRR: check lid for HDMI1...
RRR: connected = 1
RRR: ... enabled
RRR: ... priority = 0
RRR: apply 'VIRTUAL1'...
RRR: check lid for VIRTUAL1...
RRR: connected = 0
RRR: ... disabled
RRR: takeover config...
RRR: eval config...
RRR: screen do 'eDP1'
RRR: screen do 'eDP1'
RRR: screen do 'eDP1'
RRR: screen do 'eDP1'
RRR: screen do 'eDP1'
RRR: screen do 'eDP1'
RRR: screen do 'eDP1'
RRR: screen config loop!
RRR: screen do 'DP1'
RRR: screen do 'DP1'
RRR: screen do 'DP1'
RRR: screen do 'DP1'
RRR: screen do 'DP1'
RRR: screen do 'DP1'
RRR: screen do 'DP1'
RRR: screen config loop!
RRR: screen do 'HDMI1'
RRR: screen do 'HDMI1'
RRR: screen do 'HDMI1'
RRR: screen do 'HDMI1'
RRR: screen do 'HDMI1'
RRR: screen do 'HDMI1'
RRR: screen do 'HDMI1'
RRR: screen config loop!
RRR: 'HDMI1' is relative to 'eDP1'
RRR: screen do 'eDP1'
RRR: screen config loop!
RRR: to right relative
RRR: 'HDMI1' is relative to 'eDP1'
RRR: screen do 'eDP1'
RRR: screen do 'eDP1'
RRR: screen config loop!
RRR: to right relative
RRR: 'HDMI1' is relative to 'eDP1'
RRR: screen do 'eDP1'
RRR: screen do 'eDP1'
RRR: screen do 'eDP1'
RRR: screen config loop!
RRR: to right relative
RRR: 'HDMI1' is relative to 'eDP1'
RRR: screen do 'eDP1'
RRR: screen do 'eDP1'
RRR: screen do 'eDP1'
RRR: screen do 'eDP1'
RRR: screen config loop!
RRR: to right relative
RRR: 'HDMI1' is relative to 'eDP1'
RRR: screen do 'eDP1'
RRR: screen do 'eDP1'
RRR: screen do 'eDP1'
RRR: screen do 'eDP1'
RRR: screen do 'eDP1'
RRR: screen config loop!
RRR: to right relative
RRR: 'HDMI1' is relative to 'eDP1'
RRR: screen do 'eDP1'
RRR: screen do 'eDP1'
RRR: screen do 'eDP1'
RRR: screen do 'eDP1'
RRR: screen do 'eDP1'
RRR: screen do 'eDP1'
RRR: screen config loop!
RRR: to right relative
RRR: screen do 'VIRTUAL1'
RRR: screen do 'VIRTUAL1'
RRR: screen do 'VIRTUAL1'
RRR: screen do 'VIRTUAL1'
RRR: screen do 'VIRTUAL1'
RRR: screen do 'VIRTUAL1'
RRR: screen do 'VIRTUAL1'
RRR: screen config loop!
RRR:--------------------------------
RRR: s: 'eDP1' @ 0 0 - 1920x1080
RRR: s: 'HDMI1' @ 1920 0 - 1920x1080
RRR:--- 0 0 -> 3840 1080
RRR: really apply config...
RRR: cur size: 3840x1080
RRR: size range: 8x8 -> 32767x32767
RRR: cur size: 3840x1080
RRR: set vsize: 3840x1080
RRR: find output for 'eDP1'
RRR: enabled: 1
RRR: crtc slot empty: 0
RRR: assign slot out: 43
RRR: find output for 'DP1'
RRR: enabled: 0
RRR: find output for 'HDMI1'
RRR: enabled: 1
RRR: crtc slot empty: 1
RRR: assign slot out: 45
RRR: find output for 'VIRTUAL1'
RRR: enabled: 0
RRR: modes for 'eDP1' are 0x256a070 [17]
RRR: crtc on: 0 = 'eDP1' @ 0 0 - 1920x1080 orient 1 mode 48 out 43
RRR: modes for 'HDMI1' are 0x2569fb0 [30]
RRR: crtc on: 1 = 'HDMI1' @ 1920 0 - 1920x1080 orient 1 mode fa out 45
RRR: crtc off: 2
RRR: crtc off: 3
RRR: set vsize: 3840x1080
RRR: cur size: 3840x1080
RRR: done config...
xinerama screen 0 0 1920x1080
xinerama screen 1920 0 1920x1080
xinerama setup............... 2 (nil)
ESTART: 0,31136 [0,22054] - E_Xkb Init
ESTART: 0,31372 [0,00235] - E_Xkb Init Done
ESTART: 0,31442 [0,00070] - E_Dnd Init
ESTART: 0,31455 [0,00013] - E_Dnd Init Done
ESTART: 0,31455 [0,00001] - Screens Init Done
ESTART: 0,31456 [0,00000] - E_Pointer Init
ESTART: 0,31456 [0,00000] - E_Pointer Init Done
ESTART: 0,31456 [0,00000] - E_Scale Init
ESTART: 0,33179 [0,01723] - E_Scale Init Done
ESTART: 0,33180 [0,00001] - E_Splash Init
ESTART: 0,33180 [0,00000] - E_Splash Init Done
ESTART: 0,33180 [0,00000] - Test File Format Support
ESTART: 0,36322 [0,03142] - Test File Format Support Done
ESTART: 0,36325 [0,00003] - E_Acpi Init
ESTART: 0,36331 [0,00006] - E_Acpi Init Done
ESTART: 0,36331 [0,00001] - E_Backlight Init
ESTART: 0,36383 [0,00052] - E_Backlight Init Done
ESTART: 0,36384 [0,00001] - E_Dpms Init
ESTART: 0,36393 [0,00008] - E_Dpms Init Done
ESTART: 0,36393 [0,00001] - E_Desklock Init
ESTART: 0,36397 [0,00003] - E_Desklock Init Done
ESTART: 0,36397 [0,00000] - Efreet Paths
ESTART: 0,36399 [0,00002] - Efreet Paths Done
ESTART: 0,36400 [0,00000] - E_Sys Init
ESTART: 0,36468 [0,00069] - E_Sys Init Done
ESTART: 0,36469 [0,00001] - E_Exec Init
ESTART: 0,36470 [0,00000] - E_Exec Init Done
ESTART: 0,36470 [0,00000] - E_Comp Freeze
ESTART: 0,36471 [0,00001] - E_Comp Freeze Done
ESTART: 0,36471 [0,00000] - E_Fm2 Init
ESTART: 0,37045 [0,00573] - E_Fm2 Init Done
ESTART: 0,37047 [0,00002] - E_Msg Init
ESTART: 0,37047 [0,00000] - E_Msg Init Done
ESTART: 0,37048 [0,00001] - E_Grabinput Init
ESTART: 0,37048 [0,00000] - E_Grabinput Init Done
ESTART: 0,37048 [0,00001] - E_Module Init
ESTART: 0,37062 [0,00014] - E_Module Init Done
ESTART: 0,37064 [0,00001] - E_Remember Init
ESTART: 0,37077 [0,00013] - E_Remember Init Done
ESTART: 0,37078 [0,00001] - E_Gadget Init
ESTART: 0,37092 [0,00014] - E_Gadget Init Done
ESTART: 0,37093 [0,00001] - E_Gadcon Init
ESTART: 0,37093 [0,00000] - E_Gadcon Init Done
ESTART: 0,37094 [0,00001] - E_Toolbar Init
ESTART: 0,37094 [0,00001] - E_Toolbar Init Done
ESTART: 0,37095 [0,00001] - E_Bg Init
ESTART: 0,37099 [0,00004] - E_Bg Init Done
ESTART: 0,37099 [0,00001] - E_Mouse Init
ESTART: 0,37153 [0,00053] - E_Mouse Init Done
ESTART: 0,37156 [0,00003] - E_Bindings Init
ESTART: 0,37317 [0,00161] - E_Bindings Init Done
ESTART: 0,37322 [0,00005] - E_Thumb Init
ESTART: 0,37325 [0,00003] - E_Thumb Init Done
ESTART: 0,37325 [0,00000] - E_Icon Init
ESTART: 0,37325 [0,00000] - E_Icon Init Done
ESTART: 0,37326 [0,00000] - E_Update Init
ESTART: 0,37337 [0,00011] - E_Update Init Done
ESTART: 0,37340 [0,00003] - E_Deskenv Init
ESTART: 0,37719 [0,00379] - E_Deskenv Init Done
ESTART: 0,37722 [0,00003] - E_Order Init
ESTART: 0,37724 [0,00002] - E_Order Init Done
ESTART: 0,37724 [0,00000] - E_Comp_Canvas Keys Grab
ESTART: 0,37753 [0,00029] - E_Comp_Canvas Keys Grab Done
ESTART: 0,37754 [0,00001] - Load Modules
ESTART: 0,37754 [0,00000] - Load Modules Done
ESTART: 0,37754 [0,00000] - Run Startup Apps
ESTART: 0,37769 [0,00014] - Run Startup Apps Done
ESTART: 0,37769 [0,00000] - E_Comp Thaw
ESTART: 0,37772 [0,00003] - E_Comp Thaw Done
ESTART: 0,37772 [0,00000] - E_Test Init
ESTART: 0,37772 [0,00000] - E_Test Done
ESTART: 0,37773 [0,00001] - Bryce Init
ESTART: 0,37789 [0,00016] - Bryce Init Done
ESTART: 0,37790 [0,00001] - E_Shelf Init
ESTART: 0,37790 [0,00000] - E_Shelf Init Done
ESTART: 0,37793 [0,00002] - MAIN LOOP AT LAST
ESTART: 0,71303 [0,33510] - SLEEP
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ match screens 0x2568610[0] = 0 0 1920x1080 -- 0
@ matches existing zone 0x2902800
move resize 0 0 1920x1080 -> 0 0 1920x1080
@ match screens 0x256a070[1] = 1920 0 1920x1080 -- 1
@ matches existing zone 0x29dd5f0
move resize 1920 0 1920x1080 -> 1920 0 1920x1080
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ match screens 0x2568610[0] = 0 0 1920x1080 -- 0
@ matches existing zone 0x2902800
move resize 0 0 1920x1080 -> 0 0 1920x1080
@ match screens 0x256a070[1] = 1920 0 1920x1080 -- 1
@ matches existing zone 0x29dd5f0
move resize 1920 0 1920x1080 -> 1920 0 1920x1080
ESTART: 1,07026 [0,35723] - SLEEP
ESTART: 1,13873 [0,06847] - gadcon populate idler start
ESTART: 1,13875 [0,00002] - tasks
ESTART: 1,14277 [0,00402] - tiling
ESTART: 1,14632 [0,00355] - gadcon populate idler end
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ match screens 0x2568610[0] = 0 0 1920x1080 -- 0
@ matches existing zone 0x2902800
move resize 0 0 1920x1080 -> 0 0 1920x1080
@ match screens 0x256a070[1] = 1920 0 1920x1080 -- 1
@ matches existing zone 0x29dd5f0
move resize 1920 0 1920x1080 -> 1920 0 1920x1080
ESTART: 1,21213 [0,06581] - SLEEP
ESTART: 1,21963 [0,00750] - DELAYED MODULE LOAD: gadman
ESTART: 1,25868 [0,03905] - SLEEP
ESTART: 1,28241 [0,02373] - DELAYED MODULE LOAD: mixer
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ match screens 0x2568610[0] = 0 0 1920x1080 -- 0
@ matches existing zone 0x2902800
move resize 0 0 1920x1080 -> 0 0 1920x1080
@ match screens 0x256a070[1] = 1920 0 1920x1080 -- 1
@ matches existing zone 0x29dd5f0
move resize 1920 0 1920x1080 -> 1920 0 1920x1080
ESTART: 1,35836 [0,07595] - SLEEP
ESTART: 1,37352 [0,01516] - DELAYED MODULE LOAD: conf_window_remembers
ESTART: 1,39390 [0,02038] - SLEEP
ESTART: 1,41487 [0,02097] - DELAYED MODULE LOAD: conf_interaction
ESTART: 1,48914 [0,07427] - SLEEP
ESTART: 1,50655 [0,01741] - DELAYED MODULE LOAD: fileman
ESTART: 1,56443 [0,05789] - SLEEP
ESTART: 1,57071 [0,00628] - DELAYED MODULE LOAD: fileman_opinfo
ESTART: 1,57507 [0,00436] - SLEEP
ESTART: 1,58126 [0,00619] - DELAYED MODULE LOAD: conf_window_manipulation
ESTART: 1,59898 [0,01772] - SLEEP
ESTART: 1,60661 [0,00763] - DELAYED MODULE LOAD: conf_theme
ESTART: 1,64709 [0,04048] - SLEEP
ESTART: 1,65382 [0,00672] - DELAYED MODULE LOAD: conf_shelves
ESTART: 1,66840 [0,01458] - SLEEP
ESTART: 1,67312 [0,00472] - DELAYED MODULE LOAD: conf_performance
ESTART: 1,84703 [0,17391] - SLEEP
ESTART: 1,85267 [0,00565] - DELAYED MODULE LOAD: conf_paths
ESTART: 1,85370 [0,00103] - SLEEP
ESTART: 1,86461 [0,01091] - DELAYED MODULE LOAD: conf_menus
ESTART: 1,87519 [0,01058] - SLEEP
ESTART: 1,88117 [0,00598] - DELAYED MODULE LOAD: conf_bindings
ESTART: 1,88203 [0,00086] - SLEEP
ESTART: 1,88694 [0,00490] - DELAYED MODULE LOAD: conf_intl
ESTART: 1,89221 [0,00528] - SLEEP
ESTART: 1,89966 [0,00745] - DELAYED MODULE LOAD: conf_display
ESTART: 1,90641 [0,00675] - SLEEP
ESTART: 1,91285 [0,00645] - DELAYED MODULE LOAD: conf_dialogs
ESTART: 1,91395 [0,00110] - SLEEP
ESTART: 1,91868 [0,00473] - DELAYED MODULE LOAD: conf_applications
ESTART: 1,92980 [0,01112] - SLEEP
ESTART: 1,93589 [0,00609] - DELAYED MODULE LOAD: conf_randr
ESTART: 1,94219 [0,00630] - SLEEP
ESTART: 1,94850 [0,00631] - DELAYED MODULE LOAD: conf
ESTART: 1,95452 [0,00601] - SLEEP
ESTART: 1,96014 [0,00562] - DELAYED MODULE LOAD: xkbswitch
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ match screens 0x2568610[0] = 0 0 1920x1080 -- 0
@ matches existing zone 0x2902800
move resize 0 0 1920x1080 -> 0 0 1920x1080
@ match screens 0x256a070[1] = 1920 0 1920x1080 -- 1
@ matches existing zone 0x29dd5f0
move resize 1920 0 1920x1080 -> 1920 0 1920x1080
ESTART: 1,96738 [0,00724] - SLEEP
ESTART: 1,97201 [0,00463] - DELAYED MODULE LOAD: winlist
ESTART: 1,99017 [0,01816] - SLEEP
ESTART: 1,99523 [0,00506] - DELAYED MODULE LOAD: pager
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ match screens 0x2568610[0] = 0 0 1920x1080 -- 0
@ matches existing zone 0x2902800
move resize 0 0 1920x1080 -> 0 0 1920x1080
@ match screens 0x256a070[1] = 1920 0 1920x1080 -- 1
@ matches existing zone 0x29dd5f0
move resize 1920 0 1920x1080 -> 1920 0 1920x1080
ESTART: 2,29982 [0,30459] - SLEEP
ESTART: 2,30560 [0,00578] - DELAYED MODULE LOAD: temperature
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ match screens 0x2568610[0] = 0 0 1920x1080 -- 0
@ matches existing zone 0x2902800
move resize 0 0 1920x1080 -> 0 0 1920x1080
@ match screens 0x256a070[1] = 1920 0 1920x1080 -- 1
@ matches existing zone 0x29dd5f0
move resize 1920 0 1920x1080 -> 1920 0 1920x1080
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ match screens 0x2568610[0] = 0 0 1920x1080 -- 0
@ matches existing zone 0x2902800
move resize 0 0 1920x1080 -> 0 0 1920x1080
@ match screens 0x256a070[1] = 1920 0 1920x1080 -- 1
@ matches existing zone 0x29dd5f0
move resize 1920 0 1920x1080 -> 1920 0 1920x1080
ESTART: 2,35441 [0,04882] - SLEEP
ESTART: 2,35988 [0,00547] - DELAYED MODULE LOAD: battery
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ match screens 0x2568610[0] = 0 0 1920x1080 -- 0
@ matches existing zone 0x2902800
move resize 0 0 1920x1080 -> 0 0 1920x1080
@ match screens 0x256a070[1] = 1920 0 1920x1080 -- 1
@ matches existing zone 0x29dd5f0
move resize 1920 0 1920x1080 -> 1920 0 1920x1080
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ match screens 0x2568610[0] = 0 0 1920x1080 -- 0
@ matches existing zone 0x2902800
move resize 0 0 1920x1080 -> 0 0 1920x1080
@ match screens 0x256a070[1] = 1920 0 1920x1080 -- 1
@ matches existing zone 0x29dd5f0
move resize 1920 0 1920x1080 -> 1920 0 1920x1080
ESTART: 2,61641 [0,25653] - SLEEP
ESTART: 2,62150 [0,00509] - DELAYED MODULE LOAD: clock
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ match screens 0x2568610[0] = 0 0 1920x1080 -- 0
@ matches existing zone 0x2902800
move resize 0 0 1920x1080 -> 0 0 1920x1080
@ match screens 0x256a070[1] = 1920 0 1920x1080 -- 1
@ matches existing zone 0x29dd5f0
move resize 1920 0 1920x1080 -> 1920 0 1920x1080
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ match screens 0x2568610[0] = 0 0 1920x1080 -- 0
@ matches existing zone 0x2902800
move resize 0 0 1920x1080 -> 0 0 1920x1080
@ match screens 0x256a070[1] = 1920 0 1920x1080 -- 1
@ matches existing zone 0x29dd5f0
move resize 1920 0 1920x1080 -> 1920 0 1920x1080
ESTART: 2,78285 [0,16135] - SLEEP
ESTART: 2,79148 [0,00863] - DELAYED MODULE LOAD: ibox
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ match screens 0x2568610[0] = 0 0 1920x1080 -- 0
@ matches existing zone 0x2902800
move resize 0 0 1920x1080 -> 0 0 1920x1080
@ match screens 0x256a070[1] = 1920 0 1920x1080 -- 1
@ matches existing zone 0x29dd5f0
move resize 1920 0 1920x1080 -> 1920 0 1920x1080
ESTART: 2,80573 [0,01425] - SLEEP
ESTART: 2,81161 [0,00588] - DELAYED MODULE LOAD: ibar
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ match screens 0x2568610[0] = 0 0 1920x1080 -- 0
@ matches existing zone 0x2902800
move resize 0 0 1920x1080 -> 0 0 1920x1080
@ match screens 0x256a070[1] = 1920 0 1920x1080 -- 1
@ matches existing zone 0x29dd5f0
move resize 1920 0 1920x1080 -> 1920 0 1920x1080
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ match screens 0x2568610[0] = 0 0 1920x1080 -- 0
@ matches existing zone 0x2902800
move resize 0 0 1920x1080 -> 0 0 1920x1080
@ match screens 0x256a070[1] = 1920 0 1920x1080 -- 1
@ matches existing zone 0x29dd5f0
move resize 1920 0 1920x1080 -> 1920 0 1920x1080
ESTART: 2,84656 [0,03495] - SLEEP
ESTART: 2,85176 [0,00520] - DELAYED MODULE LOAD: start
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ match screens 0x2568610[0] = 0 0 1920x1080 -- 0
@ matches existing zone 0x2902800
move resize 0 0 1920x1080 -> 0 0 1920x1080
@ match screens 0x256a070[1] = 1920 0 1920x1080 -- 1
@ matches existing zone 0x29dd5f0
move resize 1920 0 1920x1080 -> 1920 0 1920x1080
ESTART: 2,87166 [0,01990] - SLEEP
ESTART: 2,87706 [0,00540] - DELAYED MODULE LOAD: syscon
ESTART: 2,87956 [0,00250] - SLEEP
ESTART: 2,88427 [0,00471] - DELAYED MODULE LOAD: notification
ESTART: 2,88736 [0,00309] - SLEEP
ESTART: 2,89448 [0,00712] - DELAYED MODULE LOAD: shot
ESTART: 2,89634 [0,00186] - SLEEP
ESTART: 2,90216 [0,00582] - DELAYED MODULE LOAD: backlight
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ match screens 0x2568610[0] = 0 0 1920x1080 -- 0
@ matches existing zone 0x2902800
move resize 0 0 1920x1080 -> 0 0 1920x1080
@ match screens 0x256a070[1] = 1920 0 1920x1080 -- 1
@ matches existing zone 0x29dd5f0
move resize 1920 0 1920x1080 -> 1920 0 1920x1080
ESTART: 2,92722 [0,02506] - SLEEP
ESTART: 2,93226 [0,00504] - DELAYED MODULE LOAD: teamwork
ESTART: 3,00860 [0,07634] - SLEEP
ESTART: 3,01469 [0,00609] - DELAYED MODULE LOAD: everything
ESTART: 3,02629 [0,01160] - gadcon custom populate idler start
ESTART: 3,02632 [0,00002] - gadcon custom populate idler end
ESTART: 3,05175 [0,02543] - SLEEP
ESTART: 3,06413 [0,01239] - SLEEP
ESTART: 3,06512 [0,00099] - SLEEP
ESTART: 3,07538 [0,01025] - SLEEP
ESTART: 3,07552 [0,00014] - SLEEP
ESTART: 3,07554 [0,00002] - SLEEP
ESTART: 3,07555 [0,00001] - SLEEP
ESTART: 3,07556 [0,00001] - SLEEP
ESTART: 3,07557 [0,00001] - SLEEP
ESTART: 3,07558 [0,00001] - SLEEP
ESTART: 3,07559 [0,00001] - SLEEP
ESTART: 3,07560 [0,00001] - SLEEP
ESTART: 3,07561 [0,00001] - SLEEP
ESTART: 3,07562 [0,00001] - SLEEP
ESTART: 3,07563 [0,00001] - SLEEP
ESTART: 3,07564 [0,00001] - SLEEP
ESTART: 3,07565 [0,00001] - SLEEP
ESTART: 3,07566 [0,00001] - SLEEP
ESTART: 3,07567 [0,00001] - SLEEP
ESTART: 3,07568 [0,00001] - SLEEP
ESTART: 3,07569 [0,00001] - SLEEP
ESTART: 3,07570 [0,00001] - SLEEP
ESTART: 3,07571 [0,00001] - SLEEP
: +----+
16:13:34.186 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : | 1|
16:13:34.186 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : +----+
16:13:34.187 [ratpack-compute-1-2] DEBUG o.j.t.StopWatch - Finishing : Total: 12.524ms, +3.104ms
16:13:34.187 [ratpack-compute-1-2] DEBUG e.k.i.c.w.q.TaskChooserAlgorithm - worker 36 has answered 1 times, max. is 3
16:13:34.188 [ratpack-compute-1-2] DEBUG e.k.i.c.w.q.TaskChooserAlgorithm - returning answer-view
16:13:34.188 [ratpack-compute-1-2] DEBUG e.k.i.c.w.q.TaskChooserAlgorithm - task chooser constructs answer-view
16:13:34.188 [ratpack-compute-1-2] DEBUG o.j.i.DefaultConnectionProvider - setting auto commit : false
16:13:34.189 [ratpack-compute-1-2] DEBUG o.j.i.DefaultConnectionProvider - set savepoint
16:13:34.191 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - Executing query : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` left outer join `crowdcontrol`.`Answer` on `crowdcontrol`.`Answer`.`reservation` = `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` where ((`crowdcontrol`.`Answer_Reservation`.`used` = ? or (`crowdcontrol`.`Answer_Reservation`.`timestamp` >= ? and `crowdcontrol`.`Answer_Reservation`.`worker` <> ?)) and `crowdcontrol`.`Answer_Reservation`.`experiment` = ? and ((`crowdcontrol`.`Answer`.`quality_assured` = ? and `crowdcontrol`.`Answer`.`quality` > (select `crowdcontrol`.`Experiment`.`result_quality_threshold` from `crowdcontrol`.`Experiment` where `crowdcontrol`.`Experiment`.`id_experiment` = ?)) or ?))) as `q`
16:13:34.192 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - -> with bind values : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` left outer join `crowdcontrol`.`Answer` on `crowdcontrol`.`Answer`.`reservation` = `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` where ((`crowdcontrol`.`Answer_Reservation`.`used` = true or (`crowdcontrol`.`Answer_Reservation`.`timestamp` >= {ts '2016-03-17 14:13:34.19'} and `crowdcontrol`.`Answer_Reservation`.`worker` <> -1)) and `crowdcontrol`.`Answer_Reservation`.`experiment` = 20 and ((`crowdcontrol`.`Answer`.`quality_assured` = true and `crowdcontrol`.`Answer`.`quality` > (select `crowdcontrol`.`Experiment`.`result_quality_threshold` from `crowdcontrol`.`Experiment` where `crowdcontrol`.`Experiment`.`id_experiment` = 20)) or true))) as `q`
16:13:34.196 [ratpack-compute-1-2] DEBUG o.j.t.StopWatch - Query executed : Total: 5.407ms
16:13:34.197 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:13:34.198 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : | c|
16:13:34.198 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : +----+
16:13:34.198 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : | 3|
16:13:34.198 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : +----+
16:13:34.199 [ratpack-compute-1-2] DEBUG o.j.t.StopWatch - Finishing : Total: 9.055ms, +3.648ms
16:13:34.200 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - Executing query : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation`, `crowdcontrol`.`Answer_Reservation`.`worker`, `crowdcontrol`.`Answer_Reservation`.`experiment`, `crowdcontrol`.`Answer_Reservation`.`timestamp`, `crowdcontrol`.`Answer_Reservation`.`used` from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`experiment` = ? and `crowdcontrol`.`Answer_Reservation`.`worker` = ? and `crowdcontrol`.`Answer_Reservation`.`used` = ?)) as `q`
16:13:34.201 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - -> with bind values : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation`, `crowdcontrol`.`Answer_Reservation`.`worker`, `crowdcontrol`.`Answer_Reservation`.`experiment`, `crowdcontrol`.`Answer_Reservation`.`timestamp`, `crowdcontrol`.`Answer_Reservation`.`used` from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`experiment` = 20 and `crowdcontrol`.`Answer_Reservation`.`worker` = 36 and `crowdcontrol`.`Answer_Reservation`.`used` = true)) as `q`
16:13:34.203 [ratpack-compute-1-2] DEBUG o.j.t.StopWatch - Query executed : Total: 3.443ms
16:13:34.204 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:13:34.204 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : | c|
16:13:34.204 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : +----+
16:13:34.205 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : | 1|
16:13:34.205 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : +----+
16:13:34.206 [ratpack-compute-1-2] DEBUG o.j.t.StopWatch - Finishing : Total: 6.155ms, +2.712ms
16:13:34.207 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - Executing query : select count(*) from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`experiment` = ? and `crowdcontrol`.`Answer_Reservation`.`worker` = ? and `crowdcontrol`.`Answer_Reservation`.`used` = ?)
16:13:34.208 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - -> with bind values : select count(*) from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`experiment` = 20 and `crowdcontrol`.`Answer_Reservation`.`worker` = 36 and `crowdcontrol`.`Answer_Reservation`.`used` = false)
16:13:34.210 [ratpack-compute-1-2] DEBUG o.j.t.StopWatch - Query executed : Total: 2.592ms
16:13:34.210 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - Fetched result : +-----+
16:13:34.210 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : |count|
16:13:34.211 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : +-----+
16:13:34.211 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : | 2|
16:13:34.211 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : +-----+
16:13:34.212 [ratpack-compute-1-2] DEBUG o.j.t.StopWatch - Finishing : Total: 5.14ms, +2.547ms
16:13:34.212 [ratpack-compute-1-2] TRACE e.k.i.c.w.d.o.ExperimentsPlatformOperations - Worker 36 has 2 reserved open answers {}.
16:13:34.213 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - Executing query : update `crowdcontrol`.`Answer_Reservation` set `crowdcontrol`.`Answer_Reservation`.`timestamp` = ? where `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` in (?)
16:13:34.214 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - -> with bind values : update `crowdcontrol`.`Answer_Reservation` set `crowdcontrol`.`Answer_Reservation`.`timestamp` = {ts '2016-03-17 16:13:34.213'} where `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` in (2)
16:13:34.219 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - Affected row(s) : 1
16:13:34.219 [ratpack-compute-1-2] DEBUG o.j.t.StopWatch - Query executed : Total: 5.586ms
16:13:34.220 [ratpack-compute-1-2] DEBUG o.j.t.StopWatch - Finishing : Total: 6.697ms, +1.111ms
16:13:34.220 [ratpack-compute-1-2] TRACE e.k.i.c.w.d.o.ExperimentsPlatformOperations - Reserving 0 new Answers for worker 36.
16:13:34.221 [ratpack-compute-1-2] DEBUG o.j.i.DefaultConnectionProvider - release savepoint
16:13:34.221 [ratpack-compute-1-2] DEBUG o.j.i.DefaultConnectionProvider - commit
16:13:34.227 [ratpack-compute-1-2] DEBUG o.j.i.DefaultConnectionProvider - setting auto commit : true
16:13:34.229 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`worker` = ? and `crowdcontrol`.`Answer_Reservation`.`experiment` = ? and `crowdcontrol`.`Answer_Reservation`.`used` = ?)
16:13:34.229 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`worker` = 36 and `crowdcontrol`.`Answer_Reservation`.`experiment` = 20 and `crowdcontrol`.`Answer_Reservation`.`used` = false)
16:13:34.231 [ratpack-compute-1-2] DEBUG o.j.t.StopWatch - Query executed : Total: 2.904ms
16:13:34.238 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - Fetched result : +--------------------+
16:13:34.238 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : |idAnswer_Reservation|
16:13:34.239 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : +--------------------+
16:13:34.239 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : | 51|
16:13:34.239 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : | 52|
16:13:34.240 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : +--------------------+
16:13:34.240 [ratpack-compute-1-2] DEBUG o.j.t.StopWatch - Finishing : Total: 11.62ms, +8.715ms
16:13:34.240 [ratpack-compute-1-2] TRACE e.k.i.c.w.q.TaskChooserAlgorithm - task chooser prepared builder
16:13:34.241 [ratpack-compute-1-2] DEBUG e.k.i.c.w.q.Queries - returning view: type: ANSWER
title: "Calibtest"
description: "test"
answer_reservations: 51
answer_reservations: 52
rating_options {
value: 9
description: "good"
}
rating_options {
description: "bad"
}
constraints {
id: 35
name: "a"
}
constraints {
id: 36
name: "b"
}
constraints {
id: 37
name: "C"
}
constraints {
id: 38
name: "d"
}
16:13:37.470 [ratpack-compute-1-2] DEBUG e.k.i.c.w.c.Commands - Request to submit answer answer: "bla"
experiment: 20
reservation: 52
for worker 36
16:13:37.470 [ratpack-compute-1-2] TRACE e.k.i.c.w.c.Commands - cleaning answer answer: "bla"
experiment: 20
reservation: 52
for worker 36 form potential malicious html tags
16:13:37.470 [ratpack-compute-1-2] TRACE e.k.i.c.w.c.Commands - answer answer: "bla"
experiment: 20
reservation: 52
for reservation 52 from worker 36 is valid
16:13:37.475 [ratpack-compute-1-2] DEBUG e.k.i.c.w.o.Communication - Trying to submit answer bla for worker 36 with route /experiments/20/answers
16:13:37.533 [I/O dispatcher 3] DEBUG e.k.i.c.w.o.Communication - Object service answered with status 201
16:13:37.534 [ratpack-compute-1-2] DEBUG e.k.i.c.w.c.Commands - Object service answered with OK.
16:13:37.552 [ratpack-compute-1-2] TRACE e.k.i.c.w.q.Queries - skipCreative is: false
16:13:37.552 [ratpack-compute-1-2] TRACE e.k.i.c.w.q.Queries - skipRating is: false
16:13:37.553 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - Executing query : select 1 as `one` from dual where exists (select `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer`, `crowdcontrol`.`Calibration_Result`.`id_calibration_result`, `crowdcontrol`.`Calibration_Result`.`worker`, `crowdcontrol`.`Calibration_Result`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`id_experiments_calibration`, `crowdcontrol`.`Experiments_Calibration`.`experiments_platform`, `crowdcontrol`.`Experiments_Calibration`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`not` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` join `crowdcontrol`.`Experiments_Calibration` on (`crowdcontrol`.`Experiments_Calibration`.`experiments_platform` in (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = ? and `crowdcontrol`.`Experiments_Platform`.`platform` = ?)) and `crowdcontrol`.`Calibration_answer_option`.`calibration` = (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` = `crowdcontrol`.`Experiments_Calibration`.`answer`) and ((`crowdcontrol`.`Experiments_Calibration`.`not` = ? and `crowdcontrol`.`Experiments_Calibration`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`) or (`crowdcontrol`.`Experiments_Calibration`.`not` = ? and `crowdcontrol`.`Experiments_Calibration`.`answer` <> `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`))) where `crowdcontrol`.`Calibration_Result`.`worker` = ?)
16:13:37.554 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - -> with bind values : select 1 as `one` from dual where exists (select `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer`, `crowdcontrol`.`Calibration_Result`.`id_calibration_result`, `crowdcontrol`.`Calibration_Result`.`worker`, `crowdcontrol`.`Calibration_Result`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`id_experiments_calibration`, `crowdcontrol`.`Experiments_Calibration`.`experiments_platform`, `crowdcontrol`.`Experiments_Calibration`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`not` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` join `crowdcontrol`.`Experiments_Calibration` on (`crowdcontrol`.`Experiments_Calibration`.`experiments_platform` in (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = 20 and `crowdcontrol`.`Experiments_Platform`.`platform` = 'dummydummy')) and `crowdcontrol`.`Calibration_answer_option`.`calibration` = (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` = `crowdcontrol`.`Experiments_Calibration`.`answer`) and ((`crowdcontrol`.`Experiments_Calibration`.`not` = true and `crowdcontrol`.`Experiments_Calibration`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`) or (`crowdcontrol`.`Experiments_Calibration`.`not` = false and `crowdcontrol`.`Experiments_Calibration`.`answer` <> `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`))) where `crowdcontrol`.`Calibration_Result`.`worker` = 36)
16:13:37.565 [ratpack-compute-1-2] DEBUG o.j.t.StopWatch - Query executed : Total: 12.5ms
16:13:37.566 [ratpack-compute-1-2] DEBUG o.j.t.StopWatch - Finishing : Total: 13.531ms, +1.031ms
16:13:37.566 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:13:37.567 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : | one|
16:13:37.567 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : +----+
16:13:37.567 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Worker`.`quality` from `crowdcontrol`.`Worker` where `crowdcontrol`.`Worker`.`id_worker` = ?
16:13:37.568 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Worker`.`quality` from `crowdcontrol`.`Worker` where `crowdcontrol`.`Worker`.`id_worker` = 36
16:13:37.569 [ratpack-compute-1-2] DEBUG o.j.t.StopWatch - Query executed : Total: 1.893ms
16:13:37.570 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - Fetched result : +-------+
16:13:37.571 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : |quality|
16:13:37.571 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : +-------+
16:13:37.571 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : | 9|
16:13:37.571 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : +-------+
16:13:37.572 [ratpack-compute-1-2] DEBUG o.j.t.StopWatch - Finishing : Total: 5.078ms, +3.184ms
16:13:37.575 [ratpack-compute-1-2] DEBUG e.k.i.c.w.q.Queries - worker 36 is eligible for working on the assignment
16:13:37.576 [ratpack-compute-1-2] TRACE e.k.i.c.w.q.Queries - platform dummydummy is able to render calibrations
16:13:37.579 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Calibration`.`id_calibration`, `crowdcontrol`.`Calibration`.`property`, `crowdcontrol`.`Calibration`.`name`, `crowdcontrol`.`Calibration`.`experiment`, `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration` on `crowdcontrol`.`Calibration_answer_option`.`calibration` = `crowdcontrol`.`Calibration`.`id_calibration` where (`crowdcontrol`.`Calibration`.`id_calibration` in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` in (select `crowdcontrol`.`Experiments_Calibration`.`answer` from `crowdcontrol`.`Experiments_Calibration` where `crowdcontrol`.`Experiments_Calibration`.`experiments_platform` = (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = ? and `crowdcontrol`.`Experiments_Platform`.`platform` = ?)))) and `crowdcontrol`.`Calibration`.`id_calibration` not in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` where `crowdcontrol`.`Calibration_Result`.`worker` = ?))
16:13:37.582 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Calibration`.`id_calibration`, `crowdcontrol`.`Calibration`.`property`, `crowdcontrol`.`Calibration`.`name`, `crowdcontrol`.`Calibration`.`experiment`, `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration` on `crowdcontrol`.`Calibration_answer_option`.`calibration` = `crowdcontrol`.`Calibration`.`id_calibration` where (`crowdcontrol`.`Calibration`.`id_calibration` in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` in (select `crowdcontrol`.`Experiments_Calibration`.`answer` from `crowdcontrol`.`Experiments_Calibration` where `crowdcontrol`.`Experiments_Calibration`.`experiments_platform` = (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = 20 and `crowdcontrol`.`Experiments_Platform`.`platform` = 'dummydummy')))) and `crowdcontrol`.`Calibration`.`id_calibration` not in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` where `crowdcontrol`.`Calibration_Result`.`worker` = 36))
16:13:37.585 [ratpack-compute-1-2] DEBUG o.j.t.StopWatch - Query executed : Total: 6.729ms
16:13:37.586 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - Fetched result : +--------------+--------+----+----------+----------------------------+-----------+------+
16:13:37.587 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : |id_calibration|property|name|experiment|id_calibration_answer_option|calibration|answer|
16:13:37.587 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : +--------------+--------+----+----------+----------------------------+-----------+------+
16:13:37.588 [ratpack-compute-1-2] DEBUG o.j.t.StopWatch - Finishing : Total: 9.897ms, +3.167ms
16:13:37.589 [ratpack-compute-1-2] TRACE e.k.i.c.w.q.Queries - worker 36 must answer the calibrations {}
16:13:37.589 [ratpack-compute-1-2] DEBUG e.k.i.c.w.q.Queries - worker 36 must not answer calibrations
16:13:37.590 [ratpack-compute-1-2] DEBUG e.k.i.c.w.q.Queries - invoking task-chooser anti_spoof
16:13:37.591 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - Executing query : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` left outer join `crowdcontrol`.`Answer` on `crowdcontrol`.`Answer`.`reservation` = `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` where ((`crowdcontrol`.`Answer_Reservation`.`used` = ? or (`crowdcontrol`.`Answer_Reservation`.`timestamp` >= ? and `crowdcontrol`.`Answer_Reservation`.`worker` <> ?)) and `crowdcontrol`.`Answer_Reservation`.`experiment` = ? and ((`crowdcontrol`.`Answer`.`quality_assured` = ? and `crowdcontrol`.`Answer`.`quality` > (select `crowdcontrol`.`Experiment`.`result_quality_threshold` from `crowdcontrol`.`Experiment` where `crowdcontrol`.`Experiment`.`id_experiment` = ?)) or ?))) as `q`
16:13:37.593 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - -> with bind values : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` left outer join `crowdcontrol`.`Answer` on `crowdcontrol`.`Answer`.`reservation` = `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` where ((`crowdcontrol`.`Answer_Reservation`.`used` = true or (`crowdcontrol`.`Answer_Reservation`.`timestamp` >= {ts '2016-03-17 14:13:37.59'} and `crowdcontrol`.`Answer_Reservation`.`worker` <> 36)) and `crowdcontrol`.`Answer_Reservation`.`experiment` = 20 and ((`crowdcontrol`.`Answer`.`quality_assured` = true and `crowdcontrol`.`Answer`.`quality` > (select `crowdcontrol`.`Experiment`.`result_quality_threshold` from `crowdcontrol`.`Experiment` where `crowdcontrol`.`Experiment`.`id_experiment` = 20)) or true))) as `q`
16:13:37.596 [ratpack-compute-1-2] DEBUG o.j.t.StopWatch - Query executed : Total: 5.107ms
16:13:37.597 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:13:37.597 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : | c|
16:13:37.597 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : +----+
16:13:37.598 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : | 2|
16:13:37.598 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : +----+
16:13:37.599 [ratpack-compute-1-2] DEBUG o.j.t.StopWatch - Finishing : Total: 8.595ms, +3.488ms
16:13:37.600 [ratpack-compute-1-2] TRACE e.k.i.c.w.q.AntiSpoof - calculating phase for: answersCount=2, phases={1=1}, neededAnswers=10
16:13:37.601 [ratpack-compute-1-2] DEBUG e.k.i.c.w.q.AntiSpoof - entering phase 2
16:13:37.601 [ratpack-compute-1-2] TRACE e.k.i.c.w.q.TaskChooserAlgorithm - constructing view with parameters: worker-id = 36, experimentID = 20, skipCreative = false, skipRating = false
16:13:37.602 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - Executing query : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation`, `crowdcontrol`.`Answer_Reservation`.`worker`, `crowdcontrol`.`Answer_Reservation`.`experiment`, `crowdcontrol`.`Answer_Reservation`.`timestamp`, `crowdcontrol`.`Answer_Reservation`.`used` from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`experiment` = ? and `crowdcontrol`.`Answer_Reservation`.`worker` = ? and `crowdcontrol`.`Answer_Reservation`.`used` = ?)) as `q`
16:13:37.603 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - -> with bind values : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation`, `crowdcontrol`.`Answer_Reservation`.`worker`, `crowdcontrol`.`Answer_Reservation`.`experiment`, `crowdcontrol`.`Answer_Reservation`.`timestamp`, `crowdcontrol`.`Answer_Reservation`.`used` from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`experiment` = 20 and `crowdcontrol`.`Answer_Reservation`.`worker` = 36 and `crowdcontrol`.`Answer_Reservation`.`used` = true)) as `q`
16:13:37.605 [ratpack-compute-1-2] DEBUG o.j.t.StopWatch - Query executed : Total: 2.892ms
16:13:37.605 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:13:37.606 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : | c|
16:13:37.606 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : +----+
16:13:37.606 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : | 2|
16:13:37.607 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : +----+
16:13:37.608 [ratpack-compute-1-2] DEBUG o.j.t.StopWatch - Finishing : Total: 5.993ms, +3.1ms
16:13:37.608 [ratpack-compute-1-2] DEBUG e.k.i.c.w.q.TaskChooserAlgorithm - worker 36 has answered 2 times, max. is 3
16:13:37.609 [ratpack-compute-1-2] DEBUG e.k.i.c.w.q.TaskChooserAlgorithm - returning answer-view
16:13:37.609 [ratpack-compute-1-2] DEBUG e.k.i.c.w.q.TaskChooserAlgorithm - task chooser constructs answer-view
16:13:37.610 [ratpack-compute-1-2] DEBUG o.j.i.DefaultConnectionProvider - setting auto commit : false
16:13:37.610 [ratpack-compute-1-2] DEBUG o.j.i.DefaultConnectionProvider - set savepoint
16:13:37.612 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - Executing query : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` left outer join `crowdcontrol`.`Answer` on `crowdcontrol`.`Answer`.`reservation` = `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` where ((`crowdcontrol`.`Answer_Reservation`.`used` = ? or (`crowdcontrol`.`Answer_Reservation`.`timestamp` >= ? and `crowdcontrol`.`Answer_Reservation`.`worker` <> ?)) and `crowdcontrol`.`Answer_Reservation`.`experiment` = ? and ((`crowdcontrol`.`Answer`.`quality_assured` = ? and `crowdcontrol`.`Answer`.`quality` > (select `crowdcontrol`.`Experiment`.`result_quality_threshold` from `crowdcontrol`.`Experiment` where `crowdcontrol`.`Experiment`.`id_experiment` = ?)) or ?))) as `q`
16:13:37.613 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - -> with bind values : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` left outer join `crowdcontrol`.`Answer` on `crowdcontrol`.`Answer`.`reservation` = `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` where ((`crowdcontrol`.`Answer_Reservation`.`used` = true or (`crowdcontrol`.`Answer_Reservation`.`timestamp` >= {ts '2016-03-17 14:13:37.611'} and `crowdcontrol`.`Answer_Reservation`.`worker` <> -1)) and `crowdcontrol`.`Answer_Reservation`.`experiment` = 20 and ((`crowdcontrol`.`Answer`.`quality_assured` = true and `crowdcontrol`.`Answer`.`quality` > (select `crowdcontrol`.`Experiment`.`result_quality_threshold` from `crowdcontrol`.`Experiment` where `crowdcontrol`.`Experiment`.`id_experiment` = 20)) or true))) as `q`
16:13:37.615 [ratpack-compute-1-2] DEBUG o.j.t.StopWatch - Query executed : Total: 3.845ms
16:13:37.616 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:13:37.616 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : | c|
16:13:37.617 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : +----+
16:13:37.617 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : | 3|
16:13:37.617 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : +----+
16:13:37.618 [ratpack-compute-1-2] DEBUG o.j.t.StopWatch - Finishing : Total: 6.966ms, +3.121ms
16:13:37.619 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - Executing query : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation`, `crowdcontrol`.`Answer_Reservation`.`worker`, `crowdcontrol`.`Answer_Reservation`.`experiment`, `crowdcontrol`.`Answer_Reservation`.`timestamp`, `crowdcontrol`.`Answer_Reservation`.`used` from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`experiment` = ? and `crowdcontrol`.`Answer_Reservation`.`worker` = ? and `crowdcontrol`.`Answer_Reservation`.`used` = ?)) as `q`
16:13:37.620 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - -> with bind values : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation`, `crowdcontrol`.`Answer_Reservation`.`worker`, `crowdcontrol`.`Answer_Reservation`.`experiment`, `crowdcontrol`.`Answer_Reservation`.`timestamp`, `crowdcontrol`.`Answer_Reservation`.`used` from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`experiment` = 20 and `crowdcontrol`.`Answer_Reservation`.`worker` = 36 and `crowdcontrol`.`Answer_Reservation`.`used` = true)) as `q`
16:13:37.622 [ratpack-compute-1-2] DEBUG o.j.t.StopWatch - Query executed : Total: 3.257ms
16:13:37.623 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:13:37.623 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : | c|
16:13:37.623 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : +----+
16:13:37.623 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : | 2|
16:13:37.623 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : +----+
16:13:37.624 [ratpack-compute-1-2] DEBUG o.j.t.StopWatch - Finishing : Total: 4.632ms, +1.374ms
16:13:37.624 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - Executing query : select count(*) from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`experiment` = ? and `crowdcontrol`.`Answer_Reservation`.`worker` = ? and `crowdcontrol`.`Answer_Reservation`.`used` = ?)
16:13:37.625 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - -> with bind values : select count(*) from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`experiment` = 20 and `crowdcontrol`.`Answer_Reservation`.`worker` = 36 and `crowdcontrol`.`Answer_Reservation`.`used` = false)
16:13:37.626 [ratpack-compute-1-2] DEBUG o.j.t.StopWatch - Query executed : Total: 2.27ms
16:13:37.627 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - Fetched result : +-----+
16:13:37.627 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : |count|
16:13:37.627 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : +-----+
16:13:37.627 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : | 1|
16:13:37.627 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : +-----+
16:13:37.628 [ratpack-compute-1-2] DEBUG o.j.t.StopWatch - Finishing : Total: 3.691ms, +1.42ms
16:13:37.628 [ratpack-compute-1-2] TRACE e.k.i.c.w.d.o.ExperimentsPlatformOperations - Worker 36 has 1 reserved open answers {}.
16:13:37.629 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - Executing query : update `crowdcontrol`.`Answer_Reservation` set `crowdcontrol`.`Answer_Reservation`.`timestamp` = ? where `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` in (?)
16:13:37.629 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - -> with bind values : update `crowdcontrol`.`Answer_Reservation` set `crowdcontrol`.`Answer_Reservation`.`timestamp` = {ts '2016-03-17 16:13:37.628'} where `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` in (1)
16:13:37.634 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - Affected row(s) : 1
16:13:37.634 [ratpack-compute-1-2] DEBUG o.j.t.StopWatch - Query executed : Total: 5.964ms
16:13:37.635 [ratpack-compute-1-2] DEBUG o.j.t.StopWatch - Finishing : Total: 6.655ms, +0.69ms
16:13:37.635 [ratpack-compute-1-2] TRACE e.k.i.c.w.d.o.ExperimentsPlatformOperations - Reserving 0 new Answers for worker 36.
16:13:37.635 [ratpack-compute-1-2] DEBUG o.j.i.DefaultConnectionProvider - release savepoint
16:13:37.635 [ratpack-compute-1-2] DEBUG o.j.i.DefaultConnectionProvider - commit
16:13:37.642 [ratpack-compute-1-2] DEBUG o.j.i.DefaultConnectionProvider - setting auto commit : true
16:13:37.643 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`worker` = ? and `crowdcontrol`.`Answer_Reservation`.`experiment` = ? and `crowdcontrol`.`Answer_Reservation`.`used` = ?)
16:13:37.644 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`worker` = 36 and `crowdcontrol`.`Answer_Reservation`.`experiment` = 20 and `crowdcontrol`.`Answer_Reservation`.`used` = false)
16:13:37.646 [ratpack-compute-1-2] DEBUG o.j.t.StopWatch - Query executed : Total: 3.141ms
16:13:37.651 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - Fetched result : +--------------------+
16:13:37.651 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : |idAnswer_Reservation|
16:13:37.651 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : +--------------------+
16:13:37.651 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : | 51|
16:13:37.651 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : +--------------------+
16:13:37.651 [ratpack-compute-1-2] DEBUG o.j.t.StopWatch - Finishing : Total: 8.366ms, +5.225ms
16:13:37.652 [ratpack-compute-1-2] TRACE e.k.i.c.w.q.TaskChooserAlgorithm - task chooser prepared builder
16:13:37.652 [ratpack-compute-1-2] DEBUG e.k.i.c.w.q.Queries - returning view: type: ANSWER
title: "Calibtest"
description: "test"
answer_reservations: 51
rating_options {
value: 9
description: "good"
}
rating_options {
description: "bad"
}
constraints {
id: 35
name: "a"
}
constraints {
id: 36
name: "b"
}
constraints {
id: 37
name: "C"
}
constraints {
id: 38
name: "d"
}
16:13:39.469 [ratpack-compute-1-2] DEBUG e.k.i.c.w.c.Commands - Request to submit answer answer: "bla"
experiment: 20
reservation: 51
for worker 36
16:13:39.469 [ratpack-compute-1-2] TRACE e.k.i.c.w.c.Commands - cleaning answer answer: "bla"
experiment: 20
reservation: 51
for worker 36 form potential malicious html tags
16:13:39.470 [ratpack-compute-1-2] TRACE e.k.i.c.w.c.Commands - answer answer: "bla"
experiment: 20
reservation: 51
for reservation 51 from worker 36 is valid
16:13:39.470 [ratpack-compute-1-2] DEBUG e.k.i.c.w.o.Communication - Trying to submit answer bla for worker 36 with route /experiments/20/answers
16:13:39.518 [I/O dispatcher 3] DEBUG e.k.i.c.w.o.Communication - Object service answered with status 201
16:13:39.518 [ratpack-compute-1-2] DEBUG e.k.i.c.w.c.Commands - Object service answered with OK.
16:13:39.536 [ratpack-compute-1-2] TRACE e.k.i.c.w.q.Queries - skipCreative is: false
16:13:39.537 [ratpack-compute-1-2] TRACE e.k.i.c.w.q.Queries - skipRating is: false
16:13:39.538 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - Executing query : select 1 as `one` from dual where exists (select `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer`, `crowdcontrol`.`Calibration_Result`.`id_calibration_result`, `crowdcontrol`.`Calibration_Result`.`worker`, `crowdcontrol`.`Calibration_Result`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`id_experiments_calibration`, `crowdcontrol`.`Experiments_Calibration`.`experiments_platform`, `crowdcontrol`.`Experiments_Calibration`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`not` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` join `crowdcontrol`.`Experiments_Calibration` on (`crowdcontrol`.`Experiments_Calibration`.`experiments_platform` in (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = ? and `crowdcontrol`.`Experiments_Platform`.`platform` = ?)) and `crowdcontrol`.`Calibration_answer_option`.`calibration` = (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` = `crowdcontrol`.`Experiments_Calibration`.`answer`) and ((`crowdcontrol`.`Experiments_Calibration`.`not` = ? and `crowdcontrol`.`Experiments_Calibration`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`) or (`crowdcontrol`.`Experiments_Calibration`.`not` = ? and `crowdcontrol`.`Experiments_Calibration`.`answer` <> `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`))) where `crowdcontrol`.`Calibration_Result`.`worker` = ?)
16:13:39.543 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - -> with bind values : select 1 as `one` from dual where exists (select `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer`, `crowdcontrol`.`Calibration_Result`.`id_calibration_result`, `crowdcontrol`.`Calibration_Result`.`worker`, `crowdcontrol`.`Calibration_Result`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`id_experiments_calibration`, `crowdcontrol`.`Experiments_Calibration`.`experiments_platform`, `crowdcontrol`.`Experiments_Calibration`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`not` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` join `crowdcontrol`.`Experiments_Calibration` on (`crowdcontrol`.`Experiments_Calibration`.`experiments_platform` in (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = 20 and `crowdcontrol`.`Experiments_Platform`.`platform` = 'dummydummy')) and `crowdcontrol`.`Calibration_answer_option`.`calibration` = (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` = `crowdcontrol`.`Experiments_Calibration`.`answer`) and ((`crowdcontrol`.`Experiments_Calibration`.`not` = true and `crowdcontrol`.`Experiments_Calibration`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`) or (`crowdcontrol`.`Experiments_Calibration`.`not` = false and `crowdcontrol`.`Experiments_Calibration`.`answer` <> `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`))) where `crowdcontrol`.`Calibration_Result`.`worker` = 36)
16:13:39.546 [ratpack-compute-1-2] DEBUG o.j.t.StopWatch - Query executed : Total: 8.341ms
16:13:39.547 [ratpack-compute-1-2] DEBUG o.j.t.StopWatch - Finishing : Total: 9.634ms, +1.293ms
16:13:39.547 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:13:39.547 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : | one|
16:13:39.547 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : +----+
16:13:39.548 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Worker`.`quality` from `crowdcontrol`.`Worker` where `crowdcontrol`.`Worker`.`id_worker` = ?
16:13:39.548 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Worker`.`quality` from `crowdcontrol`.`Worker` where `crowdcontrol`.`Worker`.`id_worker` = 36
16:13:39.549 [ratpack-compute-1-2] DEBUG o.j.t.StopWatch - Query executed : Total: 1.365ms
16:13:39.550 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - Fetched result : +-------+
16:13:39.550 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : |quality|
16:13:39.550 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : +-------+
16:13:39.550 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : | 9|
16:13:39.550 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : +-------+
16:13:39.551 [ratpack-compute-1-2] DEBUG o.j.t.StopWatch - Finishing : Total: 3.614ms, +2.249ms
16:13:39.551 [ratpack-compute-1-2] DEBUG e.k.i.c.w.q.Queries - worker 36 is eligible for working on the assignment
16:13:39.552 [ratpack-compute-1-2] TRACE e.k.i.c.w.q.Queries - platform dummydummy is able to render calibrations
16:13:39.553 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Calibration`.`id_calibration`, `crowdcontrol`.`Calibration`.`property`, `crowdcontrol`.`Calibration`.`name`, `crowdcontrol`.`Calibration`.`experiment`, `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration` on `crowdcontrol`.`Calibration_answer_option`.`calibration` = `crowdcontrol`.`Calibration`.`id_calibration` where (`crowdcontrol`.`Calibration`.`id_calibration` in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` in (select `crowdcontrol`.`Experiments_Calibration`.`answer` from `crowdcontrol`.`Experiments_Calibration` where `crowdcontrol`.`Experiments_Calibration`.`experiments_platform` = (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = ? and `crowdcontrol`.`Experiments_Platform`.`platform` = ?)))) and `crowdcontrol`.`Calibration`.`id_calibration` not in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` where `crowdcontrol`.`Calibration_Result`.`worker` = ?))
16:13:39.554 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Calibration`.`id_calibration`, `crowdcontrol`.`Calibration`.`property`, `crowdcontrol`.`Calibration`.`name`, `crowdcontrol`.`Calibration`.`experiment`, `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration` on `crowdcontrol`.`Calibration_answer_option`.`calibration` = `crowdcontrol`.`Calibration`.`id_calibration` where (`crowdcontrol`.`Calibration`.`id_calibration` in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` in (select `crowdcontrol`.`Experiments_Calibration`.`answer` from `crowdcontrol`.`Experiments_Calibration` where `crowdcontrol`.`Experiments_Calibration`.`experiments_platform` = (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = 20 and `crowdcontrol`.`Experiments_Platform`.`platform` = 'dummydummy')))) and `crowdcontrol`.`Calibration`.`id_calibration` not in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` where `crowdcontrol`.`Calibration_Result`.`worker` = 36))
16:13:39.556 [ratpack-compute-1-2] DEBUG o.j.t.StopWatch - Query executed : Total: 3.696ms
16:13:39.557 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - Fetched result : +--------------+--------+----+----------+----------------------------+-----------+------+
16:13:39.558 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : |id_calibration|property|name|experiment|id_calibration_answer_option|calibration|answer|
16:13:39.558 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : +--------------+--------+----+----------+----------------------------+-----------+------+
16:13:39.558 [ratpack-compute-1-2] DEBUG o.j.t.StopWatch - Finishing : Total: 5.563ms, +1.866ms
16:13:39.558 [ratpack-compute-1-2] TRACE e.k.i.c.w.q.Queries - worker 36 must answer the calibrations {}
16:13:39.559 [ratpack-compute-1-2] DEBUG e.k.i.c.w.q.Queries - worker 36 must not answer calibrations
16:13:39.559 [ratpack-compute-1-2] DEBUG e.k.i.c.w.q.Queries - invoking task-chooser anti_spoof
16:13:39.560 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - Executing query : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` left outer join `crowdcontrol`.`Answer` on `crowdcontrol`.`Answer`.`reservation` = `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` where ((`crowdcontrol`.`Answer_Reservation`.`used` = ? or (`crowdcontrol`.`Answer_Reservation`.`timestamp` >= ? and `crowdcontrol`.`Answer_Reservation`.`worker` <> ?)) and `crowdcontrol`.`Answer_Reservation`.`experiment` = ? and ((`crowdcontrol`.`Answer`.`quality_assured` = ? and `crowdcontrol`.`Answer`.`quality` > (select `crowdcontrol`.`Experiment`.`result_quality_threshold` from `crowdcontrol`.`Experiment` where `crowdcontrol`.`Experiment`.`id_experiment` = ?)) or ?))) as `q`
16:13:39.562 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - -> with bind values : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` left outer join `crowdcontrol`.`Answer` on `crowdcontrol`.`Answer`.`reservation` = `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` where ((`crowdcontrol`.`Answer_Reservation`.`used` = true or (`crowdcontrol`.`Answer_Reservation`.`timestamp` >= {ts '2016-03-17 14:13:39.559'} and `crowdcontrol`.`Answer_Reservation`.`worker` <> 36)) and `crowdcontrol`.`Answer_Reservation`.`experiment` = 20 and ((`crowdcontrol`.`Answer`.`quality_assured` = true and `crowdcontrol`.`Answer`.`quality` > (select `crowdcontrol`.`Experiment`.`result_quality_threshold` from `crowdcontrol`.`Experiment` where `crowdcontrol`.`Experiment`.`id_experiment` = 20)) or true))) as `q`
16:13:39.565 [ratpack-compute-1-2] DEBUG o.j.t.StopWatch - Query executed : Total: 5.115ms
16:13:39.566 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:13:39.566 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : | c|
16:13:39.566 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : +----+
16:13:39.566 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : | 3|
16:13:39.567 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : +----+
16:13:39.567 [ratpack-compute-1-2] DEBUG o.j.t.StopWatch - Finishing : Total: 7.618ms, +2.503ms
16:13:39.568 [ratpack-compute-1-2] TRACE e.k.i.c.w.q.AntiSpoof - calculating phase for: answersCount=3, phases={1=1}, neededAnswers=10
16:13:39.568 [ratpack-compute-1-2] DEBUG e.k.i.c.w.q.AntiSpoof - entering phase 2
16:13:39.568 [ratpack-compute-1-2] TRACE e.k.i.c.w.q.TaskChooserAlgorithm - constructing view with parameters: worker-id = 36, experimentID = 20, skipCreative = false, skipRating = false
16:13:39.569 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - Executing query : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation`, `crowdcontrol`.`Answer_Reservation`.`worker`, `crowdcontrol`.`Answer_Reservation`.`experiment`, `crowdcontrol`.`Answer_Reservation`.`timestamp`, `crowdcontrol`.`Answer_Reservation`.`used` from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`experiment` = ? and `crowdcontrol`.`Answer_Reservation`.`worker` = ? and `crowdcontrol`.`Answer_Reservation`.`used` = ?)) as `q`
16:13:39.570 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - -> with bind values : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation`, `crowdcontrol`.`Answer_Reservation`.`worker`, `crowdcontrol`.`Answer_Reservation`.`experiment`, `crowdcontrol`.`Answer_Reservation`.`timestamp`, `crowdcontrol`.`Answer_Reservation`.`used` from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`experiment` = 20 and `crowdcontrol`.`Answer_Reservation`.`worker` = 36 and `crowdcontrol`.`Answer_Reservation`.`used` = true)) as `q`
16:13:39.573 [ratpack-compute-1-2] DEBUG o.j.t.StopWatch - Query executed : Total: 4.277ms
16:13:39.574 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:13:39.574 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : | c|
16:13:39.575 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : +----+
16:13:39.575 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : | 3|
16:13:39.575 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : +----+
16:13:39.577 [ratpack-compute-1-2] DEBUG o.j.t.StopWatch - Finishing : Total: 8.233ms, +3.955ms
16:13:39.578 [ratpack-compute-1-2] DEBUG e.k.i.c.w.q.TaskChooserAlgorithm - worker 36 has answered 3 times, max. is 3
16:13:39.579 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - Executing query : select count(*) as `c` from (select `crowdcontrol`.`Rating`.`id_rating`, `crowdcontrol`.`Rating`.`experiment`, `crowdcontrol`.`Rating`.`answer_r`, `crowdcontrol`.`Rating`.`timestamp`, `crowdcontrol`.`Rating`.`rating`, `crowdcontrol`.`Rating`.`reservation`, `crowdcontrol`.`Rating`.`feedback`, `crowdcontrol`.`Rating`.`worker_id`, `crowdcontrol`.`Rating`.`quality` from `crowdcontrol`.`Rating` where (`crowdcontrol`.`Rating`.`experiment` = ? and `crowdcontrol`.`Rating`.`worker_id` = ?)) as `q`
16:13:39.579 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - -> with bind values : select count(*) as `c` from (select `crowdcontrol`.`Rating`.`id_rating`, `crowdcontrol`.`Rating`.`experiment`, `crowdcontrol`.`Rating`.`answer_r`, `crowdcontrol`.`Rating`.`timestamp`, `crowdcontrol`.`Rating`.`rating`, `crowdcontrol`.`Rating`.`reservation`, `crowdcontrol`.`Rating`.`feedback`, `crowdcontrol`.`Rating`.`worker_id`, `crowdcontrol`.`Rating`.`quality` from `crowdcontrol`.`Rating` where (`crowdcontrol`.`Rating`.`experiment` = 20 and `crowdcontrol`.`Rating`.`worker_id` = 36)) as `q`
16:13:39.581 [ratpack-compute-1-2] DEBUG o.j.t.StopWatch - Query executed : Total: 3.077ms
16:13:39.582 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:13:39.582 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : | c|
16:13:39.583 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : +----+
16:13:39.583 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : | 0|
16:13:39.583 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : +----+
16:13:39.584 [ratpack-compute-1-2] DEBUG o.j.t.StopWatch - Finishing : Total: 5.691ms, +2.613ms
16:13:39.584 [ratpack-compute-1-2] DEBUG e.k.i.c.w.q.TaskChooserAlgorithm - worker 36 has rated 0 times, max. is 3
16:13:39.585 [ratpack-compute-1-2] DEBUG e.k.i.c.w.q.TaskChooserAlgorithm - returning rating-view
16:13:39.585 [ratpack-compute-1-2] DEBUG e.k.i.c.w.q.TaskChooserAlgorithm - task chooser constructs rating-view
16:13:39.587 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Answer`.`id_answer`, `crowdcontrol`.`Answer`.`experiment`, `crowdcontrol`.`Answer`.`answer`, `crowdcontrol`.`Answer`.`timestamp`, `crowdcontrol`.`Answer`.`worker_id`, `crowdcontrol`.`Answer`.`reservation`, `crowdcontrol`.`Answer`.`quality`, `crowdcontrol`.`Answer`.`quality_assured`, `crowdcontrol`.`Answer`.`system_response`, `crowdcontrol`.`Answer`.`hash`, count(`crowdcontrol`.`Rating`.`id_rating`) as `count` from `crowdcontrol`.`Answer` left outer join `crowdcontrol`.`Rating` on (`crowdcontrol`.`Rating`.`answer_r` = `crowdcontrol`.`Answer`.`id_answer` and (`crowdcontrol`.`Rating`.`rating` is not null or `crowdcontrol`.`Rating`.`timestamp` >= ?)) where (`crowdcontrol`.`Answer`.`worker_id` <> ? and `crowdcontrol`.`Answer`.`experiment` = ?) group by `crowdcontrol`.`Answer`.`id_answer`, `crowdcontrol`.`Answer`.`experiment`, `crowdcontrol`.`Answer`.`answer`, `crowdcontrol`.`Answer`.`timestamp`, `crowdcontrol`.`Answer`.`worker_id`, `crowdcontrol`.`Answer`.`reservation`, `crowdcontrol`.`Answer`.`quality`, `crowdcontrol`.`Answer`.`quality_assured`, `crowdcontrol`.`Answer`.`system_response`, `crowdcontrol`.`Answer`.`hash`
16:13:39.588 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Answer`.`id_answer`, `crowdcontrol`.`Answer`.`experiment`, `crowdcontrol`.`Answer`.`answer`, `crowdcontrol`.`Answer`.`timestamp`, `crowdcontrol`.`Answer`.`worker_id`, `crowdcontrol`.`Answer`.`reservation`, `crowdcontrol`.`Answer`.`quality`, `crowdcontrol`.`Answer`.`quality_assured`, `crowdcontrol`.`Answer`.`system_response`, `crowdcontrol`.`Answer`.`hash`, count(`crowdcontrol`.`Rating`.`id_rating`) as `count` from `crowdcontrol`.`Answer` left outer join `crowdcontrol`.`Rating` on (`crowdcontrol`.`Rating`.`answer_r` = `crowdcontrol`.`Answer`.`id_answer` and (`crowdcontrol`.`Rating`.`rating` is not null or `crowdcontrol`.`Rating`.`timestamp` >= {ts '2016-03-17 14:13:39.586'})) where (`crowdcontrol`.`Answer`.`worker_id` <> 36 and `crowdcontrol`.`Answer`.`experiment` = 20) group by `crowdcontrol`.`Answer`.`id_answer`, `crowdcontrol`.`Answer`.`experiment`, `crowdcontrol`.`Answer`.`answer`, `crowdcontrol`.`Answer`.`timestamp`, `crowdcontrol`.`Answer`.`worker_id`, `crowdcontrol`.`Answer`.`reservation`, `crowdcontrol`.`Answer`.`quality`, `crowdcontrol`.`Answer`.`quality_assured`, `crowdcontrol`.`Answer`.`system_response`, `crowdcontrol`.`Answer`.`hash`
16:13:39.601 [ratpack-compute-1-2] DEBUG o.j.t.StopWatch - Query executed : Total: 14.007ms
16:13:39.604 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - Fetched result : +---------+----------+------+---------+---------+-----------+-------+---------------+---------------+----+-----+
16:13:39.605 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : |id_answer|experiment|answer|timestamp|worker_id|reservation|quality|quality_assured|system_response|hash|count|
16:13:39.610 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : +---------+----------+------+---------+---------+-----------+-------+---------------+---------------+----+-----+
16:13:39.611 [ratpack-compute-1-2] DEBUG o.j.t.StopWatch - Finishing : Total: 24.05ms, +10.043ms
16:13:39.611 [ratpack-compute-1-2] TRACE e.k.i.c.w.q.TaskChooserAlgorithm - all the answers belonging to the experiment not from the worker with their count (max rating per answer is 3): +---------+----------+------+---------+---------+-----------+-------+---------------+---------------+----+-----+
|id_answer|experiment|answer|timestamp|worker_id|reservation|quality|quality_assured|system_response|hash|count|
+---------+----------+------+---------+---------+-----------+-------+---------------+---------------+----+-----+
16:13:39.616 [ratpack-compute-1-2] DEBUG o.j.i.DefaultConnectionProvider - setting auto commit : false
16:13:39.617 [ratpack-compute-1-2] DEBUG o.j.i.DefaultConnectionProvider - set savepoint
16:13:39.620 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Answer`.`id_answer`, `crowdcontrol`.`Answer`.`experiment`, `crowdcontrol`.`Answer`.`answer`, `crowdcontrol`.`Answer`.`timestamp`, `crowdcontrol`.`Answer`.`worker_id`, `crowdcontrol`.`Answer`.`reservation`, `crowdcontrol`.`Answer`.`quality`, `crowdcontrol`.`Answer`.`quality_assured`, `crowdcontrol`.`Answer`.`system_response`, `crowdcontrol`.`Answer`.`hash`, `crowdcontrol`.`Rating_Reservation`.`idReserverd_Rating` from `crowdcontrol`.`Answer` join `crowdcontrol`.`Rating_Reservation` on (`crowdcontrol`.`Rating_Reservation`.`worker` = ? and `crowdcontrol`.`Rating_Reservation`.`experiment` = ? and `crowdcontrol`.`Rating_Reservation`.`answer` = `crowdcontrol`.`Answer`.`id_answer`)
16:13:39.620 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Answer`.`id_answer`, `crowdcontrol`.`Answer`.`experiment`, `crowdcontrol`.`Answer`.`answer`, `crowdcontrol`.`Answer`.`timestamp`, `crowdcontrol`.`Answer`.`worker_id`, `crowdcontrol`.`Answer`.`reservation`, `crowdcontrol`.`Answer`.`quality`, `crowdcontrol`.`Answer`.`quality_assured`, `crowdcontrol`.`Answer`.`system_response`, `crowdcontrol`.`Answer`.`hash`, `crowdcontrol`.`Rating_Reservation`.`idReserverd_Rating` from `crowdcontrol`.`Answer` join `crowdcontrol`.`Rating_Reservation` on (`crowdcontrol`.`Rating_Reservation`.`worker` = 36 and `crowdcontrol`.`Rating_Reservation`.`experiment` = 20 and `crowdcontrol`.`Rating_Reservation`.`answer` = `crowdcontrol`.`Answer`.`id_answer`)
16:13:39.627 [ratpack-compute-1-2] DEBUG o.j.t.StopWatch - Query executed : Total: 8.011ms
16:13:39.636 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - Fetched result : +---------+----------+------+---------+---------+-----------+-------+---------------+---------------+----+------------------+
16:13:39.637 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : |id_answer|experiment|answer|timestamp|worker_id|reservation|quality|quality_assured|system_response|hash|idReserverd_Rating|
16:13:39.637 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : +---------+----------+------+---------+---------+-----------+-------+---------------+---------------+----+------------------+
16:13:39.638 [ratpack-compute-1-2] DEBUG o.j.t.StopWatch - Finishing : Total: 18.291ms, +10.28ms
16:13:39.638 [ratpack-compute-1-2] TRACE e.k.i.c.w.d.o.ExperimentsPlatformOperations - Worker 36 has reserved open ratings {}.
16:13:39.639 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - Executing query : update `crowdcontrol`.`Rating_Reservation` set `crowdcontrol`.`Rating_Reservation`.`timestamp` = ? where 1 = 0
16:13:39.639 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - -> with bind values : update `crowdcontrol`.`Rating_Reservation` set `crowdcontrol`.`Rating_Reservation`.`timestamp` = {ts '2016-03-17 16:13:39.638'} where 1 = 0
16:13:39.657 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - Affected row(s) : 0
16:13:39.658 [ratpack-compute-1-2] DEBUG o.j.t.StopWatch - Query executed : Total: 19.348ms
16:13:39.664 [ratpack-compute-1-2] DEBUG o.j.t.StopWatch - Finishing : Total: 25.002ms, +5.653ms
16:13:39.664 [ratpack-compute-1-2] TRACE e.k.i.c.w.d.o.ExperimentsPlatformOperations - Reserving 3 new Ratings for worker 36.
16:13:39.666 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Answer`.`id_answer`, `crowdcontrol`.`Answer`.`experiment`, `crowdcontrol`.`Answer`.`answer`, `crowdcontrol`.`Answer`.`timestamp`, `crowdcontrol`.`Answer`.`worker_id`, `crowdcontrol`.`Answer`.`reservation`, `crowdcontrol`.`Answer`.`quality`, `crowdcontrol`.`Answer`.`quality_assured`, `crowdcontrol`.`Answer`.`system_response`, `crowdcontrol`.`Answer`.`hash`, count(`crowdcontrol`.`Rating_Reservation`.`idReserverd_Rating`) as `count` from `crowdcontrol`.`Answer` left outer join `crowdcontrol`.`Rating_Reservation` on (`crowdcontrol`.`Rating_Reservation`.`answer` = `crowdcontrol`.`Answer`.`id_answer` and (`crowdcontrol`.`Rating_Reservation`.`used` = ? or `crowdcontrol`.`Rating_Reservation`.`timestamp` >= ?)) where (`crowdcontrol`.`Answer`.`experiment` = ? and `crowdcontrol`.`Answer`.`worker_id` <> ? and `crowdcontrol`.`Answer`.`id_answer` not in (select `crowdcontrol`.`Rating_Reservation`.`answer` from `crowdcontrol`.`Rating_Reservation` where (`crowdcontrol`.`Rating_Reservation`.`worker` = ? and `crowdcontrol`.`Rating_Reservation`.`experiment` = ?)) and ((`crowdcontrol`.`Answer`.`quality_assured` = ? and `crowdcontrol`.`Answer`.`quality` <> ?) or ?)) group by `crowdcontrol`.`Answer`.`id_answer`, `crowdcontrol`.`Answer`.`experiment`, `crowdcontrol`.`Answer`.`answer`, `crowdcontrol`.`Answer`.`timestamp`, `crowdcontrol`.`Answer`.`worker_id`, `crowdcontrol`.`Answer`.`reservation`, `crowdcontrol`.`Answer`.`quality`, `crowdcontrol`.`Answer`.`quality_assured`, `crowdcontrol`.`Answer`.`system_response`, `crowdcontrol`.`Answer`.`hash` having `count` < (select `crowdcontrol`.`Experiment`.`ratings_per_answer` from `crowdcontrol`.`Experiment` where `crowdcontrol`.`Experiment`.`id_experiment` = ?) order by `crowdcontrol`.`Answer`.`quality_assured` desc limit ?
16:13:39.669 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Answer`.`id_answer`, `crowdcontrol`.`Answer`.`experiment`, `crowdcontrol`.`Answer`.`answer`, `crowdcontrol`.`Answer`.`timestamp`, `crowdcontrol`.`Answer`.`worker_id`, `crowdcontrol`.`Answer`.`reservation`, `crowdcontrol`.`Answer`.`quality`, `crowdcontrol`.`Answer`.`quality_assured`, `crowdcontrol`.`Answer`.`system_response`, `crowdcontrol`.`Answer`.`hash`, count(`crowdcontrol`.`Rating_Reservation`.`idReserverd_Rating`) as `count` from `crowdcontrol`.`Answer` left outer join `crowdcontrol`.`Rating_Reservation` on (`crowdcontrol`.`Rating_Reservation`.`answer` = `crowdcontrol`.`Answer`.`id_answer` and (`crowdcontrol`.`Rating_Reservation`.`used` = true or `crowdcontrol`.`Rating_Reservation`.`timestamp` >= {ts '2016-03-17 14:13:39.665'})) where (`crowdcontrol`.`Answer`.`experiment` = 20 and `crowdcontrol`.`Answer`.`worker_id` <> 36 and `crowdcontrol`.`Answer`.`id_answer` not in (select `crowdcontrol`.`Rating_Reservation`.`answer` from `crowdcontrol`.`Rating_Reservation` where (`crowdcontrol`.`Rating_Reservation`.`worker` = 36 and `crowdcontrol`.`Rating_Reservation`.`experiment` = 20)) and ((`crowdcontrol`.`Answer`.`quality_assured` = true and `crowdcontrol`.`Answer`.`quality` <> 0) or true)) group by `crowdcontrol`.`Answer`.`id_answer`, `crowdcontrol`.`Answer`.`experiment`, `crowdcontrol`.`Answer`.`answer`, `crowdcontrol`.`Answer`.`timestamp`, `crowdcontrol`.`Answer`.`worker_id`, `crowdcontrol`.`Answer`.`reservation`, `crowdcontrol`.`Answer`.`quality`, `crowdcontrol`.`Answer`.`quality_assured`, `crowdcontrol`.`Answer`.`system_response`, `crowdcontrol`.`Answer`.`hash` having `count` < (select `crowdcontrol`.`Experiment`.`ratings_per_answer` from `crowdcontrol`.`Experiment` where `crowdcontrol`.`Experiment`.`id_experiment` = 20) order by `crowdcontrol`.`Answer`.`quality_assured` desc limit 3
16:13:39.677 [ratpack-compute-1-2] DEBUG o.j.t.StopWatch - Query executed : Total: 11.627ms
16:13:39.684 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - Fetched result : +---------+----------+------+---------+---------+-----------+-------+---------------+---------------+----+-----+
16:13:39.684 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : |id_answer|experiment|answer|timestamp|worker_id|reservation|quality|quality_assured|system_response|hash|count|
16:13:39.684 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : +---------+----------+------+---------+---------+-----------+-------+---------------+---------------+----+-----+
16:13:39.684 [ratpack-compute-1-2] DEBUG o.j.t.StopWatch - Finishing : Total: 18.634ms, +7.007ms
16:13:39.689 [ratpack-compute-1-2] DEBUG o.j.i.DefaultConnectionProvider - release savepoint
16:13:39.690 [ratpack-compute-1-2] DEBUG o.j.i.DefaultConnectionProvider - commit
16:13:39.690 [ratpack-compute-1-2] DEBUG o.j.i.DefaultConnectionProvider - setting auto commit : true
16:13:39.691 [ratpack-compute-1-2] TRACE e.k.i.c.w.d.o.ExperimentsPlatformOperations - Worker 36 can rate []
16:13:39.693 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Rating_Reservation`.`idReserverd_Rating`, `crowdcontrol`.`Rating_Reservation`.`worker`, `crowdcontrol`.`Rating_Reservation`.`experiment`, `crowdcontrol`.`Rating_Reservation`.`answer`, `crowdcontrol`.`Rating_Reservation`.`timestamp`, `crowdcontrol`.`Rating_Reservation`.`used` from `crowdcontrol`.`Rating_Reservation` where (1 = 0 and `crowdcontrol`.`Rating_Reservation`.`worker` = ?)
16:13:39.693 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Rating_Reservation`.`idReserverd_Rating`, `crowdcontrol`.`Rating_Reservation`.`worker`, `crowdcontrol`.`Rating_Reservation`.`experiment`, `crowdcontrol`.`Rating_Reservation`.`answer`, `crowdcontrol`.`Rating_Reservation`.`timestamp`, `crowdcontrol`.`Rating_Reservation`.`used` from `crowdcontrol`.`Rating_Reservation` where (1 = 0 and `crowdcontrol`.`Rating_Reservation`.`worker` = 36)
16:13:39.694 [ratpack-compute-1-2] DEBUG o.j.t.StopWatch - Query executed : Total: 1.538ms
16:13:39.696 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - Fetched result : +------------------+------+----------+------+---------+----+
16:13:39.696 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : |idReserverd_Rating|worker|experiment|answer|timestamp|used|
16:13:39.697 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : +------------------+------+----------+------+---------+----+
16:13:39.698 [ratpack-compute-1-2] DEBUG o.j.t.StopWatch - Finishing : Total: 5.064ms, +3.525ms
16:13:39.699 [ratpack-compute-1-2] TRACE e.k.i.c.w.q.TaskChooserAlgorithm - worker 36 can rate []
16:13:39.700 [ratpack-compute-1-2] ERROR e.k.i.c.w.q.TaskChooserAlgorithm - no answers available to rate for experiment = 20, worker = 36
16:13:39.701 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - Executing query : select 1 as `one` from dual where exists (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`worker` = ? and `crowdcontrol`.`Answer_Reservation`.`experiment` = ? and `crowdcontrol`.`Answer_Reservation`.`used` = ?))
16:13:39.702 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - -> with bind values : select 1 as `one` from dual where exists (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`worker` = 36 and `crowdcontrol`.`Answer_Reservation`.`experiment` = 20 and `crowdcontrol`.`Answer_Reservation`.`used` = true))
16:13:39.703 [ratpack-compute-1-2] DEBUG o.j.t.StopWatch - Query executed : Total: 1.827ms
16:13:39.703 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:13:39.703 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : | one|
16:13:39.703 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : +----+
16:13:39.703 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : | 1|
16:13:39.703 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : +----+
16:13:39.704 [ratpack-compute-1-2] DEBUG o.j.t.StopWatch - Finishing : Total: 2.919ms, +1.092ms
16:13:39.705 [ratpack-compute-1-2] DEBUG e.k.i.c.w.q.Queries - returning view:
16:13:41.629 [ratpack-compute-1-2] TRACE e.k.i.c.w.q.Queries - skipCreative is: false
16:13:41.629 [ratpack-compute-1-2] TRACE e.k.i.c.w.q.Queries - skipRating is: false
16:13:41.632 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - Executing query : select 1 as `one` from dual where exists (select `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer`, `crowdcontrol`.`Calibration_Result`.`id_calibration_result`, `crowdcontrol`.`Calibration_Result`.`worker`, `crowdcontrol`.`Calibration_Result`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`id_experiments_calibration`, `crowdcontrol`.`Experiments_Calibration`.`experiments_platform`, `crowdcontrol`.`Experiments_Calibration`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`not` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` join `crowdcontrol`.`Experiments_Calibration` on (`crowdcontrol`.`Experiments_Calibration`.`experiments_platform` in (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = ? and `crowdcontrol`.`Experiments_Platform`.`platform` = ?)) and `crowdcontrol`.`Calibration_answer_option`.`calibration` = (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` = `crowdcontrol`.`Experiments_Calibration`.`answer`) and ((`crowdcontrol`.`Experiments_Calibration`.`not` = ? and `crowdcontrol`.`Experiments_Calibration`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`) or (`crowdcontrol`.`Experiments_Calibration`.`not` = ? and `crowdcontrol`.`Experiments_Calibration`.`answer` <> `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`))) where `crowdcontrol`.`Calibration_Result`.`worker` = ?)
16:13:41.633 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - -> with bind values : select 1 as `one` from dual where exists (select `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer`, `crowdcontrol`.`Calibration_Result`.`id_calibration_result`, `crowdcontrol`.`Calibration_Result`.`worker`, `crowdcontrol`.`Calibration_Result`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`id_experiments_calibration`, `crowdcontrol`.`Experiments_Calibration`.`experiments_platform`, `crowdcontrol`.`Experiments_Calibration`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`not` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` join `crowdcontrol`.`Experiments_Calibration` on (`crowdcontrol`.`Experiments_Calibration`.`experiments_platform` in (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = 20 and `crowdcontrol`.`Experiments_Platform`.`platform` = 'dummydummy')) and `crowdcontrol`.`Calibration_answer_option`.`calibration` = (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` = `crowdcontrol`.`Experiments_Calibration`.`answer`) and ((`crowdcontrol`.`Experiments_Calibration`.`not` = true and `crowdcontrol`.`Experiments_Calibration`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`) or (`crowdcontrol`.`Experiments_Calibration`.`not` = false and `crowdcontrol`.`Experiments_Calibration`.`answer` <> `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`))) where `crowdcontrol`.`Calibration_Result`.`worker` = 36)
16:13:41.642 [ratpack-compute-1-2] DEBUG o.j.t.StopWatch - Query executed : Total: 10.557ms
16:13:41.642 [ratpack-compute-1-2] DEBUG o.j.t.StopWatch - Finishing : Total: 11.395ms, +0.838ms
16:13:41.643 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:13:41.643 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : | one|
16:13:41.643 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : +----+
16:13:41.643 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Worker`.`quality` from `crowdcontrol`.`Worker` where `crowdcontrol`.`Worker`.`id_worker` = ?
16:13:41.643 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Worker`.`quality` from `crowdcontrol`.`Worker` where `crowdcontrol`.`Worker`.`id_worker` = 36
16:13:41.644 [ratpack-compute-1-2] DEBUG o.j.t.StopWatch - Query executed : Total: 1.208ms
16:13:41.645 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - Fetched result : +-------+
16:13:41.645 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : |quality|
16:13:41.645 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : +-------+
16:13:41.645 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : | 9|
16:13:41.645 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : +-------+
16:13:41.646 [ratpack-compute-1-2] DEBUG o.j.t.StopWatch - Finishing : Total: 2.529ms, +1.321ms
16:13:41.648 [ratpack-compute-1-2] DEBUG e.k.i.c.w.q.Queries - worker 36 is eligible for working on the assignment
16:13:41.649 [ratpack-compute-1-2] TRACE e.k.i.c.w.q.Queries - platform dummydummy is able to render calibrations
16:13:41.653 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Calibration`.`id_calibration`, `crowdcontrol`.`Calibration`.`property`, `crowdcontrol`.`Calibration`.`name`, `crowdcontrol`.`Calibration`.`experiment`, `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration` on `crowdcontrol`.`Calibration_answer_option`.`calibration` = `crowdcontrol`.`Calibration`.`id_calibration` where (`crowdcontrol`.`Calibration`.`id_calibration` in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` in (select `crowdcontrol`.`Experiments_Calibration`.`answer` from `crowdcontrol`.`Experiments_Calibration` where `crowdcontrol`.`Experiments_Calibration`.`experiments_platform` = (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = ? and `crowdcontrol`.`Experiments_Platform`.`platform` = ?)))) and `crowdcontrol`.`Calibration`.`id_calibration` not in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` where `crowdcontrol`.`Calibration_Result`.`worker` = ?))
16:13:41.653 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Calibration`.`id_calibration`, `crowdcontrol`.`Calibration`.`property`, `crowdcontrol`.`Calibration`.`name`, `crowdcontrol`.`Calibration`.`experiment`, `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration` on `crowdcontrol`.`Calibration_answer_option`.`calibration` = `crowdcontrol`.`Calibration`.`id_calibration` where (`crowdcontrol`.`Calibration`.`id_calibration` in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` in (select `crowdcontrol`.`Experiments_Calibration`.`answer` from `crowdcontrol`.`Experiments_Calibration` where `crowdcontrol`.`Experiments_Calibration`.`experiments_platform` = (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = 20 and `crowdcontrol`.`Experiments_Platform`.`platform` = 'dummydummy')))) and `crowdcontrol`.`Calibration`.`id_calibration` not in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` where `crowdcontrol`.`Calibration_Result`.`worker` = 36))
16:13:41.656 [ratpack-compute-1-2] DEBUG o.j.t.StopWatch - Query executed : Total: 3.791ms
16:13:41.657 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - Fetched result : +--------------+--------+----+----------+----------------------------+-----------+------+
16:13:41.657 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : |id_calibration|property|name|experiment|id_calibration_answer_option|calibration|answer|
16:13:41.657 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : +--------------+--------+----+----------+----------------------------+-----------+------+
16:13:41.657 [ratpack-compute-1-2] DEBUG o.j.t.StopWatch - Finishing : Total: 4.86ms, +1.069ms
16:13:41.658 [ratpack-compute-1-2] TRACE e.k.i.c.w.q.Queries - worker 36 must answer the calibrations {}
16:13:41.658 [ratpack-compute-1-2] DEBUG e.k.i.c.w.q.Queries - worker 36 must not answer calibrations
16:13:41.658 [ratpack-compute-1-2] DEBUG e.k.i.c.w.q.Queries - invoking task-chooser anti_spoof
16:13:41.659 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - Executing query : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` left outer join `crowdcontrol`.`Answer` on `crowdcontrol`.`Answer`.`reservation` = `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` where ((`crowdcontrol`.`Answer_Reservation`.`used` = ? or (`crowdcontrol`.`Answer_Reservation`.`timestamp` >= ? and `crowdcontrol`.`Answer_Reservation`.`worker` <> ?)) and `crowdcontrol`.`Answer_Reservation`.`experiment` = ? and ((`crowdcontrol`.`Answer`.`quality_assured` = ? and `crowdcontrol`.`Answer`.`quality` > (select `crowdcontrol`.`Experiment`.`result_quality_threshold` from `crowdcontrol`.`Experiment` where `crowdcontrol`.`Experiment`.`id_experiment` = ?)) or ?))) as `q`
16:13:41.660 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - -> with bind values : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` left outer join `crowdcontrol`.`Answer` on `crowdcontrol`.`Answer`.`reservation` = `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` where ((`crowdcontrol`.`Answer_Reservation`.`used` = true or (`crowdcontrol`.`Answer_Reservation`.`timestamp` >= {ts '2016-03-17 14:13:41.658'} and `crowdcontrol`.`Answer_Reservation`.`worker` <> 36)) and `crowdcontrol`.`Answer_Reservation`.`experiment` = 20 and ((`crowdcontrol`.`Answer`.`quality_assured` = true and `crowdcontrol`.`Answer`.`quality` > (select `crowdcontrol`.`Experiment`.`result_quality_threshold` from `crowdcontrol`.`Experiment` where `crowdcontrol`.`Experiment`.`id_experiment` = 20)) or true))) as `q`
16:13:41.662 [ratpack-compute-1-2] DEBUG o.j.t.StopWatch - Query executed : Total: 3.47ms
16:13:41.666 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:13:41.666 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : | c|
16:13:41.666 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : +----+
16:13:41.666 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : | 3|
16:13:41.666 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : +----+
16:13:41.667 [ratpack-compute-1-2] DEBUG o.j.t.StopWatch - Finishing : Total: 8.874ms, +5.403ms
16:13:41.668 [ratpack-compute-1-2] TRACE e.k.i.c.w.q.AntiSpoof - calculating phase for: answersCount=3, phases={1=1}, neededAnswers=10
16:13:41.669 [ratpack-compute-1-2] DEBUG e.k.i.c.w.q.AntiSpoof - entering phase 2
16:13:41.669 [ratpack-compute-1-2] TRACE e.k.i.c.w.q.TaskChooserAlgorithm - constructing view with parameters: worker-id = 36, experimentID = 20, skipCreative = false, skipRating = false
16:13:41.670 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - Executing query : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation`, `crowdcontrol`.`Answer_Reservation`.`worker`, `crowdcontrol`.`Answer_Reservation`.`experiment`, `crowdcontrol`.`Answer_Reservation`.`timestamp`, `crowdcontrol`.`Answer_Reservation`.`used` from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`experiment` = ? and `crowdcontrol`.`Answer_Reservation`.`worker` = ? and `crowdcontrol`.`Answer_Reservation`.`used` = ?)) as `q`
16:13:41.671 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - -> with bind values : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation`, `crowdcontrol`.`Answer_Reservation`.`worker`, `crowdcontrol`.`Answer_Reservation`.`experiment`, `crowdcontrol`.`Answer_Reservation`.`timestamp`, `crowdcontrol`.`Answer_Reservation`.`used` from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`experiment` = 20 and `crowdcontrol`.`Answer_Reservation`.`worker` = 36 and `crowdcontrol`.`Answer_Reservation`.`used` = true)) as `q`
16:13:41.672 [ratpack-compute-1-2] DEBUG o.j.t.StopWatch - Query executed : Total: 2.998ms
16:13:41.673 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:13:41.673 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : | c|
16:13:41.673 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : +----+
16:13:41.673 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : | 3|
16:13:41.673 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : +----+
16:13:41.674 [ratpack-compute-1-2] DEBUG o.j.t.StopWatch - Finishing : Total: 4.198ms, +1.2ms
16:13:41.674 [ratpack-compute-1-2] DEBUG e.k.i.c.w.q.TaskChooserAlgorithm - worker 36 has answered 3 times, max. is 3
16:13:41.676 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - Executing query : select count(*) as `c` from (select `crowdcontrol`.`Rating`.`id_rating`, `crowdcontrol`.`Rating`.`experiment`, `crowdcontrol`.`Rating`.`answer_r`, `crowdcontrol`.`Rating`.`timestamp`, `crowdcontrol`.`Rating`.`rating`, `crowdcontrol`.`Rating`.`reservation`, `crowdcontrol`.`Rating`.`feedback`, `crowdcontrol`.`Rating`.`worker_id`, `crowdcontrol`.`Rating`.`quality` from `crowdcontrol`.`Rating` where (`crowdcontrol`.`Rating`.`experiment` = ? and `crowdcontrol`.`Rating`.`worker_id` = ?)) as `q`
16:13:41.677 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - -> with bind values : select count(*) as `c` from (select `crowdcontrol`.`Rating`.`id_rating`, `crowdcontrol`.`Rating`.`experiment`, `crowdcontrol`.`Rating`.`answer_r`, `crowdcontrol`.`Rating`.`timestamp`, `crowdcontrol`.`Rating`.`rating`, `crowdcontrol`.`Rating`.`reservation`, `crowdcontrol`.`Rating`.`feedback`, `crowdcontrol`.`Rating`.`worker_id`, `crowdcontrol`.`Rating`.`quality` from `crowdcontrol`.`Rating` where (`crowdcontrol`.`Rating`.`experiment` = 20 and `crowdcontrol`.`Rating`.`worker_id` = 36)) as `q`
16:13:41.679 [ratpack-compute-1-2] DEBUG o.j.t.StopWatch - Query executed : Total: 4.36ms
16:13:41.679 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:13:41.680 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : | c|
16:13:41.680 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : +----+
16:13:41.680 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : | 0|
16:13:41.681 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : +----+
16:13:41.682 [ratpack-compute-1-2] DEBUG o.j.t.StopWatch - Finishing : Total: 7.337ms, +2.977ms
16:13:41.682 [ratpack-compute-1-2] DEBUG e.k.i.c.w.q.TaskChooserAlgorithm - worker 36 has rated 0 times, max. is 3
16:13:41.682 [ratpack-compute-1-2] DEBUG e.k.i.c.w.q.TaskChooserAlgorithm - returning rating-view
16:13:41.683 [ratpack-compute-1-2] DEBUG e.k.i.c.w.q.TaskChooserAlgorithm - task chooser constructs rating-view
16:13:41.685 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Answer`.`id_answer`, `crowdcontrol`.`Answer`.`experiment`, `crowdcontrol`.`Answer`.`answer`, `crowdcontrol`.`Answer`.`timestamp`, `crowdcontrol`.`Answer`.`worker_id`, `crowdcontrol`.`Answer`.`reservation`, `crowdcontrol`.`Answer`.`quality`, `crowdcontrol`.`Answer`.`quality_assured`, `crowdcontrol`.`Answer`.`system_response`, `crowdcontrol`.`Answer`.`hash`, count(`crowdcontrol`.`Rating`.`id_rating`) as `count` from `crowdcontrol`.`Answer` left outer join `crowdcontrol`.`Rating` on (`crowdcontrol`.`Rating`.`answer_r` = `crowdcontrol`.`Answer`.`id_answer` and (`crowdcontrol`.`Rating`.`rating` is not null or `crowdcontrol`.`Rating`.`timestamp` >= ?)) where (`crowdcontrol`.`Answer`.`worker_id` <> ? and `crowdcontrol`.`Answer`.`experiment` = ?) group by `crowdcontrol`.`Answer`.`id_answer`, `crowdcontrol`.`Answer`.`experiment`, `crowdcontrol`.`Answer`.`answer`, `crowdcontrol`.`Answer`.`timestamp`, `crowdcontrol`.`Answer`.`worker_id`, `crowdcontrol`.`Answer`.`reservation`, `crowdcontrol`.`Answer`.`quality`, `crowdcontrol`.`Answer`.`quality_assured`, `crowdcontrol`.`Answer`.`system_response`, `crowdcontrol`.`Answer`.`hash`
16:13:41.687 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Answer`.`id_answer`, `crowdcontrol`.`Answer`.`experiment`, `crowdcontrol`.`Answer`.`answer`, `crowdcontrol`.`Answer`.`timestamp`, `crowdcontrol`.`Answer`.`worker_id`, `crowdcontrol`.`Answer`.`reservation`, `crowdcontrol`.`Answer`.`quality`, `crowdcontrol`.`Answer`.`quality_assured`, `crowdcontrol`.`Answer`.`system_response`, `crowdcontrol`.`Answer`.`hash`, count(`crowdcontrol`.`Rating`.`id_rating`) as `count` from `crowdcontrol`.`Answer` left outer join `crowdcontrol`.`Rating` on (`crowdcontrol`.`Rating`.`answer_r` = `crowdcontrol`.`Answer`.`id_answer` and (`crowdcontrol`.`Rating`.`rating` is not null or `crowdcontrol`.`Rating`.`timestamp` >= {ts '2016-03-17 14:13:41.684'})) where (`crowdcontrol`.`Answer`.`worker_id` <> 36 and `crowdcontrol`.`Answer`.`experiment` = 20) group by `crowdcontrol`.`Answer`.`id_answer`, `crowdcontrol`.`Answer`.`experiment`, `crowdcontrol`.`Answer`.`answer`, `crowdcontrol`.`Answer`.`timestamp`, `crowdcontrol`.`Answer`.`worker_id`, `crowdcontrol`.`Answer`.`reservation`, `crowdcontrol`.`Answer`.`quality`, `crowdcontrol`.`Answer`.`quality_assured`, `crowdcontrol`.`Answer`.`system_response`, `crowdcontrol`.`Answer`.`hash`
16:13:41.689 [ratpack-compute-1-2] DEBUG o.j.t.StopWatch - Query executed : Total: 5.156ms
16:13:41.691 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - Fetched result : +---------+----------+------+---------+---------+-----------+-------+---------------+---------------+----+-----+
16:13:41.691 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : |id_answer|experiment|answer|timestamp|worker_id|reservation|quality|quality_assured|system_response|hash|count|
16:13:41.692 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : +---------+----------+------+---------+---------+-----------+-------+---------------+---------------+----+-----+
16:13:41.692 [ratpack-compute-1-2] DEBUG o.j.t.StopWatch - Finishing : Total: 7.923ms, +2.766ms
16:13:41.693 [ratpack-compute-1-2] TRACE e.k.i.c.w.q.TaskChooserAlgorithm - all the answers belonging to the experiment not from the worker with their count (max rating per answer is 3): +---------+----------+------+---------+---------+-----------+-------+---------------+---------------+----+-----+
|id_answer|experiment|answer|timestamp|worker_id|reservation|quality|quality_assured|system_response|hash|count|
+---------+----------+------+---------+---------+-----------+-------+---------------+---------------+----+-----+
16:13:41.693 [ratpack-compute-1-2] DEBUG o.j.i.DefaultConnectionProvider - setting auto commit : false
16:13:41.694 [ratpack-compute-1-2] DEBUG o.j.i.DefaultConnectionProvider - set savepoint
16:13:41.695 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Answer`.`id_answer`, `crowdcontrol`.`Answer`.`experiment`, `crowdcontrol`.`Answer`.`answer`, `crowdcontrol`.`Answer`.`timestamp`, `crowdcontrol`.`Answer`.`worker_id`, `crowdcontrol`.`Answer`.`reservation`, `crowdcontrol`.`Answer`.`quality`, `crowdcontrol`.`Answer`.`quality_assured`, `crowdcontrol`.`Answer`.`system_response`, `crowdcontrol`.`Answer`.`hash`, `crowdcontrol`.`Rating_Reservation`.`idReserverd_Rating` from `crowdcontrol`.`Answer` join `crowdcontrol`.`Rating_Reservation` on (`crowdcontrol`.`Rating_Reservation`.`worker` = ? and `crowdcontrol`.`Rating_Reservation`.`experiment` = ? and `crowdcontrol`.`Rating_Reservation`.`answer` = `crowdcontrol`.`Answer`.`id_answer`)
16:13:41.696 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Answer`.`id_answer`, `crowdcontrol`.`Answer`.`experiment`, `crowdcontrol`.`Answer`.`answer`, `crowdcontrol`.`Answer`.`timestamp`, `crowdcontrol`.`Answer`.`worker_id`, `crowdcontrol`.`Answer`.`reservation`, `crowdcontrol`.`Answer`.`quality`, `crowdcontrol`.`Answer`.`quality_assured`, `crowdcontrol`.`Answer`.`system_response`, `crowdcontrol`.`Answer`.`hash`, `crowdcontrol`.`Rating_Reservation`.`idReserverd_Rating` from `crowdcontrol`.`Answer` join `crowdcontrol`.`Rating_Reservation` on (`crowdcontrol`.`Rating_Reservation`.`worker` = 36 and `crowdcontrol`.`Rating_Reservation`.`experiment` = 20 and `crowdcontrol`.`Rating_Reservation`.`answer` = `crowdcontrol`.`Answer`.`id_answer`)
16:13:41.698 [ratpack-compute-1-2] DEBUG o.j.t.StopWatch - Query executed : Total: 2.591ms
16:13:41.699 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - Fetched result : +---------+----------+------+---------+---------+-----------+-------+---------------+---------------+----+------------------+
16:13:41.700 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : |id_answer|experiment|answer|timestamp|worker_id|reservation|quality|quality_assured|system_response|hash|idReserverd_Rating|
16:13:41.700 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : +---------+----------+------+---------+---------+-----------+-------+---------------+---------------+----+------------------+
16:13:41.701 [ratpack-compute-1-2] DEBUG o.j.t.StopWatch - Finishing : Total: 5.52ms, +2.929ms
16:13:41.701 [ratpack-compute-1-2] TRACE e.k.i.c.w.d.o.ExperimentsPlatformOperations - Worker 36 has reserved open ratings {}.
16:13:41.702 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - Executing query : update `crowdcontrol`.`Rating_Reservation` set `crowdcontrol`.`Rating_Reservation`.`timestamp` = ? where 1 = 0
16:13:41.703 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - -> with bind values : update `crowdcontrol`.`Rating_Reservation` set `crowdcontrol`.`Rating_Reservation`.`timestamp` = {ts '2016-03-17 16:13:41.702'} where 1 = 0
16:13:41.704 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - Affected row(s) : 0
16:13:41.705 [ratpack-compute-1-2] DEBUG o.j.t.StopWatch - Query executed : Total: 2.883ms
16:13:41.706 [ratpack-compute-1-2] DEBUG o.j.t.StopWatch - Finishing : Total: 3.773ms, +0.889ms
16:13:41.706 [ratpack-compute-1-2] TRACE e.k.i.c.w.d.o.ExperimentsPlatformOperations - Reserving 3 new Ratings for worker 36.
16:13:41.708 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Answer`.`id_answer`, `crowdcontrol`.`Answer`.`experiment`, `crowdcontrol`.`Answer`.`answer`, `crowdcontrol`.`Answer`.`timestamp`, `crowdcontrol`.`Answer`.`worker_id`, `crowdcontrol`.`Answer`.`reservation`, `crowdcontrol`.`Answer`.`quality`, `crowdcontrol`.`Answer`.`quality_assured`, `crowdcontrol`.`Answer`.`system_response`, `crowdcontrol`.`Answer`.`hash`, count(`crowdcontrol`.`Rating_Reservation`.`idReserverd_Rating`) as `count` from `crowdcontrol`.`Answer` left outer join `crowdcontrol`.`Rating_Reservation` on (`crowdcontrol`.`Rating_Reservation`.`answer` = `crowdcontrol`.`Answer`.`id_answer` and (`crowdcontrol`.`Rating_Reservation`.`used` = ? or `crowdcontrol`.`Rating_Reservation`.`timestamp` >= ?)) where (`crowdcontrol`.`Answer`.`experiment` = ? and `crowdcontrol`.`Answer`.`worker_id` <> ? and `crowdcontrol`.`Answer`.`id_answer` not in (select `crowdcontrol`.`Rating_Reservation`.`answer` from `crowdcontrol`.`Rating_Reservation` where (`crowdcontrol`.`Rating_Reservation`.`worker` = ? and `crowdcontrol`.`Rating_Reservation`.`experiment` = ?)) and ((`crowdcontrol`.`Answer`.`quality_assured` = ? and `crowdcontrol`.`Answer`.`quality` <> ?) or ?)) group by `crowdcontrol`.`Answer`.`id_answer`, `crowdcontrol`.`Answer`.`experiment`, `crowdcontrol`.`Answer`.`answer`, `crowdcontrol`.`Answer`.`timestamp`, `crowdcontrol`.`Answer`.`worker_id`, `crowdcontrol`.`Answer`.`reservation`, `crowdcontrol`.`Answer`.`quality`, `crowdcontrol`.`Answer`.`quality_assured`, `crowdcontrol`.`Answer`.`system_response`, `crowdcontrol`.`Answer`.`hash` having `count` < (select `crowdcontrol`.`Experiment`.`ratings_per_answer` from `crowdcontrol`.`Experiment` where `crowdcontrol`.`Experiment`.`id_experiment` = ?) order by `crowdcontrol`.`Answer`.`quality_assured` desc limit ?
16:13:41.709 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Answer`.`id_answer`, `crowdcontrol`.`Answer`.`experiment`, `crowdcontrol`.`Answer`.`answer`, `crowdcontrol`.`Answer`.`timestamp`, `crowdcontrol`.`Answer`.`worker_id`, `crowdcontrol`.`Answer`.`reservation`, `crowdcontrol`.`Answer`.`quality`, `crowdcontrol`.`Answer`.`quality_assured`, `crowdcontrol`.`Answer`.`system_response`, `crowdcontrol`.`Answer`.`hash`, count(`crowdcontrol`.`Rating_Reservation`.`idReserverd_Rating`) as `count` from `crowdcontrol`.`Answer` left outer join `crowdcontrol`.`Rating_Reservation` on (`crowdcontrol`.`Rating_Reservation`.`answer` = `crowdcontrol`.`Answer`.`id_answer` and (`crowdcontrol`.`Rating_Reservation`.`used` = true or `crowdcontrol`.`Rating_Reservation`.`timestamp` >= {ts '2016-03-17 14:13:41.707'})) where (`crowdcontrol`.`Answer`.`experiment` = 20 and `crowdcontrol`.`Answer`.`worker_id` <> 36 and `crowdcontrol`.`Answer`.`id_answer` not in (select `crowdcontrol`.`Rating_Reservation`.`answer` from `crowdcontrol`.`Rating_Reservation` where (`crowdcontrol`.`Rating_Reservation`.`worker` = 36 and `crowdcontrol`.`Rating_Reservation`.`experiment` = 20)) and ((`crowdcontrol`.`Answer`.`quality_assured` = true and `crowdcontrol`.`Answer`.`quality` <> 0) or true)) group by `crowdcontrol`.`Answer`.`id_answer`, `crowdcontrol`.`Answer`.`experiment`, `crowdcontrol`.`Answer`.`answer`, `crowdcontrol`.`Answer`.`timestamp`, `crowdcontrol`.`Answer`.`worker_id`, `crowdcontrol`.`Answer`.`reservation`, `crowdcontrol`.`Answer`.`quality`, `crowdcontrol`.`Answer`.`quality_assured`, `crowdcontrol`.`Answer`.`system_response`, `crowdcontrol`.`Answer`.`hash` having `count` < (select `crowdcontrol`.`Experiment`.`ratings_per_answer` from `crowdcontrol`.`Experiment` where `crowdcontrol`.`Experiment`.`id_experiment` = 20) order by `crowdcontrol`.`Answer`.`quality_assured` desc limit 3
16:13:41.719 [ratpack-compute-1-2] DEBUG o.j.t.StopWatch - Query executed : Total: 11.985ms
16:13:41.721 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - Fetched result : +---------+----------+------+---------+---------+-----------+-------+---------------+---------------+----+-----+
16:13:41.721 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : |id_answer|experiment|answer|timestamp|worker_id|reservation|quality|quality_assured|system_response|hash|count|
16:13:41.722 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : +---------+----------+------+---------+---------+-----------+-------+---------------+---------------+----+-----+
16:13:41.722 [ratpack-compute-1-2] DEBUG o.j.t.StopWatch - Finishing : Total: 14.72ms, +2.735ms
16:13:41.722 [ratpack-compute-1-2] DEBUG o.j.i.DefaultConnectionProvider - release savepoint
16:13:41.723 [ratpack-compute-1-2] DEBUG o.j.i.DefaultConnectionProvider - commit
16:13:41.723 [ratpack-compute-1-2] DEBUG o.j.i.DefaultConnectionProvider - setting auto commit : true
16:13:41.724 [ratpack-compute-1-2] TRACE e.k.i.c.w.d.o.ExperimentsPlatformOperations - Worker 36 can rate []
16:13:41.725 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Rating_Reservation`.`idReserverd_Rating`, `crowdcontrol`.`Rating_Reservation`.`worker`, `crowdcontrol`.`Rating_Reservation`.`experiment`, `crowdcontrol`.`Rating_Reservation`.`answer`, `crowdcontrol`.`Rating_Reservation`.`timestamp`, `crowdcontrol`.`Rating_Reservation`.`used` from `crowdcontrol`.`Rating_Reservation` where (1 = 0 and `crowdcontrol`.`Rating_Reservation`.`worker` = ?)
16:13:41.725 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Rating_Reservation`.`idReserverd_Rating`, `crowdcontrol`.`Rating_Reservation`.`worker`, `crowdcontrol`.`Rating_Reservation`.`experiment`, `crowdcontrol`.`Rating_Reservation`.`answer`, `crowdcontrol`.`Rating_Reservation`.`timestamp`, `crowdcontrol`.`Rating_Reservation`.`used` from `crowdcontrol`.`Rating_Reservation` where (1 = 0 and `crowdcontrol`.`Rating_Reservation`.`worker` = 36)
16:13:41.727 [ratpack-compute-1-2] DEBUG o.j.t.StopWatch - Query executed : Total: 1.925ms
16:13:41.729 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - Fetched result : +------------------+------+----------+------+---------+----+
16:13:41.730 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : |idReserverd_Rating|worker|experiment|answer|timestamp|used|
16:13:41.731 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : +------------------+------+----------+------+---------+----+
16:13:41.731 [ratpack-compute-1-2] DEBUG o.j.t.StopWatch - Finishing : Total: 6.458ms, +4.532ms
16:13:41.732 [ratpack-compute-1-2] TRACE e.k.i.c.w.q.TaskChooserAlgorithm - worker 36 can rate []
16:13:41.732 [ratpack-compute-1-2] ERROR e.k.i.c.w.q.TaskChooserAlgorithm - no answers available to rate for experiment = 20, worker = 36
16:13:41.733 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - Executing query : select 1 as `one` from dual where exists (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`worker` = ? and `crowdcontrol`.`Answer_Reservation`.`experiment` = ? and `crowdcontrol`.`Answer_Reservation`.`used` = ?))
16:13:41.734 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - -> with bind values : select 1 as `one` from dual where exists (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`worker` = 36 and `crowdcontrol`.`Answer_Reservation`.`experiment` = 20 and `crowdcontrol`.`Answer_Reservation`.`used` = true))
16:13:41.736 [ratpack-compute-1-2] DEBUG o.j.t.StopWatch - Query executed : Total: 2.9ms
16:13:41.736 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:13:41.737 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : | one|
16:13:41.737 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : +----+
16:13:41.737 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : | 1|
16:13:41.738 [ratpack-compute-1-2] DEBUG o.j.t.LoggerListener - : +----+
16:13:41.739 [ratpack-compute-1-2] DEBUG o.j.t.StopWatch - Finishing : Total: 6.025ms, +3.125ms
16:13:41.739 [ratpack-compute-1-2] DEBUG e.k.i.c.w.q.Queries - returning view:
16:13:42.163 [HikariPool-0 housekeeper] DEBUG c.z.h.p.HikariPool - HikariPool-0 - Pool stats (total=10, active=1, idle=9, waiting=0)
16:13:49.935 [ratpack-compute-1-3] TRACE e.k.i.c.w.q.Queries - skipCreative is: false
16:13:49.935 [ratpack-compute-1-3] TRACE e.k.i.c.w.q.Queries - skipRating is: false
16:13:49.936 [ratpack-compute-1-3] DEBUG e.k.i.c.w.q.Queries - handling no worker-id
16:13:49.937 [ratpack-compute-1-3] DEBUG e.k.i.c.w.o.Communication - Trying to get workerId for parameter {workerId=[121], assignmentId=[1234]} with route /workers/dummydummy/identity from platform dummydummy.
16:13:49.961 [I/O dispatcher 3] DEBUG e.k.i.c.w.o.Communication - Object service answered with status 404
16:13:49.964 [I/O dispatcher 3] DEBUG e.k.i.c.w.q.Queries - platform dummydummy returned nothing
16:13:49.968 [ratpack-compute-1-3] TRACE e.k.i.c.w.q.Queries - email without workerid
16:13:49.968 [ratpack-compute-1-3] DEBUG e.k.i.c.w.q.Queries - returning view: type: EMAIL
16:13:56.183 [ratpack-compute-1-3] DEBUG e.k.i.c.w.c.Commands - Request submit to submit email email: "bla@affe.de"
platform_parameters {
key: "workerId"
values: "121"
}
platform_parameters {
key: "assignmentId"
values: "1234"
}
for platform dummydummy
16:13:56.223 [ratpack-compute-1-3] TRACE e.k.i.c.w.o.Communication - Request to get WorkerID for email bla@affe.de.
16:13:56.224 [ratpack-compute-1-3] DEBUG e.k.i.c.w.o.Communication - Trying to get workerId for parameter {workerId=[121], assignmentId=[1234], email=[bla@affe.de]} with route /workers/dummydummy/identity from platform dummydummy.
16:13:56.268 [I/O dispatcher 3] DEBUG e.k.i.c.w.o.Communication - Object service answered with status 200
16:13:56.270 [I/O dispatcher 3] DEBUG e.k.i.c.w.o.Communication - Request to patch worker 37 with new email bla@affe.de for route /workers/37.
16:13:56.300 [I/O dispatcher 3] DEBUG e.k.i.c.w.o.Communication - Object service answered with status 200
16:13:56.302 [ratpack-compute-1-3] DEBUG e.k.i.c.w.JWTHelper - encoding JWT for workerID
16:13:56.334 [ratpack-compute-1-3] DEBUG e.k.i.c.w.c.Commands - Answer from Object-Service for submitting email email: "bla@affe.de"
platform_parameters {
key: "workerId"
values: "121"
}
platform_parameters {
key: "assignmentId"
values: "1234"
}
: authorization: "eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIzNyJ9.Eum6-PpujZfwOCaApQojCi3qRbDNBMlzFJuhm5_OSQs"
16:13:56.355 [ratpack-compute-1-3] TRACE e.k.i.c.w.q.Queries - skipCreative is: false
16:13:56.355 [ratpack-compute-1-3] TRACE e.k.i.c.w.q.Queries - skipRating is: false
16:13:56.356 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Executing query : select 1 as `one` from dual where exists (select `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer`, `crowdcontrol`.`Calibration_Result`.`id_calibration_result`, `crowdcontrol`.`Calibration_Result`.`worker`, `crowdcontrol`.`Calibration_Result`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`id_experiments_calibration`, `crowdcontrol`.`Experiments_Calibration`.`experiments_platform`, `crowdcontrol`.`Experiments_Calibration`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`not` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` join `crowdcontrol`.`Experiments_Calibration` on (`crowdcontrol`.`Experiments_Calibration`.`experiments_platform` in (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = ? and `crowdcontrol`.`Experiments_Platform`.`platform` = ?)) and `crowdcontrol`.`Calibration_answer_option`.`calibration` = (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` = `crowdcontrol`.`Experiments_Calibration`.`answer`) and ((`crowdcontrol`.`Experiments_Calibration`.`not` = ? and `crowdcontrol`.`Experiments_Calibration`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`) or (`crowdcontrol`.`Experiments_Calibration`.`not` = ? and `crowdcontrol`.`Experiments_Calibration`.`answer` <> `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`))) where `crowdcontrol`.`Calibration_Result`.`worker` = ?)
16:13:56.357 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - -> with bind values : select 1 as `one` from dual where exists (select `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer`, `crowdcontrol`.`Calibration_Result`.`id_calibration_result`, `crowdcontrol`.`Calibration_Result`.`worker`, `crowdcontrol`.`Calibration_Result`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`id_experiments_calibration`, `crowdcontrol`.`Experiments_Calibration`.`experiments_platform`, `crowdcontrol`.`Experiments_Calibration`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`not` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` join `crowdcontrol`.`Experiments_Calibration` on (`crowdcontrol`.`Experiments_Calibration`.`experiments_platform` in (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = 20 and `crowdcontrol`.`Experiments_Platform`.`platform` = 'dummydummy')) and `crowdcontrol`.`Calibration_answer_option`.`calibration` = (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` = `crowdcontrol`.`Experiments_Calibration`.`answer`) and ((`crowdcontrol`.`Experiments_Calibration`.`not` = true and `crowdcontrol`.`Experiments_Calibration`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`) or (`crowdcontrol`.`Experiments_Calibration`.`not` = false and `crowdcontrol`.`Experiments_Calibration`.`answer` <> `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`))) where `crowdcontrol`.`Calibration_Result`.`worker` = 37)
16:13:56.360 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Query executed : Total: 3.725ms
16:13:56.361 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Finishing : Total: 5.099ms, +1.374ms
16:13:56.362 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:13:56.362 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : | one|
16:13:56.362 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : +----+
16:13:56.365 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Worker`.`quality` from `crowdcontrol`.`Worker` where `crowdcontrol`.`Worker`.`id_worker` = ?
16:13:56.366 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Worker`.`quality` from `crowdcontrol`.`Worker` where `crowdcontrol`.`Worker`.`id_worker` = 37
16:13:56.368 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Query executed : Total: 4.241ms
16:13:56.369 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Fetched result : +-------+
16:13:56.369 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : |quality|
16:13:56.369 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : +-------+
16:13:56.369 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : | 9|
16:13:56.369 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : +-------+
16:13:56.370 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Finishing : Total: 5.395ms, +1.154ms
16:13:56.370 [ratpack-compute-1-3] DEBUG e.k.i.c.w.q.Queries - worker 37 is eligible for working on the assignment
16:13:56.370 [ratpack-compute-1-3] TRACE e.k.i.c.w.q.Queries - platform dummydummy is able to render calibrations
16:13:56.372 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Calibration`.`id_calibration`, `crowdcontrol`.`Calibration`.`property`, `crowdcontrol`.`Calibration`.`name`, `crowdcontrol`.`Calibration`.`experiment`, `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration` on `crowdcontrol`.`Calibration_answer_option`.`calibration` = `crowdcontrol`.`Calibration`.`id_calibration` where (`crowdcontrol`.`Calibration`.`id_calibration` in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` in (select `crowdcontrol`.`Experiments_Calibration`.`answer` from `crowdcontrol`.`Experiments_Calibration` where `crowdcontrol`.`Experiments_Calibration`.`experiments_platform` = (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = ? and `crowdcontrol`.`Experiments_Platform`.`platform` = ?)))) and `crowdcontrol`.`Calibration`.`id_calibration` not in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` where `crowdcontrol`.`Calibration_Result`.`worker` = ?))
16:13:56.373 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Calibration`.`id_calibration`, `crowdcontrol`.`Calibration`.`property`, `crowdcontrol`.`Calibration`.`name`, `crowdcontrol`.`Calibration`.`experiment`, `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration` on `crowdcontrol`.`Calibration_answer_option`.`calibration` = `crowdcontrol`.`Calibration`.`id_calibration` where (`crowdcontrol`.`Calibration`.`id_calibration` in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` in (select `crowdcontrol`.`Experiments_Calibration`.`answer` from `crowdcontrol`.`Experiments_Calibration` where `crowdcontrol`.`Experiments_Calibration`.`experiments_platform` = (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = 20 and `crowdcontrol`.`Experiments_Platform`.`platform` = 'dummydummy')))) and `crowdcontrol`.`Calibration`.`id_calibration` not in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` where `crowdcontrol`.`Calibration_Result`.`worker` = 37))
16:13:56.375 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Query executed : Total: 2.824ms
16:13:56.377 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Fetched result : +--------------+------------+----+----------+----------------------------+-----------+------+
16:13:56.378 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : |id_calibration|property |name|experiment|id_calibration_answer_option|calibration|answer|
16:13:56.378 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : +--------------+------------+----+----------+----------------------------+-----------+------+
16:13:56.378 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : | 18|Are you male|Sex | {null}| 18| 18|yes |
16:13:56.378 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : | 18|Are you male|Sex | {null}| 19| 18|no |
16:13:56.378 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : +--------------+------------+----+----------+----------------------------+-----------+------+
16:13:56.378 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Finishing : Total: 6.438ms, +3.614ms
16:13:56.379 [ratpack-compute-1-3] TRACE e.k.i.c.w.q.Queries - worker 37 must answer the calibrations {+--------------+------------+----+----------+
|id_calibration|property |name|experiment|
+--------------+------------+----+----------+
| 18|Are you male|Sex | {null}|
+--------------+------------+----+----------+=+----------------------------+-----------+------+
|id_calibration_answer_option|calibration|answer|
+----------------------------+-----------+------+
| 18| 18|yes |
| 19| 18|no |
+----------------------------+-----------+------+}
16:13:56.380 [ratpack-compute-1-3] DEBUG e.k.i.c.w.q.Queries - worker 37 must answer calibrations
16:13:56.380 [ratpack-compute-1-3] DEBUG e.k.i.c.w.q.Queries - returning view: type: CALIBRATION
calibrations {
question: "Are you male"
answer_options {
option: "yes"
id: 18
}
answer_options {
option: "no"
id: 19
}
id: 18
}
16:13:59.884 [ratpack-compute-1-3] DEBUG e.k.i.c.w.c.Commands - Trying to submit calibration answer_option: 19
for worker 37.
16:13:59.885 [ratpack-compute-1-3] DEBUG e.k.i.c.w.o.Communication - Trying to submit calibration answer_id: 19
for worker 37 with route /workers/37/calibrations
16:13:59.907 [I/O dispatcher 3] DEBUG e.k.i.c.w.o.Communication - Object service answered with status 201
16:13:59.908 [ratpack-compute-1-3] DEBUG e.k.i.c.w.c.Commands - Object service answered with OK.
16:13:59.931 [ratpack-compute-1-3] TRACE e.k.i.c.w.q.Queries - skipCreative is: false
16:13:59.931 [ratpack-compute-1-3] TRACE e.k.i.c.w.q.Queries - skipRating is: false
16:13:59.933 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Executing query : select 1 as `one` from dual where exists (select `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer`, `crowdcontrol`.`Calibration_Result`.`id_calibration_result`, `crowdcontrol`.`Calibration_Result`.`worker`, `crowdcontrol`.`Calibration_Result`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`id_experiments_calibration`, `crowdcontrol`.`Experiments_Calibration`.`experiments_platform`, `crowdcontrol`.`Experiments_Calibration`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`not` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` join `crowdcontrol`.`Experiments_Calibration` on (`crowdcontrol`.`Experiments_Calibration`.`experiments_platform` in (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = ? and `crowdcontrol`.`Experiments_Platform`.`platform` = ?)) and `crowdcontrol`.`Calibration_answer_option`.`calibration` = (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` = `crowdcontrol`.`Experiments_Calibration`.`answer`) and ((`crowdcontrol`.`Experiments_Calibration`.`not` = ? and `crowdcontrol`.`Experiments_Calibration`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`) or (`crowdcontrol`.`Experiments_Calibration`.`not` = ? and `crowdcontrol`.`Experiments_Calibration`.`answer` <> `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`))) where `crowdcontrol`.`Calibration_Result`.`worker` = ?)
16:13:59.934 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - -> with bind values : select 1 as `one` from dual where exists (select `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer`, `crowdcontrol`.`Calibration_Result`.`id_calibration_result`, `crowdcontrol`.`Calibration_Result`.`worker`, `crowdcontrol`.`Calibration_Result`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`id_experiments_calibration`, `crowdcontrol`.`Experiments_Calibration`.`experiments_platform`, `crowdcontrol`.`Experiments_Calibration`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`not` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` join `crowdcontrol`.`Experiments_Calibration` on (`crowdcontrol`.`Experiments_Calibration`.`experiments_platform` in (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = 20 and `crowdcontrol`.`Experiments_Platform`.`platform` = 'dummydummy')) and `crowdcontrol`.`Calibration_answer_option`.`calibration` = (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` = `crowdcontrol`.`Experiments_Calibration`.`answer`) and ((`crowdcontrol`.`Experiments_Calibration`.`not` = true and `crowdcontrol`.`Experiments_Calibration`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`) or (`crowdcontrol`.`Experiments_Calibration`.`not` = false and `crowdcontrol`.`Experiments_Calibration`.`answer` <> `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`))) where `crowdcontrol`.`Calibration_Result`.`worker` = 37)
16:13:59.936 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Query executed : Total: 3.394ms
16:13:59.937 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Finishing : Total: 4.11ms, +0.715ms
16:13:59.937 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:13:59.937 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : | one|
16:13:59.937 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : +----+
16:13:59.938 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Worker`.`quality` from `crowdcontrol`.`Worker` where `crowdcontrol`.`Worker`.`id_worker` = ?
16:13:59.938 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Worker`.`quality` from `crowdcontrol`.`Worker` where `crowdcontrol`.`Worker`.`id_worker` = 37
16:13:59.939 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Query executed : Total: 1.035ms
16:13:59.939 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Fetched result : +-------+
16:13:59.939 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : |quality|
16:13:59.939 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : +-------+
16:13:59.939 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : | 9|
16:13:59.939 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : +-------+
16:13:59.940 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Finishing : Total: 2.146ms, +1.111ms
16:13:59.940 [ratpack-compute-1-3] DEBUG e.k.i.c.w.q.Queries - worker 37 is eligible for working on the assignment
16:13:59.940 [ratpack-compute-1-3] TRACE e.k.i.c.w.q.Queries - platform dummydummy is able to render calibrations
16:13:59.941 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Calibration`.`id_calibration`, `crowdcontrol`.`Calibration`.`property`, `crowdcontrol`.`Calibration`.`name`, `crowdcontrol`.`Calibration`.`experiment`, `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration` on `crowdcontrol`.`Calibration_answer_option`.`calibration` = `crowdcontrol`.`Calibration`.`id_calibration` where (`crowdcontrol`.`Calibration`.`id_calibration` in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` in (select `crowdcontrol`.`Experiments_Calibration`.`answer` from `crowdcontrol`.`Experiments_Calibration` where `crowdcontrol`.`Experiments_Calibration`.`experiments_platform` = (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = ? and `crowdcontrol`.`Experiments_Platform`.`platform` = ?)))) and `crowdcontrol`.`Calibration`.`id_calibration` not in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` where `crowdcontrol`.`Calibration_Result`.`worker` = ?))
16:13:59.942 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Calibration`.`id_calibration`, `crowdcontrol`.`Calibration`.`property`, `crowdcontrol`.`Calibration`.`name`, `crowdcontrol`.`Calibration`.`experiment`, `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration` on `crowdcontrol`.`Calibration_answer_option`.`calibration` = `crowdcontrol`.`Calibration`.`id_calibration` where (`crowdcontrol`.`Calibration`.`id_calibration` in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` in (select `crowdcontrol`.`Experiments_Calibration`.`answer` from `crowdcontrol`.`Experiments_Calibration` where `crowdcontrol`.`Experiments_Calibration`.`experiments_platform` = (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = 20 and `crowdcontrol`.`Experiments_Platform`.`platform` = 'dummydummy')))) and `crowdcontrol`.`Calibration`.`id_calibration` not in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` where `crowdcontrol`.`Calibration_Result`.`worker` = 37))
16:13:59.945 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Query executed : Total: 4.656ms
16:13:59.947 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Fetched result : +--------------+--------+----+----------+----------------------------+-----------+------+
16:13:59.947 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : |id_calibration|property|name|experiment|id_calibration_answer_option|calibration|answer|
16:13:59.947 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : +--------------+--------+----+----------+----------------------------+-----------+------+
16:13:59.947 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Finishing : Total: 6.374ms, +1.717ms
16:13:59.947 [ratpack-compute-1-3] TRACE e.k.i.c.w.q.Queries - worker 37 must answer the calibrations {}
16:13:59.947 [ratpack-compute-1-3] DEBUG e.k.i.c.w.q.Queries - worker 37 must not answer calibrations
16:13:59.948 [ratpack-compute-1-3] DEBUG e.k.i.c.w.q.Queries - invoking task-chooser anti_spoof
16:13:59.949 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Executing query : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` left outer join `crowdcontrol`.`Answer` on `crowdcontrol`.`Answer`.`reservation` = `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` where ((`crowdcontrol`.`Answer_Reservation`.`used` = ? or (`crowdcontrol`.`Answer_Reservation`.`timestamp` >= ? and `crowdcontrol`.`Answer_Reservation`.`worker` <> ?)) and `crowdcontrol`.`Answer_Reservation`.`experiment` = ? and ((`crowdcontrol`.`Answer`.`quality_assured` = ? and `crowdcontrol`.`Answer`.`quality` > (select `crowdcontrol`.`Experiment`.`result_quality_threshold` from `crowdcontrol`.`Experiment` where `crowdcontrol`.`Experiment`.`id_experiment` = ?)) or ?))) as `q`
16:13:59.949 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - -> with bind values : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` left outer join `crowdcontrol`.`Answer` on `crowdcontrol`.`Answer`.`reservation` = `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` where ((`crowdcontrol`.`Answer_Reservation`.`used` = true or (`crowdcontrol`.`Answer_Reservation`.`timestamp` >= {ts '2016-03-17 14:13:59.948'} and `crowdcontrol`.`Answer_Reservation`.`worker` <> 37)) and `crowdcontrol`.`Answer_Reservation`.`experiment` = 20 and ((`crowdcontrol`.`Answer`.`quality_assured` = true and `crowdcontrol`.`Answer`.`quality` > (select `crowdcontrol`.`Experiment`.`result_quality_threshold` from `crowdcontrol`.`Experiment` where `crowdcontrol`.`Experiment`.`id_experiment` = 20)) or true))) as `q`
16:13:59.951 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Query executed : Total: 2.69ms
16:13:59.952 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:13:59.952 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : | c|
16:13:59.952 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : +----+
16:13:59.952 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : | 3|
16:13:59.952 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : +----+
16:13:59.953 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Finishing : Total: 4.158ms, +1.468ms
16:13:59.953 [ratpack-compute-1-3] TRACE e.k.i.c.w.q.AntiSpoof - calculating phase for: answersCount=3, phases={1=1}, neededAnswers=10
16:13:59.953 [ratpack-compute-1-3] DEBUG e.k.i.c.w.q.AntiSpoof - entering phase 2
16:13:59.953 [ratpack-compute-1-3] TRACE e.k.i.c.w.q.TaskChooserAlgorithm - constructing view with parameters: worker-id = 37, experimentID = 20, skipCreative = false, skipRating = false
16:13:59.954 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Executing query : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation`, `crowdcontrol`.`Answer_Reservation`.`worker`, `crowdcontrol`.`Answer_Reservation`.`experiment`, `crowdcontrol`.`Answer_Reservation`.`timestamp`, `crowdcontrol`.`Answer_Reservation`.`used` from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`experiment` = ? and `crowdcontrol`.`Answer_Reservation`.`worker` = ? and `crowdcontrol`.`Answer_Reservation`.`used` = ?)) as `q`
16:13:59.955 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - -> with bind values : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation`, `crowdcontrol`.`Answer_Reservation`.`worker`, `crowdcontrol`.`Answer_Reservation`.`experiment`, `crowdcontrol`.`Answer_Reservation`.`timestamp`, `crowdcontrol`.`Answer_Reservation`.`used` from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`experiment` = 20 and `crowdcontrol`.`Answer_Reservation`.`worker` = 37 and `crowdcontrol`.`Answer_Reservation`.`used` = true)) as `q`
16:13:59.956 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Query executed : Total: 2.415ms
16:13:59.957 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:13:59.957 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : | c|
16:13:59.957 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : +----+
16:13:59.957 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : | 0|
16:13:59.957 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : +----+
16:13:59.957 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Finishing : Total: 3.715ms, +1.299ms
16:13:59.958 [ratpack-compute-1-3] DEBUG e.k.i.c.w.q.TaskChooserAlgorithm - worker 37 has answered 0 times, max. is 3
16:13:59.958 [ratpack-compute-1-3] DEBUG e.k.i.c.w.q.TaskChooserAlgorithm - returning answer-view
16:13:59.958 [ratpack-compute-1-3] DEBUG e.k.i.c.w.q.TaskChooserAlgorithm - task chooser constructs answer-view
16:13:59.958 [ratpack-compute-1-3] DEBUG o.j.i.DefaultConnectionProvider - setting auto commit : false
16:13:59.958 [ratpack-compute-1-3] DEBUG o.j.i.DefaultConnectionProvider - set savepoint
16:13:59.959 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Executing query : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` left outer join `crowdcontrol`.`Answer` on `crowdcontrol`.`Answer`.`reservation` = `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` where ((`crowdcontrol`.`Answer_Reservation`.`used` = ? or (`crowdcontrol`.`Answer_Reservation`.`timestamp` >= ? and `crowdcontrol`.`Answer_Reservation`.`worker` <> ?)) and `crowdcontrol`.`Answer_Reservation`.`experiment` = ? and ((`crowdcontrol`.`Answer`.`quality_assured` = ? and `crowdcontrol`.`Answer`.`quality` > (select `crowdcontrol`.`Experiment`.`result_quality_threshold` from `crowdcontrol`.`Experiment` where `crowdcontrol`.`Experiment`.`id_experiment` = ?)) or ?))) as `q`
16:13:59.960 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - -> with bind values : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` left outer join `crowdcontrol`.`Answer` on `crowdcontrol`.`Answer`.`reservation` = `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` where ((`crowdcontrol`.`Answer_Reservation`.`used` = true or (`crowdcontrol`.`Answer_Reservation`.`timestamp` >= {ts '2016-03-17 14:13:59.959'} and `crowdcontrol`.`Answer_Reservation`.`worker` <> -1)) and `crowdcontrol`.`Answer_Reservation`.`experiment` = 20 and ((`crowdcontrol`.`Answer`.`quality_assured` = true and `crowdcontrol`.`Answer`.`quality` > (select `crowdcontrol`.`Experiment`.`result_quality_threshold` from `crowdcontrol`.`Experiment` where `crowdcontrol`.`Experiment`.`id_experiment` = 20)) or true))) as `q`
16:13:59.962 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Query executed : Total: 2.688ms
16:13:59.962 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:13:59.962 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : | c|
16:13:59.962 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : +----+
16:13:59.962 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : | 3|
16:13:59.962 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : +----+
16:13:59.963 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Finishing : Total: 3.718ms, +1.029ms
16:13:59.963 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Executing query : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation`, `crowdcontrol`.`Answer_Reservation`.`worker`, `crowdcontrol`.`Answer_Reservation`.`experiment`, `crowdcontrol`.`Answer_Reservation`.`timestamp`, `crowdcontrol`.`Answer_Reservation`.`used` from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`experiment` = ? and `crowdcontrol`.`Answer_Reservation`.`worker` = ? and `crowdcontrol`.`Answer_Reservation`.`used` = ?)) as `q`
16:13:59.964 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - -> with bind values : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation`, `crowdcontrol`.`Answer_Reservation`.`worker`, `crowdcontrol`.`Answer_Reservation`.`experiment`, `crowdcontrol`.`Answer_Reservation`.`timestamp`, `crowdcontrol`.`Answer_Reservation`.`used` from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`experiment` = 20 and `crowdcontrol`.`Answer_Reservation`.`worker` = 37 and `crowdcontrol`.`Answer_Reservation`.`used` = true)) as `q`
16:13:59.965 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Query executed : Total: 2.054ms
16:13:59.966 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:13:59.966 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : | c|
16:13:59.966 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : +----+
16:13:59.966 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : | 0|
16:13:59.966 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : +----+
16:13:59.966 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Finishing : Total: 3.255ms, +1.2ms
16:13:59.967 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Executing query : select count(*) from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`experiment` = ? and `crowdcontrol`.`Answer_Reservation`.`worker` = ? and `crowdcontrol`.`Answer_Reservation`.`used` = ?)
16:13:59.967 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - -> with bind values : select count(*) from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`experiment` = 20 and `crowdcontrol`.`Answer_Reservation`.`worker` = 37 and `crowdcontrol`.`Answer_Reservation`.`used` = false)
16:13:59.968 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Query executed : Total: 1.653ms
16:13:59.969 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Fetched result : +-----+
16:13:59.969 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : |count|
16:13:59.969 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : +-----+
16:13:59.969 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : | 0|
16:13:59.969 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : +-----+
16:13:59.970 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Finishing : Total: 2.748ms, +1.095ms
16:13:59.970 [ratpack-compute-1-3] TRACE e.k.i.c.w.d.o.ExperimentsPlatformOperations - Worker 37 has 0 reserved open answers {}.
16:13:59.970 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Executing query : update `crowdcontrol`.`Answer_Reservation` set `crowdcontrol`.`Answer_Reservation`.`timestamp` = ? where `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` in (?)
16:13:59.971 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - -> with bind values : update `crowdcontrol`.`Answer_Reservation` set `crowdcontrol`.`Answer_Reservation`.`timestamp` = {ts '2016-03-17 16:13:59.97'} where `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` in (0)
16:13:59.973 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Affected row(s) : 0
16:13:59.973 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Query executed : Total: 2.794ms
16:13:59.974 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Finishing : Total: 3.929ms, +1.134ms
16:13:59.974 [ratpack-compute-1-3] TRACE e.k.i.c.w.d.o.ExperimentsPlatformOperations - Reserving 3 new Answers for worker 37.
16:13:59.976 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Executing batch query : insert into `crowdcontrol`.`Answer_Reservation` (`idAnswer_Reservation`, `worker`, `experiment`, `timestamp`, `used`) values (?, ?, ?, ?, ?)
16:13:59.978 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Query executed : Total: 2.956ms
16:13:59.979 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Finishing : Total: 3.24ms, +0.283ms
16:13:59.980 [ratpack-compute-1-3] DEBUG o.j.i.DefaultConnectionProvider - release savepoint
16:13:59.980 [ratpack-compute-1-3] DEBUG o.j.i.DefaultConnectionProvider - commit
16:13:59.995 [ratpack-compute-1-3] DEBUG o.j.i.DefaultConnectionProvider - setting auto commit : true
16:13:59.996 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`worker` = ? and `crowdcontrol`.`Answer_Reservation`.`experiment` = ? and `crowdcontrol`.`Answer_Reservation`.`used` = ?)
16:13:59.996 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`worker` = 37 and `crowdcontrol`.`Answer_Reservation`.`experiment` = 20 and `crowdcontrol`.`Answer_Reservation`.`used` = false)
16:13:59.998 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Query executed : Total: 1.61ms
16:13:59.999 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Fetched result : +--------------------+
16:13:59.999 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : |idAnswer_Reservation|
16:13:59.999 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : +--------------------+
16:13:59.999 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : | 54|
16:13:59.999 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : | 55|
16:13:59.999 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : | 56|
16:13:59.999 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : +--------------------+
16:13:59.999 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Finishing : Total: 3.094ms, +1.484ms
16:13:59.999 [ratpack-compute-1-3] TRACE e.k.i.c.w.q.TaskChooserAlgorithm - task chooser prepared builder
16:13:59.999 [ratpack-compute-1-3] DEBUG e.k.i.c.w.q.Queries - returning view: type: ANSWER
title: "Calibtest"
description: "test"
answer_reservations: 54
answer_reservations: 55
answer_reservations: 56
rating_options {
value: 9
description: "good"
}
rating_options {
description: "bad"
}
constraints {
id: 35
name: "a"
}
constraints {
id: 36
name: "b"
}
constraints {
id: 37
name: "C"
}
constraints {
id: 38
name: "d"
}
16:14:06.745 [ratpack-compute-1-3] DEBUG e.k.i.c.w.c.Commands - Request to submit answer answer: "asdf"
experiment: 20
reservation: 56
for worker 37
16:14:06.745 [ratpack-compute-1-3] TRACE e.k.i.c.w.c.Commands - cleaning answer answer: "asdf"
experiment: 20
reservation: 56
for worker 37 form potential malicious html tags
16:14:06.745 [ratpack-compute-1-3] TRACE e.k.i.c.w.c.Commands - answer answer: "asdf"
experiment: 20
reservation: 56
for reservation 56 from worker 37 is valid
16:14:06.745 [ratpack-compute-1-3] DEBUG e.k.i.c.w.o.Communication - Trying to submit answer asdf for worker 37 with route /experiments/20/answers
16:14:06.813 [I/O dispatcher 3] DEBUG e.k.i.c.w.o.Communication - Object service answered with status 201
16:14:06.814 [ratpack-compute-1-3] DEBUG e.k.i.c.w.c.Commands - Object service answered with OK.
16:14:06.847 [ratpack-compute-1-3] TRACE e.k.i.c.w.q.Queries - skipCreative is: false
16:14:06.847 [ratpack-compute-1-3] TRACE e.k.i.c.w.q.Queries - skipRating is: false
16:14:06.857 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Executing query : select 1 as `one` from dual where exists (select `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer`, `crowdcontrol`.`Calibration_Result`.`id_calibration_result`, `crowdcontrol`.`Calibration_Result`.`worker`, `crowdcontrol`.`Calibration_Result`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`id_experiments_calibration`, `crowdcontrol`.`Experiments_Calibration`.`experiments_platform`, `crowdcontrol`.`Experiments_Calibration`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`not` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` join `crowdcontrol`.`Experiments_Calibration` on (`crowdcontrol`.`Experiments_Calibration`.`experiments_platform` in (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = ? and `crowdcontrol`.`Experiments_Platform`.`platform` = ?)) and `crowdcontrol`.`Calibration_answer_option`.`calibration` = (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` = `crowdcontrol`.`Experiments_Calibration`.`answer`) and ((`crowdcontrol`.`Experiments_Calibration`.`not` = ? and `crowdcontrol`.`Experiments_Calibration`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`) or (`crowdcontrol`.`Experiments_Calibration`.`not` = ? and `crowdcontrol`.`Experiments_Calibration`.`answer` <> `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`))) where `crowdcontrol`.`Calibration_Result`.`worker` = ?)
16:14:06.858 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - -> with bind values : select 1 as `one` from dual where exists (select `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer`, `crowdcontrol`.`Calibration_Result`.`id_calibration_result`, `crowdcontrol`.`Calibration_Result`.`worker`, `crowdcontrol`.`Calibration_Result`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`id_experiments_calibration`, `crowdcontrol`.`Experiments_Calibration`.`experiments_platform`, `crowdcontrol`.`Experiments_Calibration`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`not` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` join `crowdcontrol`.`Experiments_Calibration` on (`crowdcontrol`.`Experiments_Calibration`.`experiments_platform` in (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = 20 and `crowdcontrol`.`Experiments_Platform`.`platform` = 'dummydummy')) and `crowdcontrol`.`Calibration_answer_option`.`calibration` = (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` = `crowdcontrol`.`Experiments_Calibration`.`answer`) and ((`crowdcontrol`.`Experiments_Calibration`.`not` = true and `crowdcontrol`.`Experiments_Calibration`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`) or (`crowdcontrol`.`Experiments_Calibration`.`not` = false and `crowdcontrol`.`Experiments_Calibration`.`answer` <> `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`))) where `crowdcontrol`.`Calibration_Result`.`worker` = 37)
16:14:06.874 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Query executed : Total: 26.054ms
16:14:06.878 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Finishing : Total: 29.75ms, +3.695ms
16:14:06.878 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:14:06.878 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : | one|
16:14:06.879 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : +----+
16:14:06.880 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Worker`.`quality` from `crowdcontrol`.`Worker` where `crowdcontrol`.`Worker`.`id_worker` = ?
16:14:06.880 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Worker`.`quality` from `crowdcontrol`.`Worker` where `crowdcontrol`.`Worker`.`id_worker` = 37
16:14:06.882 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Query executed : Total: 2.121ms
16:14:06.882 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Fetched result : +-------+
16:14:06.883 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : |quality|
16:14:06.883 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : +-------+
16:14:06.883 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : | 9|
16:14:06.884 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : +-------+
16:14:06.885 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Finishing : Total: 4.966ms, +2.845ms
16:14:06.885 [ratpack-compute-1-3] DEBUG e.k.i.c.w.q.Queries - worker 37 is eligible for working on the assignment
16:14:06.886 [ratpack-compute-1-3] TRACE e.k.i.c.w.q.Queries - platform dummydummy is able to render calibrations
16:14:06.900 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Calibration`.`id_calibration`, `crowdcontrol`.`Calibration`.`property`, `crowdcontrol`.`Calibration`.`name`, `crowdcontrol`.`Calibration`.`experiment`, `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration` on `crowdcontrol`.`Calibration_answer_option`.`calibration` = `crowdcontrol`.`Calibration`.`id_calibration` where (`crowdcontrol`.`Calibration`.`id_calibration` in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` in (select `crowdcontrol`.`Experiments_Calibration`.`answer` from `crowdcontrol`.`Experiments_Calibration` where `crowdcontrol`.`Experiments_Calibration`.`experiments_platform` = (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = ? and `crowdcontrol`.`Experiments_Platform`.`platform` = ?)))) and `crowdcontrol`.`Calibration`.`id_calibration` not in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` where `crowdcontrol`.`Calibration_Result`.`worker` = ?))
16:14:06.901 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Calibration`.`id_calibration`, `crowdcontrol`.`Calibration`.`property`, `crowdcontrol`.`Calibration`.`name`, `crowdcontrol`.`Calibration`.`experiment`, `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration` on `crowdcontrol`.`Calibration_answer_option`.`calibration` = `crowdcontrol`.`Calibration`.`id_calibration` where (`crowdcontrol`.`Calibration`.`id_calibration` in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` in (select `crowdcontrol`.`Experiments_Calibration`.`answer` from `crowdcontrol`.`Experiments_Calibration` where `crowdcontrol`.`Experiments_Calibration`.`experiments_platform` = (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = 20 and `crowdcontrol`.`Experiments_Platform`.`platform` = 'dummydummy')))) and `crowdcontrol`.`Calibration`.`id_calibration` not in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` where `crowdcontrol`.`Calibration_Result`.`worker` = 37))
16:14:06.911 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Query executed : Total: 11.513ms
16:14:06.914 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Fetched result : +--------------+--------+----+----------+----------------------------+-----------+------+
16:14:06.915 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : |id_calibration|property|name|experiment|id_calibration_answer_option|calibration|answer|
16:14:06.915 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : +--------------+--------+----+----------+----------------------------+-----------+------+
16:14:06.916 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Finishing : Total: 15.849ms, +4.336ms
16:14:06.916 [ratpack-compute-1-3] TRACE e.k.i.c.w.q.Queries - worker 37 must answer the calibrations {}
16:14:06.916 [ratpack-compute-1-3] DEBUG e.k.i.c.w.q.Queries - worker 37 must not answer calibrations
16:14:06.917 [ratpack-compute-1-3] DEBUG e.k.i.c.w.q.Queries - invoking task-chooser anti_spoof
16:14:06.918 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Executing query : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` left outer join `crowdcontrol`.`Answer` on `crowdcontrol`.`Answer`.`reservation` = `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` where ((`crowdcontrol`.`Answer_Reservation`.`used` = ? or (`crowdcontrol`.`Answer_Reservation`.`timestamp` >= ? and `crowdcontrol`.`Answer_Reservation`.`worker` <> ?)) and `crowdcontrol`.`Answer_Reservation`.`experiment` = ? and ((`crowdcontrol`.`Answer`.`quality_assured` = ? and `crowdcontrol`.`Answer`.`quality` > (select `crowdcontrol`.`Experiment`.`result_quality_threshold` from `crowdcontrol`.`Experiment` where `crowdcontrol`.`Experiment`.`id_experiment` = ?)) or ?))) as `q`
16:14:06.936 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - -> with bind values : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` left outer join `crowdcontrol`.`Answer` on `crowdcontrol`.`Answer`.`reservation` = `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` where ((`crowdcontrol`.`Answer_Reservation`.`used` = true or (`crowdcontrol`.`Answer_Reservation`.`timestamp` >= {ts '2016-03-17 14:14:06.917'} and `crowdcontrol`.`Answer_Reservation`.`worker` <> 37)) and `crowdcontrol`.`Answer_Reservation`.`experiment` = 20 and ((`crowdcontrol`.`Answer`.`quality_assured` = true and `crowdcontrol`.`Answer`.`quality` > (select `crowdcontrol`.`Experiment`.`result_quality_threshold` from `crowdcontrol`.`Experiment` where `crowdcontrol`.`Experiment`.`id_experiment` = 20)) or true))) as `q`
16:14:06.944 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Query executed : Total: 26.425ms
16:14:06.951 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:14:06.953 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : | c|
16:14:06.954 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : +----+
16:14:06.964 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : | 4|
16:14:06.964 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : +----+
16:14:06.970 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Finishing : Total: 52.123ms, +25.697ms
16:14:06.970 [ratpack-compute-1-3] TRACE e.k.i.c.w.q.AntiSpoof - calculating phase for: answersCount=4, phases={1=1}, neededAnswers=10
16:14:06.970 [ratpack-compute-1-3] DEBUG e.k.i.c.w.q.AntiSpoof - entering phase 2
16:14:06.970 [ratpack-compute-1-3] TRACE e.k.i.c.w.q.TaskChooserAlgorithm - constructing view with parameters: worker-id = 37, experimentID = 20, skipCreative = false, skipRating = false
16:14:06.972 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Executing query : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation`, `crowdcontrol`.`Answer_Reservation`.`worker`, `crowdcontrol`.`Answer_Reservation`.`experiment`, `crowdcontrol`.`Answer_Reservation`.`timestamp`, `crowdcontrol`.`Answer_Reservation`.`used` from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`experiment` = ? and `crowdcontrol`.`Answer_Reservation`.`worker` = ? and `crowdcontrol`.`Answer_Reservation`.`used` = ?)) as `q`
16:14:06.972 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - -> with bind values : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation`, `crowdcontrol`.`Answer_Reservation`.`worker`, `crowdcontrol`.`Answer_Reservation`.`experiment`, `crowdcontrol`.`Answer_Reservation`.`timestamp`, `crowdcontrol`.`Answer_Reservation`.`used` from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`experiment` = 20 and `crowdcontrol`.`Answer_Reservation`.`worker` = 37 and `crowdcontrol`.`Answer_Reservation`.`used` = true)) as `q`
16:14:06.974 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Query executed : Total: 3.504ms
16:14:06.974 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:14:06.974 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : | c|
16:14:06.974 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : +----+
16:14:06.974 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : | 1|
16:14:06.975 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : +----+
16:14:06.979 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Finishing : Total: 9.206ms, +5.701ms
16:14:06.980 [ratpack-compute-1-3] DEBUG e.k.i.c.w.q.TaskChooserAlgorithm - worker 37 has answered 1 times, max. is 3
16:14:06.980 [ratpack-compute-1-3] DEBUG e.k.i.c.w.q.TaskChooserAlgorithm - returning answer-view
16:14:06.980 [ratpack-compute-1-3] DEBUG e.k.i.c.w.q.TaskChooserAlgorithm - task chooser constructs answer-view
16:14:06.980 [ratpack-compute-1-3] DEBUG o.j.i.DefaultConnectionProvider - setting auto commit : false
16:14:06.980 [ratpack-compute-1-3] DEBUG o.j.i.DefaultConnectionProvider - set savepoint
16:14:06.982 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Executing query : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` left outer join `crowdcontrol`.`Answer` on `crowdcontrol`.`Answer`.`reservation` = `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` where ((`crowdcontrol`.`Answer_Reservation`.`used` = ? or (`crowdcontrol`.`Answer_Reservation`.`timestamp` >= ? and `crowdcontrol`.`Answer_Reservation`.`worker` <> ?)) and `crowdcontrol`.`Answer_Reservation`.`experiment` = ? and ((`crowdcontrol`.`Answer`.`quality_assured` = ? and `crowdcontrol`.`Answer`.`quality` > (select `crowdcontrol`.`Experiment`.`result_quality_threshold` from `crowdcontrol`.`Experiment` where `crowdcontrol`.`Experiment`.`id_experiment` = ?)) or ?))) as `q`
16:14:06.983 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - -> with bind values : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` left outer join `crowdcontrol`.`Answer` on `crowdcontrol`.`Answer`.`reservation` = `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` where ((`crowdcontrol`.`Answer_Reservation`.`used` = true or (`crowdcontrol`.`Answer_Reservation`.`timestamp` >= {ts '2016-03-17 14:14:06.981'} and `crowdcontrol`.`Answer_Reservation`.`worker` <> -1)) and `crowdcontrol`.`Answer_Reservation`.`experiment` = 20 and ((`crowdcontrol`.`Answer`.`quality_assured` = true and `crowdcontrol`.`Answer`.`quality` > (select `crowdcontrol`.`Experiment`.`result_quality_threshold` from `crowdcontrol`.`Experiment` where `crowdcontrol`.`Experiment`.`id_experiment` = 20)) or true))) as `q`
16:14:06.985 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Query executed : Total: 3.704ms
16:14:06.986 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:14:06.986 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : | c|
16:14:06.987 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : +----+
16:14:06.987 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : | 6|
16:14:06.987 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : +----+
16:14:06.988 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Finishing : Total: 6.908ms, +3.204ms
16:14:06.989 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Executing query : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation`, `crowdcontrol`.`Answer_Reservation`.`worker`, `crowdcontrol`.`Answer_Reservation`.`experiment`, `crowdcontrol`.`Answer_Reservation`.`timestamp`, `crowdcontrol`.`Answer_Reservation`.`used` from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`experiment` = ? and `crowdcontrol`.`Answer_Reservation`.`worker` = ? and `crowdcontrol`.`Answer_Reservation`.`used` = ?)) as `q`
16:14:06.990 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - -> with bind values : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation`, `crowdcontrol`.`Answer_Reservation`.`worker`, `crowdcontrol`.`Answer_Reservation`.`experiment`, `crowdcontrol`.`Answer_Reservation`.`timestamp`, `crowdcontrol`.`Answer_Reservation`.`used` from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`experiment` = 20 and `crowdcontrol`.`Answer_Reservation`.`worker` = 37 and `crowdcontrol`.`Answer_Reservation`.`used` = true)) as `q`
16:14:06.995 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Query executed : Total: 6.079ms
16:14:06.996 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:14:06.996 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : | c|
16:14:06.996 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : +----+
16:14:06.997 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : | 1|
16:14:06.997 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : +----+
16:14:06.998 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Finishing : Total: 9.052ms, +2.973ms
16:14:06.998 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Executing query : select count(*) from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`experiment` = ? and `crowdcontrol`.`Answer_Reservation`.`worker` = ? and `crowdcontrol`.`Answer_Reservation`.`used` = ?)
16:14:06.998 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - -> with bind values : select count(*) from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`experiment` = 20 and `crowdcontrol`.`Answer_Reservation`.`worker` = 37 and `crowdcontrol`.`Answer_Reservation`.`used` = false)
16:14:06.999 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Query executed : Total: 1.216ms
16:14:07.000 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Fetched result : +-----+
16:14:07.000 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : |count|
16:14:07.001 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : +-----+
16:14:07.001 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : | 2|
16:14:07.002 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : +-----+
16:14:07.003 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Finishing : Total: 4.638ms, +3.421ms
16:14:07.003 [ratpack-compute-1-3] TRACE e.k.i.c.w.d.o.ExperimentsPlatformOperations - Worker 37 has 2 reserved open answers {}.
16:14:07.004 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Executing query : update `crowdcontrol`.`Answer_Reservation` set `crowdcontrol`.`Answer_Reservation`.`timestamp` = ? where `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` in (?)
16:14:07.005 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - -> with bind values : update `crowdcontrol`.`Answer_Reservation` set `crowdcontrol`.`Answer_Reservation`.`timestamp` = {ts '2016-03-17 16:14:07.004'} where `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` in (2)
16:14:07.006 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Affected row(s) : 1
16:14:07.007 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Query executed : Total: 3.268ms
16:14:07.008 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Finishing : Total: 4.338ms, +1.069ms
16:14:07.009 [ratpack-compute-1-3] TRACE e.k.i.c.w.d.o.ExperimentsPlatformOperations - Reserving 0 new Answers for worker 37.
16:14:07.009 [ratpack-compute-1-3] DEBUG o.j.i.DefaultConnectionProvider - release savepoint
16:14:07.009 [ratpack-compute-1-3] DEBUG o.j.i.DefaultConnectionProvider - commit
16:14:07.021 [ratpack-compute-1-3] DEBUG o.j.i.DefaultConnectionProvider - setting auto commit : true
16:14:07.023 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`worker` = ? and `crowdcontrol`.`Answer_Reservation`.`experiment` = ? and `crowdcontrol`.`Answer_Reservation`.`used` = ?)
16:14:07.024 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`worker` = 37 and `crowdcontrol`.`Answer_Reservation`.`experiment` = 20 and `crowdcontrol`.`Answer_Reservation`.`used` = false)
16:14:07.025 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Query executed : Total: 2.512ms
16:14:07.027 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Fetched result : +--------------------+
16:14:07.027 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : |idAnswer_Reservation|
16:14:07.028 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : +--------------------+
16:14:07.028 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : | 54|
16:14:07.029 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : | 55|
16:14:07.030 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : +--------------------+
16:14:07.031 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Finishing : Total: 8.152ms, +5.64ms
16:14:07.036 [ratpack-compute-1-3] TRACE e.k.i.c.w.q.TaskChooserAlgorithm - task chooser prepared builder
16:14:07.039 [ratpack-compute-1-3] DEBUG e.k.i.c.w.q.Queries - returning view: type: ANSWER
title: "Calibtest"
description: "test"
answer_reservations: 54
answer_reservations: 55
rating_options {
value: 9
description: "good"
}
rating_options {
description: "bad"
}
constraints {
id: 35
name: "a"
}
constraints {
id: 36
name: "b"
}
constraints {
id: 37
name: "C"
}
constraints {
id: 38
name: "d"
}
16:14:08.827 [ratpack-compute-1-3] DEBUG e.k.i.c.w.c.Commands - Request to submit answer answer: "asdf"
experiment: 20
reservation: 55
for worker 37
16:14:08.827 [ratpack-compute-1-3] TRACE e.k.i.c.w.c.Commands - cleaning answer answer: "asdf"
experiment: 20
reservation: 55
for worker 37 form potential malicious html tags
16:14:08.827 [ratpack-compute-1-3] TRACE e.k.i.c.w.c.Commands - answer answer: "asdf"
experiment: 20
reservation: 55
for reservation 55 from worker 37 is valid
16:14:08.828 [ratpack-compute-1-3] DEBUG e.k.i.c.w.o.Communication - Trying to submit answer asdf for worker 37 with route /experiments/20/answers
16:14:08.888 [I/O dispatcher 3] DEBUG e.k.i.c.w.o.Communication - Object service answered with status 201
16:14:08.888 [ratpack-compute-1-3] DEBUG e.k.i.c.w.c.Commands - Object service answered with OK.
16:14:08.930 [ratpack-compute-1-3] TRACE e.k.i.c.w.q.Queries - skipCreative is: false
16:14:08.931 [ratpack-compute-1-3] TRACE e.k.i.c.w.q.Queries - skipRating is: false
16:14:08.932 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Executing query : select 1 as `one` from dual where exists (select `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer`, `crowdcontrol`.`Calibration_Result`.`id_calibration_result`, `crowdcontrol`.`Calibration_Result`.`worker`, `crowdcontrol`.`Calibration_Result`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`id_experiments_calibration`, `crowdcontrol`.`Experiments_Calibration`.`experiments_platform`, `crowdcontrol`.`Experiments_Calibration`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`not` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` join `crowdcontrol`.`Experiments_Calibration` on (`crowdcontrol`.`Experiments_Calibration`.`experiments_platform` in (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = ? and `crowdcontrol`.`Experiments_Platform`.`platform` = ?)) and `crowdcontrol`.`Calibration_answer_option`.`calibration` = (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` = `crowdcontrol`.`Experiments_Calibration`.`answer`) and ((`crowdcontrol`.`Experiments_Calibration`.`not` = ? and `crowdcontrol`.`Experiments_Calibration`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`) or (`crowdcontrol`.`Experiments_Calibration`.`not` = ? and `crowdcontrol`.`Experiments_Calibration`.`answer` <> `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`))) where `crowdcontrol`.`Calibration_Result`.`worker` = ?)
16:14:08.932 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - -> with bind values : select 1 as `one` from dual where exists (select `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer`, `crowdcontrol`.`Calibration_Result`.`id_calibration_result`, `crowdcontrol`.`Calibration_Result`.`worker`, `crowdcontrol`.`Calibration_Result`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`id_experiments_calibration`, `crowdcontrol`.`Experiments_Calibration`.`experiments_platform`, `crowdcontrol`.`Experiments_Calibration`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`not` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` join `crowdcontrol`.`Experiments_Calibration` on (`crowdcontrol`.`Experiments_Calibration`.`experiments_platform` in (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = 20 and `crowdcontrol`.`Experiments_Platform`.`platform` = 'dummydummy')) and `crowdcontrol`.`Calibration_answer_option`.`calibration` = (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` = `crowdcontrol`.`Experiments_Calibration`.`answer`) and ((`crowdcontrol`.`Experiments_Calibration`.`not` = true and `crowdcontrol`.`Experiments_Calibration`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`) or (`crowdcontrol`.`Experiments_Calibration`.`not` = false and `crowdcontrol`.`Experiments_Calibration`.`answer` <> `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`))) where `crowdcontrol`.`Calibration_Result`.`worker` = 37)
16:14:08.935 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Query executed : Total: 3.341ms
16:14:08.936 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Finishing : Total: 4.409ms, +1.068ms
16:14:08.936 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:14:08.936 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : | one|
16:14:08.937 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : +----+
16:14:08.937 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Worker`.`quality` from `crowdcontrol`.`Worker` where `crowdcontrol`.`Worker`.`id_worker` = ?
16:14:08.938 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Worker`.`quality` from `crowdcontrol`.`Worker` where `crowdcontrol`.`Worker`.`id_worker` = 37
16:14:08.939 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Query executed : Total: 2.056ms
16:14:08.940 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Fetched result : +-------+
16:14:08.940 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : |quality|
16:14:08.940 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : +-------+
16:14:08.940 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : | 9|
16:14:08.941 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : +-------+
16:14:08.941 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Finishing : Total: 4.287ms, +2.23ms
16:14:08.942 [ratpack-compute-1-3] DEBUG e.k.i.c.w.q.Queries - worker 37 is eligible for working on the assignment
16:14:08.942 [ratpack-compute-1-3] TRACE e.k.i.c.w.q.Queries - platform dummydummy is able to render calibrations
16:14:08.943 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Calibration`.`id_calibration`, `crowdcontrol`.`Calibration`.`property`, `crowdcontrol`.`Calibration`.`name`, `crowdcontrol`.`Calibration`.`experiment`, `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration` on `crowdcontrol`.`Calibration_answer_option`.`calibration` = `crowdcontrol`.`Calibration`.`id_calibration` where (`crowdcontrol`.`Calibration`.`id_calibration` in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` in (select `crowdcontrol`.`Experiments_Calibration`.`answer` from `crowdcontrol`.`Experiments_Calibration` where `crowdcontrol`.`Experiments_Calibration`.`experiments_platform` = (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = ? and `crowdcontrol`.`Experiments_Platform`.`platform` = ?)))) and `crowdcontrol`.`Calibration`.`id_calibration` not in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` where `crowdcontrol`.`Calibration_Result`.`worker` = ?))
16:14:08.945 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Calibration`.`id_calibration`, `crowdcontrol`.`Calibration`.`property`, `crowdcontrol`.`Calibration`.`name`, `crowdcontrol`.`Calibration`.`experiment`, `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration` on `crowdcontrol`.`Calibration_answer_option`.`calibration` = `crowdcontrol`.`Calibration`.`id_calibration` where (`crowdcontrol`.`Calibration`.`id_calibration` in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` in (select `crowdcontrol`.`Experiments_Calibration`.`answer` from `crowdcontrol`.`Experiments_Calibration` where `crowdcontrol`.`Experiments_Calibration`.`experiments_platform` = (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = 20 and `crowdcontrol`.`Experiments_Platform`.`platform` = 'dummydummy')))) and `crowdcontrol`.`Calibration`.`id_calibration` not in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` where `crowdcontrol`.`Calibration_Result`.`worker` = 37))
16:14:08.948 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Query executed : Total: 5.302ms
16:14:08.949 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Fetched result : +--------------+--------+----+----------+----------------------------+-----------+------+
16:14:08.949 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : |id_calibration|property|name|experiment|id_calibration_answer_option|calibration|answer|
16:14:08.949 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : +--------------+--------+----+----------+----------------------------+-----------+------+
16:14:08.949 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Finishing : Total: 6.333ms, +1.031ms
16:14:08.949 [ratpack-compute-1-3] TRACE e.k.i.c.w.q.Queries - worker 37 must answer the calibrations {}
16:14:08.949 [ratpack-compute-1-3] DEBUG e.k.i.c.w.q.Queries - worker 37 must not answer calibrations
16:14:08.950 [ratpack-compute-1-3] DEBUG e.k.i.c.w.q.Queries - invoking task-chooser anti_spoof
16:14:08.951 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Executing query : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` left outer join `crowdcontrol`.`Answer` on `crowdcontrol`.`Answer`.`reservation` = `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` where ((`crowdcontrol`.`Answer_Reservation`.`used` = ? or (`crowdcontrol`.`Answer_Reservation`.`timestamp` >= ? and `crowdcontrol`.`Answer_Reservation`.`worker` <> ?)) and `crowdcontrol`.`Answer_Reservation`.`experiment` = ? and ((`crowdcontrol`.`Answer`.`quality_assured` = ? and `crowdcontrol`.`Answer`.`quality` > (select `crowdcontrol`.`Experiment`.`result_quality_threshold` from `crowdcontrol`.`Experiment` where `crowdcontrol`.`Experiment`.`id_experiment` = ?)) or ?))) as `q`
16:14:08.951 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - -> with bind values : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` left outer join `crowdcontrol`.`Answer` on `crowdcontrol`.`Answer`.`reservation` = `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` where ((`crowdcontrol`.`Answer_Reservation`.`used` = true or (`crowdcontrol`.`Answer_Reservation`.`timestamp` >= {ts '2016-03-17 14:14:08.95'} and `crowdcontrol`.`Answer_Reservation`.`worker` <> 37)) and `crowdcontrol`.`Answer_Reservation`.`experiment` = 20 and ((`crowdcontrol`.`Answer`.`quality_assured` = true and `crowdcontrol`.`Answer`.`quality` > (select `crowdcontrol`.`Experiment`.`result_quality_threshold` from `crowdcontrol`.`Experiment` where `crowdcontrol`.`Experiment`.`id_experiment` = 20)) or true))) as `q`
16:14:08.953 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Query executed : Total: 2.792ms
16:14:08.954 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:14:08.954 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : | c|
16:14:08.954 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : +----+
16:14:08.954 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : | 5|
16:14:08.955 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : +----+
16:14:08.965 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Finishing : Total: 14.619ms, +11.827ms
16:14:08.966 [ratpack-compute-1-3] TRACE e.k.i.c.w.q.AntiSpoof - calculating phase for: answersCount=5, phases={1=1}, neededAnswers=10
16:14:08.966 [ratpack-compute-1-3] DEBUG e.k.i.c.w.q.AntiSpoof - entering phase 2
16:14:08.966 [ratpack-compute-1-3] TRACE e.k.i.c.w.q.TaskChooserAlgorithm - constructing view with parameters: worker-id = 37, experimentID = 20, skipCreative = false, skipRating = false
16:14:08.967 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Executing query : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation`, `crowdcontrol`.`Answer_Reservation`.`worker`, `crowdcontrol`.`Answer_Reservation`.`experiment`, `crowdcontrol`.`Answer_Reservation`.`timestamp`, `crowdcontrol`.`Answer_Reservation`.`used` from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`experiment` = ? and `crowdcontrol`.`Answer_Reservation`.`worker` = ? and `crowdcontrol`.`Answer_Reservation`.`used` = ?)) as `q`
16:14:08.967 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - -> with bind values : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation`, `crowdcontrol`.`Answer_Reservation`.`worker`, `crowdcontrol`.`Answer_Reservation`.`experiment`, `crowdcontrol`.`Answer_Reservation`.`timestamp`, `crowdcontrol`.`Answer_Reservation`.`used` from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`experiment` = 20 and `crowdcontrol`.`Answer_Reservation`.`worker` = 37 and `crowdcontrol`.`Answer_Reservation`.`used` = true)) as `q`
16:14:08.969 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Query executed : Total: 2.189ms
16:14:08.969 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:14:08.970 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : | c|
16:14:08.970 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : +----+
16:14:08.970 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : | 2|
16:14:08.974 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : +----+
16:14:08.979 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Finishing : Total: 12.071ms, +9.881ms
16:14:08.980 [ratpack-compute-1-3] DEBUG e.k.i.c.w.q.TaskChooserAlgorithm - worker 37 has answered 2 times, max. is 3
16:14:08.981 [ratpack-compute-1-3] DEBUG e.k.i.c.w.q.TaskChooserAlgorithm - returning answer-view
16:14:08.981 [ratpack-compute-1-3] DEBUG e.k.i.c.w.q.TaskChooserAlgorithm - task chooser constructs answer-view
16:14:08.981 [ratpack-compute-1-3] DEBUG o.j.i.DefaultConnectionProvider - setting auto commit : false
16:14:08.983 [ratpack-compute-1-3] DEBUG o.j.i.DefaultConnectionProvider - set savepoint
16:14:08.985 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Executing query : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` left outer join `crowdcontrol`.`Answer` on `crowdcontrol`.`Answer`.`reservation` = `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` where ((`crowdcontrol`.`Answer_Reservation`.`used` = ? or (`crowdcontrol`.`Answer_Reservation`.`timestamp` >= ? and `crowdcontrol`.`Answer_Reservation`.`worker` <> ?)) and `crowdcontrol`.`Answer_Reservation`.`experiment` = ? and ((`crowdcontrol`.`Answer`.`quality_assured` = ? and `crowdcontrol`.`Answer`.`quality` > (select `crowdcontrol`.`Experiment`.`result_quality_threshold` from `crowdcontrol`.`Experiment` where `crowdcontrol`.`Experiment`.`id_experiment` = ?)) or ?))) as `q`
16:14:08.986 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - -> with bind values : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` left outer join `crowdcontrol`.`Answer` on `crowdcontrol`.`Answer`.`reservation` = `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` where ((`crowdcontrol`.`Answer_Reservation`.`used` = true or (`crowdcontrol`.`Answer_Reservation`.`timestamp` >= {ts '2016-03-17 14:14:08.984'} and `crowdcontrol`.`Answer_Reservation`.`worker` <> -1)) and `crowdcontrol`.`Answer_Reservation`.`experiment` = 20 and ((`crowdcontrol`.`Answer`.`quality_assured` = true and `crowdcontrol`.`Answer`.`quality` > (select `crowdcontrol`.`Experiment`.`result_quality_threshold` from `crowdcontrol`.`Experiment` where `crowdcontrol`.`Experiment`.`id_experiment` = 20)) or true))) as `q`
16:14:08.997 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Query executed : Total: 12.312ms
16:14:08.998 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:14:08.998 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : | c|
16:14:08.998 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : +----+
16:14:08.998 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : | 6|
16:14:08.998 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : +----+
16:14:08.999 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Finishing : Total: 14.22ms, +1.907ms
16:14:09.000 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Executing query : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation`, `crowdcontrol`.`Answer_Reservation`.`worker`, `crowdcontrol`.`Answer_Reservation`.`experiment`, `crowdcontrol`.`Answer_Reservation`.`timestamp`, `crowdcontrol`.`Answer_Reservation`.`used` from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`experiment` = ? and `crowdcontrol`.`Answer_Reservation`.`worker` = ? and `crowdcontrol`.`Answer_Reservation`.`used` = ?)) as `q`
16:14:09.001 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - -> with bind values : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation`, `crowdcontrol`.`Answer_Reservation`.`worker`, `crowdcontrol`.`Answer_Reservation`.`experiment`, `crowdcontrol`.`Answer_Reservation`.`timestamp`, `crowdcontrol`.`Answer_Reservation`.`used` from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`experiment` = 20 and `crowdcontrol`.`Answer_Reservation`.`worker` = 37 and `crowdcontrol`.`Answer_Reservation`.`used` = true)) as `q`
16:14:09.004 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Query executed : Total: 4.771ms
16:14:09.005 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:14:09.005 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : | c|
16:14:09.005 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : +----+
16:14:09.005 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : | 2|
16:14:09.005 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : +----+
16:14:09.006 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Finishing : Total: 6.097ms, +1.325ms
16:14:09.007 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Executing query : select count(*) from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`experiment` = ? and `crowdcontrol`.`Answer_Reservation`.`worker` = ? and `crowdcontrol`.`Answer_Reservation`.`used` = ?)
16:14:09.008 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - -> with bind values : select count(*) from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`experiment` = 20 and `crowdcontrol`.`Answer_Reservation`.`worker` = 37 and `crowdcontrol`.`Answer_Reservation`.`used` = false)
16:14:09.017 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Query executed : Total: 10.366ms
16:14:09.018 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Fetched result : +-----+
16:14:09.018 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : |count|
16:14:09.018 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : +-----+
16:14:09.018 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : | 1|
16:14:09.018 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : +-----+
16:14:09.019 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Finishing : Total: 11.597ms, +1.231ms
16:14:09.019 [ratpack-compute-1-3] TRACE e.k.i.c.w.d.o.ExperimentsPlatformOperations - Worker 37 has 1 reserved open answers {}.
16:14:09.019 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Executing query : update `crowdcontrol`.`Answer_Reservation` set `crowdcontrol`.`Answer_Reservation`.`timestamp` = ? where `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` in (?)
16:14:09.019 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - -> with bind values : update `crowdcontrol`.`Answer_Reservation` set `crowdcontrol`.`Answer_Reservation`.`timestamp` = {ts '2016-03-17 16:14:09.019'} where `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` in (1)
16:14:09.020 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Affected row(s) : 1
16:14:09.020 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Query executed : Total: 1.424ms
16:14:09.027 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Finishing : Total: 8.493ms, +7.068ms
16:14:09.027 [ratpack-compute-1-3] TRACE e.k.i.c.w.d.o.ExperimentsPlatformOperations - Reserving 0 new Answers for worker 37.
16:14:09.028 [ratpack-compute-1-3] DEBUG o.j.i.DefaultConnectionProvider - release savepoint
16:14:09.028 [ratpack-compute-1-3] DEBUG o.j.i.DefaultConnectionProvider - commit
16:14:09.033 [ratpack-compute-1-3] DEBUG o.j.i.DefaultConnectionProvider - setting auto commit : true
16:14:09.035 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`worker` = ? and `crowdcontrol`.`Answer_Reservation`.`experiment` = ? and `crowdcontrol`.`Answer_Reservation`.`used` = ?)
16:14:09.035 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`worker` = 37 and `crowdcontrol`.`Answer_Reservation`.`experiment` = 20 and `crowdcontrol`.`Answer_Reservation`.`used` = false)
16:14:09.036 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Query executed : Total: 1.345ms
16:14:09.037 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Fetched result : +--------------------+
16:14:09.037 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : |idAnswer_Reservation|
16:14:09.037 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : +--------------------+
16:14:09.037 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : | 54|
16:14:09.037 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : +--------------------+
16:14:09.037 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Finishing : Total: 2.467ms, +1.121ms
16:14:09.037 [ratpack-compute-1-3] TRACE e.k.i.c.w.q.TaskChooserAlgorithm - task chooser prepared builder
16:14:09.042 [ratpack-compute-1-3] DEBUG e.k.i.c.w.q.Queries - returning view: type: ANSWER
title: "Calibtest"
description: "test"
answer_reservations: 54
rating_options {
value: 9
description: "good"
}
rating_options {
description: "bad"
}
constraints {
id: 35
name: "a"
}
constraints {
id: 36
name: "b"
}
constraints {
id: 37
name: "C"
}
constraints {
id: 38
name: "d"
}
16:14:10.252 [ratpack-compute-1-3] DEBUG e.k.i.c.w.c.Commands - Request to submit answer answer: "asdf"
experiment: 20
reservation: 54
for worker 37
16:14:10.253 [ratpack-compute-1-3] TRACE e.k.i.c.w.c.Commands - cleaning answer answer: "asdf"
experiment: 20
reservation: 54
for worker 37 form potential malicious html tags
16:14:10.253 [ratpack-compute-1-3] TRACE e.k.i.c.w.c.Commands - answer answer: "asdf"
experiment: 20
reservation: 54
for reservation 54 from worker 37 is valid
16:14:10.253 [ratpack-compute-1-3] DEBUG e.k.i.c.w.o.Communication - Trying to submit answer asdf for worker 37 with route /experiments/20/answers
16:14:10.311 [I/O dispatcher 3] DEBUG e.k.i.c.w.o.Communication - Object service answered with status 201
16:14:10.311 [ratpack-compute-1-3] DEBUG e.k.i.c.w.c.Commands - Object service answered with OK.
16:14:10.333 [ratpack-compute-1-3] TRACE e.k.i.c.w.q.Queries - skipCreative is: false
16:14:10.333 [ratpack-compute-1-3] TRACE e.k.i.c.w.q.Queries - skipRating is: false
16:14:10.334 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Executing query : select 1 as `one` from dual where exists (select `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer`, `crowdcontrol`.`Calibration_Result`.`id_calibration_result`, `crowdcontrol`.`Calibration_Result`.`worker`, `crowdcontrol`.`Calibration_Result`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`id_experiments_calibration`, `crowdcontrol`.`Experiments_Calibration`.`experiments_platform`, `crowdcontrol`.`Experiments_Calibration`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`not` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` join `crowdcontrol`.`Experiments_Calibration` on (`crowdcontrol`.`Experiments_Calibration`.`experiments_platform` in (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = ? and `crowdcontrol`.`Experiments_Platform`.`platform` = ?)) and `crowdcontrol`.`Calibration_answer_option`.`calibration` = (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` = `crowdcontrol`.`Experiments_Calibration`.`answer`) and ((`crowdcontrol`.`Experiments_Calibration`.`not` = ? and `crowdcontrol`.`Experiments_Calibration`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`) or (`crowdcontrol`.`Experiments_Calibration`.`not` = ? and `crowdcontrol`.`Experiments_Calibration`.`answer` <> `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`))) where `crowdcontrol`.`Calibration_Result`.`worker` = ?)
16:14:10.334 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - -> with bind values : select 1 as `one` from dual where exists (select `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer`, `crowdcontrol`.`Calibration_Result`.`id_calibration_result`, `crowdcontrol`.`Calibration_Result`.`worker`, `crowdcontrol`.`Calibration_Result`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`id_experiments_calibration`, `crowdcontrol`.`Experiments_Calibration`.`experiments_platform`, `crowdcontrol`.`Experiments_Calibration`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`not` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` join `crowdcontrol`.`Experiments_Calibration` on (`crowdcontrol`.`Experiments_Calibration`.`experiments_platform` in (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = 20 and `crowdcontrol`.`Experiments_Platform`.`platform` = 'dummydummy')) and `crowdcontrol`.`Calibration_answer_option`.`calibration` = (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` = `crowdcontrol`.`Experiments_Calibration`.`answer`) and ((`crowdcontrol`.`Experiments_Calibration`.`not` = true and `crowdcontrol`.`Experiments_Calibration`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`) or (`crowdcontrol`.`Experiments_Calibration`.`not` = false and `crowdcontrol`.`Experiments_Calibration`.`answer` <> `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`))) where `crowdcontrol`.`Calibration_Result`.`worker` = 37)
16:14:10.336 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Query executed : Total: 2.097ms
16:14:10.336 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Finishing : Total: 2.717ms, +0.62ms
16:14:10.337 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:14:10.337 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : | one|
16:14:10.337 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : +----+
16:14:10.337 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Worker`.`quality` from `crowdcontrol`.`Worker` where `crowdcontrol`.`Worker`.`id_worker` = ?
16:14:10.337 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Worker`.`quality` from `crowdcontrol`.`Worker` where `crowdcontrol`.`Worker`.`id_worker` = 37
16:14:10.338 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Query executed : Total: 1.343ms
16:14:10.339 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Fetched result : +-------+
16:14:10.339 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : |quality|
16:14:10.339 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : +-------+
16:14:10.339 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : | 9|
16:14:10.339 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : +-------+
16:14:10.339 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Finishing : Total: 2.409ms, +1.065ms
16:14:10.340 [ratpack-compute-1-3] DEBUG e.k.i.c.w.q.Queries - worker 37 is eligible for working on the assignment
16:14:10.340 [ratpack-compute-1-3] TRACE e.k.i.c.w.q.Queries - platform dummydummy is able to render calibrations
16:14:10.340 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Calibration`.`id_calibration`, `crowdcontrol`.`Calibration`.`property`, `crowdcontrol`.`Calibration`.`name`, `crowdcontrol`.`Calibration`.`experiment`, `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration` on `crowdcontrol`.`Calibration_answer_option`.`calibration` = `crowdcontrol`.`Calibration`.`id_calibration` where (`crowdcontrol`.`Calibration`.`id_calibration` in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` in (select `crowdcontrol`.`Experiments_Calibration`.`answer` from `crowdcontrol`.`Experiments_Calibration` where `crowdcontrol`.`Experiments_Calibration`.`experiments_platform` = (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = ? and `crowdcontrol`.`Experiments_Platform`.`platform` = ?)))) and `crowdcontrol`.`Calibration`.`id_calibration` not in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` where `crowdcontrol`.`Calibration_Result`.`worker` = ?))
16:14:10.340 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Calibration`.`id_calibration`, `crowdcontrol`.`Calibration`.`property`, `crowdcontrol`.`Calibration`.`name`, `crowdcontrol`.`Calibration`.`experiment`, `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration` on `crowdcontrol`.`Calibration_answer_option`.`calibration` = `crowdcontrol`.`Calibration`.`id_calibration` where (`crowdcontrol`.`Calibration`.`id_calibration` in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` in (select `crowdcontrol`.`Experiments_Calibration`.`answer` from `crowdcontrol`.`Experiments_Calibration` where `crowdcontrol`.`Experiments_Calibration`.`experiments_platform` = (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = 20 and `crowdcontrol`.`Experiments_Platform`.`platform` = 'dummydummy')))) and `crowdcontrol`.`Calibration`.`id_calibration` not in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` where `crowdcontrol`.`Calibration_Result`.`worker` = 37))
16:14:10.344 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Query executed : Total: 4.018ms
16:14:10.345 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Fetched result : +--------------+--------+----+----------+----------------------------+-----------+------+
16:14:10.345 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : |id_calibration|property|name|experiment|id_calibration_answer_option|calibration|answer|
16:14:10.347 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : +--------------+--------+----+----------+----------------------------+-----------+------+
16:14:10.347 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Finishing : Total: 7.071ms, +3.053ms
16:14:10.347 [ratpack-compute-1-3] TRACE e.k.i.c.w.q.Queries - worker 37 must answer the calibrations {}
16:14:10.348 [ratpack-compute-1-3] DEBUG e.k.i.c.w.q.Queries - worker 37 must not answer calibrations
16:14:10.348 [ratpack-compute-1-3] DEBUG e.k.i.c.w.q.Queries - invoking task-chooser anti_spoof
16:14:10.349 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Executing query : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` left outer join `crowdcontrol`.`Answer` on `crowdcontrol`.`Answer`.`reservation` = `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` where ((`crowdcontrol`.`Answer_Reservation`.`used` = ? or (`crowdcontrol`.`Answer_Reservation`.`timestamp` >= ? and `crowdcontrol`.`Answer_Reservation`.`worker` <> ?)) and `crowdcontrol`.`Answer_Reservation`.`experiment` = ? and ((`crowdcontrol`.`Answer`.`quality_assured` = ? and `crowdcontrol`.`Answer`.`quality` > (select `crowdcontrol`.`Experiment`.`result_quality_threshold` from `crowdcontrol`.`Experiment` where `crowdcontrol`.`Experiment`.`id_experiment` = ?)) or ?))) as `q`
16:14:10.350 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - -> with bind values : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` left outer join `crowdcontrol`.`Answer` on `crowdcontrol`.`Answer`.`reservation` = `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` where ((`crowdcontrol`.`Answer_Reservation`.`used` = true or (`crowdcontrol`.`Answer_Reservation`.`timestamp` >= {ts '2016-03-17 14:14:10.348'} and `crowdcontrol`.`Answer_Reservation`.`worker` <> 37)) and `crowdcontrol`.`Answer_Reservation`.`experiment` = 20 and ((`crowdcontrol`.`Answer`.`quality_assured` = true and `crowdcontrol`.`Answer`.`quality` > (select `crowdcontrol`.`Experiment`.`result_quality_threshold` from `crowdcontrol`.`Experiment` where `crowdcontrol`.`Experiment`.`id_experiment` = 20)) or true))) as `q`
16:14:10.352 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Query executed : Total: 2.697ms
16:14:10.352 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:14:10.352 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : | c|
16:14:10.352 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : +----+
16:14:10.352 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : | 6|
16:14:10.352 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : +----+
16:14:10.353 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Finishing : Total: 3.781ms, +1.083ms
16:14:10.353 [ratpack-compute-1-3] TRACE e.k.i.c.w.q.AntiSpoof - calculating phase for: answersCount=6, phases={1=1}, neededAnswers=10
16:14:10.353 [ratpack-compute-1-3] DEBUG e.k.i.c.w.q.AntiSpoof - entering phase 2
16:14:10.353 [ratpack-compute-1-3] TRACE e.k.i.c.w.q.TaskChooserAlgorithm - constructing view with parameters: worker-id = 37, experimentID = 20, skipCreative = false, skipRating = false
16:14:10.354 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Executing query : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation`, `crowdcontrol`.`Answer_Reservation`.`worker`, `crowdcontrol`.`Answer_Reservation`.`experiment`, `crowdcontrol`.`Answer_Reservation`.`timestamp`, `crowdcontrol`.`Answer_Reservation`.`used` from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`experiment` = ? and `crowdcontrol`.`Answer_Reservation`.`worker` = ? and `crowdcontrol`.`Answer_Reservation`.`used` = ?)) as `q`
16:14:10.354 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - -> with bind values : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation`, `crowdcontrol`.`Answer_Reservation`.`worker`, `crowdcontrol`.`Answer_Reservation`.`experiment`, `crowdcontrol`.`Answer_Reservation`.`timestamp`, `crowdcontrol`.`Answer_Reservation`.`used` from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`experiment` = 20 and `crowdcontrol`.`Answer_Reservation`.`worker` = 37 and `crowdcontrol`.`Answer_Reservation`.`used` = true)) as `q`
16:14:10.356 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Query executed : Total: 2.538ms
16:14:10.356 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:14:10.356 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : | c|
16:14:10.357 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : +----+
16:14:10.357 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : | 3|
16:14:10.357 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : +----+
16:14:10.361 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Finishing : Total: 7.121ms, +4.582ms
16:14:10.361 [ratpack-compute-1-3] DEBUG e.k.i.c.w.q.TaskChooserAlgorithm - worker 37 has answered 3 times, max. is 3
16:14:10.361 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Executing query : select count(*) as `c` from (select `crowdcontrol`.`Rating`.`id_rating`, `crowdcontrol`.`Rating`.`experiment`, `crowdcontrol`.`Rating`.`answer_r`, `crowdcontrol`.`Rating`.`timestamp`, `crowdcontrol`.`Rating`.`rating`, `crowdcontrol`.`Rating`.`reservation`, `crowdcontrol`.`Rating`.`feedback`, `crowdcontrol`.`Rating`.`worker_id`, `crowdcontrol`.`Rating`.`quality` from `crowdcontrol`.`Rating` where (`crowdcontrol`.`Rating`.`experiment` = ? and `crowdcontrol`.`Rating`.`worker_id` = ?)) as `q`
16:14:10.361 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - -> with bind values : select count(*) as `c` from (select `crowdcontrol`.`Rating`.`id_rating`, `crowdcontrol`.`Rating`.`experiment`, `crowdcontrol`.`Rating`.`answer_r`, `crowdcontrol`.`Rating`.`timestamp`, `crowdcontrol`.`Rating`.`rating`, `crowdcontrol`.`Rating`.`reservation`, `crowdcontrol`.`Rating`.`feedback`, `crowdcontrol`.`Rating`.`worker_id`, `crowdcontrol`.`Rating`.`quality` from `crowdcontrol`.`Rating` where (`crowdcontrol`.`Rating`.`experiment` = 20 and `crowdcontrol`.`Rating`.`worker_id` = 37)) as `q`
16:14:10.362 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Query executed : Total: 1.243ms
16:14:10.363 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:14:10.363 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : | c|
16:14:10.363 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : +----+
16:14:10.363 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : | 0|
16:14:10.363 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : +----+
16:14:10.363 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Finishing : Total: 1.996ms, +0.752ms
16:14:10.363 [ratpack-compute-1-3] DEBUG e.k.i.c.w.q.TaskChooserAlgorithm - worker 37 has rated 0 times, max. is 3
16:14:10.363 [ratpack-compute-1-3] DEBUG e.k.i.c.w.q.TaskChooserAlgorithm - returning rating-view
16:14:10.363 [ratpack-compute-1-3] DEBUG e.k.i.c.w.q.TaskChooserAlgorithm - task chooser constructs rating-view
16:14:10.364 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Answer`.`id_answer`, `crowdcontrol`.`Answer`.`experiment`, `crowdcontrol`.`Answer`.`answer`, `crowdcontrol`.`Answer`.`timestamp`, `crowdcontrol`.`Answer`.`worker_id`, `crowdcontrol`.`Answer`.`reservation`, `crowdcontrol`.`Answer`.`quality`, `crowdcontrol`.`Answer`.`quality_assured`, `crowdcontrol`.`Answer`.`system_response`, `crowdcontrol`.`Answer`.`hash`, count(`crowdcontrol`.`Rating`.`id_rating`) as `count` from `crowdcontrol`.`Answer` left outer join `crowdcontrol`.`Rating` on (`crowdcontrol`.`Rating`.`answer_r` = `crowdcontrol`.`Answer`.`id_answer` and (`crowdcontrol`.`Rating`.`rating` is not null or `crowdcontrol`.`Rating`.`timestamp` >= ?)) where (`crowdcontrol`.`Answer`.`worker_id` <> ? and `crowdcontrol`.`Answer`.`experiment` = ?) group by `crowdcontrol`.`Answer`.`id_answer`, `crowdcontrol`.`Answer`.`experiment`, `crowdcontrol`.`Answer`.`answer`, `crowdcontrol`.`Answer`.`timestamp`, `crowdcontrol`.`Answer`.`worker_id`, `crowdcontrol`.`Answer`.`reservation`, `crowdcontrol`.`Answer`.`quality`, `crowdcontrol`.`Answer`.`quality_assured`, `crowdcontrol`.`Answer`.`system_response`, `crowdcontrol`.`Answer`.`hash`
16:14:10.365 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Answer`.`id_answer`, `crowdcontrol`.`Answer`.`experiment`, `crowdcontrol`.`Answer`.`answer`, `crowdcontrol`.`Answer`.`timestamp`, `crowdcontrol`.`Answer`.`worker_id`, `crowdcontrol`.`Answer`.`reservation`, `crowdcontrol`.`Answer`.`quality`, `crowdcontrol`.`Answer`.`quality_assured`, `crowdcontrol`.`Answer`.`system_response`, `crowdcontrol`.`Answer`.`hash`, count(`crowdcontrol`.`Rating`.`id_rating`) as `count` from `crowdcontrol`.`Answer` left outer join `crowdcontrol`.`Rating` on (`crowdcontrol`.`Rating`.`answer_r` = `crowdcontrol`.`Answer`.`id_answer` and (`crowdcontrol`.`Rating`.`rating` is not null or `crowdcontrol`.`Rating`.`timestamp` >= {ts '2016-03-17 14:14:10.364'})) where (`crowdcontrol`.`Answer`.`worker_id` <> 37 and `crowdcontrol`.`Answer`.`experiment` = 20) group by `crowdcontrol`.`Answer`.`id_answer`, `crowdcontrol`.`Answer`.`experiment`, `crowdcontrol`.`Answer`.`answer`, `crowdcontrol`.`Answer`.`timestamp`, `crowdcontrol`.`Answer`.`worker_id`, `crowdcontrol`.`Answer`.`reservation`, `crowdcontrol`.`Answer`.`quality`, `crowdcontrol`.`Answer`.`quality_assured`, `crowdcontrol`.`Answer`.`system_response`, `crowdcontrol`.`Answer`.`hash`
16:14:10.368 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Query executed : Total: 3.48ms
16:14:10.370 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Fetched result : +---------+----------+------+---------------------+---------+-----------+-------+---------------+---------------+------+-----+
16:14:10.371 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : |id_answer|experiment|answer|timestamp |worker_id|reservation|quality|quality_assured|system_response| hash|count|
16:14:10.371 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : +---------+----------+------+---------------------+---------+-----------+-------+---------------+---------------+------+-----+
16:14:10.372 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : | 36| 20|bla |2016-03-17 16:13:34.0| 36| 53| {null}|{null} |{null} |{null}| 0|
16:14:10.372 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : | 37| 20|bla |2016-03-17 16:13:37.0| 36| 52| {null}|{null} |{null} |{null}| 0|
16:14:10.372 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : | 38| 20|bla |2016-03-17 16:13:39.0| 36| 51| {null}|{null} |{null} |{null}| 0|
16:14:10.372 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : +---------+----------+------+---------------------+---------+-----------+-------+---------------+---------------+------+-----+
16:14:10.372 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Finishing : Total: 8.038ms, +4.558ms
16:14:10.372 [ratpack-compute-1-3] TRACE e.k.i.c.w.q.TaskChooserAlgorithm - all the answers belonging to the experiment not from the worker with their count (max rating per answer is 3): +---------+----------+------+---------------------+---------+-----------+-------+---------------+---------------+------+-----+
|id_answer|experiment|answer|timestamp |worker_id|reservation|quality|quality_assured|system_response| hash|count|
+---------+----------+------+---------------------+---------+-----------+-------+---------------+---------------+------+-----+
| 36| 20|bla |2016-03-17 16:13:34.0| 36| 53| {null}|{null} |{null} |{null}| 0|
| 37| 20|bla |2016-03-17 16:13:37.0| 36| 52| {null}|{null} |{null} |{null}| 0|
| 38| 20|bla |2016-03-17 16:13:39.0| 36| 51| {null}|{null} |{null} |{null}| 0|
+---------+----------+------+---------------------+---------+-----------+-------+---------------+---------------+------+-----+
16:14:10.373 [ratpack-compute-1-3] DEBUG o.j.i.DefaultConnectionProvider - setting auto commit : false
16:14:10.374 [ratpack-compute-1-3] DEBUG o.j.i.DefaultConnectionProvider - set savepoint
16:14:10.375 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Answer`.`id_answer`, `crowdcontrol`.`Answer`.`experiment`, `crowdcontrol`.`Answer`.`answer`, `crowdcontrol`.`Answer`.`timestamp`, `crowdcontrol`.`Answer`.`worker_id`, `crowdcontrol`.`Answer`.`reservation`, `crowdcontrol`.`Answer`.`quality`, `crowdcontrol`.`Answer`.`quality_assured`, `crowdcontrol`.`Answer`.`system_response`, `crowdcontrol`.`Answer`.`hash`, `crowdcontrol`.`Rating_Reservation`.`idReserverd_Rating` from `crowdcontrol`.`Answer` join `crowdcontrol`.`Rating_Reservation` on (`crowdcontrol`.`Rating_Reservation`.`worker` = ? and `crowdcontrol`.`Rating_Reservation`.`experiment` = ? and `crowdcontrol`.`Rating_Reservation`.`answer` = `crowdcontrol`.`Answer`.`id_answer`)
16:14:10.376 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Answer`.`id_answer`, `crowdcontrol`.`Answer`.`experiment`, `crowdcontrol`.`Answer`.`answer`, `crowdcontrol`.`Answer`.`timestamp`, `crowdcontrol`.`Answer`.`worker_id`, `crowdcontrol`.`Answer`.`reservation`, `crowdcontrol`.`Answer`.`quality`, `crowdcontrol`.`Answer`.`quality_assured`, `crowdcontrol`.`Answer`.`system_response`, `crowdcontrol`.`Answer`.`hash`, `crowdcontrol`.`Rating_Reservation`.`idReserverd_Rating` from `crowdcontrol`.`Answer` join `crowdcontrol`.`Rating_Reservation` on (`crowdcontrol`.`Rating_Reservation`.`worker` = 37 and `crowdcontrol`.`Rating_Reservation`.`experiment` = 20 and `crowdcontrol`.`Rating_Reservation`.`answer` = `crowdcontrol`.`Answer`.`id_answer`)
16:14:10.386 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Query executed : Total: 10.506ms
16:14:10.391 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Fetched result : +---------+----------+------+---------+---------+-----------+-------+---------------+---------------+----+------------------+
16:14:10.391 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : |id_answer|experiment|answer|timestamp|worker_id|reservation|quality|quality_assured|system_response|hash|idReserverd_Rating|
16:14:10.391 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : +---------+----------+------+---------+---------+-----------+-------+---------------+---------------+----+------------------+
16:14:10.391 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Finishing : Total: 16.469ms, +5.962ms
16:14:10.392 [ratpack-compute-1-3] TRACE e.k.i.c.w.d.o.ExperimentsPlatformOperations - Worker 37 has reserved open ratings {}.
16:14:10.392 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Executing query : update `crowdcontrol`.`Rating_Reservation` set `crowdcontrol`.`Rating_Reservation`.`timestamp` = ? where 1 = 0
16:14:10.392 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - -> with bind values : update `crowdcontrol`.`Rating_Reservation` set `crowdcontrol`.`Rating_Reservation`.`timestamp` = {ts '2016-03-17 16:14:10.392'} where 1 = 0
16:14:10.395 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Affected row(s) : 0
16:14:10.395 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Query executed : Total: 3.409ms
16:14:10.396 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Finishing : Total: 3.83ms, +0.42ms
16:14:10.398 [ratpack-compute-1-3] TRACE e.k.i.c.w.d.o.ExperimentsPlatformOperations - Reserving 3 new Ratings for worker 37.
16:14:10.400 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Answer`.`id_answer`, `crowdcontrol`.`Answer`.`experiment`, `crowdcontrol`.`Answer`.`answer`, `crowdcontrol`.`Answer`.`timestamp`, `crowdcontrol`.`Answer`.`worker_id`, `crowdcontrol`.`Answer`.`reservation`, `crowdcontrol`.`Answer`.`quality`, `crowdcontrol`.`Answer`.`quality_assured`, `crowdcontrol`.`Answer`.`system_response`, `crowdcontrol`.`Answer`.`hash`, count(`crowdcontrol`.`Rating_Reservation`.`idReserverd_Rating`) as `count` from `crowdcontrol`.`Answer` left outer join `crowdcontrol`.`Rating_Reservation` on (`crowdcontrol`.`Rating_Reservation`.`answer` = `crowdcontrol`.`Answer`.`id_answer` and (`crowdcontrol`.`Rating_Reservation`.`used` = ? or `crowdcontrol`.`Rating_Reservation`.`timestamp` >= ?)) where (`crowdcontrol`.`Answer`.`experiment` = ? and `crowdcontrol`.`Answer`.`worker_id` <> ? and `crowdcontrol`.`Answer`.`id_answer` not in (select `crowdcontrol`.`Rating_Reservation`.`answer` from `crowdcontrol`.`Rating_Reservation` where (`crowdcontrol`.`Rating_Reservation`.`worker` = ? and `crowdcontrol`.`Rating_Reservation`.`experiment` = ?)) and ((`crowdcontrol`.`Answer`.`quality_assured` = ? and `crowdcontrol`.`Answer`.`quality` <> ?) or ?)) group by `crowdcontrol`.`Answer`.`id_answer`, `crowdcontrol`.`Answer`.`experiment`, `crowdcontrol`.`Answer`.`answer`, `crowdcontrol`.`Answer`.`timestamp`, `crowdcontrol`.`Answer`.`worker_id`, `crowdcontrol`.`Answer`.`reservation`, `crowdcontrol`.`Answer`.`quality`, `crowdcontrol`.`Answer`.`quality_assured`, `crowdcontrol`.`Answer`.`system_response`, `crowdcontrol`.`Answer`.`hash` having `count` < (select `crowdcontrol`.`Experiment`.`ratings_per_answer` from `crowdcontrol`.`Experiment` where `crowdcontrol`.`Experiment`.`id_experiment` = ?) order by `crowdcontrol`.`Answer`.`quality_assured` desc limit ?
16:14:10.402 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Answer`.`id_answer`, `crowdcontrol`.`Answer`.`experiment`, `crowdcontrol`.`Answer`.`answer`, `crowdcontrol`.`Answer`.`timestamp`, `crowdcontrol`.`Answer`.`worker_id`, `crowdcontrol`.`Answer`.`reservation`, `crowdcontrol`.`Answer`.`quality`, `crowdcontrol`.`Answer`.`quality_assured`, `crowdcontrol`.`Answer`.`system_response`, `crowdcontrol`.`Answer`.`hash`, count(`crowdcontrol`.`Rating_Reservation`.`idReserverd_Rating`) as `count` from `crowdcontrol`.`Answer` left outer join `crowdcontrol`.`Rating_Reservation` on (`crowdcontrol`.`Rating_Reservation`.`answer` = `crowdcontrol`.`Answer`.`id_answer` and (`crowdcontrol`.`Rating_Reservation`.`used` = true or `crowdcontrol`.`Rating_Reservation`.`timestamp` >= {ts '2016-03-17 14:14:10.399'})) where (`crowdcontrol`.`Answer`.`experiment` = 20 and `crowdcontrol`.`Answer`.`worker_id` <> 37 and `crowdcontrol`.`Answer`.`id_answer` not in (select `crowdcontrol`.`Rating_Reservation`.`answer` from `crowdcontrol`.`Rating_Reservation` where (`crowdcontrol`.`Rating_Reservation`.`worker` = 37 and `crowdcontrol`.`Rating_Reservation`.`experiment` = 20)) and ((`crowdcontrol`.`Answer`.`quality_assured` = true and `crowdcontrol`.`Answer`.`quality` <> 0) or true)) group by `crowdcontrol`.`Answer`.`id_answer`, `crowdcontrol`.`Answer`.`experiment`, `crowdcontrol`.`Answer`.`answer`, `crowdcontrol`.`Answer`.`timestamp`, `crowdcontrol`.`Answer`.`worker_id`, `crowdcontrol`.`Answer`.`reservation`, `crowdcontrol`.`Answer`.`quality`, `crowdcontrol`.`Answer`.`quality_assured`, `crowdcontrol`.`Answer`.`system_response`, `crowdcontrol`.`Answer`.`hash` having `count` < (select `crowdcontrol`.`Experiment`.`ratings_per_answer` from `crowdcontrol`.`Experiment` where `crowdcontrol`.`Experiment`.`id_experiment` = 20) order by `crowdcontrol`.`Answer`.`quality_assured` desc limit 3
16:14:10.405 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Query executed : Total: 5.02ms
16:14:10.407 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Fetched result : +---------+----------+------+---------------------+---------+-----------+-------+---------------+---------------+------+-----+
16:14:10.407 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : |id_answer|experiment|answer|timestamp |worker_id|reservation|quality|quality_assured|system_response| hash|count|
16:14:10.408 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : +---------+----------+------+---------------------+---------+-----------+-------+---------------+---------------+------+-----+
16:14:10.408 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : | 36| 20|bla |2016-03-17 16:13:34.0| 36| 53| {null}|{null} |{null} |{null}| 0|
16:14:10.408 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : | 37| 20|bla |2016-03-17 16:13:37.0| 36| 52| {null}|{null} |{null} |{null}| 0|
16:14:10.409 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : | 38| 20|bla |2016-03-17 16:13:39.0| 36| 51| {null}|{null} |{null} |{null}| 0|
16:14:10.409 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : +---------+----------+------+---------------------+---------+-----------+-------+---------------+---------------+------+-----+
16:14:10.409 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Finishing : Total: 9.439ms, +4.419ms
16:14:10.411 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Executing batch query : insert into `crowdcontrol`.`Rating_Reservation` (`idReserverd_Rating`, `worker`, `experiment`, `answer`, `timestamp`, `used`) values (?, ?, ?, ?, ?, ?)
16:14:10.414 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Query executed : Total: 2.792ms
16:14:10.414 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Finishing : Total: 3.296ms, +0.503ms
16:14:10.414 [ratpack-compute-1-3] DEBUG o.j.i.DefaultConnectionProvider - release savepoint
16:14:10.415 [ratpack-compute-1-3] DEBUG o.j.i.DefaultConnectionProvider - commit
16:14:10.426 [ratpack-compute-1-3] DEBUG o.j.i.DefaultConnectionProvider - setting auto commit : true
16:14:10.427 [ratpack-compute-1-3] TRACE e.k.i.c.w.d.o.ExperimentsPlatformOperations - Worker 37 can rate [+---------+----------+------+---------------------+---------+-----------+-------+---------------+---------------+------+
|id_answer|experiment|answer|timestamp |worker_id|reservation|quality|quality_assured|system_response| hash|
+---------+----------+------+---------------------+---------+-----------+-------+---------------+---------------+------+
| 36| 20|bla |2016-03-17 16:13:34.0| 36| 53| {null}|{null} |{null} |{null}|
+---------+----------+------+---------------------+---------+-----------+-------+---------------+---------------+------+, +---------+----------+------+---------------------+---------+-----------+-------+---------------+---------------+------+
|id_answer|experiment|answer|timestamp |worker_id|reservation|quality|quality_assured|system_response| hash|
+---------+----------+------+---------------------+---------+-----------+-------+---------------+---------------+------+
| 37| 20|bla |2016-03-17 16:13:37.0| 36| 52| {null}|{null} |{null} |{null}|
+---------+----------+------+---------------------+---------+-----------+-------+---------------+---------------+------+, +---------+----------+------+---------------------+---------+-----------+-------+---------------+---------------+------+
|id_answer|experiment|answer|timestamp |worker_id|reservation|quality|quality_assured|system_response| hash|
+---------+----------+------+---------------------+---------+-----------+-------+---------------+---------------+------+
| 38| 20|bla |2016-03-17 16:13:39.0| 36| 51| {null}|{null} |{null} |{null}|
+---------+----------+------+---------------------+---------+-----------+-------+---------------+---------------+------+]
16:14:10.428 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Rating_Reservation`.`idReserverd_Rating`, `crowdcontrol`.`Rating_Reservation`.`worker`, `crowdcontrol`.`Rating_Reservation`.`experiment`, `crowdcontrol`.`Rating_Reservation`.`answer`, `crowdcontrol`.`Rating_Reservation`.`timestamp`, `crowdcontrol`.`Rating_Reservation`.`used` from `crowdcontrol`.`Rating_Reservation` where (`crowdcontrol`.`Rating_Reservation`.`answer` in (?, ?, ?) and `crowdcontrol`.`Rating_Reservation`.`worker` = ?)
16:14:10.429 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Rating_Reservation`.`idReserverd_Rating`, `crowdcontrol`.`Rating_Reservation`.`worker`, `crowdcontrol`.`Rating_Reservation`.`experiment`, `crowdcontrol`.`Rating_Reservation`.`answer`, `crowdcontrol`.`Rating_Reservation`.`timestamp`, `crowdcontrol`.`Rating_Reservation`.`used` from `crowdcontrol`.`Rating_Reservation` where (`crowdcontrol`.`Rating_Reservation`.`answer` in (36, 37, 38) and `crowdcontrol`.`Rating_Reservation`.`worker` = 37)
16:14:10.434 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Query executed : Total: 6.142ms
16:14:10.436 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Fetched result : +------------------+------+----------+------+---------------------+-----+
16:14:10.436 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : |idReserverd_Rating|worker|experiment|answer|timestamp |used |
16:14:10.436 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : +------------------+------+----------+------+---------------------+-----+
16:14:10.436 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : | 23| 37| 20| 36|2016-03-17 14:14:10.0|false|
16:14:10.436 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : | 24| 37| 20| 37|2016-03-17 14:14:10.0|false|
16:14:10.436 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : | 25| 37| 20| 38|2016-03-17 14:14:10.0|false|
16:14:10.436 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : +------------------+------+----------+------+---------------------+-----+
16:14:10.436 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Finishing : Total: 7.984ms, +1.841ms
16:14:10.438 [ratpack-compute-1-3] TRACE e.k.i.c.w.q.TaskChooserAlgorithm - worker 37 can rate [id: 23
answer_id: 36
answer: "bla"
, id: 24
answer_id: 37
answer: "bla"
, id: 25
answer_id: 38
answer: "bla"
]
16:14:10.438 [ratpack-compute-1-3] TRACE e.k.i.c.w.q.TaskChooserAlgorithm - task chooser prepared builder
16:14:10.439 [ratpack-compute-1-3] DEBUG e.k.i.c.w.q.Queries - returning view: type: RATING
title: "Calibtest"
description: "test"
answers_to_rate {
id: 23
answer_id: 36
answer: "bla"
}
answers_to_rate {
id: 24
answer_id: 37
answer: "bla"
}
answers_to_rate {
id: 25
answer_id: 38
answer: "bla"
}
rating_options {
value: 9
description: "good"
}
rating_options {
description: "bad"
}
constraints {
id: 35
name: "a"
}
constraints {
id: 36
name: "b"
}
constraints {
id: 37
name: "C"
}
constraints {
id: 38
name: "d"
}
16:14:12.163 [HikariPool-0 housekeeper] DEBUG c.z.h.p.HikariPool - HikariPool-0 - Pool stats (total=10, active=1, idle=9, waiting=0)
16:14:18.790 [ratpack-compute-1-3] DEBUG e.k.i.c.w.c.Commands - Request to submit rating rating_id: 23
rating: 9
experiment: 20
answer_id: 36
for worker 37.
16:14:18.796 [ratpack-compute-1-3] DEBUG e.k.i.c.w.o.Communication - Trying to submit rating reservation: 23
experiment_id: 20
rating: 9
worker: 37
for worker 37 with route /experiments/20/answers/36/rating
16:14:18.802 [ratpack-compute-1-1] DEBUG e.k.i.c.w.c.Commands - Request to submit rating rating_id: 24
rating: 9
experiment: 20
answer_id: 37
for worker 37.
16:14:18.803 [ratpack-compute-1-1] DEBUG e.k.i.c.w.o.Communication - Trying to submit rating reservation: 24
experiment_id: 20
rating: 9
worker: 37
for worker 37 with route /experiments/20/answers/37/rating
16:14:18.883 [ratpack-compute-1-4] DEBUG e.k.i.c.w.c.Commands - Request to submit rating rating_id: 25
rating: 9
experiment: 20
answer_id: 38
for worker 37.
16:14:18.887 [ratpack-compute-1-4] DEBUG e.k.i.c.w.o.Communication - Trying to submit rating reservation: 25
experiment_id: 20
rating: 9
worker: 37
for worker 37 with route /experiments/20/answers/38/rating
16:14:19.084 [I/O dispatcher 3] DEBUG e.k.i.c.w.o.Communication - Object service answered with status 201
16:14:19.084 [ratpack-compute-1-3] DEBUG e.k.i.c.w.c.Commands - Object service answered with status 201.
16:14:19.115 [I/O dispatcher 1] DEBUG e.k.i.c.w.o.Communication - Object service answered with status 201
16:14:19.115 [ratpack-compute-1-4] DEBUG e.k.i.c.w.c.Commands - Object service answered with status 201.
16:14:19.131 [I/O dispatcher 4] DEBUG e.k.i.c.w.o.Communication - Object service answered with status 201
16:14:19.139 [ratpack-compute-1-1] DEBUG e.k.i.c.w.c.Commands - Object service answered with status 201.
16:14:19.162 [ratpack-compute-1-3] TRACE e.k.i.c.w.q.Queries - skipCreative is: false
16:14:19.162 [ratpack-compute-1-3] TRACE e.k.i.c.w.q.Queries - skipRating is: false
16:14:19.167 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Executing query : select 1 as `one` from dual where exists (select `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer`, `crowdcontrol`.`Calibration_Result`.`id_calibration_result`, `crowdcontrol`.`Calibration_Result`.`worker`, `crowdcontrol`.`Calibration_Result`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`id_experiments_calibration`, `crowdcontrol`.`Experiments_Calibration`.`experiments_platform`, `crowdcontrol`.`Experiments_Calibration`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`not` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` join `crowdcontrol`.`Experiments_Calibration` on (`crowdcontrol`.`Experiments_Calibration`.`experiments_platform` in (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = ? and `crowdcontrol`.`Experiments_Platform`.`platform` = ?)) and `crowdcontrol`.`Calibration_answer_option`.`calibration` = (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` = `crowdcontrol`.`Experiments_Calibration`.`answer`) and ((`crowdcontrol`.`Experiments_Calibration`.`not` = ? and `crowdcontrol`.`Experiments_Calibration`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`) or (`crowdcontrol`.`Experiments_Calibration`.`not` = ? and `crowdcontrol`.`Experiments_Calibration`.`answer` <> `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`))) where `crowdcontrol`.`Calibration_Result`.`worker` = ?)
16:14:19.167 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - -> with bind values : select 1 as `one` from dual where exists (select `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer`, `crowdcontrol`.`Calibration_Result`.`id_calibration_result`, `crowdcontrol`.`Calibration_Result`.`worker`, `crowdcontrol`.`Calibration_Result`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`id_experiments_calibration`, `crowdcontrol`.`Experiments_Calibration`.`experiments_platform`, `crowdcontrol`.`Experiments_Calibration`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`not` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` join `crowdcontrol`.`Experiments_Calibration` on (`crowdcontrol`.`Experiments_Calibration`.`experiments_platform` in (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = 20 and `crowdcontrol`.`Experiments_Platform`.`platform` = 'dummydummy')) and `crowdcontrol`.`Calibration_answer_option`.`calibration` = (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` = `crowdcontrol`.`Experiments_Calibration`.`answer`) and ((`crowdcontrol`.`Experiments_Calibration`.`not` = true and `crowdcontrol`.`Experiments_Calibration`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`) or (`crowdcontrol`.`Experiments_Calibration`.`not` = false and `crowdcontrol`.`Experiments_Calibration`.`answer` <> `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`))) where `crowdcontrol`.`Calibration_Result`.`worker` = 37)
16:14:19.173 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Query executed : Total: 9.86ms
16:14:19.174 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Finishing : Total: 10.648ms, +0.787ms
16:14:19.174 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:14:19.174 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : | one|
16:14:19.174 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : +----+
16:14:19.175 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Worker`.`quality` from `crowdcontrol`.`Worker` where `crowdcontrol`.`Worker`.`id_worker` = ?
16:14:19.175 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Worker`.`quality` from `crowdcontrol`.`Worker` where `crowdcontrol`.`Worker`.`id_worker` = 37
16:14:19.175 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Query executed : Total: 0.871ms
16:14:19.176 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Fetched result : +-------+
16:14:19.176 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : |quality|
16:14:19.176 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : +-------+
16:14:19.176 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : | 9|
16:14:19.176 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : +-------+
16:14:19.177 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Finishing : Total: 2.028ms, +1.157ms
16:14:19.177 [ratpack-compute-1-3] DEBUG e.k.i.c.w.q.Queries - worker 37 is eligible for working on the assignment
16:14:19.177 [ratpack-compute-1-3] TRACE e.k.i.c.w.q.Queries - platform dummydummy is able to render calibrations
16:14:19.179 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Calibration`.`id_calibration`, `crowdcontrol`.`Calibration`.`property`, `crowdcontrol`.`Calibration`.`name`, `crowdcontrol`.`Calibration`.`experiment`, `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration` on `crowdcontrol`.`Calibration_answer_option`.`calibration` = `crowdcontrol`.`Calibration`.`id_calibration` where (`crowdcontrol`.`Calibration`.`id_calibration` in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` in (select `crowdcontrol`.`Experiments_Calibration`.`answer` from `crowdcontrol`.`Experiments_Calibration` where `crowdcontrol`.`Experiments_Calibration`.`experiments_platform` = (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = ? and `crowdcontrol`.`Experiments_Platform`.`platform` = ?)))) and `crowdcontrol`.`Calibration`.`id_calibration` not in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` where `crowdcontrol`.`Calibration_Result`.`worker` = ?))
16:14:19.179 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Calibration`.`id_calibration`, `crowdcontrol`.`Calibration`.`property`, `crowdcontrol`.`Calibration`.`name`, `crowdcontrol`.`Calibration`.`experiment`, `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration` on `crowdcontrol`.`Calibration_answer_option`.`calibration` = `crowdcontrol`.`Calibration`.`id_calibration` where (`crowdcontrol`.`Calibration`.`id_calibration` in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` in (select `crowdcontrol`.`Experiments_Calibration`.`answer` from `crowdcontrol`.`Experiments_Calibration` where `crowdcontrol`.`Experiments_Calibration`.`experiments_platform` = (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = 20 and `crowdcontrol`.`Experiments_Platform`.`platform` = 'dummydummy')))) and `crowdcontrol`.`Calibration`.`id_calibration` not in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` where `crowdcontrol`.`Calibration_Result`.`worker` = 37))
16:14:19.180 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Query executed : Total: 1.744ms
16:14:19.181 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Fetched result : +--------------+--------+----+----------+----------------------------+-----------+------+
16:14:19.182 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : |id_calibration|property|name|experiment|id_calibration_answer_option|calibration|answer|
16:14:19.182 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : +--------------+--------+----+----------+----------------------------+-----------+------+
16:14:19.182 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Finishing : Total: 3.284ms, +1.54ms
16:14:19.182 [ratpack-compute-1-3] TRACE e.k.i.c.w.q.Queries - worker 37 must answer the calibrations {}
16:14:19.182 [ratpack-compute-1-3] DEBUG e.k.i.c.w.q.Queries - worker 37 must not answer calibrations
16:14:19.182 [ratpack-compute-1-3] DEBUG e.k.i.c.w.q.Queries - invoking task-chooser anti_spoof
16:14:19.183 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Executing query : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` left outer join `crowdcontrol`.`Answer` on `crowdcontrol`.`Answer`.`reservation` = `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` where ((`crowdcontrol`.`Answer_Reservation`.`used` = ? or (`crowdcontrol`.`Answer_Reservation`.`timestamp` >= ? and `crowdcontrol`.`Answer_Reservation`.`worker` <> ?)) and `crowdcontrol`.`Answer_Reservation`.`experiment` = ? and ((`crowdcontrol`.`Answer`.`quality_assured` = ? and `crowdcontrol`.`Answer`.`quality` > (select `crowdcontrol`.`Experiment`.`result_quality_threshold` from `crowdcontrol`.`Experiment` where `crowdcontrol`.`Experiment`.`id_experiment` = ?)) or ?))) as `q`
16:14:19.183 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - -> with bind values : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` left outer join `crowdcontrol`.`Answer` on `crowdcontrol`.`Answer`.`reservation` = `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` where ((`crowdcontrol`.`Answer_Reservation`.`used` = true or (`crowdcontrol`.`Answer_Reservation`.`timestamp` >= {ts '2016-03-17 14:14:19.182'} and `crowdcontrol`.`Answer_Reservation`.`worker` <> 37)) and `crowdcontrol`.`Answer_Reservation`.`experiment` = 20 and ((`crowdcontrol`.`Answer`.`quality_assured` = true and `crowdcontrol`.`Answer`.`quality` > (select `crowdcontrol`.`Experiment`.`result_quality_threshold` from `crowdcontrol`.`Experiment` where `crowdcontrol`.`Experiment`.`id_experiment` = 20)) or true))) as `q`
16:14:19.187 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Query executed : Total: 4.549ms
16:14:19.187 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:14:19.187 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : | c|
16:14:19.187 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : +----+
16:14:19.187 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : | 6|
16:14:19.187 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : +----+
16:14:19.192 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Finishing : Total: 9.612ms, +5.063ms
16:14:19.192 [ratpack-compute-1-3] TRACE e.k.i.c.w.q.AntiSpoof - calculating phase for: answersCount=6, phases={1=1}, neededAnswers=10
16:14:19.192 [ratpack-compute-1-3] DEBUG e.k.i.c.w.q.AntiSpoof - entering phase 2
16:14:19.192 [ratpack-compute-1-3] TRACE e.k.i.c.w.q.TaskChooserAlgorithm - constructing view with parameters: worker-id = 37, experimentID = 20, skipCreative = false, skipRating = false
16:14:19.193 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Executing query : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation`, `crowdcontrol`.`Answer_Reservation`.`worker`, `crowdcontrol`.`Answer_Reservation`.`experiment`, `crowdcontrol`.`Answer_Reservation`.`timestamp`, `crowdcontrol`.`Answer_Reservation`.`used` from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`experiment` = ? and `crowdcontrol`.`Answer_Reservation`.`worker` = ? and `crowdcontrol`.`Answer_Reservation`.`used` = ?)) as `q`
16:14:19.193 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - -> with bind values : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation`, `crowdcontrol`.`Answer_Reservation`.`worker`, `crowdcontrol`.`Answer_Reservation`.`experiment`, `crowdcontrol`.`Answer_Reservation`.`timestamp`, `crowdcontrol`.`Answer_Reservation`.`used` from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`experiment` = 20 and `crowdcontrol`.`Answer_Reservation`.`worker` = 37 and `crowdcontrol`.`Answer_Reservation`.`used` = true)) as `q`
16:14:19.194 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Query executed : Total: 1.863ms
16:14:19.195 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:14:19.195 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : | c|
16:14:19.195 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : +----+
16:14:19.195 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : | 3|
16:14:19.195 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : +----+
16:14:19.197 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Finishing : Total: 3.907ms, +2.043ms
16:14:19.197 [ratpack-compute-1-3] DEBUG e.k.i.c.w.q.TaskChooserAlgorithm - worker 37 has answered 3 times, max. is 3
16:14:19.198 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Executing query : select count(*) as `c` from (select `crowdcontrol`.`Rating`.`id_rating`, `crowdcontrol`.`Rating`.`experiment`, `crowdcontrol`.`Rating`.`answer_r`, `crowdcontrol`.`Rating`.`timestamp`, `crowdcontrol`.`Rating`.`rating`, `crowdcontrol`.`Rating`.`reservation`, `crowdcontrol`.`Rating`.`feedback`, `crowdcontrol`.`Rating`.`worker_id`, `crowdcontrol`.`Rating`.`quality` from `crowdcontrol`.`Rating` where (`crowdcontrol`.`Rating`.`experiment` = ? and `crowdcontrol`.`Rating`.`worker_id` = ?)) as `q`
16:14:19.198 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - -> with bind values : select count(*) as `c` from (select `crowdcontrol`.`Rating`.`id_rating`, `crowdcontrol`.`Rating`.`experiment`, `crowdcontrol`.`Rating`.`answer_r`, `crowdcontrol`.`Rating`.`timestamp`, `crowdcontrol`.`Rating`.`rating`, `crowdcontrol`.`Rating`.`reservation`, `crowdcontrol`.`Rating`.`feedback`, `crowdcontrol`.`Rating`.`worker_id`, `crowdcontrol`.`Rating`.`quality` from `crowdcontrol`.`Rating` where (`crowdcontrol`.`Rating`.`experiment` = 20 and `crowdcontrol`.`Rating`.`worker_id` = 37)) as `q`
16:14:19.199 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Query executed : Total: 2.061ms
16:14:19.200 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:14:19.200 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : | c|
16:14:19.200 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : +----+
16:14:19.200 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : | 3|
16:14:19.200 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : +----+
16:14:19.200 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Finishing : Total: 2.779ms, +0.717ms
16:14:19.200 [ratpack-compute-1-3] DEBUG e.k.i.c.w.q.TaskChooserAlgorithm - worker 37 has rated 3 times, max. is 3
16:14:19.200 [ratpack-compute-1-3] TRACE e.k.i.c.w.q.TaskChooserAlgorithm - skipping both
16:14:19.201 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Executing query : select 1 as `one` from dual where exists (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`worker` = ? and `crowdcontrol`.`Answer_Reservation`.`experiment` = ? and `crowdcontrol`.`Answer_Reservation`.`used` = ?))
16:14:19.201 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - -> with bind values : select 1 as `one` from dual where exists (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`worker` = 37 and `crowdcontrol`.`Answer_Reservation`.`experiment` = 20 and `crowdcontrol`.`Answer_Reservation`.`used` = true))
16:14:19.202 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Query executed : Total: 1.369ms
16:14:19.202 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:14:19.202 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : | one|
16:14:19.202 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : +----+
16:14:19.202 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : | 1|
16:14:19.202 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : +----+
16:14:19.203 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Finishing : Total: 2.112ms, +0.742ms
16:14:19.203 [ratpack-compute-1-3] DEBUG e.k.i.c.w.q.Queries - returning view:
16:14:39.368 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Experiment`.`id_experiment`, `crowdcontrol`.`Experiment`.`title`, `crowdcontrol`.`Experiment`.`description`, `crowdcontrol`.`Experiment`.`description_raw`, `crowdcontrol`.`Experiment`.`needed_answers`, `crowdcontrol`.`Experiment`.`ratings_per_answer`, `crowdcontrol`.`Experiment`.`anwers_per_worker`, `crowdcontrol`.`Experiment`.`ratings_per_worker`, `crowdcontrol`.`Experiment`.`answer_type`, `crowdcontrol`.`Experiment`.`algorithm_task_chooser`, `crowdcontrol`.`Experiment`.`algorithm_quality_answer`, `crowdcontrol`.`Experiment`.`algorithm_quality_rating`, `crowdcontrol`.`Experiment`.`base_payment`, `crowdcontrol`.`Experiment`.`bonus_answer`, `crowdcontrol`.`Experiment`.`bonus_rating`, `crowdcontrol`.`Experiment`.`template_data`, `crowdcontrol`.`Experiment`.`template`, `crowdcontrol`.`Experiment`.`worker_quality_threshold`, `crowdcontrol`.`Experiment`.`result_quality_threshold` from `crowdcontrol`.`Experiment` where `crowdcontrol`.`Experiment`.`id_experiment` = ?
16:14:39.368 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Experiment`.`id_experiment`, `crowdcontrol`.`Experiment`.`title`, `crowdcontrol`.`Experiment`.`description`, `crowdcontrol`.`Experiment`.`description_raw`, `crowdcontrol`.`Experiment`.`needed_answers`, `crowdcontrol`.`Experiment`.`ratings_per_answer`, `crowdcontrol`.`Experiment`.`anwers_per_worker`, `crowdcontrol`.`Experiment`.`ratings_per_worker`, `crowdcontrol`.`Experiment`.`answer_type`, `crowdcontrol`.`Experiment`.`algorithm_task_chooser`, `crowdcontrol`.`Experiment`.`algorithm_quality_answer`, `crowdcontrol`.`Experiment`.`algorithm_quality_rating`, `crowdcontrol`.`Experiment`.`base_payment`, `crowdcontrol`.`Experiment`.`bonus_answer`, `crowdcontrol`.`Experiment`.`bonus_rating`, `crowdcontrol`.`Experiment`.`template_data`, `crowdcontrol`.`Experiment`.`template`, `crowdcontrol`.`Experiment`.`worker_quality_threshold`, `crowdcontrol`.`Experiment`.`result_quality_threshold` from `crowdcontrol`.`Experiment` where `crowdcontrol`.`Experiment`.`id_experiment` = 10
16:14:39.370 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Query executed : Total: 1.558ms
16:14:39.370 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Fetched result : +-------------+---------------------+----------------+----------------+--------------+------------------+-----------------+------------------+-----------+----------------------+------------------------+---------------------------+------------+------------+------------+-------------+--------+------------------------+------------------------+
16:14:39.370 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : |id_experiment|title |description |description_raw |needed_answers|ratings_per_answer|anwers_per_worker|ratings_per_worker|answer_type|algorithm_task_chooser|algorithm_quality_answer|algorithm_quality_rating |base_payment|bonus_answer|bonus_rating|template_data|template|worker_quality_threshold|result_quality_threshold|
16:14:39.370 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : +-------------+---------------------+----------------+----------------+--------------+------------------+-----------------+------------------+-----------+----------------------+------------------------+---------------------------+------------+------------+------------+-------------+--------+------------------------+------------------------+
16:14:39.370 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : | 10|Hot Summernight Test5|a test for mturk|a test for mturk| 2| 3| 1| 3|{null} |anti_spoof |AnswerQualityByRatings |RatingQualityByDistribution| 5| 10| 10|{null} | {null}| 0| 4|
16:14:39.370 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : +-------------+---------------------+----------------+----------------+--------------+------------------+-----------------+------------------+-----------+----------------------+------------------------+---------------------------+------------+------------+------------+-------------+--------+------------------------+------------------------+
16:14:39.372 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Finishing : Total: 3.999ms, +2.441ms
16:14:39.373 [ratpack-compute-1-3] TRACE e.k.i.c.w.q.Queries - skipCreative is: false
16:14:39.373 [ratpack-compute-1-3] TRACE e.k.i.c.w.q.Queries - skipRating is: false
16:14:39.374 [ratpack-compute-1-3] DEBUG e.k.i.c.w.q.Queries - handling no worker-id
16:14:39.374 [ratpack-compute-1-3] DEBUG e.k.i.c.w.o.Communication - Trying to get workerId for parameter {workerId=[121], assignmentId=[1234]} with route /workers/dummydummy/identity from platform dummydummy.
16:14:39.385 [I/O dispatcher 4] DEBUG e.k.i.c.w.o.Communication - Object service answered with status 404
16:14:39.385 [I/O dispatcher 4] DEBUG e.k.i.c.w.q.Queries - platform dummydummy returned nothing
16:14:39.386 [ratpack-compute-1-3] TRACE e.k.i.c.w.q.Queries - email without workerid
16:14:39.387 [ratpack-compute-1-3] DEBUG e.k.i.c.w.q.Queries - returning view: type: EMAIL
16:14:42.164 [HikariPool-0 housekeeper] DEBUG c.z.h.p.HikariPool - HikariPool-0 - Pool stats (total=10, active=1, idle=9, waiting=0)
16:14:43.774 [ratpack-compute-1-3] DEBUG e.k.i.c.w.c.Commands - Request submit to submit email email: "b@aasdf.de"
platform_parameters {
key: "workerId"
values: "121"
}
platform_parameters {
key: "assignmentId"
values: "1234"
}
for platform dummydummy
16:14:43.775 [ratpack-compute-1-3] TRACE e.k.i.c.w.o.Communication - Request to get WorkerID for email b@aasdf.de.
16:14:43.775 [ratpack-compute-1-3] DEBUG e.k.i.c.w.o.Communication - Trying to get workerId for parameter {workerId=[121], assignmentId=[1234], email=[b@aasdf.de]} with route /workers/dummydummy/identity from platform dummydummy.
16:14:43.801 [I/O dispatcher 4] DEBUG e.k.i.c.w.o.Communication - Object service answered with status 200
16:14:43.801 [I/O dispatcher 4] DEBUG e.k.i.c.w.o.Communication - Request to patch worker 38 with new email b@aasdf.de for route /workers/38.
16:14:43.827 [I/O dispatcher 4] DEBUG e.k.i.c.w.o.Communication - Object service answered with status 200
16:14:43.828 [ratpack-compute-1-3] DEBUG e.k.i.c.w.JWTHelper - encoding JWT for workerID
16:14:43.828 [ratpack-compute-1-3] DEBUG e.k.i.c.w.c.Commands - Answer from Object-Service for submitting email email: "b@aasdf.de"
platform_parameters {
key: "workerId"
values: "121"
}
platform_parameters {
key: "assignmentId"
values: "1234"
}
: authorization: "eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIzOCJ9.fCvtf_9vAgtFvhW-wsUydb5Ky31wwBi5p1RcBFPMGvU"
16:14:43.855 [ratpack-compute-1-3] TRACE e.k.i.c.w.q.Queries - skipCreative is: false
16:14:43.856 [ratpack-compute-1-3] TRACE e.k.i.c.w.q.Queries - skipRating is: false
16:14:43.856 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Executing query : select 1 as `one` from dual where exists (select `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer`, `crowdcontrol`.`Calibration_Result`.`id_calibration_result`, `crowdcontrol`.`Calibration_Result`.`worker`, `crowdcontrol`.`Calibration_Result`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`id_experiments_calibration`, `crowdcontrol`.`Experiments_Calibration`.`experiments_platform`, `crowdcontrol`.`Experiments_Calibration`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`not` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` join `crowdcontrol`.`Experiments_Calibration` on (`crowdcontrol`.`Experiments_Calibration`.`experiments_platform` in (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = ? and `crowdcontrol`.`Experiments_Platform`.`platform` = ?)) and `crowdcontrol`.`Calibration_answer_option`.`calibration` = (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` = `crowdcontrol`.`Experiments_Calibration`.`answer`) and ((`crowdcontrol`.`Experiments_Calibration`.`not` = ? and `crowdcontrol`.`Experiments_Calibration`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`) or (`crowdcontrol`.`Experiments_Calibration`.`not` = ? and `crowdcontrol`.`Experiments_Calibration`.`answer` <> `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`))) where `crowdcontrol`.`Calibration_Result`.`worker` = ?)
16:14:43.856 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - -> with bind values : select 1 as `one` from dual where exists (select `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer`, `crowdcontrol`.`Calibration_Result`.`id_calibration_result`, `crowdcontrol`.`Calibration_Result`.`worker`, `crowdcontrol`.`Calibration_Result`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`id_experiments_calibration`, `crowdcontrol`.`Experiments_Calibration`.`experiments_platform`, `crowdcontrol`.`Experiments_Calibration`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`not` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` join `crowdcontrol`.`Experiments_Calibration` on (`crowdcontrol`.`Experiments_Calibration`.`experiments_platform` in (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = 10 and `crowdcontrol`.`Experiments_Platform`.`platform` = 'dummydummy')) and `crowdcontrol`.`Calibration_answer_option`.`calibration` = (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` = `crowdcontrol`.`Experiments_Calibration`.`answer`) and ((`crowdcontrol`.`Experiments_Calibration`.`not` = true and `crowdcontrol`.`Experiments_Calibration`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`) or (`crowdcontrol`.`Experiments_Calibration`.`not` = false and `crowdcontrol`.`Experiments_Calibration`.`answer` <> `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`))) where `crowdcontrol`.`Calibration_Result`.`worker` = 38)
16:14:43.862 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Query executed : Total: 6.218ms
16:14:43.863 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Finishing : Total: 6.71ms, +0.492ms
16:14:43.863 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:14:43.863 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : | one|
16:14:43.863 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : +----+
16:14:43.864 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Worker`.`quality` from `crowdcontrol`.`Worker` where `crowdcontrol`.`Worker`.`id_worker` = ?
16:14:43.864 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Worker`.`quality` from `crowdcontrol`.`Worker` where `crowdcontrol`.`Worker`.`id_worker` = 38
16:14:43.865 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Query executed : Total: 1.006ms
16:14:43.865 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Fetched result : +-------+
16:14:43.865 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : |quality|
16:14:43.865 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : +-------+
16:14:43.865 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : | 9|
16:14:43.865 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : +-------+
16:14:43.865 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Finishing : Total: 1.763ms, +0.757ms
16:14:43.866 [ratpack-compute-1-3] DEBUG e.k.i.c.w.q.Queries - worker 38 is eligible for working on the assignment
16:14:43.866 [ratpack-compute-1-3] TRACE e.k.i.c.w.q.Queries - platform dummydummy is able to render calibrations
16:14:43.866 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Calibration`.`id_calibration`, `crowdcontrol`.`Calibration`.`property`, `crowdcontrol`.`Calibration`.`name`, `crowdcontrol`.`Calibration`.`experiment`, `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration` on `crowdcontrol`.`Calibration_answer_option`.`calibration` = `crowdcontrol`.`Calibration`.`id_calibration` where (`crowdcontrol`.`Calibration`.`id_calibration` in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` in (select `crowdcontrol`.`Experiments_Calibration`.`answer` from `crowdcontrol`.`Experiments_Calibration` where `crowdcontrol`.`Experiments_Calibration`.`experiments_platform` = (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = ? and `crowdcontrol`.`Experiments_Platform`.`platform` = ?)))) and `crowdcontrol`.`Calibration`.`id_calibration` not in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` where `crowdcontrol`.`Calibration_Result`.`worker` = ?))
16:14:43.867 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Calibration`.`id_calibration`, `crowdcontrol`.`Calibration`.`property`, `crowdcontrol`.`Calibration`.`name`, `crowdcontrol`.`Calibration`.`experiment`, `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration` on `crowdcontrol`.`Calibration_answer_option`.`calibration` = `crowdcontrol`.`Calibration`.`id_calibration` where (`crowdcontrol`.`Calibration`.`id_calibration` in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` in (select `crowdcontrol`.`Experiments_Calibration`.`answer` from `crowdcontrol`.`Experiments_Calibration` where `crowdcontrol`.`Experiments_Calibration`.`experiments_platform` = (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = 10 and `crowdcontrol`.`Experiments_Platform`.`platform` = 'dummydummy')))) and `crowdcontrol`.`Calibration`.`id_calibration` not in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` where `crowdcontrol`.`Calibration_Result`.`worker` = 38))
16:14:43.869 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Query executed : Total: 2.999ms
16:14:43.869 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Fetched result : +--------------+--------+----+----------+----------------------------+-----------+------+
16:14:43.869 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : |id_calibration|property|name|experiment|id_calibration_answer_option|calibration|answer|
16:14:43.870 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : +--------------+--------+----+----------+----------------------------+-----------+------+
16:14:43.870 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Finishing : Total: 3.574ms, +0.574ms
16:14:43.870 [ratpack-compute-1-3] TRACE e.k.i.c.w.q.Queries - worker 38 must answer the calibrations {}
16:14:43.870 [ratpack-compute-1-3] DEBUG e.k.i.c.w.q.Queries - worker 38 must not answer calibrations
16:14:43.870 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Experiments_Platform_Mode`.`mode` from `crowdcontrol`.`Experiments_Platform_Mode` where `crowdcontrol`.`Experiments_Platform_Mode`.`experiments_platform` in (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = ? and `crowdcontrol`.`Experiments_Platform`.`platform` = ?)) order by `crowdcontrol`.`Experiments_Platform_Mode`.`timestamp` desc limit ?
16:14:43.870 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Experiments_Platform_Mode`.`mode` from `crowdcontrol`.`Experiments_Platform_Mode` where `crowdcontrol`.`Experiments_Platform_Mode`.`experiments_platform` in (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = 10 and `crowdcontrol`.`Experiments_Platform`.`platform` = 'dummydummy')) order by `crowdcontrol`.`Experiments_Platform_Mode`.`timestamp` desc limit 1
16:14:43.875 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Query executed : Total: 4.795ms
16:14:43.876 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Finishing : Total: 6.312ms, +1.517ms
16:14:43.877 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:14:43.877 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : |mode|
16:14:43.877 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : +----+
16:14:43.877 [ratpack-compute-1-3] DEBUG e.k.i.c.w.q.Queries - invoking task-chooser anti_spoof
16:14:43.879 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Executing query : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` left outer join `crowdcontrol`.`Answer` on `crowdcontrol`.`Answer`.`reservation` = `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` where ((`crowdcontrol`.`Answer_Reservation`.`used` = ? or (`crowdcontrol`.`Answer_Reservation`.`timestamp` >= ? and `crowdcontrol`.`Answer_Reservation`.`worker` <> ?)) and `crowdcontrol`.`Answer_Reservation`.`experiment` = ? and ((`crowdcontrol`.`Answer`.`quality_assured` = ? and `crowdcontrol`.`Answer`.`quality` > (select `crowdcontrol`.`Experiment`.`result_quality_threshold` from `crowdcontrol`.`Experiment` where `crowdcontrol`.`Experiment`.`id_experiment` = ?)) or ?))) as `q`
16:14:43.880 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - -> with bind values : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` left outer join `crowdcontrol`.`Answer` on `crowdcontrol`.`Answer`.`reservation` = `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` where ((`crowdcontrol`.`Answer_Reservation`.`used` = true or (`crowdcontrol`.`Answer_Reservation`.`timestamp` >= {ts '2016-03-17 14:14:43.877'} and `crowdcontrol`.`Answer_Reservation`.`worker` <> 38)) and `crowdcontrol`.`Answer_Reservation`.`experiment` = 10 and ((`crowdcontrol`.`Answer`.`quality_assured` = true and `crowdcontrol`.`Answer`.`quality` > (select `crowdcontrol`.`Experiment`.`result_quality_threshold` from `crowdcontrol`.`Experiment` where `crowdcontrol`.`Experiment`.`id_experiment` = 10)) or true))) as `q`
16:14:43.882 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Query executed : Total: 3.206ms
16:14:43.883 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:14:43.883 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : | c|
16:14:43.884 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : +----+
16:14:43.884 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : | 2|
16:14:43.884 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : +----+
16:14:43.885 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Finishing : Total: 6.212ms, +3.005ms
16:14:43.886 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Algorithm_Task_Chooser_Param`.`data`, `crowdcontrol`.`Chosen_Task_Chooser_Param`.`value` from `crowdcontrol`.`Chosen_Task_Chooser_Param` join `crowdcontrol`.`Algorithm_Task_Chooser_Param` on `crowdcontrol`.`Chosen_Task_Chooser_Param`.`param` = `crowdcontrol`.`Algorithm_Task_Chooser_Param`.`id_Algorithm_Task_Chooser_Param` where `crowdcontrol`.`Chosen_Task_Chooser_Param`.`experiment` = ?
16:14:43.887 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Algorithm_Task_Chooser_Param`.`data`, `crowdcontrol`.`Chosen_Task_Chooser_Param`.`value` from `crowdcontrol`.`Chosen_Task_Chooser_Param` join `crowdcontrol`.`Algorithm_Task_Chooser_Param` on `crowdcontrol`.`Chosen_Task_Chooser_Param`.`param` = `crowdcontrol`.`Algorithm_Task_Chooser_Param`.`id_Algorithm_Task_Chooser_Param` where `crowdcontrol`.`Chosen_Task_Chooser_Param`.`experiment` = 10
16:14:43.894 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Query executed : Total: 8.007ms
16:14:43.896 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Fetched result : +----+-----+
16:14:43.898 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : |data|value|
16:14:43.898 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : +----+-----+
16:14:43.898 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : |1 |1ab |
16:14:43.898 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : +----+-----+
16:14:43.898 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Finishing : Total: 11.833ms, +3.826ms
16:14:43.898 [ratpack-compute-1-3] TRACE e.k.i.c.w.q.AntiSpoof - calculating phase for: answersCount=2, phases={1=1}, neededAnswers=2
16:14:43.898 [ratpack-compute-1-3] DEBUG e.k.i.c.w.q.AntiSpoof - entering phase 3
16:14:43.898 [ratpack-compute-1-3] TRACE e.k.i.c.w.q.TaskChooserAlgorithm - constructing view with parameters: worker-id = 38, experimentID = 10, skipCreative = true, skipRating = false
16:14:43.898 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Executing query : select count(*) as `c` from (select `crowdcontrol`.`Rating`.`id_rating`, `crowdcontrol`.`Rating`.`experiment`, `crowdcontrol`.`Rating`.`answer_r`, `crowdcontrol`.`Rating`.`timestamp`, `crowdcontrol`.`Rating`.`rating`, `crowdcontrol`.`Rating`.`reservation`, `crowdcontrol`.`Rating`.`feedback`, `crowdcontrol`.`Rating`.`worker_id`, `crowdcontrol`.`Rating`.`quality` from `crowdcontrol`.`Rating` where (`crowdcontrol`.`Rating`.`experiment` = ? and `crowdcontrol`.`Rating`.`worker_id` = ?)) as `q`
16:14:43.899 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - -> with bind values : select count(*) as `c` from (select `crowdcontrol`.`Rating`.`id_rating`, `crowdcontrol`.`Rating`.`experiment`, `crowdcontrol`.`Rating`.`answer_r`, `crowdcontrol`.`Rating`.`timestamp`, `crowdcontrol`.`Rating`.`rating`, `crowdcontrol`.`Rating`.`reservation`, `crowdcontrol`.`Rating`.`feedback`, `crowdcontrol`.`Rating`.`worker_id`, `crowdcontrol`.`Rating`.`quality` from `crowdcontrol`.`Rating` where (`crowdcontrol`.`Rating`.`experiment` = 10 and `crowdcontrol`.`Rating`.`worker_id` = 38)) as `q`
16:14:43.899 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Query executed : Total: 1.152ms
16:14:43.900 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:14:43.900 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : | c|
16:14:43.900 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : +----+
16:14:43.900 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : | 0|
16:14:43.900 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : +----+
16:14:43.900 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Finishing : Total: 2.067ms, +0.914ms
16:14:43.900 [ratpack-compute-1-3] DEBUG e.k.i.c.w.q.TaskChooserAlgorithm - worker 38 has rated 0 times, max. is 3
16:14:43.901 [ratpack-compute-1-3] DEBUG e.k.i.c.w.q.TaskChooserAlgorithm - returning rating-view
16:14:43.901 [ratpack-compute-1-3] DEBUG e.k.i.c.w.q.TaskChooserAlgorithm - task chooser constructs rating-view
16:14:43.901 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Answer`.`id_answer`, `crowdcontrol`.`Answer`.`experiment`, `crowdcontrol`.`Answer`.`answer`, `crowdcontrol`.`Answer`.`timestamp`, `crowdcontrol`.`Answer`.`worker_id`, `crowdcontrol`.`Answer`.`reservation`, `crowdcontrol`.`Answer`.`quality`, `crowdcontrol`.`Answer`.`quality_assured`, `crowdcontrol`.`Answer`.`system_response`, `crowdcontrol`.`Answer`.`hash`, count(`crowdcontrol`.`Rating`.`id_rating`) as `count` from `crowdcontrol`.`Answer` left outer join `crowdcontrol`.`Rating` on (`crowdcontrol`.`Rating`.`answer_r` = `crowdcontrol`.`Answer`.`id_answer` and (`crowdcontrol`.`Rating`.`rating` is not null or `crowdcontrol`.`Rating`.`timestamp` >= ?)) where (`crowdcontrol`.`Answer`.`worker_id` <> ? and `crowdcontrol`.`Answer`.`experiment` = ?) group by `crowdcontrol`.`Answer`.`id_answer`, `crowdcontrol`.`Answer`.`experiment`, `crowdcontrol`.`Answer`.`answer`, `crowdcontrol`.`Answer`.`timestamp`, `crowdcontrol`.`Answer`.`worker_id`, `crowdcontrol`.`Answer`.`reservation`, `crowdcontrol`.`Answer`.`quality`, `crowdcontrol`.`Answer`.`quality_assured`, `crowdcontrol`.`Answer`.`system_response`, `crowdcontrol`.`Answer`.`hash`
16:14:43.901 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Answer`.`id_answer`, `crowdcontrol`.`Answer`.`experiment`, `crowdcontrol`.`Answer`.`answer`, `crowdcontrol`.`Answer`.`timestamp`, `crowdcontrol`.`Answer`.`worker_id`, `crowdcontrol`.`Answer`.`reservation`, `crowdcontrol`.`Answer`.`quality`, `crowdcontrol`.`Answer`.`quality_assured`, `crowdcontrol`.`Answer`.`system_response`, `crowdcontrol`.`Answer`.`hash`, count(`crowdcontrol`.`Rating`.`id_rating`) as `count` from `crowdcontrol`.`Answer` left outer join `crowdcontrol`.`Rating` on (`crowdcontrol`.`Rating`.`answer_r` = `crowdcontrol`.`Answer`.`id_answer` and (`crowdcontrol`.`Rating`.`rating` is not null or `crowdcontrol`.`Rating`.`timestamp` >= {ts '2016-03-17 14:14:43.901'})) where (`crowdcontrol`.`Answer`.`worker_id` <> 38 and `crowdcontrol`.`Answer`.`experiment` = 10) group by `crowdcontrol`.`Answer`.`id_answer`, `crowdcontrol`.`Answer`.`experiment`, `crowdcontrol`.`Answer`.`answer`, `crowdcontrol`.`Answer`.`timestamp`, `crowdcontrol`.`Answer`.`worker_id`, `crowdcontrol`.`Answer`.`reservation`, `crowdcontrol`.`Answer`.`quality`, `crowdcontrol`.`Answer`.`quality_assured`, `crowdcontrol`.`Answer`.`system_response`, `crowdcontrol`.`Answer`.`hash`
16:14:43.903 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Query executed : Total: 1.923ms
16:14:43.905 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Fetched result : +---------+----------+------+---------------------+---------+-----------+-------+---------------+---------------+------+-----+
16:14:43.905 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : |id_answer|experiment|answer|timestamp |worker_id|reservation|quality|quality_assured|system_response| hash|count|
16:14:43.905 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : +---------+----------+------+---------------------+---------+-----------+-------+---------------+---------------+------+-----+
16:14:43.905 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : | 12| 10|it is |2016-03-15 21:59:28.0| 13| 18| 0|{null} |{null} |{null}| 0|
16:14:43.905 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : | 13| 10|bla2 |2016-03-15 22:00:11.0| 14| 19| {null}|{null} |{null} |{null}| 0|
16:14:43.905 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : +---------+----------+------+---------------------+---------+-----------+-------+---------------+---------------+------+-----+
16:14:43.905 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Finishing : Total: 3.939ms, +2.016ms
16:14:43.905 [ratpack-compute-1-3] TRACE e.k.i.c.w.q.TaskChooserAlgorithm - all the answers belonging to the experiment not from the worker with their count (max rating per answer is 3): +---------+----------+------+---------------------+---------+-----------+-------+---------------+---------------+------+-----+
|id_answer|experiment|answer|timestamp |worker_id|reservation|quality|quality_assured|system_response| hash|count|
+---------+----------+------+---------------------+---------+-----------+-------+---------------+---------------+------+-----+
| 12| 10|it is |2016-03-15 21:59:28.0| 13| 18| 0|{null} |{null} |{null}| 0|
| 13| 10|bla2 |2016-03-15 22:00:11.0| 14| 19| {null}|{null} |{null} |{null}| 0|
+---------+----------+------+---------------------+---------+-----------+-------+---------------+---------------+------+-----+
16:14:43.905 [ratpack-compute-1-3] DEBUG o.j.i.DefaultConnectionProvider - setting auto commit : false
16:14:43.906 [ratpack-compute-1-3] DEBUG o.j.i.DefaultConnectionProvider - set savepoint
16:14:43.907 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Answer`.`id_answer`, `crowdcontrol`.`Answer`.`experiment`, `crowdcontrol`.`Answer`.`answer`, `crowdcontrol`.`Answer`.`timestamp`, `crowdcontrol`.`Answer`.`worker_id`, `crowdcontrol`.`Answer`.`reservation`, `crowdcontrol`.`Answer`.`quality`, `crowdcontrol`.`Answer`.`quality_assured`, `crowdcontrol`.`Answer`.`system_response`, `crowdcontrol`.`Answer`.`hash`, `crowdcontrol`.`Rating_Reservation`.`idReserverd_Rating` from `crowdcontrol`.`Answer` join `crowdcontrol`.`Rating_Reservation` on (`crowdcontrol`.`Rating_Reservation`.`worker` = ? and `crowdcontrol`.`Rating_Reservation`.`experiment` = ? and `crowdcontrol`.`Rating_Reservation`.`answer` = `crowdcontrol`.`Answer`.`id_answer`)
16:14:43.907 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Answer`.`id_answer`, `crowdcontrol`.`Answer`.`experiment`, `crowdcontrol`.`Answer`.`answer`, `crowdcontrol`.`Answer`.`timestamp`, `crowdcontrol`.`Answer`.`worker_id`, `crowdcontrol`.`Answer`.`reservation`, `crowdcontrol`.`Answer`.`quality`, `crowdcontrol`.`Answer`.`quality_assured`, `crowdcontrol`.`Answer`.`system_response`, `crowdcontrol`.`Answer`.`hash`, `crowdcontrol`.`Rating_Reservation`.`idReserverd_Rating` from `crowdcontrol`.`Answer` join `crowdcontrol`.`Rating_Reservation` on (`crowdcontrol`.`Rating_Reservation`.`worker` = 38 and `crowdcontrol`.`Rating_Reservation`.`experiment` = 10 and `crowdcontrol`.`Rating_Reservation`.`answer` = `crowdcontrol`.`Answer`.`id_answer`)
16:14:43.908 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Query executed : Total: 1.429ms
16:14:43.909 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Fetched result : +---------+----------+------+---------+---------+-----------+-------+---------------+---------------+----+------------------+
16:14:43.909 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : |id_answer|experiment|answer|timestamp|worker_id|reservation|quality|quality_assured|system_response|hash|idReserverd_Rating|
16:14:43.909 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : +---------+----------+------+---------+---------+-----------+-------+---------------+---------------+----+------------------+
16:14:43.909 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Finishing : Total: 2.203ms, +0.774ms
16:14:43.909 [ratpack-compute-1-3] TRACE e.k.i.c.w.d.o.ExperimentsPlatformOperations - Worker 38 has reserved open ratings {}.
16:14:43.910 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Executing query : update `crowdcontrol`.`Rating_Reservation` set `crowdcontrol`.`Rating_Reservation`.`timestamp` = ? where 1 = 0
16:14:43.910 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - -> with bind values : update `crowdcontrol`.`Rating_Reservation` set `crowdcontrol`.`Rating_Reservation`.`timestamp` = {ts '2016-03-17 16:14:43.909'} where 1 = 0
16:14:43.911 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Affected row(s) : 0
16:14:43.911 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Query executed : Total: 1.546ms
16:14:43.912 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Finishing : Total: 2.121ms, +0.574ms
16:14:43.912 [ratpack-compute-1-3] TRACE e.k.i.c.w.d.o.ExperimentsPlatformOperations - Reserving 3 new Ratings for worker 38.
16:14:43.913 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Answer`.`id_answer`, `crowdcontrol`.`Answer`.`experiment`, `crowdcontrol`.`Answer`.`answer`, `crowdcontrol`.`Answer`.`timestamp`, `crowdcontrol`.`Answer`.`worker_id`, `crowdcontrol`.`Answer`.`reservation`, `crowdcontrol`.`Answer`.`quality`, `crowdcontrol`.`Answer`.`quality_assured`, `crowdcontrol`.`Answer`.`system_response`, `crowdcontrol`.`Answer`.`hash`, count(`crowdcontrol`.`Rating_Reservation`.`idReserverd_Rating`) as `count` from `crowdcontrol`.`Answer` left outer join `crowdcontrol`.`Rating_Reservation` on (`crowdcontrol`.`Rating_Reservation`.`answer` = `crowdcontrol`.`Answer`.`id_answer` and (`crowdcontrol`.`Rating_Reservation`.`used` = ? or `crowdcontrol`.`Rating_Reservation`.`timestamp` >= ?)) where (`crowdcontrol`.`Answer`.`experiment` = ? and `crowdcontrol`.`Answer`.`worker_id` <> ? and `crowdcontrol`.`Answer`.`id_answer` not in (select `crowdcontrol`.`Rating_Reservation`.`answer` from `crowdcontrol`.`Rating_Reservation` where (`crowdcontrol`.`Rating_Reservation`.`worker` = ? and `crowdcontrol`.`Rating_Reservation`.`experiment` = ?)) and ((`crowdcontrol`.`Answer`.`quality_assured` = ? and `crowdcontrol`.`Answer`.`quality` <> ?) or ?)) group by `crowdcontrol`.`Answer`.`id_answer`, `crowdcontrol`.`Answer`.`experiment`, `crowdcontrol`.`Answer`.`answer`, `crowdcontrol`.`Answer`.`timestamp`, `crowdcontrol`.`Answer`.`worker_id`, `crowdcontrol`.`Answer`.`reservation`, `crowdcontrol`.`Answer`.`quality`, `crowdcontrol`.`Answer`.`quality_assured`, `crowdcontrol`.`Answer`.`system_response`, `crowdcontrol`.`Answer`.`hash` having `count` < (select `crowdcontrol`.`Experiment`.`ratings_per_answer` from `crowdcontrol`.`Experiment` where `crowdcontrol`.`Experiment`.`id_experiment` = ?) order by `crowdcontrol`.`Answer`.`quality_assured` desc limit ?
16:14:43.915 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Answer`.`id_answer`, `crowdcontrol`.`Answer`.`experiment`, `crowdcontrol`.`Answer`.`answer`, `crowdcontrol`.`Answer`.`timestamp`, `crowdcontrol`.`Answer`.`worker_id`, `crowdcontrol`.`Answer`.`reservation`, `crowdcontrol`.`Answer`.`quality`, `crowdcontrol`.`Answer`.`quality_assured`, `crowdcontrol`.`Answer`.`system_response`, `crowdcontrol`.`Answer`.`hash`, count(`crowdcontrol`.`Rating_Reservation`.`idReserverd_Rating`) as `count` from `crowdcontrol`.`Answer` left outer join `crowdcontrol`.`Rating_Reservation` on (`crowdcontrol`.`Rating_Reservation`.`answer` = `crowdcontrol`.`Answer`.`id_answer` and (`crowdcontrol`.`Rating_Reservation`.`used` = true or `crowdcontrol`.`Rating_Reservation`.`timestamp` >= {ts '2016-03-17 14:14:43.912'})) where (`crowdcontrol`.`Answer`.`experiment` = 10 and `crowdcontrol`.`Answer`.`worker_id` <> 38 and `crowdcontrol`.`Answer`.`id_answer` not in (select `crowdcontrol`.`Rating_Reservation`.`answer` from `crowdcontrol`.`Rating_Reservation` where (`crowdcontrol`.`Rating_Reservation`.`worker` = 38 and `crowdcontrol`.`Rating_Reservation`.`experiment` = 10)) and ((`crowdcontrol`.`Answer`.`quality_assured` = true and `crowdcontrol`.`Answer`.`quality` <> 0) or true)) group by `crowdcontrol`.`Answer`.`id_answer`, `crowdcontrol`.`Answer`.`experiment`, `crowdcontrol`.`Answer`.`answer`, `crowdcontrol`.`Answer`.`timestamp`, `crowdcontrol`.`Answer`.`worker_id`, `crowdcontrol`.`Answer`.`reservation`, `crowdcontrol`.`Answer`.`quality`, `crowdcontrol`.`Answer`.`quality_assured`, `crowdcontrol`.`Answer`.`system_response`, `crowdcontrol`.`Answer`.`hash` having `count` < (select `crowdcontrol`.`Experiment`.`ratings_per_answer` from `crowdcontrol`.`Experiment` where `crowdcontrol`.`Experiment`.`id_experiment` = 10) order by `crowdcontrol`.`Answer`.`quality_assured` desc limit 3
16:14:43.917 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Query executed : Total: 4.139ms
16:14:43.918 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Fetched result : +---------+----------+------+---------------------+---------+-----------+-------+---------------+---------------+------+-----+
16:14:43.918 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : |id_answer|experiment|answer|timestamp |worker_id|reservation|quality|quality_assured|system_response| hash|count|
16:14:43.918 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : +---------+----------+------+---------------------+---------+-----------+-------+---------------+---------------+------+-----+
16:14:43.918 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : | 12| 10|it is |2016-03-15 21:59:28.0| 13| 18| 0|{null} |{null} |{null}| 0|
16:14:43.918 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : | 13| 10|bla2 |2016-03-15 22:00:11.0| 14| 19| {null}|{null} |{null} |{null}| 0|
16:14:43.918 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : +---------+----------+------+---------------------+---------+-----------+-------+---------------+---------------+------+-----+
16:14:43.918 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Finishing : Total: 5.551ms, +1.412ms
16:14:43.919 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Executing batch query : insert into `crowdcontrol`.`Rating_Reservation` (`idReserverd_Rating`, `worker`, `experiment`, `answer`, `timestamp`, `used`) values (?, ?, ?, ?, ?, ?)
16:14:43.942 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Query executed : Total: 22.966ms
16:14:43.942 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Finishing : Total: 23.111ms, +0.145ms
16:14:43.942 [ratpack-compute-1-3] DEBUG o.j.i.DefaultConnectionProvider - release savepoint
16:14:43.942 [ratpack-compute-1-3] DEBUG o.j.i.DefaultConnectionProvider - commit
16:14:43.946 [ratpack-compute-1-3] DEBUG o.j.i.DefaultConnectionProvider - setting auto commit : true
16:14:43.947 [ratpack-compute-1-3] TRACE e.k.i.c.w.d.o.ExperimentsPlatformOperations - Worker 38 can rate [+---------+----------+------+---------------------+---------+-----------+-------+---------------+---------------+------+
|id_answer|experiment|answer|timestamp |worker_id|reservation|quality|quality_assured|system_response| hash|
+---------+----------+------+---------------------+---------+-----------+-------+---------------+---------------+------+
| 12| 10|it is |2016-03-15 21:59:28.0| 13| 18| 0|{null} |{null} |{null}|
+---------+----------+------+---------------------+---------+-----------+-------+---------------+---------------+------+, +---------+----------+------+---------------------+---------+-----------+-------+---------------+---------------+------+
|id_answer|experiment|answer|timestamp |worker_id|reservation|quality|quality_assured|system_response| hash|
+---------+----------+------+---------------------+---------+-----------+-------+---------------+---------------+------+
| 13| 10|bla2 |2016-03-15 22:00:11.0| 14| 19| {null}|{null} |{null} |{null}|
+---------+----------+------+---------------------+---------+-----------+-------+---------------+---------------+------+]
16:14:43.948 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Rating_Reservation`.`idReserverd_Rating`, `crowdcontrol`.`Rating_Reservation`.`worker`, `crowdcontrol`.`Rating_Reservation`.`experiment`, `crowdcontrol`.`Rating_Reservation`.`answer`, `crowdcontrol`.`Rating_Reservation`.`timestamp`, `crowdcontrol`.`Rating_Reservation`.`used` from `crowdcontrol`.`Rating_Reservation` where (`crowdcontrol`.`Rating_Reservation`.`answer` in (?, ?) and `crowdcontrol`.`Rating_Reservation`.`worker` = ?)
16:14:43.948 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Rating_Reservation`.`idReserverd_Rating`, `crowdcontrol`.`Rating_Reservation`.`worker`, `crowdcontrol`.`Rating_Reservation`.`experiment`, `crowdcontrol`.`Rating_Reservation`.`answer`, `crowdcontrol`.`Rating_Reservation`.`timestamp`, `crowdcontrol`.`Rating_Reservation`.`used` from `crowdcontrol`.`Rating_Reservation` where (`crowdcontrol`.`Rating_Reservation`.`answer` in (12, 13) and `crowdcontrol`.`Rating_Reservation`.`worker` = 38)
16:14:43.949 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Query executed : Total: 1.394ms
16:14:43.950 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Fetched result : +------------------+------+----------+------+---------------------+-----+
16:14:43.950 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : |idReserverd_Rating|worker|experiment|answer|timestamp |used |
16:14:43.950 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : +------------------+------+----------+------+---------------------+-----+
16:14:43.950 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : | 26| 38| 10| 12|2016-03-17 14:14:44.0|false|
16:14:43.950 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : | 27| 38| 10| 13|2016-03-17 14:14:44.0|false|
16:14:43.950 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : +------------------+------+----------+------+---------------------+-----+
16:14:43.950 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Finishing : Total: 2.477ms, +1.082ms
16:14:43.950 [ratpack-compute-1-3] TRACE e.k.i.c.w.q.TaskChooserAlgorithm - worker 38 can rate [id: 26
answer_id: 12
answer: "it is"
, id: 27
answer_id: 13
answer: "bla2"
]
16:14:43.951 [ratpack-compute-1-3] TRACE e.k.i.c.w.q.TaskChooserAlgorithm - task chooser prepared builder
16:14:43.952 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Constraint`.`id_constraint`, `crowdcontrol`.`Constraint`.`constraint`, `crowdcontrol`.`Constraint`.`experiment` from `crowdcontrol`.`Constraint` where `crowdcontrol`.`Constraint`.`experiment` = ?
16:14:43.952 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Constraint`.`id_constraint`, `crowdcontrol`.`Constraint`.`constraint`, `crowdcontrol`.`Constraint`.`experiment` from `crowdcontrol`.`Constraint` where `crowdcontrol`.`Constraint`.`experiment` = 10
16:14:43.952 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Query executed : Total: 0.88ms
16:14:43.957 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Fetched result : +-------------+-------------+----------+
16:14:43.957 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : |id_constraint|constraint |experiment|
16:14:43.957 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : +-------------+-------------+----------+
16:14:43.957 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : | 20|must be funny| 10|
16:14:43.957 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : +-------------+-------------+----------+
16:14:43.957 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Finishing : Total: 5.92ms, +5.039ms
16:14:43.958 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Rating_Option_Experiment`.`id_Rating_Option_Experiment`, `crowdcontrol`.`Rating_Option_Experiment`.`name`, `crowdcontrol`.`Rating_Option_Experiment`.`value`, `crowdcontrol`.`Rating_Option_Experiment`.`experiment` from `crowdcontrol`.`Rating_Option_Experiment` where `crowdcontrol`.`Rating_Option_Experiment`.`experiment` = ?
16:14:43.958 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Rating_Option_Experiment`.`id_Rating_Option_Experiment`, `crowdcontrol`.`Rating_Option_Experiment`.`name`, `crowdcontrol`.`Rating_Option_Experiment`.`value`, `crowdcontrol`.`Rating_Option_Experiment`.`experiment` from `crowdcontrol`.`Rating_Option_Experiment` where `crowdcontrol`.`Rating_Option_Experiment`.`experiment` = 10
16:14:43.959 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Query executed : Total: 0.961ms
16:14:43.960 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - Fetched result : +---------------------------+----+-----+----------+
16:14:43.960 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : |id_Rating_Option_Experiment|name|value|experiment|
16:14:43.960 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : +---------------------------+----+-----+----------+
16:14:43.960 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : | 19|good| 9| 10|
16:14:43.960 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : | 20|bad | 0| 10|
16:14:43.960 [ratpack-compute-1-3] DEBUG o.j.t.LoggerListener - : +---------------------------+----+-----+----------+
16:14:43.960 [ratpack-compute-1-3] DEBUG o.j.t.StopWatch - Finishing : Total: 2.754ms, +1.792ms
16:14:43.961 [ratpack-compute-1-3] DEBUG e.k.i.c.w.q.Queries - returning view: type: RATING
title: "Hot Summernight Test5"
description: "a test for mturk"
answers_to_rate {
id: 26
answer_id: 12
answer: "it is"
}
answers_to_rate {
id: 27
answer_id: 13
answer: "bla2"
}
rating_options {
value: 9
description: "good"
}
rating_options {
description: "bad"
}
constraints {
id: 20
name: "must be funny"
}
16:14:49.064 [ratpack-compute-1-3] DEBUG e.k.i.c.w.c.Commands - Request to submit rating rating_id: 26
rating: 9
experiment: 10
answer_id: 12
for worker 38.
16:14:49.065 [ratpack-compute-1-3] DEBUG e.k.i.c.w.o.Communication - Trying to submit rating reservation: 26
experiment_id: 10
rating: 9
worker: 38
for worker 38 with route /experiments/10/answers/12/rating
16:14:49.069 [ratpack-compute-1-4] DEBUG e.k.i.c.w.c.Commands - Request to submit rating rating_id: 27
rating: 9
experiment: 10
answer_id: 13
for worker 38.
16:14:49.069 [ratpack-compute-1-4] DEBUG e.k.i.c.w.o.Communication - Trying to submit rating reservation: 27
experiment_id: 10
rating: 9
worker: 38
for worker 38 with route /experiments/10/answers/13/rating
16:14:49.374 [ratpack-compute-1-4] ERROR e.k.i.c.w.ErrorHandler - an internal error occurred
java.util.concurrent.CompletionException: edu.kit.ipd.crowdcontrol.workerservice.InternalServerErrorException: Cause: Object service responded with:
at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:273)
at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:280)
at java.util.concurrent.CompletableFuture.uniApply(CompletableFuture.java:604)
at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:577)
at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:474)
at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:1962)
at edu.kit.ipd.crowdcontrol.workerservice.objectservice.Communication$1.completed(Communication.java:282)
at com.mashape.unirest.http.HttpClientHelper$1.completed(HttpClientHelper.java:82)
at com.mashape.unirest.http.HttpClientHelper$1.completed(HttpClientHelper.java:75)
at org.apache.http.concurrent.BasicFuture.completed(BasicFuture.java:115)
at org.apache.http.impl.nio.client.DefaultClientExchangeHandlerImpl.responseCompleted(DefaultClientExchangeHandlerImpl.java:173)
at org.apache.http.nio.protocol.HttpAsyncRequestExecutor.processResponse(HttpAsyncRequestExecutor.java:355)
at org.apache.http.nio.protocol.HttpAsyncRequestExecutor.inputReady(HttpAsyncRequestExecutor.java:242)
at org.apache.http.impl.nio.client.LoggingAsyncRequestExecutor.inputReady(LoggingAsyncRequestExecutor.java:87)
at org.apache.http.impl.nio.DefaultNHttpClientConnection.consumeInput(DefaultNHttpClientConnection.java:264)
at org.apache.http.impl.nio.client.InternalIODispatch.onInputReady(InternalIODispatch.java:73)
at org.apache.http.impl.nio.client.InternalIODispatch.onInputReady(InternalIODispatch.java:37)
at org.apache.http.impl.nio.reactor.AbstractIODispatch.inputReady(AbstractIODispatch.java:113)
at org.apache.http.impl.nio.reactor.BaseIOReactor.readable(BaseIOReactor.java:159)
at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvent(AbstractIOReactor.java:338)
at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvents(AbstractIOReactor.java:316)
at org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:277)
at org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:105)
at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:584)
at java.lang.Thread.run(Thread.java:745)
Caused by: edu.kit.ipd.crowdcontrol.workerservice.InternalServerErrorException: Cause: Object service responded with:
at edu.kit.ipd.crowdcontrol.workerservice.objectservice.Communication.throwOr(Communication.java:258)
at edu.kit.ipd.crowdcontrol.workerservice.objectservice.Communication.lambda$submitRating$12(Communication.java:166)
at java.util.concurrent.CompletableFuture.uniApply(CompletableFuture.java:602)
... 22 common frames omitted
16:14:49.385 [I/O dispatcher 4] DEBUG e.k.i.c.w.o.Communication - Object service answered with status 201
16:14:49.385 [ratpack-compute-1-3] DEBUG e.k.i.c.w.c.Commands - Object service answered with status 201.
16:15:12.164 [HikariPool-0 housekeeper] DEBUG c.z.h.p.HikariPool - HikariPool-0 - Pool stats (total=10, active=1, idle=9, waiting=0)
16:15:42.164 [HikariPool-0 housekeeper] DEBUG c.z.h.p.HikariPool - HikariPool-0 - Pool stats (total=10, active=1, idle=9, waiting=0)
16:16:12.164 [HikariPool-0 housekeeper] DEBUG c.z.h.p.HikariPool - HikariPool-0 - Pool stats (total=10, active=1, idle=9, waiting=0)
16:16:42.165 [HikariPool-0 housekeeper] DEBUG c.z.h.p.HikariPool - HikariPool-0 - Pool stats (total=10, active=1, idle=9, waiting=0)
16:17:12.165 [HikariPool-0 housekeeper] DEBUG c.z.h.p.HikariPool - HikariPool-0 - Pool stats (total=10, active=1, idle=9, waiting=0)
16:17:42.165 [HikariPool-0 housekeeper] DEBUG c.z.h.p.HikariPool - HikariPool-0 - Pool stats (total=10, active=1, idle=9, waiting=0)
16:18:12.165 [HikariPool-0 housekeeper] DEBUG c.z.h.p.HikariPool - HikariPool-0 - Pool stats (total=10, active=1, idle=9, waiting=0)
16:18:42.166 [HikariPool-0 housekeeper] DEBUG c.z.h.p.HikariPool - HikariPool-0 - Pool stats (total=10, active=1, idle=9, waiting=0)
16:19:12.166 [HikariPool-0 housekeeper] DEBUG c.z.h.p.HikariPool - HikariPool-0 - Pool stats (total=10, active=1, idle=9, waiting=0)
16:19:42.166 [HikariPool-0 housekeeper] DEBUG c.z.h.p.HikariPool - HikariPool-0 - Pool stats (total=10, active=1, idle=9, waiting=0)
16:20:12.167 [HikariPool-0 housekeeper] DEBUG c.z.h.p.HikariPool - HikariPool-0 - Pool stats (total=10, active=1, idle=9, waiting=0)
16:20:27.363 [ratpack-compute-1-5] DEBUG e.k.i.c.w.c.Commands - Request to submit rating rating_id: 26
rating: 9
experiment: 10
answer_id: 12
for worker 38.
16:20:27.364 [ratpack-compute-1-5] DEBUG e.k.i.c.w.o.Communication - Trying to submit rating reservation: 26
experiment_id: 10
rating: 9
worker: 38
for worker 38 with route /experiments/10/answers/12/rating
16:20:27.367 [ratpack-compute-1-6] DEBUG e.k.i.c.w.c.Commands - Request to submit rating rating_id: 27
rating: 9
experiment: 10
answer_id: 13
for worker 38.
16:20:27.368 [ratpack-compute-1-6] DEBUG e.k.i.c.w.o.Communication - Trying to submit rating reservation: 27
experiment_id: 10
rating: 9
worker: 38
for worker 38 with route /experiments/10/answers/13/rating
16:20:27.416 [ratpack-compute-1-6] ERROR e.k.i.c.w.ErrorHandler - an internal error occurred
java.util.concurrent.CompletionException: edu.kit.ipd.crowdcontrol.workerservice.BadRequestException: Cause: Object service responded with: Reservation 27 is already in use
at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:273)
at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:280)
at java.util.concurrent.CompletableFuture.uniApply(CompletableFuture.java:604)
at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:577)
at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:474)
at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:1962)
at edu.kit.ipd.crowdcontrol.workerservice.objectservice.Communication$1.completed(Communication.java:282)
at com.mashape.unirest.http.HttpClientHelper$1.completed(HttpClientHelper.java:82)
at com.mashape.unirest.http.HttpClientHelper$1.completed(HttpClientHelper.java:75)
at org.apache.http.concurrent.BasicFuture.completed(BasicFuture.java:115)
at org.apache.http.impl.nio.client.DefaultClientExchangeHandlerImpl.responseCompleted(DefaultClientExchangeHandlerImpl.java:173)
at org.apache.http.nio.protocol.HttpAsyncRequestExecutor.processResponse(HttpAsyncRequestExecutor.java:355)
at org.apache.http.nio.protocol.HttpAsyncRequestExecutor.inputReady(HttpAsyncRequestExecutor.java:242)
at org.apache.http.impl.nio.client.LoggingAsyncRequestExecutor.inputReady(LoggingAsyncRequestExecutor.java:87)
at org.apache.http.impl.nio.DefaultNHttpClientConnection.consumeInput(DefaultNHttpClientConnection.java:264)
at org.apache.http.impl.nio.client.InternalIODispatch.onInputReady(InternalIODispatch.java:73)
at org.apache.http.impl.nio.client.InternalIODispatch.onInputReady(InternalIODispatch.java:37)
at org.apache.http.impl.nio.reactor.AbstractIODispatch.inputReady(AbstractIODispatch.java:113)
at org.apache.http.impl.nio.reactor.BaseIOReactor.readable(BaseIOReactor.java:159)
at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvent(AbstractIOReactor.java:338)
at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvents(AbstractIOReactor.java:316)
at org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:277)
at org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:105)
at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:584)
at java.lang.Thread.run(Thread.java:745)
Caused by: edu.kit.ipd.crowdcontrol.workerservice.BadRequestException: Cause: Object service responded with: Reservation 27 is already in use
at edu.kit.ipd.crowdcontrol.workerservice.objectservice.Communication.throwOr(Communication.java:254)
at edu.kit.ipd.crowdcontrol.workerservice.objectservice.Communication.lambda$submitRating$12(Communication.java:166)
at java.util.concurrent.CompletableFuture.uniApply(CompletableFuture.java:602)
... 22 common frames omitted
16:20:27.428 [ratpack-compute-1-5] ERROR e.k.i.c.w.ErrorHandler - an internal error occurred
java.util.concurrent.CompletionException: edu.kit.ipd.crowdcontrol.workerservice.BadRequestException: Cause: Object service responded with: Reservation 26 is already in use
at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:273)
at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:280)
at java.util.concurrent.CompletableFuture.uniApply(CompletableFuture.java:604)
at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:577)
at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:474)
at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:1962)
at edu.kit.ipd.crowdcontrol.workerservice.objectservice.Communication$1.completed(Communication.java:282)
at com.mashape.unirest.http.HttpClientHelper$1.completed(HttpClientHelper.java:82)
at com.mashape.unirest.http.HttpClientHelper$1.completed(HttpClientHelper.java:75)
at org.apache.http.concurrent.BasicFuture.completed(BasicFuture.java:115)
at org.apache.http.impl.nio.client.DefaultClientExchangeHandlerImpl.responseCompleted(DefaultClientExchangeHandlerImpl.java:173)
at org.apache.http.nio.protocol.HttpAsyncRequestExecutor.processResponse(HttpAsyncRequestExecutor.java:355)
at org.apache.http.nio.protocol.HttpAsyncRequestExecutor.inputReady(HttpAsyncRequestExecutor.java:242)
at org.apache.http.impl.nio.client.LoggingAsyncRequestExecutor.inputReady(LoggingAsyncRequestExecutor.java:87)
at org.apache.http.impl.nio.DefaultNHttpClientConnection.consumeInput(DefaultNHttpClientConnection.java:264)
at org.apache.http.impl.nio.client.InternalIODispatch.onInputReady(InternalIODispatch.java:73)
at org.apache.http.impl.nio.client.InternalIODispatch.onInputReady(InternalIODispatch.java:37)
at org.apache.http.impl.nio.reactor.AbstractIODispatch.inputReady(AbstractIODispatch.java:113)
at org.apache.http.impl.nio.reactor.BaseIOReactor.readable(BaseIOReactor.java:159)
at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvent(AbstractIOReactor.java:338)
at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvents(AbstractIOReactor.java:316)
at org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:277)
at org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:105)
at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:584)
at java.lang.Thread.run(Thread.java:745)
Caused by: edu.kit.ipd.crowdcontrol.workerservice.BadRequestException: Cause: Object service responded with: Reservation 26 is already in use
at edu.kit.ipd.crowdcontrol.workerservice.objectservice.Communication.throwOr(Communication.java:254)
at edu.kit.ipd.crowdcontrol.workerservice.objectservice.Communication.lambda$submitRating$12(Communication.java:166)
at java.util.concurrent.CompletableFuture.uniApply(CompletableFuture.java:602)
... 22 common frames omitted
16:20:34.661 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Experiment`.`id_experiment`, `crowdcontrol`.`Experiment`.`title`, `crowdcontrol`.`Experiment`.`description`, `crowdcontrol`.`Experiment`.`description_raw`, `crowdcontrol`.`Experiment`.`needed_answers`, `crowdcontrol`.`Experiment`.`ratings_per_answer`, `crowdcontrol`.`Experiment`.`anwers_per_worker`, `crowdcontrol`.`Experiment`.`ratings_per_worker`, `crowdcontrol`.`Experiment`.`answer_type`, `crowdcontrol`.`Experiment`.`algorithm_task_chooser`, `crowdcontrol`.`Experiment`.`algorithm_quality_answer`, `crowdcontrol`.`Experiment`.`algorithm_quality_rating`, `crowdcontrol`.`Experiment`.`base_payment`, `crowdcontrol`.`Experiment`.`bonus_answer`, `crowdcontrol`.`Experiment`.`bonus_rating`, `crowdcontrol`.`Experiment`.`template_data`, `crowdcontrol`.`Experiment`.`template`, `crowdcontrol`.`Experiment`.`worker_quality_threshold`, `crowdcontrol`.`Experiment`.`result_quality_threshold` from `crowdcontrol`.`Experiment` where `crowdcontrol`.`Experiment`.`id_experiment` = ?
16:20:34.662 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Experiment`.`id_experiment`, `crowdcontrol`.`Experiment`.`title`, `crowdcontrol`.`Experiment`.`description`, `crowdcontrol`.`Experiment`.`description_raw`, `crowdcontrol`.`Experiment`.`needed_answers`, `crowdcontrol`.`Experiment`.`ratings_per_answer`, `crowdcontrol`.`Experiment`.`anwers_per_worker`, `crowdcontrol`.`Experiment`.`ratings_per_worker`, `crowdcontrol`.`Experiment`.`answer_type`, `crowdcontrol`.`Experiment`.`algorithm_task_chooser`, `crowdcontrol`.`Experiment`.`algorithm_quality_answer`, `crowdcontrol`.`Experiment`.`algorithm_quality_rating`, `crowdcontrol`.`Experiment`.`base_payment`, `crowdcontrol`.`Experiment`.`bonus_answer`, `crowdcontrol`.`Experiment`.`bonus_rating`, `crowdcontrol`.`Experiment`.`template_data`, `crowdcontrol`.`Experiment`.`template`, `crowdcontrol`.`Experiment`.`worker_quality_threshold`, `crowdcontrol`.`Experiment`.`result_quality_threshold` from `crowdcontrol`.`Experiment` where `crowdcontrol`.`Experiment`.`id_experiment` = 20
16:20:34.664 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 2.567ms
16:20:34.664 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +-------------+---------+-----------+---------------+--------------+------------------+-----------------+------------------+-----------+----------------------+------------------------+---------------------------+------------+------------+------------+-------------+--------+------------------------+------------------------+
16:20:34.664 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : |id_experiment|title |description|description_raw|needed_answers|ratings_per_answer|anwers_per_worker|ratings_per_worker|answer_type|algorithm_task_chooser|algorithm_quality_answer|algorithm_quality_rating |base_payment|bonus_answer|bonus_rating|template_data|template|worker_quality_threshold|result_quality_threshold|
16:20:34.664 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +-------------+---------+-----------+---------------+--------------+------------------+-----------------+------------------+-----------+----------------------+------------------------+---------------------------+------------+------------+------------+-------------+--------+------------------------+------------------------+
16:20:34.664 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 20|Calibtest|test |test | 10| 3| 3| 3|{null} |anti_spoof |AnswerQualityByRatings |RatingQualityByDistribution| 0| 10| 10|{null} | {null}| 0| 4|
16:20:34.664 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +-------------+---------+-----------+---------------+--------------+------------------+-----------------+------------------+-----------+----------------------+------------------------+---------------------------+------------+------------+------------+-------------+--------+------------------------+------------------------+
16:20:34.665 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 4.129ms, +1.562ms
16:20:34.677 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Platform`.`id_platform`, `crowdcontrol`.`Platform`.`name`, `crowdcontrol`.`Platform`.`render_calibrations`, `crowdcontrol`.`Platform`.`needs_email`, `crowdcontrol`.`Platform`.`inactive`, `crowdcontrol`.`Platform`.`currency` from `crowdcontrol`.`Platform` where `crowdcontrol`.`Platform`.`id_platform` = ?
16:20:34.677 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Platform`.`id_platform`, `crowdcontrol`.`Platform`.`name`, `crowdcontrol`.`Platform`.`render_calibrations`, `crowdcontrol`.`Platform`.`needs_email`, `crowdcontrol`.`Platform`.`inactive`, `crowdcontrol`.`Platform`.`currency` from `crowdcontrol`.`Platform` where `crowdcontrol`.`Platform`.`id_platform` = 'dummydummy'
16:20:34.679 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 2.075ms
16:20:34.681 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +-----------+--------------------+-------------------+-----------+--------+--------+
16:20:34.681 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : |id_platform|name |render_calibrations|needs_email|inactive|currency|
16:20:34.681 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +-----------+--------------------+-------------------+-----------+--------+--------+
16:20:34.682 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : |dummydummy |Dummy Platform dummy|true |true |false | 0|
16:20:34.682 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +-----------+--------------------+-------------------+-----------+--------+--------+
16:20:34.683 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 6.532ms, +4.457ms
16:20:34.684 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.Queries - skipCreative is: false
16:20:34.684 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.Queries - skipRating is: false
16:20:34.686 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select 1 as `one` from dual where exists (select `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer`, `crowdcontrol`.`Calibration_Result`.`id_calibration_result`, `crowdcontrol`.`Calibration_Result`.`worker`, `crowdcontrol`.`Calibration_Result`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`id_experiments_calibration`, `crowdcontrol`.`Experiments_Calibration`.`experiments_platform`, `crowdcontrol`.`Experiments_Calibration`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`not` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` join `crowdcontrol`.`Experiments_Calibration` on (`crowdcontrol`.`Experiments_Calibration`.`experiments_platform` in (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = ? and `crowdcontrol`.`Experiments_Platform`.`platform` = ?)) and `crowdcontrol`.`Calibration_answer_option`.`calibration` = (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` = `crowdcontrol`.`Experiments_Calibration`.`answer`) and ((`crowdcontrol`.`Experiments_Calibration`.`not` = ? and `crowdcontrol`.`Experiments_Calibration`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`) or (`crowdcontrol`.`Experiments_Calibration`.`not` = ? and `crowdcontrol`.`Experiments_Calibration`.`answer` <> `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`))) where `crowdcontrol`.`Calibration_Result`.`worker` = ?)
16:20:34.688 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select 1 as `one` from dual where exists (select `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer`, `crowdcontrol`.`Calibration_Result`.`id_calibration_result`, `crowdcontrol`.`Calibration_Result`.`worker`, `crowdcontrol`.`Calibration_Result`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`id_experiments_calibration`, `crowdcontrol`.`Experiments_Calibration`.`experiments_platform`, `crowdcontrol`.`Experiments_Calibration`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`not` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` join `crowdcontrol`.`Experiments_Calibration` on (`crowdcontrol`.`Experiments_Calibration`.`experiments_platform` in (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = 20 and `crowdcontrol`.`Experiments_Platform`.`platform` = 'dummydummy')) and `crowdcontrol`.`Calibration_answer_option`.`calibration` = (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` = `crowdcontrol`.`Experiments_Calibration`.`answer`) and ((`crowdcontrol`.`Experiments_Calibration`.`not` = true and `crowdcontrol`.`Experiments_Calibration`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`) or (`crowdcontrol`.`Experiments_Calibration`.`not` = false and `crowdcontrol`.`Experiments_Calibration`.`answer` <> `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`))) where `crowdcontrol`.`Calibration_Result`.`worker` = 38)
16:20:34.690 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 4.987ms
16:20:34.690 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 5.524ms, +0.537ms
16:20:34.690 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:20:34.690 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | one|
16:20:34.691 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:20:34.691 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Worker`.`quality` from `crowdcontrol`.`Worker` where `crowdcontrol`.`Worker`.`id_worker` = ?
16:20:34.691 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Worker`.`quality` from `crowdcontrol`.`Worker` where `crowdcontrol`.`Worker`.`id_worker` = 38
16:20:34.692 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 0.755ms
16:20:34.692 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +-------+
16:20:34.692 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : |quality|
16:20:34.692 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +-------+
16:20:34.692 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 9|
16:20:34.692 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +-------+
16:20:34.693 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 1.76ms, +1.004ms
16:20:34.693 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.Queries - worker 38 is eligible for working on the assignment
16:20:34.693 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.Queries - platform dummydummy is able to render calibrations
16:20:34.693 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Calibration`.`id_calibration`, `crowdcontrol`.`Calibration`.`property`, `crowdcontrol`.`Calibration`.`name`, `crowdcontrol`.`Calibration`.`experiment`, `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration` on `crowdcontrol`.`Calibration_answer_option`.`calibration` = `crowdcontrol`.`Calibration`.`id_calibration` where (`crowdcontrol`.`Calibration`.`id_calibration` in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` in (select `crowdcontrol`.`Experiments_Calibration`.`answer` from `crowdcontrol`.`Experiments_Calibration` where `crowdcontrol`.`Experiments_Calibration`.`experiments_platform` = (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = ? and `crowdcontrol`.`Experiments_Platform`.`platform` = ?)))) and `crowdcontrol`.`Calibration`.`id_calibration` not in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` where `crowdcontrol`.`Calibration_Result`.`worker` = ?))
16:20:34.694 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Calibration`.`id_calibration`, `crowdcontrol`.`Calibration`.`property`, `crowdcontrol`.`Calibration`.`name`, `crowdcontrol`.`Calibration`.`experiment`, `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration` on `crowdcontrol`.`Calibration_answer_option`.`calibration` = `crowdcontrol`.`Calibration`.`id_calibration` where (`crowdcontrol`.`Calibration`.`id_calibration` in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` in (select `crowdcontrol`.`Experiments_Calibration`.`answer` from `crowdcontrol`.`Experiments_Calibration` where `crowdcontrol`.`Experiments_Calibration`.`experiments_platform` = (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = 20 and `crowdcontrol`.`Experiments_Platform`.`platform` = 'dummydummy')))) and `crowdcontrol`.`Calibration`.`id_calibration` not in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` where `crowdcontrol`.`Calibration_Result`.`worker` = 38))
16:20:34.696 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 2.469ms
16:20:34.697 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +--------------+------------+----+----------+----------------------------+-----------+------+
16:20:34.698 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : |id_calibration|property |name|experiment|id_calibration_answer_option|calibration|answer|
16:20:34.698 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +--------------+------------+----+----------+----------------------------+-----------+------+
16:20:34.698 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 18|Are you male|Sex | {null}| 18| 18|yes |
16:20:34.698 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 18|Are you male|Sex | {null}| 19| 18|no |
16:20:34.698 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +--------------+------------+----+----------+----------------------------+-----------+------+
16:20:34.698 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 4.513ms, +2.043ms
16:20:34.698 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.Queries - worker 38 must answer the calibrations {+--------------+------------+----+----------+
|id_calibration|property |name|experiment|
+--------------+------------+----+----------+
| 18|Are you male|Sex | {null}|
+--------------+------------+----+----------+=+----------------------------+-----------+------+
|id_calibration_answer_option|calibration|answer|
+----------------------------+-----------+------+
| 18| 18|yes |
| 19| 18|no |
+----------------------------+-----------+------+}
16:20:34.698 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.Queries - worker 38 must answer calibrations
16:20:34.699 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.Queries - returning view: type: CALIBRATION
calibrations {
question: "Are you male"
answer_options {
option: "yes"
id: 18
}
answer_options {
option: "no"
id: 19
}
id: 18
}
16:20:37.183 [ratpack-compute-1-5] DEBUG e.k.i.c.w.c.Commands - Trying to submit calibration answer_option: 19
for worker 38.
16:20:37.187 [ratpack-compute-1-5] DEBUG e.k.i.c.w.o.Communication - Trying to submit calibration answer_id: 19
for worker 38 with route /workers/38/calibrations
16:20:37.200 [I/O dispatcher 3] DEBUG e.k.i.c.w.o.Communication - Object service answered with status 201
16:20:37.200 [ratpack-compute-1-5] DEBUG e.k.i.c.w.c.Commands - Object service answered with OK.
16:20:37.210 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.Queries - skipCreative is: false
16:20:37.210 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.Queries - skipRating is: false
16:20:37.211 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select 1 as `one` from dual where exists (select `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer`, `crowdcontrol`.`Calibration_Result`.`id_calibration_result`, `crowdcontrol`.`Calibration_Result`.`worker`, `crowdcontrol`.`Calibration_Result`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`id_experiments_calibration`, `crowdcontrol`.`Experiments_Calibration`.`experiments_platform`, `crowdcontrol`.`Experiments_Calibration`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`not` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` join `crowdcontrol`.`Experiments_Calibration` on (`crowdcontrol`.`Experiments_Calibration`.`experiments_platform` in (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = ? and `crowdcontrol`.`Experiments_Platform`.`platform` = ?)) and `crowdcontrol`.`Calibration_answer_option`.`calibration` = (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` = `crowdcontrol`.`Experiments_Calibration`.`answer`) and ((`crowdcontrol`.`Experiments_Calibration`.`not` = ? and `crowdcontrol`.`Experiments_Calibration`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`) or (`crowdcontrol`.`Experiments_Calibration`.`not` = ? and `crowdcontrol`.`Experiments_Calibration`.`answer` <> `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`))) where `crowdcontrol`.`Calibration_Result`.`worker` = ?)
16:20:37.211 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select 1 as `one` from dual where exists (select `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer`, `crowdcontrol`.`Calibration_Result`.`id_calibration_result`, `crowdcontrol`.`Calibration_Result`.`worker`, `crowdcontrol`.`Calibration_Result`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`id_experiments_calibration`, `crowdcontrol`.`Experiments_Calibration`.`experiments_platform`, `crowdcontrol`.`Experiments_Calibration`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`not` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` join `crowdcontrol`.`Experiments_Calibration` on (`crowdcontrol`.`Experiments_Calibration`.`experiments_platform` in (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = 20 and `crowdcontrol`.`Experiments_Platform`.`platform` = 'dummydummy')) and `crowdcontrol`.`Calibration_answer_option`.`calibration` = (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` = `crowdcontrol`.`Experiments_Calibration`.`answer`) and ((`crowdcontrol`.`Experiments_Calibration`.`not` = true and `crowdcontrol`.`Experiments_Calibration`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`) or (`crowdcontrol`.`Experiments_Calibration`.`not` = false and `crowdcontrol`.`Experiments_Calibration`.`answer` <> `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`))) where `crowdcontrol`.`Calibration_Result`.`worker` = 38)
16:20:37.213 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 2.339ms
16:20:37.218 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 7.077ms, +4.737ms
16:20:37.218 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:20:37.218 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | one|
16:20:37.218 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:20:37.218 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Worker`.`quality` from `crowdcontrol`.`Worker` where `crowdcontrol`.`Worker`.`id_worker` = ?
16:20:37.218 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Worker`.`quality` from `crowdcontrol`.`Worker` where `crowdcontrol`.`Worker`.`id_worker` = 38
16:20:37.219 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 0.819ms
16:20:37.219 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +-------+
16:20:37.219 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : |quality|
16:20:37.219 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +-------+
16:20:37.219 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 9|
16:20:37.219 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +-------+
16:20:37.220 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 1.716ms, +0.896ms
16:20:37.220 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.Queries - worker 38 is eligible for working on the assignment
16:20:37.220 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.Queries - platform dummydummy is able to render calibrations
16:20:37.221 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Calibration`.`id_calibration`, `crowdcontrol`.`Calibration`.`property`, `crowdcontrol`.`Calibration`.`name`, `crowdcontrol`.`Calibration`.`experiment`, `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration` on `crowdcontrol`.`Calibration_answer_option`.`calibration` = `crowdcontrol`.`Calibration`.`id_calibration` where (`crowdcontrol`.`Calibration`.`id_calibration` in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` in (select `crowdcontrol`.`Experiments_Calibration`.`answer` from `crowdcontrol`.`Experiments_Calibration` where `crowdcontrol`.`Experiments_Calibration`.`experiments_platform` = (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = ? and `crowdcontrol`.`Experiments_Platform`.`platform` = ?)))) and `crowdcontrol`.`Calibration`.`id_calibration` not in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` where `crowdcontrol`.`Calibration_Result`.`worker` = ?))
16:20:37.221 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Calibration`.`id_calibration`, `crowdcontrol`.`Calibration`.`property`, `crowdcontrol`.`Calibration`.`name`, `crowdcontrol`.`Calibration`.`experiment`, `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration` on `crowdcontrol`.`Calibration_answer_option`.`calibration` = `crowdcontrol`.`Calibration`.`id_calibration` where (`crowdcontrol`.`Calibration`.`id_calibration` in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` in (select `crowdcontrol`.`Experiments_Calibration`.`answer` from `crowdcontrol`.`Experiments_Calibration` where `crowdcontrol`.`Experiments_Calibration`.`experiments_platform` = (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = 20 and `crowdcontrol`.`Experiments_Platform`.`platform` = 'dummydummy')))) and `crowdcontrol`.`Calibration`.`id_calibration` not in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` where `crowdcontrol`.`Calibration_Result`.`worker` = 38))
16:20:37.223 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 1.837ms
16:20:37.223 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +--------------+--------+----+----------+----------------------------+-----------+------+
16:20:37.223 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : |id_calibration|property|name|experiment|id_calibration_answer_option|calibration|answer|
16:20:37.223 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +--------------+--------+----+----------+----------------------------+-----------+------+
16:20:37.224 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 2.589ms, +0.752ms
16:20:37.224 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.Queries - worker 38 must answer the calibrations {}
16:20:37.224 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.Queries - worker 38 must not answer calibrations
16:20:37.224 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Experiments_Platform_Mode`.`mode` from `crowdcontrol`.`Experiments_Platform_Mode` where `crowdcontrol`.`Experiments_Platform_Mode`.`experiments_platform` in (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = ? and `crowdcontrol`.`Experiments_Platform`.`platform` = ?)) order by `crowdcontrol`.`Experiments_Platform_Mode`.`timestamp` desc limit ?
16:20:37.224 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Experiments_Platform_Mode`.`mode` from `crowdcontrol`.`Experiments_Platform_Mode` where `crowdcontrol`.`Experiments_Platform_Mode`.`experiments_platform` in (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = 20 and `crowdcontrol`.`Experiments_Platform`.`platform` = 'dummydummy')) order by `crowdcontrol`.`Experiments_Platform_Mode`.`timestamp` desc limit 1
16:20:37.225 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 1.263ms
16:20:37.226 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +------+
16:20:37.226 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : |mode |
16:20:37.226 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +------+
16:20:37.226 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : |normal|
16:20:37.226 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +------+
16:20:37.226 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 2.186ms, +0.923ms
16:20:37.226 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.Queries - invoking task-chooser anti_spoof
16:20:37.227 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` left outer join `crowdcontrol`.`Answer` on `crowdcontrol`.`Answer`.`reservation` = `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` where ((`crowdcontrol`.`Answer_Reservation`.`used` = ? or (`crowdcontrol`.`Answer_Reservation`.`timestamp` >= ? and `crowdcontrol`.`Answer_Reservation`.`worker` <> ?)) and `crowdcontrol`.`Answer_Reservation`.`experiment` = ? and ((`crowdcontrol`.`Answer`.`quality_assured` = ? and `crowdcontrol`.`Answer`.`quality` > (select `crowdcontrol`.`Experiment`.`result_quality_threshold` from `crowdcontrol`.`Experiment` where `crowdcontrol`.`Experiment`.`id_experiment` = ?)) or ?))) as `q`
16:20:37.227 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` left outer join `crowdcontrol`.`Answer` on `crowdcontrol`.`Answer`.`reservation` = `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` where ((`crowdcontrol`.`Answer_Reservation`.`used` = true or (`crowdcontrol`.`Answer_Reservation`.`timestamp` >= {ts '2016-03-17 14:20:37.227'} and `crowdcontrol`.`Answer_Reservation`.`worker` <> 38)) and `crowdcontrol`.`Answer_Reservation`.`experiment` = 20 and ((`crowdcontrol`.`Answer`.`quality_assured` = true and `crowdcontrol`.`Answer`.`quality` > (select `crowdcontrol`.`Experiment`.`result_quality_threshold` from `crowdcontrol`.`Experiment` where `crowdcontrol`.`Experiment`.`id_experiment` = 20)) or true))) as `q`
16:20:37.229 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 1.742ms
16:20:37.229 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:20:37.229 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | c|
16:20:37.229 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:20:37.229 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 6|
16:20:37.229 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:20:37.229 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 2.496ms, +0.754ms
16:20:37.230 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Algorithm_Task_Chooser_Param`.`data`, `crowdcontrol`.`Chosen_Task_Chooser_Param`.`value` from `crowdcontrol`.`Chosen_Task_Chooser_Param` join `crowdcontrol`.`Algorithm_Task_Chooser_Param` on `crowdcontrol`.`Chosen_Task_Chooser_Param`.`param` = `crowdcontrol`.`Algorithm_Task_Chooser_Param`.`id_Algorithm_Task_Chooser_Param` where `crowdcontrol`.`Chosen_Task_Chooser_Param`.`experiment` = ?
16:20:37.230 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Algorithm_Task_Chooser_Param`.`data`, `crowdcontrol`.`Chosen_Task_Chooser_Param`.`value` from `crowdcontrol`.`Chosen_Task_Chooser_Param` join `crowdcontrol`.`Algorithm_Task_Chooser_Param` on `crowdcontrol`.`Chosen_Task_Chooser_Param`.`param` = `crowdcontrol`.`Algorithm_Task_Chooser_Param`.`id_Algorithm_Task_Chooser_Param` where `crowdcontrol`.`Chosen_Task_Chooser_Param`.`experiment` = 20
16:20:37.232 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 2.001ms
16:20:37.232 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +----+-----+
16:20:37.232 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : |data|value|
16:20:37.232 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+-----+
16:20:37.232 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : |1 |1ab |
16:20:37.232 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+-----+
16:20:37.232 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 2.77ms, +0.768ms
16:20:37.233 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.AntiSpoof - calculating phase for: answersCount=6, phases={1=1}, neededAnswers=10
16:20:37.233 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.AntiSpoof - entering phase 2
16:20:37.233 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.TaskChooserAlgorithm - constructing view with parameters: worker-id = 38, experimentID = 20, skipCreative = false, skipRating = false
16:20:37.233 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation`, `crowdcontrol`.`Answer_Reservation`.`worker`, `crowdcontrol`.`Answer_Reservation`.`experiment`, `crowdcontrol`.`Answer_Reservation`.`timestamp`, `crowdcontrol`.`Answer_Reservation`.`used` from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`experiment` = ? and `crowdcontrol`.`Answer_Reservation`.`worker` = ? and `crowdcontrol`.`Answer_Reservation`.`used` = ?)) as `q`
16:20:37.233 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation`, `crowdcontrol`.`Answer_Reservation`.`worker`, `crowdcontrol`.`Answer_Reservation`.`experiment`, `crowdcontrol`.`Answer_Reservation`.`timestamp`, `crowdcontrol`.`Answer_Reservation`.`used` from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`experiment` = 20 and `crowdcontrol`.`Answer_Reservation`.`worker` = 38 and `crowdcontrol`.`Answer_Reservation`.`used` = true)) as `q`
16:20:37.237 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 3.914ms
16:20:37.237 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:20:37.238 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | c|
16:20:37.238 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:20:37.238 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 0|
16:20:37.238 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:20:37.238 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 5.263ms, +1.349ms
16:20:37.238 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.TaskChooserAlgorithm - worker 38 has answered 0 times, max. is 3
16:20:37.238 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.TaskChooserAlgorithm - returning answer-view
16:20:37.238 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.TaskChooserAlgorithm - task chooser constructs answer-view
16:20:37.239 [ratpack-compute-1-5] DEBUG o.j.i.DefaultConnectionProvider - setting auto commit : false
16:20:37.239 [ratpack-compute-1-5] DEBUG o.j.i.DefaultConnectionProvider - set savepoint
16:20:37.240 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` left outer join `crowdcontrol`.`Answer` on `crowdcontrol`.`Answer`.`reservation` = `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` where ((`crowdcontrol`.`Answer_Reservation`.`used` = ? or (`crowdcontrol`.`Answer_Reservation`.`timestamp` >= ? and `crowdcontrol`.`Answer_Reservation`.`worker` <> ?)) and `crowdcontrol`.`Answer_Reservation`.`experiment` = ? and ((`crowdcontrol`.`Answer`.`quality_assured` = ? and `crowdcontrol`.`Answer`.`quality` > (select `crowdcontrol`.`Experiment`.`result_quality_threshold` from `crowdcontrol`.`Experiment` where `crowdcontrol`.`Experiment`.`id_experiment` = ?)) or ?))) as `q`
16:20:37.240 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` left outer join `crowdcontrol`.`Answer` on `crowdcontrol`.`Answer`.`reservation` = `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` where ((`crowdcontrol`.`Answer_Reservation`.`used` = true or (`crowdcontrol`.`Answer_Reservation`.`timestamp` >= {ts '2016-03-17 14:20:37.239'} and `crowdcontrol`.`Answer_Reservation`.`worker` <> -1)) and `crowdcontrol`.`Answer_Reservation`.`experiment` = 20 and ((`crowdcontrol`.`Answer`.`quality_assured` = true and `crowdcontrol`.`Answer`.`quality` > (select `crowdcontrol`.`Experiment`.`result_quality_threshold` from `crowdcontrol`.`Experiment` where `crowdcontrol`.`Experiment`.`id_experiment` = 20)) or true))) as `q`
16:20:37.241 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 1.815ms
16:20:37.242 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:20:37.242 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | c|
16:20:37.242 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:20:37.242 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 6|
16:20:37.242 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:20:37.242 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 2.533ms, +0.717ms
16:20:37.243 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation`, `crowdcontrol`.`Answer_Reservation`.`worker`, `crowdcontrol`.`Answer_Reservation`.`experiment`, `crowdcontrol`.`Answer_Reservation`.`timestamp`, `crowdcontrol`.`Answer_Reservation`.`used` from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`experiment` = ? and `crowdcontrol`.`Answer_Reservation`.`worker` = ? and `crowdcontrol`.`Answer_Reservation`.`used` = ?)) as `q`
16:20:37.243 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation`, `crowdcontrol`.`Answer_Reservation`.`worker`, `crowdcontrol`.`Answer_Reservation`.`experiment`, `crowdcontrol`.`Answer_Reservation`.`timestamp`, `crowdcontrol`.`Answer_Reservation`.`used` from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`experiment` = 20 and `crowdcontrol`.`Answer_Reservation`.`worker` = 38 and `crowdcontrol`.`Answer_Reservation`.`used` = true)) as `q`
16:20:37.244 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 1.172ms
16:20:37.244 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:20:37.244 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | c|
16:20:37.244 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:20:37.245 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 0|
16:20:37.245 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:20:37.245 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 3.011ms, +1.838ms
16:20:37.246 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select count(*) from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`experiment` = ? and `crowdcontrol`.`Answer_Reservation`.`worker` = ? and `crowdcontrol`.`Answer_Reservation`.`used` = ?)
16:20:37.247 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select count(*) from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`experiment` = 20 and `crowdcontrol`.`Answer_Reservation`.`worker` = 38 and `crowdcontrol`.`Answer_Reservation`.`used` = false)
16:20:37.248 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 1.745ms
16:20:37.248 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +-----+
16:20:37.249 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : |count|
16:20:37.249 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +-----+
16:20:37.249 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 0|
16:20:37.249 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +-----+
16:20:37.254 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 7.718ms, +5.973ms
16:20:37.254 [ratpack-compute-1-5] TRACE e.k.i.c.w.d.o.ExperimentsPlatformOperations - Worker 38 has 0 reserved open answers {}.
16:20:37.254 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : update `crowdcontrol`.`Answer_Reservation` set `crowdcontrol`.`Answer_Reservation`.`timestamp` = ? where `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` in (?)
16:20:37.254 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : update `crowdcontrol`.`Answer_Reservation` set `crowdcontrol`.`Answer_Reservation`.`timestamp` = {ts '2016-03-17 16:20:37.254'} where `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` in (0)
16:20:37.255 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Affected row(s) : 0
16:20:37.255 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 1.469ms
16:20:37.256 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 1.829ms, +0.36ms
16:20:37.256 [ratpack-compute-1-5] TRACE e.k.i.c.w.d.o.ExperimentsPlatformOperations - Reserving 3 new Answers for worker 38.
16:20:37.257 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing batch query : insert into `crowdcontrol`.`Answer_Reservation` (`idAnswer_Reservation`, `worker`, `experiment`, `timestamp`, `used`) values (?, ?, ?, ?, ?)
16:20:37.279 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 21.761ms
16:20:37.279 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 22.234ms, +0.473ms
16:20:37.279 [ratpack-compute-1-5] DEBUG o.j.i.DefaultConnectionProvider - release savepoint
16:20:37.279 [ratpack-compute-1-5] DEBUG o.j.i.DefaultConnectionProvider - commit
16:20:37.283 [ratpack-compute-1-5] DEBUG o.j.i.DefaultConnectionProvider - setting auto commit : true
16:20:37.286 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`worker` = ? and `crowdcontrol`.`Answer_Reservation`.`experiment` = ? and `crowdcontrol`.`Answer_Reservation`.`used` = ?)
16:20:37.287 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`worker` = 38 and `crowdcontrol`.`Answer_Reservation`.`experiment` = 20 and `crowdcontrol`.`Answer_Reservation`.`used` = false)
16:20:37.288 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 2.45ms
16:20:37.289 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +--------------------+
16:20:37.289 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : |idAnswer_Reservation|
16:20:37.289 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +--------------------+
16:20:37.289 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 57|
16:20:37.289 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 58|
16:20:37.289 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 59|
16:20:37.289 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +--------------------+
16:20:37.289 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 3.314ms, +0.864ms
16:20:37.289 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.TaskChooserAlgorithm - task chooser prepared builder
16:20:37.289 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Constraint`.`id_constraint`, `crowdcontrol`.`Constraint`.`constraint`, `crowdcontrol`.`Constraint`.`experiment` from `crowdcontrol`.`Constraint` where `crowdcontrol`.`Constraint`.`experiment` = ?
16:20:37.290 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Constraint`.`id_constraint`, `crowdcontrol`.`Constraint`.`constraint`, `crowdcontrol`.`Constraint`.`experiment` from `crowdcontrol`.`Constraint` where `crowdcontrol`.`Constraint`.`experiment` = 20
16:20:37.290 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 1.005ms
16:20:37.291 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +-------------+----------+----------+
16:20:37.291 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : |id_constraint|constraint|experiment|
16:20:37.291 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +-------------+----------+----------+
16:20:37.291 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 35|a | 20|
16:20:37.291 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 36|b | 20|
16:20:37.291 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 37|C | 20|
16:20:37.291 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 38|d | 20|
16:20:37.291 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +-------------+----------+----------+
16:20:37.291 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 2.002ms, +0.996ms
16:20:37.292 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Rating_Option_Experiment`.`id_Rating_Option_Experiment`, `crowdcontrol`.`Rating_Option_Experiment`.`name`, `crowdcontrol`.`Rating_Option_Experiment`.`value`, `crowdcontrol`.`Rating_Option_Experiment`.`experiment` from `crowdcontrol`.`Rating_Option_Experiment` where `crowdcontrol`.`Rating_Option_Experiment`.`experiment` = ?
16:20:37.292 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Rating_Option_Experiment`.`id_Rating_Option_Experiment`, `crowdcontrol`.`Rating_Option_Experiment`.`name`, `crowdcontrol`.`Rating_Option_Experiment`.`value`, `crowdcontrol`.`Rating_Option_Experiment`.`experiment` from `crowdcontrol`.`Rating_Option_Experiment` where `crowdcontrol`.`Rating_Option_Experiment`.`experiment` = 20
16:20:37.293 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 1.013ms
16:20:37.293 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +---------------------------+----+-----+----------+
16:20:37.293 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : |id_Rating_Option_Experiment|name|value|experiment|
16:20:37.293 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +---------------------------+----+-----+----------+
16:20:37.293 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 39|good| 9| 20|
16:20:37.293 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 40|bad | 0| 20|
16:20:37.293 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +---------------------------+----+-----+----------+
16:20:37.294 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 1.87ms, +0.856ms
16:20:37.294 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.Queries - returning view: type: ANSWER
title: "Calibtest"
description: "test"
answer_reservations: 57
answer_reservations: 58
answer_reservations: 59
rating_options {
value: 9
description: "good"
}
rating_options {
description: "bad"
}
constraints {
id: 35
name: "a"
}
constraints {
id: 36
name: "b"
}
constraints {
id: 37
name: "C"
}
constraints {
id: 38
name: "d"
}
16:20:42.167 [HikariPool-0 housekeeper] DEBUG c.z.h.p.HikariPool - HikariPool-0 - Pool stats (total=10, active=1, idle=9, waiting=0)
16:20:46.341 [ratpack-compute-1-5] DEBUG e.k.i.c.w.c.Commands - Request to submit answer answer: "asdf"
experiment: 20
reservation: 59
for worker 38
16:20:46.341 [ratpack-compute-1-5] TRACE e.k.i.c.w.c.Commands - cleaning answer answer: "asdf"
experiment: 20
reservation: 59
for worker 38 form potential malicious html tags
16:20:46.342 [ratpack-compute-1-5] TRACE e.k.i.c.w.c.Commands - answer answer: "asdf"
experiment: 20
reservation: 59
for reservation 59 from worker 38 is valid
16:20:46.342 [ratpack-compute-1-5] DEBUG e.k.i.c.w.o.Communication - Trying to submit answer asdf for worker 38 with route /experiments/20/answers
16:20:46.397 [I/O dispatcher 3] DEBUG e.k.i.c.w.o.Communication - Object service answered with status 201
16:20:46.399 [ratpack-compute-1-5] DEBUG e.k.i.c.w.c.Commands - Object service answered with OK.
16:20:46.414 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.Queries - skipCreative is: false
16:20:46.414 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.Queries - skipRating is: false
16:20:46.415 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select 1 as `one` from dual where exists (select `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer`, `crowdcontrol`.`Calibration_Result`.`id_calibration_result`, `crowdcontrol`.`Calibration_Result`.`worker`, `crowdcontrol`.`Calibration_Result`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`id_experiments_calibration`, `crowdcontrol`.`Experiments_Calibration`.`experiments_platform`, `crowdcontrol`.`Experiments_Calibration`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`not` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` join `crowdcontrol`.`Experiments_Calibration` on (`crowdcontrol`.`Experiments_Calibration`.`experiments_platform` in (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = ? and `crowdcontrol`.`Experiments_Platform`.`platform` = ?)) and `crowdcontrol`.`Calibration_answer_option`.`calibration` = (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` = `crowdcontrol`.`Experiments_Calibration`.`answer`) and ((`crowdcontrol`.`Experiments_Calibration`.`not` = ? and `crowdcontrol`.`Experiments_Calibration`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`) or (`crowdcontrol`.`Experiments_Calibration`.`not` = ? and `crowdcontrol`.`Experiments_Calibration`.`answer` <> `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`))) where `crowdcontrol`.`Calibration_Result`.`worker` = ?)
16:20:46.416 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select 1 as `one` from dual where exists (select `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer`, `crowdcontrol`.`Calibration_Result`.`id_calibration_result`, `crowdcontrol`.`Calibration_Result`.`worker`, `crowdcontrol`.`Calibration_Result`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`id_experiments_calibration`, `crowdcontrol`.`Experiments_Calibration`.`experiments_platform`, `crowdcontrol`.`Experiments_Calibration`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`not` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` join `crowdcontrol`.`Experiments_Calibration` on (`crowdcontrol`.`Experiments_Calibration`.`experiments_platform` in (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = 20 and `crowdcontrol`.`Experiments_Platform`.`platform` = 'dummydummy')) and `crowdcontrol`.`Calibration_answer_option`.`calibration` = (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` = `crowdcontrol`.`Experiments_Calibration`.`answer`) and ((`crowdcontrol`.`Experiments_Calibration`.`not` = true and `crowdcontrol`.`Experiments_Calibration`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`) or (`crowdcontrol`.`Experiments_Calibration`.`not` = false and `crowdcontrol`.`Experiments_Calibration`.`answer` <> `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`))) where `crowdcontrol`.`Calibration_Result`.`worker` = 38)
16:20:46.418 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 3.439ms
16:20:46.419 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 3.951ms, +0.512ms
16:20:46.419 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:20:46.419 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | one|
16:20:46.419 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:20:46.419 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Worker`.`quality` from `crowdcontrol`.`Worker` where `crowdcontrol`.`Worker`.`id_worker` = ?
16:20:46.419 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Worker`.`quality` from `crowdcontrol`.`Worker` where `crowdcontrol`.`Worker`.`id_worker` = 38
16:20:46.421 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 1.412ms
16:20:46.421 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +-------+
16:20:46.422 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : |quality|
16:20:46.422 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +-------+
16:20:46.422 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 9|
16:20:46.422 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +-------+
16:20:46.423 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 3.254ms, +1.841ms
16:20:46.423 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.Queries - worker 38 is eligible for working on the assignment
16:20:46.423 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.Queries - platform dummydummy is able to render calibrations
16:20:46.423 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Calibration`.`id_calibration`, `crowdcontrol`.`Calibration`.`property`, `crowdcontrol`.`Calibration`.`name`, `crowdcontrol`.`Calibration`.`experiment`, `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration` on `crowdcontrol`.`Calibration_answer_option`.`calibration` = `crowdcontrol`.`Calibration`.`id_calibration` where (`crowdcontrol`.`Calibration`.`id_calibration` in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` in (select `crowdcontrol`.`Experiments_Calibration`.`answer` from `crowdcontrol`.`Experiments_Calibration` where `crowdcontrol`.`Experiments_Calibration`.`experiments_platform` = (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = ? and `crowdcontrol`.`Experiments_Platform`.`platform` = ?)))) and `crowdcontrol`.`Calibration`.`id_calibration` not in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` where `crowdcontrol`.`Calibration_Result`.`worker` = ?))
16:20:46.423 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Calibration`.`id_calibration`, `crowdcontrol`.`Calibration`.`property`, `crowdcontrol`.`Calibration`.`name`, `crowdcontrol`.`Calibration`.`experiment`, `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration` on `crowdcontrol`.`Calibration_answer_option`.`calibration` = `crowdcontrol`.`Calibration`.`id_calibration` where (`crowdcontrol`.`Calibration`.`id_calibration` in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` in (select `crowdcontrol`.`Experiments_Calibration`.`answer` from `crowdcontrol`.`Experiments_Calibration` where `crowdcontrol`.`Experiments_Calibration`.`experiments_platform` = (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = 20 and `crowdcontrol`.`Experiments_Platform`.`platform` = 'dummydummy')))) and `crowdcontrol`.`Calibration`.`id_calibration` not in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` where `crowdcontrol`.`Calibration_Result`.`worker` = 38))
16:20:46.425 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 1.726ms
16:20:46.425 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +--------------+--------+----+----------+----------------------------+-----------+------+
16:20:46.425 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : |id_calibration|property|name|experiment|id_calibration_answer_option|calibration|answer|
16:20:46.425 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +--------------+--------+----+----------+----------------------------+-----------+------+
16:20:46.425 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 2.412ms, +0.685ms
16:20:46.425 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.Queries - worker 38 must answer the calibrations {}
16:20:46.426 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.Queries - worker 38 must not answer calibrations
16:20:46.426 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.Queries - invoking task-chooser anti_spoof
16:20:46.426 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` left outer join `crowdcontrol`.`Answer` on `crowdcontrol`.`Answer`.`reservation` = `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` where ((`crowdcontrol`.`Answer_Reservation`.`used` = ? or (`crowdcontrol`.`Answer_Reservation`.`timestamp` >= ? and `crowdcontrol`.`Answer_Reservation`.`worker` <> ?)) and `crowdcontrol`.`Answer_Reservation`.`experiment` = ? and ((`crowdcontrol`.`Answer`.`quality_assured` = ? and `crowdcontrol`.`Answer`.`quality` > (select `crowdcontrol`.`Experiment`.`result_quality_threshold` from `crowdcontrol`.`Experiment` where `crowdcontrol`.`Experiment`.`id_experiment` = ?)) or ?))) as `q`
16:20:46.427 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` left outer join `crowdcontrol`.`Answer` on `crowdcontrol`.`Answer`.`reservation` = `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` where ((`crowdcontrol`.`Answer_Reservation`.`used` = true or (`crowdcontrol`.`Answer_Reservation`.`timestamp` >= {ts '2016-03-17 14:20:46.426'} and `crowdcontrol`.`Answer_Reservation`.`worker` <> 38)) and `crowdcontrol`.`Answer_Reservation`.`experiment` = 20 and ((`crowdcontrol`.`Answer`.`quality_assured` = true and `crowdcontrol`.`Answer`.`quality` > (select `crowdcontrol`.`Experiment`.`result_quality_threshold` from `crowdcontrol`.`Experiment` where `crowdcontrol`.`Experiment`.`id_experiment` = 20)) or true))) as `q`
16:20:46.430 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 4.245ms
16:20:46.431 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:20:46.431 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | c|
16:20:46.432 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:20:46.432 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 7|
16:20:46.432 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:20:46.432 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 6.359ms, +2.114ms
16:20:46.433 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.AntiSpoof - calculating phase for: answersCount=7, phases={1=1}, neededAnswers=10
16:20:46.433 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.AntiSpoof - entering phase 2
16:20:46.433 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.TaskChooserAlgorithm - constructing view with parameters: worker-id = 38, experimentID = 20, skipCreative = false, skipRating = false
16:20:46.434 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation`, `crowdcontrol`.`Answer_Reservation`.`worker`, `crowdcontrol`.`Answer_Reservation`.`experiment`, `crowdcontrol`.`Answer_Reservation`.`timestamp`, `crowdcontrol`.`Answer_Reservation`.`used` from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`experiment` = ? and `crowdcontrol`.`Answer_Reservation`.`worker` = ? and `crowdcontrol`.`Answer_Reservation`.`used` = ?)) as `q`
16:20:46.434 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation`, `crowdcontrol`.`Answer_Reservation`.`worker`, `crowdcontrol`.`Answer_Reservation`.`experiment`, `crowdcontrol`.`Answer_Reservation`.`timestamp`, `crowdcontrol`.`Answer_Reservation`.`used` from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`experiment` = 20 and `crowdcontrol`.`Answer_Reservation`.`worker` = 38 and `crowdcontrol`.`Answer_Reservation`.`used` = true)) as `q`
16:20:46.435 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 1.956ms
16:20:46.436 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:20:46.436 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | c|
16:20:46.436 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:20:46.436 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 1|
16:20:46.436 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:20:46.436 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 3.029ms, +1.073ms
16:20:46.436 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.TaskChooserAlgorithm - worker 38 has answered 1 times, max. is 3
16:20:46.436 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.TaskChooserAlgorithm - returning answer-view
16:20:46.437 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.TaskChooserAlgorithm - task chooser constructs answer-view
16:20:46.437 [ratpack-compute-1-5] DEBUG o.j.i.DefaultConnectionProvider - setting auto commit : false
16:20:46.437 [ratpack-compute-1-5] DEBUG o.j.i.DefaultConnectionProvider - set savepoint
16:20:46.438 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` left outer join `crowdcontrol`.`Answer` on `crowdcontrol`.`Answer`.`reservation` = `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` where ((`crowdcontrol`.`Answer_Reservation`.`used` = ? or (`crowdcontrol`.`Answer_Reservation`.`timestamp` >= ? and `crowdcontrol`.`Answer_Reservation`.`worker` <> ?)) and `crowdcontrol`.`Answer_Reservation`.`experiment` = ? and ((`crowdcontrol`.`Answer`.`quality_assured` = ? and `crowdcontrol`.`Answer`.`quality` > (select `crowdcontrol`.`Experiment`.`result_quality_threshold` from `crowdcontrol`.`Experiment` where `crowdcontrol`.`Experiment`.`id_experiment` = ?)) or ?))) as `q`
16:20:46.439 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` left outer join `crowdcontrol`.`Answer` on `crowdcontrol`.`Answer`.`reservation` = `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` where ((`crowdcontrol`.`Answer_Reservation`.`used` = true or (`crowdcontrol`.`Answer_Reservation`.`timestamp` >= {ts '2016-03-17 14:20:46.438'} and `crowdcontrol`.`Answer_Reservation`.`worker` <> -1)) and `crowdcontrol`.`Answer_Reservation`.`experiment` = 20 and ((`crowdcontrol`.`Answer`.`quality_assured` = true and `crowdcontrol`.`Answer`.`quality` > (select `crowdcontrol`.`Experiment`.`result_quality_threshold` from `crowdcontrol`.`Experiment` where `crowdcontrol`.`Experiment`.`id_experiment` = 20)) or true))) as `q`
16:20:46.441 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 2.535ms
16:20:46.441 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:20:46.441 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | c|
16:20:46.441 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:20:46.441 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 9|
16:20:46.441 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:20:46.442 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 3.572ms, +1.036ms
16:20:46.442 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation`, `crowdcontrol`.`Answer_Reservation`.`worker`, `crowdcontrol`.`Answer_Reservation`.`experiment`, `crowdcontrol`.`Answer_Reservation`.`timestamp`, `crowdcontrol`.`Answer_Reservation`.`used` from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`experiment` = ? and `crowdcontrol`.`Answer_Reservation`.`worker` = ? and `crowdcontrol`.`Answer_Reservation`.`used` = ?)) as `q`
16:20:46.442 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation`, `crowdcontrol`.`Answer_Reservation`.`worker`, `crowdcontrol`.`Answer_Reservation`.`experiment`, `crowdcontrol`.`Answer_Reservation`.`timestamp`, `crowdcontrol`.`Answer_Reservation`.`used` from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`experiment` = 20 and `crowdcontrol`.`Answer_Reservation`.`worker` = 38 and `crowdcontrol`.`Answer_Reservation`.`used` = true)) as `q`
16:20:46.444 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 1.759ms
16:20:46.444 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:20:46.444 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | c|
16:20:46.444 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:20:46.444 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 1|
16:20:46.444 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:20:46.445 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 2.73ms, +0.97ms
16:20:46.445 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select count(*) from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`experiment` = ? and `crowdcontrol`.`Answer_Reservation`.`worker` = ? and `crowdcontrol`.`Answer_Reservation`.`used` = ?)
16:20:46.445 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select count(*) from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`experiment` = 20 and `crowdcontrol`.`Answer_Reservation`.`worker` = 38 and `crowdcontrol`.`Answer_Reservation`.`used` = false)
16:20:46.448 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 1.359ms
16:20:46.448 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +-----+
16:20:46.448 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : |count|
16:20:46.448 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +-----+
16:20:46.448 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 2|
16:20:46.448 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +-----+
16:20:46.451 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 6.081ms, +4.722ms
16:20:46.452 [ratpack-compute-1-5] TRACE e.k.i.c.w.d.o.ExperimentsPlatformOperations - Worker 38 has 2 reserved open answers {}.
16:20:46.452 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : update `crowdcontrol`.`Answer_Reservation` set `crowdcontrol`.`Answer_Reservation`.`timestamp` = ? where `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` in (?)
16:20:46.453 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : update `crowdcontrol`.`Answer_Reservation` set `crowdcontrol`.`Answer_Reservation`.`timestamp` = {ts '2016-03-17 16:20:46.452'} where `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` in (2)
16:20:46.454 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Affected row(s) : 1
16:20:46.454 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 1.987ms
16:20:46.455 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 2.542ms, +0.555ms
16:20:46.455 [ratpack-compute-1-5] TRACE e.k.i.c.w.d.o.ExperimentsPlatformOperations - Reserving 0 new Answers for worker 38.
16:20:46.455 [ratpack-compute-1-5] DEBUG o.j.i.DefaultConnectionProvider - release savepoint
16:20:46.455 [ratpack-compute-1-5] DEBUG o.j.i.DefaultConnectionProvider - commit
16:20:46.470 [ratpack-compute-1-5] DEBUG o.j.i.DefaultConnectionProvider - setting auto commit : true
16:20:46.471 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`worker` = ? and `crowdcontrol`.`Answer_Reservation`.`experiment` = ? and `crowdcontrol`.`Answer_Reservation`.`used` = ?)
16:20:46.471 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`worker` = 38 and `crowdcontrol`.`Answer_Reservation`.`experiment` = 20 and `crowdcontrol`.`Answer_Reservation`.`used` = false)
16:20:46.472 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 1.042ms
16:20:46.472 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +--------------------+
16:20:46.472 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : |idAnswer_Reservation|
16:20:46.472 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +--------------------+
16:20:46.472 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 57|
16:20:46.472 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 58|
16:20:46.472 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +--------------------+
16:20:46.473 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 1.794ms, +0.752ms
16:20:46.473 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.TaskChooserAlgorithm - task chooser prepared builder
16:20:46.473 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.Queries - returning view: type: ANSWER
title: "Calibtest"
description: "test"
answer_reservations: 57
answer_reservations: 58
rating_options {
value: 9
description: "good"
}
rating_options {
description: "bad"
}
constraints {
id: 35
name: "a"
}
constraints {
id: 36
name: "b"
}
constraints {
id: 37
name: "C"
}
constraints {
id: 38
name: "d"
}
16:20:48.026 [ratpack-compute-1-5] DEBUG e.k.i.c.w.c.Commands - Request to submit answer answer: "asdf"
experiment: 20
reservation: 58
for worker 38
16:20:48.026 [ratpack-compute-1-5] TRACE e.k.i.c.w.c.Commands - cleaning answer answer: "asdf"
experiment: 20
reservation: 58
for worker 38 form potential malicious html tags
16:20:48.027 [ratpack-compute-1-5] TRACE e.k.i.c.w.c.Commands - answer answer: "asdf"
experiment: 20
reservation: 58
for reservation 58 from worker 38 is valid
16:20:48.027 [ratpack-compute-1-5] DEBUG e.k.i.c.w.o.Communication - Trying to submit answer asdf for worker 38 with route /experiments/20/answers
16:20:48.071 [I/O dispatcher 3] DEBUG e.k.i.c.w.o.Communication - Object service answered with status 201
16:20:48.071 [ratpack-compute-1-5] DEBUG e.k.i.c.w.c.Commands - Object service answered with OK.
16:20:48.093 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.Queries - skipCreative is: false
16:20:48.093 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.Queries - skipRating is: false
16:20:48.094 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select 1 as `one` from dual where exists (select `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer`, `crowdcontrol`.`Calibration_Result`.`id_calibration_result`, `crowdcontrol`.`Calibration_Result`.`worker`, `crowdcontrol`.`Calibration_Result`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`id_experiments_calibration`, `crowdcontrol`.`Experiments_Calibration`.`experiments_platform`, `crowdcontrol`.`Experiments_Calibration`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`not` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` join `crowdcontrol`.`Experiments_Calibration` on (`crowdcontrol`.`Experiments_Calibration`.`experiments_platform` in (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = ? and `crowdcontrol`.`Experiments_Platform`.`platform` = ?)) and `crowdcontrol`.`Calibration_answer_option`.`calibration` = (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` = `crowdcontrol`.`Experiments_Calibration`.`answer`) and ((`crowdcontrol`.`Experiments_Calibration`.`not` = ? and `crowdcontrol`.`Experiments_Calibration`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`) or (`crowdcontrol`.`Experiments_Calibration`.`not` = ? and `crowdcontrol`.`Experiments_Calibration`.`answer` <> `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`))) where `crowdcontrol`.`Calibration_Result`.`worker` = ?)
16:20:48.095 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select 1 as `one` from dual where exists (select `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer`, `crowdcontrol`.`Calibration_Result`.`id_calibration_result`, `crowdcontrol`.`Calibration_Result`.`worker`, `crowdcontrol`.`Calibration_Result`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`id_experiments_calibration`, `crowdcontrol`.`Experiments_Calibration`.`experiments_platform`, `crowdcontrol`.`Experiments_Calibration`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`not` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` join `crowdcontrol`.`Experiments_Calibration` on (`crowdcontrol`.`Experiments_Calibration`.`experiments_platform` in (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = 20 and `crowdcontrol`.`Experiments_Platform`.`platform` = 'dummydummy')) and `crowdcontrol`.`Calibration_answer_option`.`calibration` = (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` = `crowdcontrol`.`Experiments_Calibration`.`answer`) and ((`crowdcontrol`.`Experiments_Calibration`.`not` = true and `crowdcontrol`.`Experiments_Calibration`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`) or (`crowdcontrol`.`Experiments_Calibration`.`not` = false and `crowdcontrol`.`Experiments_Calibration`.`answer` <> `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`))) where `crowdcontrol`.`Calibration_Result`.`worker` = 38)
16:20:48.099 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 4.669ms
16:20:48.099 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 5.082ms, +0.412ms
16:20:48.099 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:20:48.099 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | one|
16:20:48.099 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:20:48.099 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Worker`.`quality` from `crowdcontrol`.`Worker` where `crowdcontrol`.`Worker`.`id_worker` = ?
16:20:48.099 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Worker`.`quality` from `crowdcontrol`.`Worker` where `crowdcontrol`.`Worker`.`id_worker` = 38
16:20:48.100 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 0.8ms
16:20:48.100 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +-------+
16:20:48.100 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : |quality|
16:20:48.100 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +-------+
16:20:48.100 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 9|
16:20:48.100 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +-------+
16:20:48.101 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 1.491ms, +0.691ms
16:20:48.101 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.Queries - worker 38 is eligible for working on the assignment
16:20:48.101 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.Queries - platform dummydummy is able to render calibrations
16:20:48.101 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Calibration`.`id_calibration`, `crowdcontrol`.`Calibration`.`property`, `crowdcontrol`.`Calibration`.`name`, `crowdcontrol`.`Calibration`.`experiment`, `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration` on `crowdcontrol`.`Calibration_answer_option`.`calibration` = `crowdcontrol`.`Calibration`.`id_calibration` where (`crowdcontrol`.`Calibration`.`id_calibration` in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` in (select `crowdcontrol`.`Experiments_Calibration`.`answer` from `crowdcontrol`.`Experiments_Calibration` where `crowdcontrol`.`Experiments_Calibration`.`experiments_platform` = (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = ? and `crowdcontrol`.`Experiments_Platform`.`platform` = ?)))) and `crowdcontrol`.`Calibration`.`id_calibration` not in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` where `crowdcontrol`.`Calibration_Result`.`worker` = ?))
16:20:48.101 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Calibration`.`id_calibration`, `crowdcontrol`.`Calibration`.`property`, `crowdcontrol`.`Calibration`.`name`, `crowdcontrol`.`Calibration`.`experiment`, `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration` on `crowdcontrol`.`Calibration_answer_option`.`calibration` = `crowdcontrol`.`Calibration`.`id_calibration` where (`crowdcontrol`.`Calibration`.`id_calibration` in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` in (select `crowdcontrol`.`Experiments_Calibration`.`answer` from `crowdcontrol`.`Experiments_Calibration` where `crowdcontrol`.`Experiments_Calibration`.`experiments_platform` = (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = 20 and `crowdcontrol`.`Experiments_Platform`.`platform` = 'dummydummy')))) and `crowdcontrol`.`Calibration`.`id_calibration` not in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` where `crowdcontrol`.`Calibration_Result`.`worker` = 38))
16:20:48.103 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 1.76ms
16:20:48.103 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +--------------+--------+----+----------+----------------------------+-----------+------+
16:20:48.103 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : |id_calibration|property|name|experiment|id_calibration_answer_option|calibration|answer|
16:20:48.103 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +--------------+--------+----+----------+----------------------------+-----------+------+
16:20:48.103 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 2.345ms, +0.585ms
16:20:48.104 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.Queries - worker 38 must answer the calibrations {}
16:20:48.104 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.Queries - worker 38 must not answer calibrations
16:20:48.104 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.Queries - invoking task-chooser anti_spoof
16:20:48.104 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` left outer join `crowdcontrol`.`Answer` on `crowdcontrol`.`Answer`.`reservation` = `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` where ((`crowdcontrol`.`Answer_Reservation`.`used` = ? or (`crowdcontrol`.`Answer_Reservation`.`timestamp` >= ? and `crowdcontrol`.`Answer_Reservation`.`worker` <> ?)) and `crowdcontrol`.`Answer_Reservation`.`experiment` = ? and ((`crowdcontrol`.`Answer`.`quality_assured` = ? and `crowdcontrol`.`Answer`.`quality` > (select `crowdcontrol`.`Experiment`.`result_quality_threshold` from `crowdcontrol`.`Experiment` where `crowdcontrol`.`Experiment`.`id_experiment` = ?)) or ?))) as `q`
16:20:48.105 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` left outer join `crowdcontrol`.`Answer` on `crowdcontrol`.`Answer`.`reservation` = `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` where ((`crowdcontrol`.`Answer_Reservation`.`used` = true or (`crowdcontrol`.`Answer_Reservation`.`timestamp` >= {ts '2016-03-17 14:20:48.104'} and `crowdcontrol`.`Answer_Reservation`.`worker` <> 38)) and `crowdcontrol`.`Answer_Reservation`.`experiment` = 20 and ((`crowdcontrol`.`Answer`.`quality_assured` = true and `crowdcontrol`.`Answer`.`quality` > (select `crowdcontrol`.`Experiment`.`result_quality_threshold` from `crowdcontrol`.`Experiment` where `crowdcontrol`.`Experiment`.`id_experiment` = 20)) or true))) as `q`
16:20:48.106 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 1.78ms
16:20:48.106 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:20:48.106 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | c|
16:20:48.106 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:20:48.106 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 8|
16:20:48.106 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:20:48.107 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 2.471ms, +0.69ms
16:20:48.107 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.AntiSpoof - calculating phase for: answersCount=8, phases={1=1}, neededAnswers=10
16:20:48.107 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.AntiSpoof - entering phase 2
16:20:48.107 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.TaskChooserAlgorithm - constructing view with parameters: worker-id = 38, experimentID = 20, skipCreative = false, skipRating = false
16:20:48.107 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation`, `crowdcontrol`.`Answer_Reservation`.`worker`, `crowdcontrol`.`Answer_Reservation`.`experiment`, `crowdcontrol`.`Answer_Reservation`.`timestamp`, `crowdcontrol`.`Answer_Reservation`.`used` from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`experiment` = ? and `crowdcontrol`.`Answer_Reservation`.`worker` = ? and `crowdcontrol`.`Answer_Reservation`.`used` = ?)) as `q`
16:20:48.107 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation`, `crowdcontrol`.`Answer_Reservation`.`worker`, `crowdcontrol`.`Answer_Reservation`.`experiment`, `crowdcontrol`.`Answer_Reservation`.`timestamp`, `crowdcontrol`.`Answer_Reservation`.`used` from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`experiment` = 20 and `crowdcontrol`.`Answer_Reservation`.`worker` = 38 and `crowdcontrol`.`Answer_Reservation`.`used` = true)) as `q`
16:20:48.108 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 1.245ms
16:20:48.108 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:20:48.109 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | c|
16:20:48.109 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:20:48.109 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 2|
16:20:48.109 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:20:48.109 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 1.908ms, +0.663ms
16:20:48.109 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.TaskChooserAlgorithm - worker 38 has answered 2 times, max. is 3
16:20:48.109 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.TaskChooserAlgorithm - returning answer-view
16:20:48.109 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.TaskChooserAlgorithm - task chooser constructs answer-view
16:20:48.109 [ratpack-compute-1-5] DEBUG o.j.i.DefaultConnectionProvider - setting auto commit : false
16:20:48.109 [ratpack-compute-1-5] DEBUG o.j.i.DefaultConnectionProvider - set savepoint
16:20:48.110 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` left outer join `crowdcontrol`.`Answer` on `crowdcontrol`.`Answer`.`reservation` = `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` where ((`crowdcontrol`.`Answer_Reservation`.`used` = ? or (`crowdcontrol`.`Answer_Reservation`.`timestamp` >= ? and `crowdcontrol`.`Answer_Reservation`.`worker` <> ?)) and `crowdcontrol`.`Answer_Reservation`.`experiment` = ? and ((`crowdcontrol`.`Answer`.`quality_assured` = ? and `crowdcontrol`.`Answer`.`quality` > (select `crowdcontrol`.`Experiment`.`result_quality_threshold` from `crowdcontrol`.`Experiment` where `crowdcontrol`.`Experiment`.`id_experiment` = ?)) or ?))) as `q`
16:20:48.111 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` left outer join `crowdcontrol`.`Answer` on `crowdcontrol`.`Answer`.`reservation` = `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` where ((`crowdcontrol`.`Answer_Reservation`.`used` = true or (`crowdcontrol`.`Answer_Reservation`.`timestamp` >= {ts '2016-03-17 14:20:48.11'} and `crowdcontrol`.`Answer_Reservation`.`worker` <> -1)) and `crowdcontrol`.`Answer_Reservation`.`experiment` = 20 and ((`crowdcontrol`.`Answer`.`quality_assured` = true and `crowdcontrol`.`Answer`.`quality` > (select `crowdcontrol`.`Experiment`.`result_quality_threshold` from `crowdcontrol`.`Experiment` where `crowdcontrol`.`Experiment`.`id_experiment` = 20)) or true))) as `q`
16:20:48.112 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 2.104ms
16:20:48.112 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:20:48.112 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | c|
16:20:48.112 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:20:48.112 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 9|
16:20:48.112 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:20:48.114 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 4.414ms, +2.309ms
16:20:48.115 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation`, `crowdcontrol`.`Answer_Reservation`.`worker`, `crowdcontrol`.`Answer_Reservation`.`experiment`, `crowdcontrol`.`Answer_Reservation`.`timestamp`, `crowdcontrol`.`Answer_Reservation`.`used` from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`experiment` = ? and `crowdcontrol`.`Answer_Reservation`.`worker` = ? and `crowdcontrol`.`Answer_Reservation`.`used` = ?)) as `q`
16:20:48.116 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation`, `crowdcontrol`.`Answer_Reservation`.`worker`, `crowdcontrol`.`Answer_Reservation`.`experiment`, `crowdcontrol`.`Answer_Reservation`.`timestamp`, `crowdcontrol`.`Answer_Reservation`.`used` from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`experiment` = 20 and `crowdcontrol`.`Answer_Reservation`.`worker` = 38 and `crowdcontrol`.`Answer_Reservation`.`used` = true)) as `q`
16:20:48.119 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 4.304ms
16:20:48.120 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:20:48.120 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | c|
16:20:48.120 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:20:48.120 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 2|
16:20:48.120 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:20:48.120 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 4.957ms, +0.653ms
16:20:48.120 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select count(*) from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`experiment` = ? and `crowdcontrol`.`Answer_Reservation`.`worker` = ? and `crowdcontrol`.`Answer_Reservation`.`used` = ?)
16:20:48.120 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select count(*) from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`experiment` = 20 and `crowdcontrol`.`Answer_Reservation`.`worker` = 38 and `crowdcontrol`.`Answer_Reservation`.`used` = false)
16:20:48.121 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 1.181ms
16:20:48.122 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +-----+
16:20:48.122 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : |count|
16:20:48.122 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +-----+
16:20:48.122 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 1|
16:20:48.122 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +-----+
16:20:48.122 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 1.89ms, +0.709ms
16:20:48.122 [ratpack-compute-1-5] TRACE e.k.i.c.w.d.o.ExperimentsPlatformOperations - Worker 38 has 1 reserved open answers {}.
16:20:48.122 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : update `crowdcontrol`.`Answer_Reservation` set `crowdcontrol`.`Answer_Reservation`.`timestamp` = ? where `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` in (?)
16:20:48.123 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : update `crowdcontrol`.`Answer_Reservation` set `crowdcontrol`.`Answer_Reservation`.`timestamp` = {ts '2016-03-17 16:20:48.122'} where `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` in (1)
16:20:48.124 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Affected row(s) : 1
16:20:48.124 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 1.258ms
16:20:48.124 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 1.644ms, +0.385ms
16:20:48.124 [ratpack-compute-1-5] TRACE e.k.i.c.w.d.o.ExperimentsPlatformOperations - Reserving 0 new Answers for worker 38.
16:20:48.124 [ratpack-compute-1-5] DEBUG o.j.i.DefaultConnectionProvider - release savepoint
16:20:48.124 [ratpack-compute-1-5] DEBUG o.j.i.DefaultConnectionProvider - commit
16:20:48.143 [ratpack-compute-1-5] DEBUG o.j.i.DefaultConnectionProvider - setting auto commit : true
16:20:48.143 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`worker` = ? and `crowdcontrol`.`Answer_Reservation`.`experiment` = ? and `crowdcontrol`.`Answer_Reservation`.`used` = ?)
16:20:48.144 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`worker` = 38 and `crowdcontrol`.`Answer_Reservation`.`experiment` = 20 and `crowdcontrol`.`Answer_Reservation`.`used` = false)
16:20:48.145 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 1.243ms
16:20:48.145 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +--------------------+
16:20:48.145 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : |idAnswer_Reservation|
16:20:48.145 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +--------------------+
16:20:48.145 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 57|
16:20:48.145 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +--------------------+
16:20:48.145 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 2.029ms, +0.785ms
16:20:48.145 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.TaskChooserAlgorithm - task chooser prepared builder
16:20:48.146 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.Queries - returning view: type: ANSWER
title: "Calibtest"
description: "test"
answer_reservations: 57
rating_options {
value: 9
description: "good"
}
rating_options {
description: "bad"
}
constraints {
id: 35
name: "a"
}
constraints {
id: 36
name: "b"
}
constraints {
id: 37
name: "C"
}
constraints {
id: 38
name: "d"
}
16:20:49.305 [ratpack-compute-1-5] DEBUG e.k.i.c.w.c.Commands - Request to submit answer answer: "asdf"
experiment: 20
reservation: 57
for worker 38
16:20:49.305 [ratpack-compute-1-5] TRACE e.k.i.c.w.c.Commands - cleaning answer answer: "asdf"
experiment: 20
reservation: 57
for worker 38 form potential malicious html tags
16:20:49.306 [ratpack-compute-1-5] TRACE e.k.i.c.w.c.Commands - answer answer: "asdf"
experiment: 20
reservation: 57
for reservation 57 from worker 38 is valid
16:20:49.306 [ratpack-compute-1-5] DEBUG e.k.i.c.w.o.Communication - Trying to submit answer asdf for worker 38 with route /experiments/20/answers
16:20:49.342 [I/O dispatcher 3] DEBUG e.k.i.c.w.o.Communication - Object service answered with status 201
16:20:49.342 [ratpack-compute-1-5] DEBUG e.k.i.c.w.c.Commands - Object service answered with OK.
16:20:49.359 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.Queries - skipCreative is: false
16:20:49.359 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.Queries - skipRating is: false
16:20:49.360 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select 1 as `one` from dual where exists (select `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer`, `crowdcontrol`.`Calibration_Result`.`id_calibration_result`, `crowdcontrol`.`Calibration_Result`.`worker`, `crowdcontrol`.`Calibration_Result`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`id_experiments_calibration`, `crowdcontrol`.`Experiments_Calibration`.`experiments_platform`, `crowdcontrol`.`Experiments_Calibration`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`not` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` join `crowdcontrol`.`Experiments_Calibration` on (`crowdcontrol`.`Experiments_Calibration`.`experiments_platform` in (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = ? and `crowdcontrol`.`Experiments_Platform`.`platform` = ?)) and `crowdcontrol`.`Calibration_answer_option`.`calibration` = (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` = `crowdcontrol`.`Experiments_Calibration`.`answer`) and ((`crowdcontrol`.`Experiments_Calibration`.`not` = ? and `crowdcontrol`.`Experiments_Calibration`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`) or (`crowdcontrol`.`Experiments_Calibration`.`not` = ? and `crowdcontrol`.`Experiments_Calibration`.`answer` <> `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`))) where `crowdcontrol`.`Calibration_Result`.`worker` = ?)
16:20:49.361 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select 1 as `one` from dual where exists (select `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer`, `crowdcontrol`.`Calibration_Result`.`id_calibration_result`, `crowdcontrol`.`Calibration_Result`.`worker`, `crowdcontrol`.`Calibration_Result`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`id_experiments_calibration`, `crowdcontrol`.`Experiments_Calibration`.`experiments_platform`, `crowdcontrol`.`Experiments_Calibration`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`not` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` join `crowdcontrol`.`Experiments_Calibration` on (`crowdcontrol`.`Experiments_Calibration`.`experiments_platform` in (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = 20 and `crowdcontrol`.`Experiments_Platform`.`platform` = 'dummydummy')) and `crowdcontrol`.`Calibration_answer_option`.`calibration` = (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` = `crowdcontrol`.`Experiments_Calibration`.`answer`) and ((`crowdcontrol`.`Experiments_Calibration`.`not` = true and `crowdcontrol`.`Experiments_Calibration`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`) or (`crowdcontrol`.`Experiments_Calibration`.`not` = false and `crowdcontrol`.`Experiments_Calibration`.`answer` <> `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`))) where `crowdcontrol`.`Calibration_Result`.`worker` = 38)
16:20:49.363 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 2.714ms
16:20:49.364 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 3.465ms, +0.75ms
16:20:49.364 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:20:49.364 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | one|
16:20:49.364 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:20:49.364 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Worker`.`quality` from `crowdcontrol`.`Worker` where `crowdcontrol`.`Worker`.`id_worker` = ?
16:20:49.364 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Worker`.`quality` from `crowdcontrol`.`Worker` where `crowdcontrol`.`Worker`.`id_worker` = 38
16:20:49.365 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 0.869ms
16:20:49.365 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +-------+
16:20:49.365 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : |quality|
16:20:49.365 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +-------+
16:20:49.365 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 9|
16:20:49.365 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +-------+
16:20:49.366 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 1.676ms, +0.806ms
16:20:49.366 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.Queries - worker 38 is eligible for working on the assignment
16:20:49.366 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.Queries - platform dummydummy is able to render calibrations
16:20:49.367 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Calibration`.`id_calibration`, `crowdcontrol`.`Calibration`.`property`, `crowdcontrol`.`Calibration`.`name`, `crowdcontrol`.`Calibration`.`experiment`, `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration` on `crowdcontrol`.`Calibration_answer_option`.`calibration` = `crowdcontrol`.`Calibration`.`id_calibration` where (`crowdcontrol`.`Calibration`.`id_calibration` in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` in (select `crowdcontrol`.`Experiments_Calibration`.`answer` from `crowdcontrol`.`Experiments_Calibration` where `crowdcontrol`.`Experiments_Calibration`.`experiments_platform` = (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = ? and `crowdcontrol`.`Experiments_Platform`.`platform` = ?)))) and `crowdcontrol`.`Calibration`.`id_calibration` not in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` where `crowdcontrol`.`Calibration_Result`.`worker` = ?))
16:20:49.369 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Calibration`.`id_calibration`, `crowdcontrol`.`Calibration`.`property`, `crowdcontrol`.`Calibration`.`name`, `crowdcontrol`.`Calibration`.`experiment`, `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration` on `crowdcontrol`.`Calibration_answer_option`.`calibration` = `crowdcontrol`.`Calibration`.`id_calibration` where (`crowdcontrol`.`Calibration`.`id_calibration` in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` in (select `crowdcontrol`.`Experiments_Calibration`.`answer` from `crowdcontrol`.`Experiments_Calibration` where `crowdcontrol`.`Experiments_Calibration`.`experiments_platform` = (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = 20 and `crowdcontrol`.`Experiments_Platform`.`platform` = 'dummydummy')))) and `crowdcontrol`.`Calibration`.`id_calibration` not in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` where `crowdcontrol`.`Calibration_Result`.`worker` = 38))
16:20:49.370 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 3.434ms
16:20:49.371 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +--------------+--------+----+----------+----------------------------+-----------+------+
16:20:49.371 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : |id_calibration|property|name|experiment|id_calibration_answer_option|calibration|answer|
16:20:49.371 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +--------------+--------+----+----------+----------------------------+-----------+------+
16:20:49.371 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 3.985ms, +0.551ms
16:20:49.371 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.Queries - worker 38 must answer the calibrations {}
16:20:49.371 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.Queries - worker 38 must not answer calibrations
16:20:49.371 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.Queries - invoking task-chooser anti_spoof
16:20:49.371 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` left outer join `crowdcontrol`.`Answer` on `crowdcontrol`.`Answer`.`reservation` = `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` where ((`crowdcontrol`.`Answer_Reservation`.`used` = ? or (`crowdcontrol`.`Answer_Reservation`.`timestamp` >= ? and `crowdcontrol`.`Answer_Reservation`.`worker` <> ?)) and `crowdcontrol`.`Answer_Reservation`.`experiment` = ? and ((`crowdcontrol`.`Answer`.`quality_assured` = ? and `crowdcontrol`.`Answer`.`quality` > (select `crowdcontrol`.`Experiment`.`result_quality_threshold` from `crowdcontrol`.`Experiment` where `crowdcontrol`.`Experiment`.`id_experiment` = ?)) or ?))) as `q`
16:20:49.372 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` left outer join `crowdcontrol`.`Answer` on `crowdcontrol`.`Answer`.`reservation` = `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` where ((`crowdcontrol`.`Answer_Reservation`.`used` = true or (`crowdcontrol`.`Answer_Reservation`.`timestamp` >= {ts '2016-03-17 14:20:49.371'} and `crowdcontrol`.`Answer_Reservation`.`worker` <> 38)) and `crowdcontrol`.`Answer_Reservation`.`experiment` = 20 and ((`crowdcontrol`.`Answer`.`quality_assured` = true and `crowdcontrol`.`Answer`.`quality` > (select `crowdcontrol`.`Experiment`.`result_quality_threshold` from `crowdcontrol`.`Experiment` where `crowdcontrol`.`Experiment`.`id_experiment` = 20)) or true))) as `q`
16:20:49.373 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 1.663ms
16:20:49.373 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:20:49.373 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | c|
16:20:49.373 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:20:49.373 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 9|
16:20:49.373 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:20:49.374 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 2.393ms, +0.73ms
16:20:49.374 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.AntiSpoof - calculating phase for: answersCount=9, phases={1=1}, neededAnswers=10
16:20:49.374 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.AntiSpoof - entering phase 2
16:20:49.374 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.TaskChooserAlgorithm - constructing view with parameters: worker-id = 38, experimentID = 20, skipCreative = false, skipRating = false
16:20:49.374 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation`, `crowdcontrol`.`Answer_Reservation`.`worker`, `crowdcontrol`.`Answer_Reservation`.`experiment`, `crowdcontrol`.`Answer_Reservation`.`timestamp`, `crowdcontrol`.`Answer_Reservation`.`used` from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`experiment` = ? and `crowdcontrol`.`Answer_Reservation`.`worker` = ? and `crowdcontrol`.`Answer_Reservation`.`used` = ?)) as `q`
16:20:49.374 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation`, `crowdcontrol`.`Answer_Reservation`.`worker`, `crowdcontrol`.`Answer_Reservation`.`experiment`, `crowdcontrol`.`Answer_Reservation`.`timestamp`, `crowdcontrol`.`Answer_Reservation`.`used` from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`experiment` = 20 and `crowdcontrol`.`Answer_Reservation`.`worker` = 38 and `crowdcontrol`.`Answer_Reservation`.`used` = true)) as `q`
16:20:49.375 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 1.322ms
16:20:49.376 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:20:49.376 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | c|
16:20:49.376 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:20:49.376 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 3|
16:20:49.376 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:20:49.376 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 2.061ms, +0.738ms
16:20:49.376 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.TaskChooserAlgorithm - worker 38 has answered 3 times, max. is 3
16:20:49.381 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select count(*) as `c` from (select `crowdcontrol`.`Rating`.`id_rating`, `crowdcontrol`.`Rating`.`experiment`, `crowdcontrol`.`Rating`.`answer_r`, `crowdcontrol`.`Rating`.`timestamp`, `crowdcontrol`.`Rating`.`rating`, `crowdcontrol`.`Rating`.`reservation`, `crowdcontrol`.`Rating`.`feedback`, `crowdcontrol`.`Rating`.`worker_id`, `crowdcontrol`.`Rating`.`quality` from `crowdcontrol`.`Rating` where (`crowdcontrol`.`Rating`.`experiment` = ? and `crowdcontrol`.`Rating`.`worker_id` = ?)) as `q`
16:20:49.382 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select count(*) as `c` from (select `crowdcontrol`.`Rating`.`id_rating`, `crowdcontrol`.`Rating`.`experiment`, `crowdcontrol`.`Rating`.`answer_r`, `crowdcontrol`.`Rating`.`timestamp`, `crowdcontrol`.`Rating`.`rating`, `crowdcontrol`.`Rating`.`reservation`, `crowdcontrol`.`Rating`.`feedback`, `crowdcontrol`.`Rating`.`worker_id`, `crowdcontrol`.`Rating`.`quality` from `crowdcontrol`.`Rating` where (`crowdcontrol`.`Rating`.`experiment` = 20 and `crowdcontrol`.`Rating`.`worker_id` = 38)) as `q`
16:20:49.383 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 1.458ms
16:20:49.383 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:20:49.383 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | c|
16:20:49.383 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:20:49.383 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 0|
16:20:49.383 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:20:49.385 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 3.321ms, +1.863ms
16:20:49.385 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.TaskChooserAlgorithm - worker 38 has rated 0 times, max. is 3
16:20:49.385 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.TaskChooserAlgorithm - returning rating-view
16:20:49.385 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.TaskChooserAlgorithm - task chooser constructs rating-view
16:20:49.386 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Answer`.`id_answer`, `crowdcontrol`.`Answer`.`experiment`, `crowdcontrol`.`Answer`.`answer`, `crowdcontrol`.`Answer`.`timestamp`, `crowdcontrol`.`Answer`.`worker_id`, `crowdcontrol`.`Answer`.`reservation`, `crowdcontrol`.`Answer`.`quality`, `crowdcontrol`.`Answer`.`quality_assured`, `crowdcontrol`.`Answer`.`system_response`, `crowdcontrol`.`Answer`.`hash`, count(`crowdcontrol`.`Rating`.`id_rating`) as `count` from `crowdcontrol`.`Answer` left outer join `crowdcontrol`.`Rating` on (`crowdcontrol`.`Rating`.`answer_r` = `crowdcontrol`.`Answer`.`id_answer` and (`crowdcontrol`.`Rating`.`rating` is not null or `crowdcontrol`.`Rating`.`timestamp` >= ?)) where (`crowdcontrol`.`Answer`.`worker_id` <> ? and `crowdcontrol`.`Answer`.`experiment` = ?) group by `crowdcontrol`.`Answer`.`id_answer`, `crowdcontrol`.`Answer`.`experiment`, `crowdcontrol`.`Answer`.`answer`, `crowdcontrol`.`Answer`.`timestamp`, `crowdcontrol`.`Answer`.`worker_id`, `crowdcontrol`.`Answer`.`reservation`, `crowdcontrol`.`Answer`.`quality`, `crowdcontrol`.`Answer`.`quality_assured`, `crowdcontrol`.`Answer`.`system_response`, `crowdcontrol`.`Answer`.`hash`
16:20:49.387 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Answer`.`id_answer`, `crowdcontrol`.`Answer`.`experiment`, `crowdcontrol`.`Answer`.`answer`, `crowdcontrol`.`Answer`.`timestamp`, `crowdcontrol`.`Answer`.`worker_id`, `crowdcontrol`.`Answer`.`reservation`, `crowdcontrol`.`Answer`.`quality`, `crowdcontrol`.`Answer`.`quality_assured`, `crowdcontrol`.`Answer`.`system_response`, `crowdcontrol`.`Answer`.`hash`, count(`crowdcontrol`.`Rating`.`id_rating`) as `count` from `crowdcontrol`.`Answer` left outer join `crowdcontrol`.`Rating` on (`crowdcontrol`.`Rating`.`answer_r` = `crowdcontrol`.`Answer`.`id_answer` and (`crowdcontrol`.`Rating`.`rating` is not null or `crowdcontrol`.`Rating`.`timestamp` >= {ts '2016-03-17 14:20:49.385'})) where (`crowdcontrol`.`Answer`.`worker_id` <> 38 and `crowdcontrol`.`Answer`.`experiment` = 20) group by `crowdcontrol`.`Answer`.`id_answer`, `crowdcontrol`.`Answer`.`experiment`, `crowdcontrol`.`Answer`.`answer`, `crowdcontrol`.`Answer`.`timestamp`, `crowdcontrol`.`Answer`.`worker_id`, `crowdcontrol`.`Answer`.`reservation`, `crowdcontrol`.`Answer`.`quality`, `crowdcontrol`.`Answer`.`quality_assured`, `crowdcontrol`.`Answer`.`system_response`, `crowdcontrol`.`Answer`.`hash`
16:20:49.390 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 3.866ms
16:20:49.391 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +---------+----------+------+---------------------+---------+-----------+-------+---------------+---------------+------+-----+
16:20:49.391 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : |id_answer|experiment|answer|timestamp |worker_id|reservation|quality|quality_assured|system_response| hash|count|
16:20:49.391 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +---------+----------+------+---------------------+---------+-----------+-------+---------------+---------------+------+-----+
16:20:49.391 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 36| 20|bla |2016-03-17 16:13:34.0| 36| 53| 9|{null} |{null} |{null}| 1|
16:20:49.391 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 37| 20|bla |2016-03-17 16:13:37.0| 36| 52| 9|{null} |{null} |{null}| 1|
16:20:49.391 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 38| 20|bla |2016-03-17 16:13:39.0| 36| 51| 9|{null} |{null} |{null}| 1|
16:20:49.391 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 39| 20|asdf |2016-03-17 16:14:07.0| 37| 56| {null}|{null} |{null} |{null}| 0|
16:20:49.391 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 40| 20|asdf |2016-03-17 16:14:09.0| 37| 55| {null}|{null} |{null} |{null}| 0|
16:20:49.391 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +---------+----------+------+---------------------+---------+-----------+-------+---------------+---------------+------+-----+
16:20:49.391 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : |...1 record(s) truncated...
16:20:49.391 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 5.455ms, +1.588ms
16:20:49.391 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.TaskChooserAlgorithm - all the answers belonging to the experiment not from the worker with their count (max rating per answer is 3): +---------+----------+------+---------------------+---------+-----------+-------+---------------+---------------+------+-----+
|id_answer|experiment|answer|timestamp |worker_id|reservation|quality|quality_assured|system_response| hash|count|
+---------+----------+------+---------------------+---------+-----------+-------+---------------+---------------+------+-----+
| 36| 20|bla |2016-03-17 16:13:34.0| 36| 53| 9|{null} |{null} |{null}| 1|
| 37| 20|bla |2016-03-17 16:13:37.0| 36| 52| 9|{null} |{null} |{null}| 1|
| 38| 20|bla |2016-03-17 16:13:39.0| 36| 51| 9|{null} |{null} |{null}| 1|
| 39| 20|asdf |2016-03-17 16:14:07.0| 37| 56| {null}|{null} |{null} |{null}| 0|
| 40| 20|asdf |2016-03-17 16:14:09.0| 37| 55| {null}|{null} |{null} |{null}| 0|
| 41| 20|asdf |2016-03-17 16:14:10.0| 37| 54| {null}|{null} |{null} |{null}| 0|
+---------+----------+------+---------------------+---------+-----------+-------+---------------+---------------+------+-----+
16:20:49.391 [ratpack-compute-1-5] DEBUG o.j.i.DefaultConnectionProvider - setting auto commit : false
16:20:49.392 [ratpack-compute-1-5] DEBUG o.j.i.DefaultConnectionProvider - set savepoint
16:20:49.393 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Answer`.`id_answer`, `crowdcontrol`.`Answer`.`experiment`, `crowdcontrol`.`Answer`.`answer`, `crowdcontrol`.`Answer`.`timestamp`, `crowdcontrol`.`Answer`.`worker_id`, `crowdcontrol`.`Answer`.`reservation`, `crowdcontrol`.`Answer`.`quality`, `crowdcontrol`.`Answer`.`quality_assured`, `crowdcontrol`.`Answer`.`system_response`, `crowdcontrol`.`Answer`.`hash`, `crowdcontrol`.`Rating_Reservation`.`idReserverd_Rating` from `crowdcontrol`.`Answer` join `crowdcontrol`.`Rating_Reservation` on (`crowdcontrol`.`Rating_Reservation`.`worker` = ? and `crowdcontrol`.`Rating_Reservation`.`experiment` = ? and `crowdcontrol`.`Rating_Reservation`.`answer` = `crowdcontrol`.`Answer`.`id_answer`)
16:20:49.393 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Answer`.`id_answer`, `crowdcontrol`.`Answer`.`experiment`, `crowdcontrol`.`Answer`.`answer`, `crowdcontrol`.`Answer`.`timestamp`, `crowdcontrol`.`Answer`.`worker_id`, `crowdcontrol`.`Answer`.`reservation`, `crowdcontrol`.`Answer`.`quality`, `crowdcontrol`.`Answer`.`quality_assured`, `crowdcontrol`.`Answer`.`system_response`, `crowdcontrol`.`Answer`.`hash`, `crowdcontrol`.`Rating_Reservation`.`idReserverd_Rating` from `crowdcontrol`.`Answer` join `crowdcontrol`.`Rating_Reservation` on (`crowdcontrol`.`Rating_Reservation`.`worker` = 38 and `crowdcontrol`.`Rating_Reservation`.`experiment` = 20 and `crowdcontrol`.`Rating_Reservation`.`answer` = `crowdcontrol`.`Answer`.`id_answer`)
16:20:49.394 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 1.473ms
16:20:49.398 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +---------+----------+------+---------+---------+-----------+-------+---------------+---------------+----+------------------+
16:20:49.398 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : |id_answer|experiment|answer|timestamp|worker_id|reservation|quality|quality_assured|system_response|hash|idReserverd_Rating|
16:20:49.398 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +---------+----------+------+---------+---------+-----------+-------+---------------+---------------+----+------------------+
16:20:49.398 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 5.909ms, +4.435ms
16:20:49.398 [ratpack-compute-1-5] TRACE e.k.i.c.w.d.o.ExperimentsPlatformOperations - Worker 38 has reserved open ratings {}.
16:20:49.399 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : update `crowdcontrol`.`Rating_Reservation` set `crowdcontrol`.`Rating_Reservation`.`timestamp` = ? where 1 = 0
16:20:49.399 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : update `crowdcontrol`.`Rating_Reservation` set `crowdcontrol`.`Rating_Reservation`.`timestamp` = {ts '2016-03-17 16:20:49.398'} where 1 = 0
16:20:49.400 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Affected row(s) : 0
16:20:49.401 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 2.103ms
16:20:49.401 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 2.697ms, +0.593ms
16:20:49.401 [ratpack-compute-1-5] TRACE e.k.i.c.w.d.o.ExperimentsPlatformOperations - Reserving 3 new Ratings for worker 38.
16:20:49.402 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Answer`.`id_answer`, `crowdcontrol`.`Answer`.`experiment`, `crowdcontrol`.`Answer`.`answer`, `crowdcontrol`.`Answer`.`timestamp`, `crowdcontrol`.`Answer`.`worker_id`, `crowdcontrol`.`Answer`.`reservation`, `crowdcontrol`.`Answer`.`quality`, `crowdcontrol`.`Answer`.`quality_assured`, `crowdcontrol`.`Answer`.`system_response`, `crowdcontrol`.`Answer`.`hash`, count(`crowdcontrol`.`Rating_Reservation`.`idReserverd_Rating`) as `count` from `crowdcontrol`.`Answer` left outer join `crowdcontrol`.`Rating_Reservation` on (`crowdcontrol`.`Rating_Reservation`.`answer` = `crowdcontrol`.`Answer`.`id_answer` and (`crowdcontrol`.`Rating_Reservation`.`used` = ? or `crowdcontrol`.`Rating_Reservation`.`timestamp` >= ?)) where (`crowdcontrol`.`Answer`.`experiment` = ? and `crowdcontrol`.`Answer`.`worker_id` <> ? and `crowdcontrol`.`Answer`.`id_answer` not in (select `crowdcontrol`.`Rating_Reservation`.`answer` from `crowdcontrol`.`Rating_Reservation` where (`crowdcontrol`.`Rating_Reservation`.`worker` = ? and `crowdcontrol`.`Rating_Reservation`.`experiment` = ?)) and ((`crowdcontrol`.`Answer`.`quality_assured` = ? and `crowdcontrol`.`Answer`.`quality` <> ?) or ?)) group by `crowdcontrol`.`Answer`.`id_answer`, `crowdcontrol`.`Answer`.`experiment`, `crowdcontrol`.`Answer`.`answer`, `crowdcontrol`.`Answer`.`timestamp`, `crowdcontrol`.`Answer`.`worker_id`, `crowdcontrol`.`Answer`.`reservation`, `crowdcontrol`.`Answer`.`quality`, `crowdcontrol`.`Answer`.`quality_assured`, `crowdcontrol`.`Answer`.`system_response`, `crowdcontrol`.`Answer`.`hash` having `count` < (select `crowdcontrol`.`Experiment`.`ratings_per_answer` from `crowdcontrol`.`Experiment` where `crowdcontrol`.`Experiment`.`id_experiment` = ?) order by `crowdcontrol`.`Answer`.`quality_assured` desc limit ?
16:20:49.403 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Answer`.`id_answer`, `crowdcontrol`.`Answer`.`experiment`, `crowdcontrol`.`Answer`.`answer`, `crowdcontrol`.`Answer`.`timestamp`, `crowdcontrol`.`Answer`.`worker_id`, `crowdcontrol`.`Answer`.`reservation`, `crowdcontrol`.`Answer`.`quality`, `crowdcontrol`.`Answer`.`quality_assured`, `crowdcontrol`.`Answer`.`system_response`, `crowdcontrol`.`Answer`.`hash`, count(`crowdcontrol`.`Rating_Reservation`.`idReserverd_Rating`) as `count` from `crowdcontrol`.`Answer` left outer join `crowdcontrol`.`Rating_Reservation` on (`crowdcontrol`.`Rating_Reservation`.`answer` = `crowdcontrol`.`Answer`.`id_answer` and (`crowdcontrol`.`Rating_Reservation`.`used` = true or `crowdcontrol`.`Rating_Reservation`.`timestamp` >= {ts '2016-03-17 14:20:49.401'})) where (`crowdcontrol`.`Answer`.`experiment` = 20 and `crowdcontrol`.`Answer`.`worker_id` <> 38 and `crowdcontrol`.`Answer`.`id_answer` not in (select `crowdcontrol`.`Rating_Reservation`.`answer` from `crowdcontrol`.`Rating_Reservation` where (`crowdcontrol`.`Rating_Reservation`.`worker` = 38 and `crowdcontrol`.`Rating_Reservation`.`experiment` = 20)) and ((`crowdcontrol`.`Answer`.`quality_assured` = true and `crowdcontrol`.`Answer`.`quality` <> 0) or true)) group by `crowdcontrol`.`Answer`.`id_answer`, `crowdcontrol`.`Answer`.`experiment`, `crowdcontrol`.`Answer`.`answer`, `crowdcontrol`.`Answer`.`timestamp`, `crowdcontrol`.`Answer`.`worker_id`, `crowdcontrol`.`Answer`.`reservation`, `crowdcontrol`.`Answer`.`quality`, `crowdcontrol`.`Answer`.`quality_assured`, `crowdcontrol`.`Answer`.`system_response`, `crowdcontrol`.`Answer`.`hash` having `count` < (select `crowdcontrol`.`Experiment`.`ratings_per_answer` from `crowdcontrol`.`Experiment` where `crowdcontrol`.`Experiment`.`id_experiment` = 20) order by `crowdcontrol`.`Answer`.`quality_assured` desc limit 3
16:20:49.406 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 4.535ms
16:20:49.408 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +---------+----------+------+---------------------+---------+-----------+-------+---------------+---------------+------+-----+
16:20:49.409 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : |id_answer|experiment|answer|timestamp |worker_id|reservation|quality|quality_assured|system_response| hash|count|
16:20:49.409 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +---------+----------+------+---------------------+---------+-----------+-------+---------------+---------------+------+-----+
16:20:49.409 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 36| 20|bla |2016-03-17 16:13:34.0| 36| 53| 9|{null} |{null} |{null}| 1|
16:20:49.409 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 37| 20|bla |2016-03-17 16:13:37.0| 36| 52| 9|{null} |{null} |{null}| 1|
16:20:49.409 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 38| 20|bla |2016-03-17 16:13:39.0| 36| 51| 9|{null} |{null} |{null}| 1|
16:20:49.409 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +---------+----------+------+---------------------+---------+-----------+-------+---------------+---------------+------+-----+
16:20:49.409 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 6.954ms, +2.419ms
16:20:49.410 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing batch query : insert into `crowdcontrol`.`Rating_Reservation` (`idReserverd_Rating`, `worker`, `experiment`, `answer`, `timestamp`, `used`) values (?, ?, ?, ?, ?, ?)
16:20:49.412 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 2.25ms
16:20:49.413 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 2.405ms, +0.154ms
16:20:49.413 [ratpack-compute-1-5] DEBUG o.j.i.DefaultConnectionProvider - release savepoint
16:20:49.413 [ratpack-compute-1-5] DEBUG o.j.i.DefaultConnectionProvider - commit
16:20:49.420 [ratpack-compute-1-5] DEBUG o.j.i.DefaultConnectionProvider - setting auto commit : true
16:20:49.421 [ratpack-compute-1-5] TRACE e.k.i.c.w.d.o.ExperimentsPlatformOperations - Worker 38 can rate [+---------+----------+------+---------------------+---------+-----------+-------+---------------+---------------+------+
|id_answer|experiment|answer|timestamp |worker_id|reservation|quality|quality_assured|system_response| hash|
+---------+----------+------+---------------------+---------+-----------+-------+---------------+---------------+------+
| 36| 20|bla |2016-03-17 16:13:34.0| 36| 53| 9|{null} |{null} |{null}|
+---------+----------+------+---------------------+---------+-----------+-------+---------------+---------------+------+, +---------+----------+------+---------------------+---------+-----------+-------+---------------+---------------+------+
|id_answer|experiment|answer|timestamp |worker_id|reservation|quality|quality_assured|system_response| hash|
+---------+----------+------+---------------------+---------+-----------+-------+---------------+---------------+------+
| 37| 20|bla |2016-03-17 16:13:37.0| 36| 52| 9|{null} |{null} |{null}|
+---------+----------+------+---------------------+---------+-----------+-------+---------------+---------------+------+, +---------+----------+------+---------------------+---------+-----------+-------+---------------+---------------+------+
|id_answer|experiment|answer|timestamp |worker_id|reservation|quality|quality_assured|system_response| hash|
+---------+----------+------+---------------------+---------+-----------+-------+---------------+---------------+------+
| 38| 20|bla |2016-03-17 16:13:39.0| 36| 51| 9|{null} |{null} |{null}|
+---------+----------+------+---------------------+---------+-----------+-------+---------------+---------------+------+]
16:20:49.422 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Rating_Reservation`.`idReserverd_Rating`, `crowdcontrol`.`Rating_Reservation`.`worker`, `crowdcontrol`.`Rating_Reservation`.`experiment`, `crowdcontrol`.`Rating_Reservation`.`answer`, `crowdcontrol`.`Rating_Reservation`.`timestamp`, `crowdcontrol`.`Rating_Reservation`.`used` from `crowdcontrol`.`Rating_Reservation` where (`crowdcontrol`.`Rating_Reservation`.`answer` in (?, ?, ?) and `crowdcontrol`.`Rating_Reservation`.`worker` = ?)
16:20:49.422 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Rating_Reservation`.`idReserverd_Rating`, `crowdcontrol`.`Rating_Reservation`.`worker`, `crowdcontrol`.`Rating_Reservation`.`experiment`, `crowdcontrol`.`Rating_Reservation`.`answer`, `crowdcontrol`.`Rating_Reservation`.`timestamp`, `crowdcontrol`.`Rating_Reservation`.`used` from `crowdcontrol`.`Rating_Reservation` where (`crowdcontrol`.`Rating_Reservation`.`answer` in (36, 37, 38) and `crowdcontrol`.`Rating_Reservation`.`worker` = 38)
16:20:49.424 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 2.862ms
16:20:49.425 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +------------------+------+----------+------+---------------------+-----+
16:20:49.425 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : |idReserverd_Rating|worker|experiment|answer|timestamp |used |
16:20:49.425 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +------------------+------+----------+------+---------------------+-----+
16:20:49.425 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 28| 38| 20| 36|2016-03-17 14:20:49.0|false|
16:20:49.425 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 29| 38| 20| 37|2016-03-17 14:20:49.0|false|
16:20:49.425 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 30| 38| 20| 38|2016-03-17 14:20:49.0|false|
16:20:49.425 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +------------------+------+----------+------+---------------------+-----+
16:20:49.425 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 3.847ms, +0.984ms
16:20:49.425 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.TaskChooserAlgorithm - worker 38 can rate [id: 28
answer_id: 36
answer: "bla"
, id: 29
answer_id: 37
answer: "bla"
, id: 30
answer_id: 38
answer: "bla"
]
16:20:49.426 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.TaskChooserAlgorithm - task chooser prepared builder
16:20:49.426 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.Queries - returning view: type: RATING
title: "Calibtest"
description: "test"
answers_to_rate {
id: 28
answer_id: 36
answer: "bla"
}
answers_to_rate {
id: 29
answer_id: 37
answer: "bla"
}
answers_to_rate {
id: 30
answer_id: 38
answer: "bla"
}
rating_options {
value: 9
description: "good"
}
rating_options {
description: "bad"
}
constraints {
id: 35
name: "a"
}
constraints {
id: 36
name: "b"
}
constraints {
id: 37
name: "C"
}
constraints {
id: 38
name: "d"
}
16:20:55.090 [ratpack-compute-1-5] DEBUG e.k.i.c.w.c.Commands - Request to submit rating rating_id: 28
rating: 9
experiment: 20
answer_id: 36
for worker 38.
16:20:55.091 [ratpack-compute-1-5] DEBUG e.k.i.c.w.o.Communication - Trying to submit rating reservation: 28
experiment_id: 20
rating: 9
worker: 38
for worker 38 with route /experiments/20/answers/36/rating
16:20:55.096 [ratpack-compute-1-6] DEBUG e.k.i.c.w.c.Commands - Request to submit rating rating_id: 29
rating: 9
experiment: 20
answer_id: 37
for worker 38.
16:20:55.096 [ratpack-compute-1-6] DEBUG e.k.i.c.w.o.Communication - Trying to submit rating reservation: 29
experiment_id: 20
rating: 9
worker: 38
for worker 38 with route /experiments/20/answers/37/rating
16:20:55.116 [ratpack-compute-1-7] DEBUG e.k.i.c.w.c.Commands - Request to submit rating rating_id: 30
rating: 9
experiment: 20
answer_id: 38
for worker 38.
16:20:55.116 [ratpack-compute-1-7] DEBUG e.k.i.c.w.o.Communication - Trying to submit rating reservation: 30
experiment_id: 20
rating: 9
worker: 38
for worker 38 with route /experiments/20/answers/38/rating
16:20:55.204 [I/O dispatcher 3] DEBUG e.k.i.c.w.o.Communication - Object service answered with status 201
16:20:55.205 [ratpack-compute-1-5] DEBUG e.k.i.c.w.c.Commands - Object service answered with status 201.
16:20:55.209 [I/O dispatcher 4] DEBUG e.k.i.c.w.o.Communication - Object service answered with status 201
16:20:55.210 [ratpack-compute-1-7] DEBUG e.k.i.c.w.c.Commands - Object service answered with status 201.
16:20:55.376 [I/O dispatcher 2] DEBUG e.k.i.c.w.o.Communication - Object service answered with status 201
16:20:55.377 [ratpack-compute-1-6] DEBUG e.k.i.c.w.c.Commands - Object service answered with status 201.
16:20:55.390 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.Queries - skipCreative is: false
16:20:55.390 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.Queries - skipRating is: false
16:20:55.391 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select 1 as `one` from dual where exists (select `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer`, `crowdcontrol`.`Calibration_Result`.`id_calibration_result`, `crowdcontrol`.`Calibration_Result`.`worker`, `crowdcontrol`.`Calibration_Result`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`id_experiments_calibration`, `crowdcontrol`.`Experiments_Calibration`.`experiments_platform`, `crowdcontrol`.`Experiments_Calibration`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`not` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` join `crowdcontrol`.`Experiments_Calibration` on (`crowdcontrol`.`Experiments_Calibration`.`experiments_platform` in (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = ? and `crowdcontrol`.`Experiments_Platform`.`platform` = ?)) and `crowdcontrol`.`Calibration_answer_option`.`calibration` = (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` = `crowdcontrol`.`Experiments_Calibration`.`answer`) and ((`crowdcontrol`.`Experiments_Calibration`.`not` = ? and `crowdcontrol`.`Experiments_Calibration`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`) or (`crowdcontrol`.`Experiments_Calibration`.`not` = ? and `crowdcontrol`.`Experiments_Calibration`.`answer` <> `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`))) where `crowdcontrol`.`Calibration_Result`.`worker` = ?)
16:20:55.391 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select 1 as `one` from dual where exists (select `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer`, `crowdcontrol`.`Calibration_Result`.`id_calibration_result`, `crowdcontrol`.`Calibration_Result`.`worker`, `crowdcontrol`.`Calibration_Result`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`id_experiments_calibration`, `crowdcontrol`.`Experiments_Calibration`.`experiments_platform`, `crowdcontrol`.`Experiments_Calibration`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`not` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` join `crowdcontrol`.`Experiments_Calibration` on (`crowdcontrol`.`Experiments_Calibration`.`experiments_platform` in (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = 20 and `crowdcontrol`.`Experiments_Platform`.`platform` = 'dummydummy')) and `crowdcontrol`.`Calibration_answer_option`.`calibration` = (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` = `crowdcontrol`.`Experiments_Calibration`.`answer`) and ((`crowdcontrol`.`Experiments_Calibration`.`not` = true and `crowdcontrol`.`Experiments_Calibration`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`) or (`crowdcontrol`.`Experiments_Calibration`.`not` = false and `crowdcontrol`.`Experiments_Calibration`.`answer` <> `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`))) where `crowdcontrol`.`Calibration_Result`.`worker` = 38)
16:20:55.392 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 1.406ms
16:20:55.392 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 1.853ms, +0.446ms
16:20:55.392 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:20:55.392 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | one|
16:20:55.393 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:20:55.393 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Worker`.`quality` from `crowdcontrol`.`Worker` where `crowdcontrol`.`Worker`.`id_worker` = ?
16:20:55.393 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Worker`.`quality` from `crowdcontrol`.`Worker` where `crowdcontrol`.`Worker`.`id_worker` = 38
16:20:55.393 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 0.631ms
16:20:55.401 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +-------+
16:20:55.401 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : |quality|
16:20:55.401 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +-------+
16:20:55.401 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 9|
16:20:55.401 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +-------+
16:20:55.402 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 9.318ms, +8.686ms
16:20:55.402 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.Queries - worker 38 is eligible for working on the assignment
16:20:55.402 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.Queries - platform dummydummy is able to render calibrations
16:20:55.403 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Calibration`.`id_calibration`, `crowdcontrol`.`Calibration`.`property`, `crowdcontrol`.`Calibration`.`name`, `crowdcontrol`.`Calibration`.`experiment`, `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration` on `crowdcontrol`.`Calibration_answer_option`.`calibration` = `crowdcontrol`.`Calibration`.`id_calibration` where (`crowdcontrol`.`Calibration`.`id_calibration` in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` in (select `crowdcontrol`.`Experiments_Calibration`.`answer` from `crowdcontrol`.`Experiments_Calibration` where `crowdcontrol`.`Experiments_Calibration`.`experiments_platform` = (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = ? and `crowdcontrol`.`Experiments_Platform`.`platform` = ?)))) and `crowdcontrol`.`Calibration`.`id_calibration` not in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` where `crowdcontrol`.`Calibration_Result`.`worker` = ?))
16:20:55.403 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Calibration`.`id_calibration`, `crowdcontrol`.`Calibration`.`property`, `crowdcontrol`.`Calibration`.`name`, `crowdcontrol`.`Calibration`.`experiment`, `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration` on `crowdcontrol`.`Calibration_answer_option`.`calibration` = `crowdcontrol`.`Calibration`.`id_calibration` where (`crowdcontrol`.`Calibration`.`id_calibration` in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` in (select `crowdcontrol`.`Experiments_Calibration`.`answer` from `crowdcontrol`.`Experiments_Calibration` where `crowdcontrol`.`Experiments_Calibration`.`experiments_platform` = (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = 20 and `crowdcontrol`.`Experiments_Platform`.`platform` = 'dummydummy')))) and `crowdcontrol`.`Calibration`.`id_calibration` not in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` where `crowdcontrol`.`Calibration_Result`.`worker` = 38))
16:20:55.404 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 1.684ms
16:20:55.405 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +--------------+--------+----+----------+----------------------------+-----------+------+
16:20:55.405 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : |id_calibration|property|name|experiment|id_calibration_answer_option|calibration|answer|
16:20:55.405 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +--------------+--------+----+----------+----------------------------+-----------+------+
16:20:55.405 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 2.21ms, +0.526ms
16:20:55.405 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.Queries - worker 38 must answer the calibrations {}
16:20:55.405 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.Queries - worker 38 must not answer calibrations
16:20:55.405 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.Queries - invoking task-chooser anti_spoof
16:20:55.406 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` left outer join `crowdcontrol`.`Answer` on `crowdcontrol`.`Answer`.`reservation` = `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` where ((`crowdcontrol`.`Answer_Reservation`.`used` = ? or (`crowdcontrol`.`Answer_Reservation`.`timestamp` >= ? and `crowdcontrol`.`Answer_Reservation`.`worker` <> ?)) and `crowdcontrol`.`Answer_Reservation`.`experiment` = ? and ((`crowdcontrol`.`Answer`.`quality_assured` = ? and `crowdcontrol`.`Answer`.`quality` > (select `crowdcontrol`.`Experiment`.`result_quality_threshold` from `crowdcontrol`.`Experiment` where `crowdcontrol`.`Experiment`.`id_experiment` = ?)) or ?))) as `q`
16:20:55.406 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` left outer join `crowdcontrol`.`Answer` on `crowdcontrol`.`Answer`.`reservation` = `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` where ((`crowdcontrol`.`Answer_Reservation`.`used` = true or (`crowdcontrol`.`Answer_Reservation`.`timestamp` >= {ts '2016-03-17 14:20:55.405'} and `crowdcontrol`.`Answer_Reservation`.`worker` <> 38)) and `crowdcontrol`.`Answer_Reservation`.`experiment` = 20 and ((`crowdcontrol`.`Answer`.`quality_assured` = true and `crowdcontrol`.`Answer`.`quality` > (select `crowdcontrol`.`Experiment`.`result_quality_threshold` from `crowdcontrol`.`Experiment` where `crowdcontrol`.`Experiment`.`id_experiment` = 20)) or true))) as `q`
16:20:55.407 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 1.407ms
16:20:55.407 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:20:55.407 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | c|
16:20:55.407 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:20:55.407 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 9|
16:20:55.407 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:20:55.407 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 1.939ms, +0.532ms
16:20:55.407 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.AntiSpoof - calculating phase for: answersCount=9, phases={1=1}, neededAnswers=10
16:20:55.408 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.AntiSpoof - entering phase 2
16:20:55.408 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.TaskChooserAlgorithm - constructing view with parameters: worker-id = 38, experimentID = 20, skipCreative = false, skipRating = false
16:20:55.408 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation`, `crowdcontrol`.`Answer_Reservation`.`worker`, `crowdcontrol`.`Answer_Reservation`.`experiment`, `crowdcontrol`.`Answer_Reservation`.`timestamp`, `crowdcontrol`.`Answer_Reservation`.`used` from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`experiment` = ? and `crowdcontrol`.`Answer_Reservation`.`worker` = ? and `crowdcontrol`.`Answer_Reservation`.`used` = ?)) as `q`
16:20:55.408 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation`, `crowdcontrol`.`Answer_Reservation`.`worker`, `crowdcontrol`.`Answer_Reservation`.`experiment`, `crowdcontrol`.`Answer_Reservation`.`timestamp`, `crowdcontrol`.`Answer_Reservation`.`used` from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`experiment` = 20 and `crowdcontrol`.`Answer_Reservation`.`worker` = 38 and `crowdcontrol`.`Answer_Reservation`.`used` = true)) as `q`
16:20:55.409 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 1.286ms
16:20:55.409 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:20:55.409 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | c|
16:20:55.409 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:20:55.409 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 3|
16:20:55.409 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:20:55.410 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 1.954ms, +0.668ms
16:20:55.410 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.TaskChooserAlgorithm - worker 38 has answered 3 times, max. is 3
16:20:55.410 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select count(*) as `c` from (select `crowdcontrol`.`Rating`.`id_rating`, `crowdcontrol`.`Rating`.`experiment`, `crowdcontrol`.`Rating`.`answer_r`, `crowdcontrol`.`Rating`.`timestamp`, `crowdcontrol`.`Rating`.`rating`, `crowdcontrol`.`Rating`.`reservation`, `crowdcontrol`.`Rating`.`feedback`, `crowdcontrol`.`Rating`.`worker_id`, `crowdcontrol`.`Rating`.`quality` from `crowdcontrol`.`Rating` where (`crowdcontrol`.`Rating`.`experiment` = ? and `crowdcontrol`.`Rating`.`worker_id` = ?)) as `q`
16:20:55.410 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select count(*) as `c` from (select `crowdcontrol`.`Rating`.`id_rating`, `crowdcontrol`.`Rating`.`experiment`, `crowdcontrol`.`Rating`.`answer_r`, `crowdcontrol`.`Rating`.`timestamp`, `crowdcontrol`.`Rating`.`rating`, `crowdcontrol`.`Rating`.`reservation`, `crowdcontrol`.`Rating`.`feedback`, `crowdcontrol`.`Rating`.`worker_id`, `crowdcontrol`.`Rating`.`quality` from `crowdcontrol`.`Rating` where (`crowdcontrol`.`Rating`.`experiment` = 20 and `crowdcontrol`.`Rating`.`worker_id` = 38)) as `q`
16:20:55.411 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 1.149ms
16:20:55.411 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:20:55.411 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | c|
16:20:55.411 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:20:55.411 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 3|
16:20:55.411 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:20:55.412 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 1.72ms, +0.571ms
16:20:55.412 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.TaskChooserAlgorithm - worker 38 has rated 3 times, max. is 3
16:20:55.412 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.TaskChooserAlgorithm - skipping both
16:20:55.412 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select 1 as `one` from dual where exists (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`worker` = ? and `crowdcontrol`.`Answer_Reservation`.`experiment` = ? and `crowdcontrol`.`Answer_Reservation`.`used` = ?))
16:20:55.412 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select 1 as `one` from dual where exists (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`worker` = 38 and `crowdcontrol`.`Answer_Reservation`.`experiment` = 20 and `crowdcontrol`.`Answer_Reservation`.`used` = true))
16:20:55.413 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 1.149ms
16:20:55.413 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:20:55.413 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | one|
16:20:55.414 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:20:55.414 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 1|
16:20:55.414 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:20:55.414 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 2.088ms, +0.939ms
16:20:55.414 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.Queries - returning view:
16:20:59.241 [ratpack-compute-1-5] DEBUG e.k.i.c.w.ErrorHandler - bad request
edu.kit.ipd.crowdcontrol.workerservice.BadRequestException: Request needs Parameter: experiment as an Integer
at edu.kit.ipd.crowdcontrol.workerservice.RequestHelper.assertParameterInt(RequestHelper.java:61)
at edu.kit.ipd.crowdcontrol.workerservice.query.Queries.checkForExperimentAndPlatform(Queries.java:155)
at edu.kit.ipd.crowdcontrol.workerservice.query.Queries.getNext(Queries.java:116)
at edu.kit.ipd.crowdcontrol.workerservice.RatpackRouter.lambda$null$4(RatpackRouter.java:79)
at ratpack.handling.internal.DefaultContext.next(DefaultContext.java:256)
at ratpack.handling.internal.MethodHandler.handle(MethodHandler.java:44)
at ratpack.handling.internal.DefaultContext.next(DefaultContext.java:256)
at ratpack.handling.internal.DefaultContext.insert(DefaultContext.java:278)
at ratpack.path.internal.PathHandler.handle(PathHandler.java:61)
at ratpack.handling.internal.DefaultContext.next(DefaultContext.java:256)
at ratpack.path.internal.PathHandler.handle(PathHandler.java:63)
at ratpack.handling.internal.DefaultContext.next(DefaultContext.java:256)
at ratpack.path.internal.PathHandler.handle(PathHandler.java:63)
at ratpack.handling.internal.DefaultContext.next(DefaultContext.java:256)
at ratpack.path.internal.PathHandler.handle(PathHandler.java:63)
at ratpack.handling.internal.DefaultContext.next(DefaultContext.java:256)
at ratpack.handling.internal.DefaultContext.next(DefaultContext.java:269)
at edu.kit.ipd.crowdcontrol.workerservice.RatpackRouter.lambda$null$0(RatpackRouter.java:67)
at ratpack.handling.internal.DefaultContext.next(DefaultContext.java:256)
at ratpack.handling.internal.DefaultContext.lambda$start$4(DefaultContext.java:181)
at ratpack.exec.internal.DefaultExecution$InitialExecStream.exec(DefaultExecution.java:379)
at ratpack.exec.internal.DefaultExecution.exec(DefaultExecution.java:246)
at ratpack.exec.internal.DefaultExecution.intercept(DefaultExecution.java:240)
at ratpack.exec.internal.DefaultExecution.drain(DefaultExecution.java:220)
at ratpack.exec.internal.DefaultExecution.<init>(DefaultExecution.java:96)
at ratpack.exec.internal.DefaultExecController$1.lambda$start$0(DefaultExecController.java:172)
at io.netty.util.concurrent.PromiseTask.run(PromiseTask.java:73)
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:339)
at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:258)
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:742)
at ratpack.exec.internal.DefaultExecController$ExecControllerBindingThreadFactory.lambda$newThread$0(DefaultExecController.java:113)
at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137)
at java.lang.Thread.run(Thread.java:745)
16:21:07.750 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.Queries - skipCreative is: false
16:21:07.750 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.Queries - skipRating is: false
16:21:07.751 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select 1 as `one` from dual where exists (select `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer`, `crowdcontrol`.`Calibration_Result`.`id_calibration_result`, `crowdcontrol`.`Calibration_Result`.`worker`, `crowdcontrol`.`Calibration_Result`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`id_experiments_calibration`, `crowdcontrol`.`Experiments_Calibration`.`experiments_platform`, `crowdcontrol`.`Experiments_Calibration`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`not` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` join `crowdcontrol`.`Experiments_Calibration` on (`crowdcontrol`.`Experiments_Calibration`.`experiments_platform` in (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = ? and `crowdcontrol`.`Experiments_Platform`.`platform` = ?)) and `crowdcontrol`.`Calibration_answer_option`.`calibration` = (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` = `crowdcontrol`.`Experiments_Calibration`.`answer`) and ((`crowdcontrol`.`Experiments_Calibration`.`not` = ? and `crowdcontrol`.`Experiments_Calibration`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`) or (`crowdcontrol`.`Experiments_Calibration`.`not` = ? and `crowdcontrol`.`Experiments_Calibration`.`answer` <> `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`))) where `crowdcontrol`.`Calibration_Result`.`worker` = ?)
16:21:07.751 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select 1 as `one` from dual where exists (select `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer`, `crowdcontrol`.`Calibration_Result`.`id_calibration_result`, `crowdcontrol`.`Calibration_Result`.`worker`, `crowdcontrol`.`Calibration_Result`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`id_experiments_calibration`, `crowdcontrol`.`Experiments_Calibration`.`experiments_platform`, `crowdcontrol`.`Experiments_Calibration`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`not` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` join `crowdcontrol`.`Experiments_Calibration` on (`crowdcontrol`.`Experiments_Calibration`.`experiments_platform` in (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = 20 and `crowdcontrol`.`Experiments_Platform`.`platform` = 'dummydummy')) and `crowdcontrol`.`Calibration_answer_option`.`calibration` = (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` = `crowdcontrol`.`Experiments_Calibration`.`answer`) and ((`crowdcontrol`.`Experiments_Calibration`.`not` = true and `crowdcontrol`.`Experiments_Calibration`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`) or (`crowdcontrol`.`Experiments_Calibration`.`not` = false and `crowdcontrol`.`Experiments_Calibration`.`answer` <> `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`))) where `crowdcontrol`.`Calibration_Result`.`worker` = 37)
16:21:07.752 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 1.817ms
16:21:07.753 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 2.263ms, +0.446ms
16:21:07.753 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:21:07.753 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | one|
16:21:07.753 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:21:07.753 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Worker`.`quality` from `crowdcontrol`.`Worker` where `crowdcontrol`.`Worker`.`id_worker` = ?
16:21:07.753 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Worker`.`quality` from `crowdcontrol`.`Worker` where `crowdcontrol`.`Worker`.`id_worker` = 37
16:21:07.754 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 0.69ms
16:21:07.754 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +-------+
16:21:07.754 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : |quality|
16:21:07.754 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +-------+
16:21:07.754 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 9|
16:21:07.754 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +-------+
16:21:07.754 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 1.454ms, +0.764ms
16:21:07.755 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.Queries - worker 37 is eligible for working on the assignment
16:21:07.755 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.Queries - platform dummydummy is able to render calibrations
16:21:07.755 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Calibration`.`id_calibration`, `crowdcontrol`.`Calibration`.`property`, `crowdcontrol`.`Calibration`.`name`, `crowdcontrol`.`Calibration`.`experiment`, `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration` on `crowdcontrol`.`Calibration_answer_option`.`calibration` = `crowdcontrol`.`Calibration`.`id_calibration` where (`crowdcontrol`.`Calibration`.`id_calibration` in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` in (select `crowdcontrol`.`Experiments_Calibration`.`answer` from `crowdcontrol`.`Experiments_Calibration` where `crowdcontrol`.`Experiments_Calibration`.`experiments_platform` = (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = ? and `crowdcontrol`.`Experiments_Platform`.`platform` = ?)))) and `crowdcontrol`.`Calibration`.`id_calibration` not in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` where `crowdcontrol`.`Calibration_Result`.`worker` = ?))
16:21:07.755 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Calibration`.`id_calibration`, `crowdcontrol`.`Calibration`.`property`, `crowdcontrol`.`Calibration`.`name`, `crowdcontrol`.`Calibration`.`experiment`, `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration` on `crowdcontrol`.`Calibration_answer_option`.`calibration` = `crowdcontrol`.`Calibration`.`id_calibration` where (`crowdcontrol`.`Calibration`.`id_calibration` in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` in (select `crowdcontrol`.`Experiments_Calibration`.`answer` from `crowdcontrol`.`Experiments_Calibration` where `crowdcontrol`.`Experiments_Calibration`.`experiments_platform` = (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = 20 and `crowdcontrol`.`Experiments_Platform`.`platform` = 'dummydummy')))) and `crowdcontrol`.`Calibration`.`id_calibration` not in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` where `crowdcontrol`.`Calibration_Result`.`worker` = 37))
16:21:07.757 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 1.745ms
16:21:07.757 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +--------------+--------+----+----------+----------------------------+-----------+------+
16:21:07.757 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : |id_calibration|property|name|experiment|id_calibration_answer_option|calibration|answer|
16:21:07.757 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +--------------+--------+----+----------+----------------------------+-----------+------+
16:21:07.757 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 2.366ms, +0.62ms
16:21:07.757 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.Queries - worker 37 must answer the calibrations {}
16:21:07.757 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.Queries - worker 37 must not answer calibrations
16:21:07.758 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.Queries - invoking task-chooser anti_spoof
16:21:07.758 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` left outer join `crowdcontrol`.`Answer` on `crowdcontrol`.`Answer`.`reservation` = `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` where ((`crowdcontrol`.`Answer_Reservation`.`used` = ? or (`crowdcontrol`.`Answer_Reservation`.`timestamp` >= ? and `crowdcontrol`.`Answer_Reservation`.`worker` <> ?)) and `crowdcontrol`.`Answer_Reservation`.`experiment` = ? and ((`crowdcontrol`.`Answer`.`quality_assured` = ? and `crowdcontrol`.`Answer`.`quality` > (select `crowdcontrol`.`Experiment`.`result_quality_threshold` from `crowdcontrol`.`Experiment` where `crowdcontrol`.`Experiment`.`id_experiment` = ?)) or ?))) as `q`
16:21:07.759 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` left outer join `crowdcontrol`.`Answer` on `crowdcontrol`.`Answer`.`reservation` = `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` where ((`crowdcontrol`.`Answer_Reservation`.`used` = true or (`crowdcontrol`.`Answer_Reservation`.`timestamp` >= {ts '2016-03-17 14:21:07.758'} and `crowdcontrol`.`Answer_Reservation`.`worker` <> 37)) and `crowdcontrol`.`Answer_Reservation`.`experiment` = 20 and ((`crowdcontrol`.`Answer`.`quality_assured` = true and `crowdcontrol`.`Answer`.`quality` > (select `crowdcontrol`.`Experiment`.`result_quality_threshold` from `crowdcontrol`.`Experiment` where `crowdcontrol`.`Experiment`.`id_experiment` = 20)) or true))) as `q`
16:21:07.760 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 2.155ms
16:21:07.760 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:21:07.760 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | c|
16:21:07.760 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:21:07.760 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 9|
16:21:07.760 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:21:07.761 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 2.844ms, +0.689ms
16:21:07.761 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.AntiSpoof - calculating phase for: answersCount=9, phases={1=1}, neededAnswers=10
16:21:07.761 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.AntiSpoof - entering phase 2
16:21:07.761 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.TaskChooserAlgorithm - constructing view with parameters: worker-id = 37, experimentID = 20, skipCreative = false, skipRating = false
16:21:07.762 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation`, `crowdcontrol`.`Answer_Reservation`.`worker`, `crowdcontrol`.`Answer_Reservation`.`experiment`, `crowdcontrol`.`Answer_Reservation`.`timestamp`, `crowdcontrol`.`Answer_Reservation`.`used` from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`experiment` = ? and `crowdcontrol`.`Answer_Reservation`.`worker` = ? and `crowdcontrol`.`Answer_Reservation`.`used` = ?)) as `q`
16:21:07.762 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation`, `crowdcontrol`.`Answer_Reservation`.`worker`, `crowdcontrol`.`Answer_Reservation`.`experiment`, `crowdcontrol`.`Answer_Reservation`.`timestamp`, `crowdcontrol`.`Answer_Reservation`.`used` from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`experiment` = 20 and `crowdcontrol`.`Answer_Reservation`.`worker` = 37 and `crowdcontrol`.`Answer_Reservation`.`used` = true)) as `q`
16:21:07.763 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 1.513ms
16:21:07.763 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:21:07.764 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | c|
16:21:07.764 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:21:07.764 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 3|
16:21:07.764 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:21:07.765 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 3.312ms, +1.799ms
16:21:07.765 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.TaskChooserAlgorithm - worker 37 has answered 3 times, max. is 3
16:21:07.765 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select count(*) as `c` from (select `crowdcontrol`.`Rating`.`id_rating`, `crowdcontrol`.`Rating`.`experiment`, `crowdcontrol`.`Rating`.`answer_r`, `crowdcontrol`.`Rating`.`timestamp`, `crowdcontrol`.`Rating`.`rating`, `crowdcontrol`.`Rating`.`reservation`, `crowdcontrol`.`Rating`.`feedback`, `crowdcontrol`.`Rating`.`worker_id`, `crowdcontrol`.`Rating`.`quality` from `crowdcontrol`.`Rating` where (`crowdcontrol`.`Rating`.`experiment` = ? and `crowdcontrol`.`Rating`.`worker_id` = ?)) as `q`
16:21:07.766 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select count(*) as `c` from (select `crowdcontrol`.`Rating`.`id_rating`, `crowdcontrol`.`Rating`.`experiment`, `crowdcontrol`.`Rating`.`answer_r`, `crowdcontrol`.`Rating`.`timestamp`, `crowdcontrol`.`Rating`.`rating`, `crowdcontrol`.`Rating`.`reservation`, `crowdcontrol`.`Rating`.`feedback`, `crowdcontrol`.`Rating`.`worker_id`, `crowdcontrol`.`Rating`.`quality` from `crowdcontrol`.`Rating` where (`crowdcontrol`.`Rating`.`experiment` = 20 and `crowdcontrol`.`Rating`.`worker_id` = 37)) as `q`
16:21:07.767 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 1.627ms
16:21:07.767 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:21:07.767 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | c|
16:21:07.767 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:21:07.767 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 3|
16:21:07.767 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:21:07.768 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 2.39ms, +0.763ms
16:21:07.768 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.TaskChooserAlgorithm - worker 37 has rated 3 times, max. is 3
16:21:07.768 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.TaskChooserAlgorithm - skipping both
16:21:07.768 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select 1 as `one` from dual where exists (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`worker` = ? and `crowdcontrol`.`Answer_Reservation`.`experiment` = ? and `crowdcontrol`.`Answer_Reservation`.`used` = ?))
16:21:07.768 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select 1 as `one` from dual where exists (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`worker` = 37 and `crowdcontrol`.`Answer_Reservation`.`experiment` = 20 and `crowdcontrol`.`Answer_Reservation`.`used` = true))
16:21:07.769 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 1.013ms
16:21:07.769 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:21:07.769 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | one|
16:21:07.769 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:21:07.769 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 1|
16:21:07.769 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:21:07.770 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 1.742ms, +0.728ms
16:21:07.770 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.Queries - returning view:
16:21:09.364 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.Queries - skipCreative is: false
16:21:09.364 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.Queries - skipRating is: false
16:21:09.365 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select 1 as `one` from dual where exists (select `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer`, `crowdcontrol`.`Calibration_Result`.`id_calibration_result`, `crowdcontrol`.`Calibration_Result`.`worker`, `crowdcontrol`.`Calibration_Result`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`id_experiments_calibration`, `crowdcontrol`.`Experiments_Calibration`.`experiments_platform`, `crowdcontrol`.`Experiments_Calibration`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`not` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` join `crowdcontrol`.`Experiments_Calibration` on (`crowdcontrol`.`Experiments_Calibration`.`experiments_platform` in (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = ? and `crowdcontrol`.`Experiments_Platform`.`platform` = ?)) and `crowdcontrol`.`Calibration_answer_option`.`calibration` = (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` = `crowdcontrol`.`Experiments_Calibration`.`answer`) and ((`crowdcontrol`.`Experiments_Calibration`.`not` = ? and `crowdcontrol`.`Experiments_Calibration`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`) or (`crowdcontrol`.`Experiments_Calibration`.`not` = ? and `crowdcontrol`.`Experiments_Calibration`.`answer` <> `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`))) where `crowdcontrol`.`Calibration_Result`.`worker` = ?)
16:21:09.365 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select 1 as `one` from dual where exists (select `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer`, `crowdcontrol`.`Calibration_Result`.`id_calibration_result`, `crowdcontrol`.`Calibration_Result`.`worker`, `crowdcontrol`.`Calibration_Result`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`id_experiments_calibration`, `crowdcontrol`.`Experiments_Calibration`.`experiments_platform`, `crowdcontrol`.`Experiments_Calibration`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`not` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` join `crowdcontrol`.`Experiments_Calibration` on (`crowdcontrol`.`Experiments_Calibration`.`experiments_platform` in (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = 20 and `crowdcontrol`.`Experiments_Platform`.`platform` = 'dummydummy')) and `crowdcontrol`.`Calibration_answer_option`.`calibration` = (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` = `crowdcontrol`.`Experiments_Calibration`.`answer`) and ((`crowdcontrol`.`Experiments_Calibration`.`not` = true and `crowdcontrol`.`Experiments_Calibration`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`) or (`crowdcontrol`.`Experiments_Calibration`.`not` = false and `crowdcontrol`.`Experiments_Calibration`.`answer` <> `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`))) where `crowdcontrol`.`Calibration_Result`.`worker` = 37)
16:21:09.369 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 4.698ms
16:21:09.370 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 5.12ms, +0.422ms
16:21:09.370 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:21:09.370 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | one|
16:21:09.370 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:21:09.370 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Worker`.`quality` from `crowdcontrol`.`Worker` where `crowdcontrol`.`Worker`.`id_worker` = ?
16:21:09.370 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Worker`.`quality` from `crowdcontrol`.`Worker` where `crowdcontrol`.`Worker`.`id_worker` = 37
16:21:09.371 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 0.747ms
16:21:09.371 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +-------+
16:21:09.371 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : |quality|
16:21:09.371 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +-------+
16:21:09.371 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 9|
16:21:09.371 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +-------+
16:21:09.371 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 1.346ms, +0.598ms
16:21:09.372 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.Queries - worker 37 is eligible for working on the assignment
16:21:09.372 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.Queries - platform dummydummy is able to render calibrations
16:21:09.372 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Calibration`.`id_calibration`, `crowdcontrol`.`Calibration`.`property`, `crowdcontrol`.`Calibration`.`name`, `crowdcontrol`.`Calibration`.`experiment`, `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration` on `crowdcontrol`.`Calibration_answer_option`.`calibration` = `crowdcontrol`.`Calibration`.`id_calibration` where (`crowdcontrol`.`Calibration`.`id_calibration` in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` in (select `crowdcontrol`.`Experiments_Calibration`.`answer` from `crowdcontrol`.`Experiments_Calibration` where `crowdcontrol`.`Experiments_Calibration`.`experiments_platform` = (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = ? and `crowdcontrol`.`Experiments_Platform`.`platform` = ?)))) and `crowdcontrol`.`Calibration`.`id_calibration` not in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` where `crowdcontrol`.`Calibration_Result`.`worker` = ?))
16:21:09.372 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Calibration`.`id_calibration`, `crowdcontrol`.`Calibration`.`property`, `crowdcontrol`.`Calibration`.`name`, `crowdcontrol`.`Calibration`.`experiment`, `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration` on `crowdcontrol`.`Calibration_answer_option`.`calibration` = `crowdcontrol`.`Calibration`.`id_calibration` where (`crowdcontrol`.`Calibration`.`id_calibration` in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` in (select `crowdcontrol`.`Experiments_Calibration`.`answer` from `crowdcontrol`.`Experiments_Calibration` where `crowdcontrol`.`Experiments_Calibration`.`experiments_platform` = (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = 20 and `crowdcontrol`.`Experiments_Platform`.`platform` = 'dummydummy')))) and `crowdcontrol`.`Calibration`.`id_calibration` not in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` where `crowdcontrol`.`Calibration_Result`.`worker` = 37))
16:21:09.378 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 6.165ms
16:21:09.379 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +--------------+--------+----+----------+----------------------------+-----------+------+
16:21:09.379 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : |id_calibration|property|name|experiment|id_calibration_answer_option|calibration|answer|
16:21:09.379 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +--------------+--------+----+----------+----------------------------+-----------+------+
16:21:09.379 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 6.77ms, +0.605ms
16:21:09.379 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.Queries - worker 37 must answer the calibrations {}
16:21:09.379 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.Queries - worker 37 must not answer calibrations
16:21:09.379 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.Queries - invoking task-chooser anti_spoof
16:21:09.380 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` left outer join `crowdcontrol`.`Answer` on `crowdcontrol`.`Answer`.`reservation` = `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` where ((`crowdcontrol`.`Answer_Reservation`.`used` = ? or (`crowdcontrol`.`Answer_Reservation`.`timestamp` >= ? and `crowdcontrol`.`Answer_Reservation`.`worker` <> ?)) and `crowdcontrol`.`Answer_Reservation`.`experiment` = ? and ((`crowdcontrol`.`Answer`.`quality_assured` = ? and `crowdcontrol`.`Answer`.`quality` > (select `crowdcontrol`.`Experiment`.`result_quality_threshold` from `crowdcontrol`.`Experiment` where `crowdcontrol`.`Experiment`.`id_experiment` = ?)) or ?))) as `q`
16:21:09.380 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` left outer join `crowdcontrol`.`Answer` on `crowdcontrol`.`Answer`.`reservation` = `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` where ((`crowdcontrol`.`Answer_Reservation`.`used` = true or (`crowdcontrol`.`Answer_Reservation`.`timestamp` >= {ts '2016-03-17 14:21:09.379'} and `crowdcontrol`.`Answer_Reservation`.`worker` <> 37)) and `crowdcontrol`.`Answer_Reservation`.`experiment` = 20 and ((`crowdcontrol`.`Answer`.`quality_assured` = true and `crowdcontrol`.`Answer`.`quality` > (select `crowdcontrol`.`Experiment`.`result_quality_threshold` from `crowdcontrol`.`Experiment` where `crowdcontrol`.`Experiment`.`id_experiment` = 20)) or true))) as `q`
16:21:09.382 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 2.675ms
16:21:09.382 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:21:09.382 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | c|
16:21:09.383 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:21:09.383 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 9|
16:21:09.383 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:21:09.383 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 3.443ms, +0.767ms
16:21:09.383 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.AntiSpoof - calculating phase for: answersCount=9, phases={1=1}, neededAnswers=10
16:21:09.383 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.AntiSpoof - entering phase 2
16:21:09.383 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.TaskChooserAlgorithm - constructing view with parameters: worker-id = 37, experimentID = 20, skipCreative = false, skipRating = false
16:21:09.384 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation`, `crowdcontrol`.`Answer_Reservation`.`worker`, `crowdcontrol`.`Answer_Reservation`.`experiment`, `crowdcontrol`.`Answer_Reservation`.`timestamp`, `crowdcontrol`.`Answer_Reservation`.`used` from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`experiment` = ? and `crowdcontrol`.`Answer_Reservation`.`worker` = ? and `crowdcontrol`.`Answer_Reservation`.`used` = ?)) as `q`
16:21:09.384 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation`, `crowdcontrol`.`Answer_Reservation`.`worker`, `crowdcontrol`.`Answer_Reservation`.`experiment`, `crowdcontrol`.`Answer_Reservation`.`timestamp`, `crowdcontrol`.`Answer_Reservation`.`used` from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`experiment` = 20 and `crowdcontrol`.`Answer_Reservation`.`worker` = 37 and `crowdcontrol`.`Answer_Reservation`.`used` = true)) as `q`
16:21:09.386 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 2.219ms
16:21:09.386 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:21:09.386 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | c|
16:21:09.387 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:21:09.387 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 3|
16:21:09.387 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:21:09.388 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 4.285ms, +2.065ms
16:21:09.388 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.TaskChooserAlgorithm - worker 37 has answered 3 times, max. is 3
16:21:09.389 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select count(*) as `c` from (select `crowdcontrol`.`Rating`.`id_rating`, `crowdcontrol`.`Rating`.`experiment`, `crowdcontrol`.`Rating`.`answer_r`, `crowdcontrol`.`Rating`.`timestamp`, `crowdcontrol`.`Rating`.`rating`, `crowdcontrol`.`Rating`.`reservation`, `crowdcontrol`.`Rating`.`feedback`, `crowdcontrol`.`Rating`.`worker_id`, `crowdcontrol`.`Rating`.`quality` from `crowdcontrol`.`Rating` where (`crowdcontrol`.`Rating`.`experiment` = ? and `crowdcontrol`.`Rating`.`worker_id` = ?)) as `q`
16:21:09.389 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select count(*) as `c` from (select `crowdcontrol`.`Rating`.`id_rating`, `crowdcontrol`.`Rating`.`experiment`, `crowdcontrol`.`Rating`.`answer_r`, `crowdcontrol`.`Rating`.`timestamp`, `crowdcontrol`.`Rating`.`rating`, `crowdcontrol`.`Rating`.`reservation`, `crowdcontrol`.`Rating`.`feedback`, `crowdcontrol`.`Rating`.`worker_id`, `crowdcontrol`.`Rating`.`quality` from `crowdcontrol`.`Rating` where (`crowdcontrol`.`Rating`.`experiment` = 20 and `crowdcontrol`.`Rating`.`worker_id` = 37)) as `q`
16:21:09.390 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 1.881ms
16:21:09.391 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:21:09.391 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | c|
16:21:09.391 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:21:09.391 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 3|
16:21:09.392 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:21:09.392 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 3.851ms, +1.97ms
16:21:09.393 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.TaskChooserAlgorithm - worker 37 has rated 3 times, max. is 3
16:21:09.393 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.TaskChooserAlgorithm - skipping both
16:21:09.393 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select 1 as `one` from dual where exists (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`worker` = ? and `crowdcontrol`.`Answer_Reservation`.`experiment` = ? and `crowdcontrol`.`Answer_Reservation`.`used` = ?))
16:21:09.394 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select 1 as `one` from dual where exists (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`worker` = 37 and `crowdcontrol`.`Answer_Reservation`.`experiment` = 20 and `crowdcontrol`.`Answer_Reservation`.`used` = true))
16:21:09.396 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 2.394ms
16:21:09.397 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:21:09.397 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | one|
16:21:09.397 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:21:09.398 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 1|
16:21:09.398 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:21:09.399 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 5.57ms, +3.176ms
16:21:09.400 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.Queries - returning view:
16:21:12.168 [HikariPool-0 housekeeper] DEBUG c.z.h.p.HikariPool - HikariPool-0 - Pool stats (total=10, active=1, idle=9, waiting=0)
16:21:13.702 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.Queries - skipCreative is: false
16:21:13.702 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.Queries - skipRating is: false
16:21:13.702 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.Queries - handling no worker-id
16:21:13.702 [ratpack-compute-1-5] DEBUG e.k.i.c.w.o.Communication - Trying to get workerId for parameter {workerId=[121], assignmentId=[1234]} with route /workers/dummydummy/identity from platform dummydummy.
16:21:13.711 [I/O dispatcher 2] DEBUG e.k.i.c.w.o.Communication - Object service answered with status 404
16:21:13.711 [I/O dispatcher 2] DEBUG e.k.i.c.w.q.Queries - platform dummydummy returned nothing
16:21:13.711 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.Queries - email without workerid
16:21:13.712 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.Queries - returning view: type: EMAIL
16:21:20.158 [ratpack-compute-1-5] DEBUG e.k.i.c.w.c.Commands - Request submit to submit email email: "fgdshgsaghnjdsafghjk@asfgdsafa.de"
platform_parameters {
key: "workerId"
values: "121"
}
platform_parameters {
key: "assignmentId"
values: "1234"
}
for platform dummydummy
16:21:20.158 [ratpack-compute-1-5] TRACE e.k.i.c.w.o.Communication - Request to get WorkerID for email fgdshgsaghnjdsafghjk@asfgdsafa.de.
16:21:20.158 [ratpack-compute-1-5] DEBUG e.k.i.c.w.o.Communication - Trying to get workerId for parameter {workerId=[121], assignmentId=[1234], email=[fgdshgsaghnjdsafghjk@asfgdsafa.de]} with route /workers/dummydummy/identity from platform dummydummy.
16:21:20.186 [I/O dispatcher 2] DEBUG e.k.i.c.w.o.Communication - Object service answered with status 200
16:21:20.186 [I/O dispatcher 2] DEBUG e.k.i.c.w.o.Communication - Request to patch worker 39 with new email fgdshgsaghnjdsafghjk@asfgdsafa.de for route /workers/39.
16:21:20.203 [I/O dispatcher 2] DEBUG e.k.i.c.w.o.Communication - Object service answered with status 200
16:21:20.204 [ratpack-compute-1-5] DEBUG e.k.i.c.w.JWTHelper - encoding JWT for workerID
16:21:20.204 [ratpack-compute-1-5] DEBUG e.k.i.c.w.c.Commands - Answer from Object-Service for submitting email email: "fgdshgsaghnjdsafghjk@asfgdsafa.de"
platform_parameters {
key: "workerId"
values: "121"
}
platform_parameters {
key: "assignmentId"
values: "1234"
}
: authorization: "eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIzOSJ9.hbdDVvD1JWF44ZQ_SV6ydS16jNOU-KuR_r-z5G6oNxw"
16:21:20.214 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.Queries - skipCreative is: false
16:21:20.214 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.Queries - skipRating is: false
16:21:20.215 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select 1 as `one` from dual where exists (select `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer`, `crowdcontrol`.`Calibration_Result`.`id_calibration_result`, `crowdcontrol`.`Calibration_Result`.`worker`, `crowdcontrol`.`Calibration_Result`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`id_experiments_calibration`, `crowdcontrol`.`Experiments_Calibration`.`experiments_platform`, `crowdcontrol`.`Experiments_Calibration`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`not` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` join `crowdcontrol`.`Experiments_Calibration` on (`crowdcontrol`.`Experiments_Calibration`.`experiments_platform` in (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = ? and `crowdcontrol`.`Experiments_Platform`.`platform` = ?)) and `crowdcontrol`.`Calibration_answer_option`.`calibration` = (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` = `crowdcontrol`.`Experiments_Calibration`.`answer`) and ((`crowdcontrol`.`Experiments_Calibration`.`not` = ? and `crowdcontrol`.`Experiments_Calibration`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`) or (`crowdcontrol`.`Experiments_Calibration`.`not` = ? and `crowdcontrol`.`Experiments_Calibration`.`answer` <> `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`))) where `crowdcontrol`.`Calibration_Result`.`worker` = ?)
16:21:20.216 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select 1 as `one` from dual where exists (select `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer`, `crowdcontrol`.`Calibration_Result`.`id_calibration_result`, `crowdcontrol`.`Calibration_Result`.`worker`, `crowdcontrol`.`Calibration_Result`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`id_experiments_calibration`, `crowdcontrol`.`Experiments_Calibration`.`experiments_platform`, `crowdcontrol`.`Experiments_Calibration`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`not` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` join `crowdcontrol`.`Experiments_Calibration` on (`crowdcontrol`.`Experiments_Calibration`.`experiments_platform` in (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = 20 and `crowdcontrol`.`Experiments_Platform`.`platform` = 'dummydummy')) and `crowdcontrol`.`Calibration_answer_option`.`calibration` = (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` = `crowdcontrol`.`Experiments_Calibration`.`answer`) and ((`crowdcontrol`.`Experiments_Calibration`.`not` = true and `crowdcontrol`.`Experiments_Calibration`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`) or (`crowdcontrol`.`Experiments_Calibration`.`not` = false and `crowdcontrol`.`Experiments_Calibration`.`answer` <> `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`))) where `crowdcontrol`.`Calibration_Result`.`worker` = 39)
16:21:20.218 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 2.973ms
16:21:20.219 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 4.014ms, +1.041ms
16:21:20.220 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:21:20.220 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | one|
16:21:20.220 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:21:20.220 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Worker`.`quality` from `crowdcontrol`.`Worker` where `crowdcontrol`.`Worker`.`id_worker` = ?
16:21:20.220 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Worker`.`quality` from `crowdcontrol`.`Worker` where `crowdcontrol`.`Worker`.`id_worker` = 39
16:21:20.221 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 0.948ms
16:21:20.221 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +-------+
16:21:20.221 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : |quality|
16:21:20.221 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +-------+
16:21:20.221 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 9|
16:21:20.221 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +-------+
16:21:20.222 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 1.878ms, +0.93ms
16:21:20.222 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.Queries - worker 39 is eligible for working on the assignment
16:21:20.222 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.Queries - platform dummydummy is able to render calibrations
16:21:20.222 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Calibration`.`id_calibration`, `crowdcontrol`.`Calibration`.`property`, `crowdcontrol`.`Calibration`.`name`, `crowdcontrol`.`Calibration`.`experiment`, `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration` on `crowdcontrol`.`Calibration_answer_option`.`calibration` = `crowdcontrol`.`Calibration`.`id_calibration` where (`crowdcontrol`.`Calibration`.`id_calibration` in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` in (select `crowdcontrol`.`Experiments_Calibration`.`answer` from `crowdcontrol`.`Experiments_Calibration` where `crowdcontrol`.`Experiments_Calibration`.`experiments_platform` = (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = ? and `crowdcontrol`.`Experiments_Platform`.`platform` = ?)))) and `crowdcontrol`.`Calibration`.`id_calibration` not in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` where `crowdcontrol`.`Calibration_Result`.`worker` = ?))
16:21:20.222 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Calibration`.`id_calibration`, `crowdcontrol`.`Calibration`.`property`, `crowdcontrol`.`Calibration`.`name`, `crowdcontrol`.`Calibration`.`experiment`, `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration` on `crowdcontrol`.`Calibration_answer_option`.`calibration` = `crowdcontrol`.`Calibration`.`id_calibration` where (`crowdcontrol`.`Calibration`.`id_calibration` in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` in (select `crowdcontrol`.`Experiments_Calibration`.`answer` from `crowdcontrol`.`Experiments_Calibration` where `crowdcontrol`.`Experiments_Calibration`.`experiments_platform` = (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = 20 and `crowdcontrol`.`Experiments_Platform`.`platform` = 'dummydummy')))) and `crowdcontrol`.`Calibration`.`id_calibration` not in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` where `crowdcontrol`.`Calibration_Result`.`worker` = 39))
16:21:20.224 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 1.408ms
16:21:20.224 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +--------------+------------+----+----------+----------------------------+-----------+------+
16:21:20.224 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : |id_calibration|property |name|experiment|id_calibration_answer_option|calibration|answer|
16:21:20.224 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +--------------+------------+----+----------+----------------------------+-----------+------+
16:21:20.224 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 18|Are you male|Sex | {null}| 18| 18|yes |
16:21:20.224 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 18|Are you male|Sex | {null}| 19| 18|no |
16:21:20.224 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +--------------+------------+----+----------+----------------------------+-----------+------+
16:21:20.224 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 2.301ms, +0.892ms
16:21:20.225 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.Queries - worker 39 must answer the calibrations {+--------------+------------+----+----------+
|id_calibration|property |name|experiment|
+--------------+------------+----+----------+
| 18|Are you male|Sex | {null}|
+--------------+------------+----+----------+=+----------------------------+-----------+------+
|id_calibration_answer_option|calibration|answer|
+----------------------------+-----------+------+
| 18| 18|yes |
| 19| 18|no |
+----------------------------+-----------+------+}
16:21:20.225 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.Queries - worker 39 must answer calibrations
16:21:20.225 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.Queries - returning view: type: CALIBRATION
calibrations {
question: "Are you male"
answer_options {
option: "yes"
id: 18
}
answer_options {
option: "no"
id: 19
}
id: 18
}
16:21:22.199 [ratpack-compute-1-5] DEBUG e.k.i.c.w.c.Commands - Trying to submit calibration answer_option: 19
for worker 39.
16:21:22.201 [ratpack-compute-1-5] DEBUG e.k.i.c.w.o.Communication - Trying to submit calibration answer_id: 19
for worker 39 with route /workers/39/calibrations
16:21:22.214 [I/O dispatcher 2] DEBUG e.k.i.c.w.o.Communication - Object service answered with status 201
16:21:22.214 [ratpack-compute-1-5] DEBUG e.k.i.c.w.c.Commands - Object service answered with OK.
16:21:22.232 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.Queries - skipCreative is: false
16:21:22.233 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.Queries - skipRating is: false
16:21:22.234 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select 1 as `one` from dual where exists (select `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer`, `crowdcontrol`.`Calibration_Result`.`id_calibration_result`, `crowdcontrol`.`Calibration_Result`.`worker`, `crowdcontrol`.`Calibration_Result`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`id_experiments_calibration`, `crowdcontrol`.`Experiments_Calibration`.`experiments_platform`, `crowdcontrol`.`Experiments_Calibration`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`not` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` join `crowdcontrol`.`Experiments_Calibration` on (`crowdcontrol`.`Experiments_Calibration`.`experiments_platform` in (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = ? and `crowdcontrol`.`Experiments_Platform`.`platform` = ?)) and `crowdcontrol`.`Calibration_answer_option`.`calibration` = (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` = `crowdcontrol`.`Experiments_Calibration`.`answer`) and ((`crowdcontrol`.`Experiments_Calibration`.`not` = ? and `crowdcontrol`.`Experiments_Calibration`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`) or (`crowdcontrol`.`Experiments_Calibration`.`not` = ? and `crowdcontrol`.`Experiments_Calibration`.`answer` <> `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`))) where `crowdcontrol`.`Calibration_Result`.`worker` = ?)
16:21:22.235 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select 1 as `one` from dual where exists (select `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer`, `crowdcontrol`.`Calibration_Result`.`id_calibration_result`, `crowdcontrol`.`Calibration_Result`.`worker`, `crowdcontrol`.`Calibration_Result`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`id_experiments_calibration`, `crowdcontrol`.`Experiments_Calibration`.`experiments_platform`, `crowdcontrol`.`Experiments_Calibration`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`not` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` join `crowdcontrol`.`Experiments_Calibration` on (`crowdcontrol`.`Experiments_Calibration`.`experiments_platform` in (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = 20 and `crowdcontrol`.`Experiments_Platform`.`platform` = 'dummydummy')) and `crowdcontrol`.`Calibration_answer_option`.`calibration` = (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` = `crowdcontrol`.`Experiments_Calibration`.`answer`) and ((`crowdcontrol`.`Experiments_Calibration`.`not` = true and `crowdcontrol`.`Experiments_Calibration`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`) or (`crowdcontrol`.`Experiments_Calibration`.`not` = false and `crowdcontrol`.`Experiments_Calibration`.`answer` <> `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`))) where `crowdcontrol`.`Calibration_Result`.`worker` = 39)
16:21:22.236 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 2.492ms
16:21:22.237 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 3.069ms, +0.577ms
16:21:22.237 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:21:22.237 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | one|
16:21:22.237 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:21:22.237 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Worker`.`quality` from `crowdcontrol`.`Worker` where `crowdcontrol`.`Worker`.`id_worker` = ?
16:21:22.237 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Worker`.`quality` from `crowdcontrol`.`Worker` where `crowdcontrol`.`Worker`.`id_worker` = 39
16:21:22.238 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 0.85ms
16:21:22.238 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +-------+
16:21:22.238 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : |quality|
16:21:22.238 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +-------+
16:21:22.238 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 9|
16:21:22.238 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +-------+
16:21:22.239 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 1.605ms, +0.755ms
16:21:22.239 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.Queries - worker 39 is eligible for working on the assignment
16:21:22.239 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.Queries - platform dummydummy is able to render calibrations
16:21:22.239 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Calibration`.`id_calibration`, `crowdcontrol`.`Calibration`.`property`, `crowdcontrol`.`Calibration`.`name`, `crowdcontrol`.`Calibration`.`experiment`, `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration` on `crowdcontrol`.`Calibration_answer_option`.`calibration` = `crowdcontrol`.`Calibration`.`id_calibration` where (`crowdcontrol`.`Calibration`.`id_calibration` in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` in (select `crowdcontrol`.`Experiments_Calibration`.`answer` from `crowdcontrol`.`Experiments_Calibration` where `crowdcontrol`.`Experiments_Calibration`.`experiments_platform` = (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = ? and `crowdcontrol`.`Experiments_Platform`.`platform` = ?)))) and `crowdcontrol`.`Calibration`.`id_calibration` not in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` where `crowdcontrol`.`Calibration_Result`.`worker` = ?))
16:21:22.239 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Calibration`.`id_calibration`, `crowdcontrol`.`Calibration`.`property`, `crowdcontrol`.`Calibration`.`name`, `crowdcontrol`.`Calibration`.`experiment`, `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration` on `crowdcontrol`.`Calibration_answer_option`.`calibration` = `crowdcontrol`.`Calibration`.`id_calibration` where (`crowdcontrol`.`Calibration`.`id_calibration` in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` in (select `crowdcontrol`.`Experiments_Calibration`.`answer` from `crowdcontrol`.`Experiments_Calibration` where `crowdcontrol`.`Experiments_Calibration`.`experiments_platform` = (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = 20 and `crowdcontrol`.`Experiments_Platform`.`platform` = 'dummydummy')))) and `crowdcontrol`.`Calibration`.`id_calibration` not in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` where `crowdcontrol`.`Calibration_Result`.`worker` = 39))
16:21:22.240 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 1.474ms
16:21:22.241 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +--------------+--------+----+----------+----------------------------+-----------+------+
16:21:22.241 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : |id_calibration|property|name|experiment|id_calibration_answer_option|calibration|answer|
16:21:22.241 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +--------------+--------+----+----------+----------------------------+-----------+------+
16:21:22.241 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 2.244ms, +0.769ms
16:21:22.241 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.Queries - worker 39 must answer the calibrations {}
16:21:22.241 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.Queries - worker 39 must not answer calibrations
16:21:22.242 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.Queries - invoking task-chooser anti_spoof
16:21:22.242 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` left outer join `crowdcontrol`.`Answer` on `crowdcontrol`.`Answer`.`reservation` = `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` where ((`crowdcontrol`.`Answer_Reservation`.`used` = ? or (`crowdcontrol`.`Answer_Reservation`.`timestamp` >= ? and `crowdcontrol`.`Answer_Reservation`.`worker` <> ?)) and `crowdcontrol`.`Answer_Reservation`.`experiment` = ? and ((`crowdcontrol`.`Answer`.`quality_assured` = ? and `crowdcontrol`.`Answer`.`quality` > (select `crowdcontrol`.`Experiment`.`result_quality_threshold` from `crowdcontrol`.`Experiment` where `crowdcontrol`.`Experiment`.`id_experiment` = ?)) or ?))) as `q`
16:21:22.242 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` left outer join `crowdcontrol`.`Answer` on `crowdcontrol`.`Answer`.`reservation` = `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` where ((`crowdcontrol`.`Answer_Reservation`.`used` = true or (`crowdcontrol`.`Answer_Reservation`.`timestamp` >= {ts '2016-03-17 14:21:22.242'} and `crowdcontrol`.`Answer_Reservation`.`worker` <> 39)) and `crowdcontrol`.`Answer_Reservation`.`experiment` = 20 and ((`crowdcontrol`.`Answer`.`quality_assured` = true and `crowdcontrol`.`Answer`.`quality` > (select `crowdcontrol`.`Experiment`.`result_quality_threshold` from `crowdcontrol`.`Experiment` where `crowdcontrol`.`Experiment`.`id_experiment` = 20)) or true))) as `q`
16:21:22.243 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 1.575ms
16:21:22.244 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:21:22.244 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | c|
16:21:22.244 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:21:22.244 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 9|
16:21:22.244 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:21:22.244 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 2.234ms, +0.658ms
16:21:22.244 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.AntiSpoof - calculating phase for: answersCount=9, phases={1=1}, neededAnswers=10
16:21:22.244 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.AntiSpoof - entering phase 2
16:21:22.244 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.TaskChooserAlgorithm - constructing view with parameters: worker-id = 39, experimentID = 20, skipCreative = false, skipRating = false
16:21:22.245 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation`, `crowdcontrol`.`Answer_Reservation`.`worker`, `crowdcontrol`.`Answer_Reservation`.`experiment`, `crowdcontrol`.`Answer_Reservation`.`timestamp`, `crowdcontrol`.`Answer_Reservation`.`used` from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`experiment` = ? and `crowdcontrol`.`Answer_Reservation`.`worker` = ? and `crowdcontrol`.`Answer_Reservation`.`used` = ?)) as `q`
16:21:22.245 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation`, `crowdcontrol`.`Answer_Reservation`.`worker`, `crowdcontrol`.`Answer_Reservation`.`experiment`, `crowdcontrol`.`Answer_Reservation`.`timestamp`, `crowdcontrol`.`Answer_Reservation`.`used` from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`experiment` = 20 and `crowdcontrol`.`Answer_Reservation`.`worker` = 39 and `crowdcontrol`.`Answer_Reservation`.`used` = true)) as `q`
16:21:22.246 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 1.162ms
16:21:22.246 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:21:22.246 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | c|
16:21:22.246 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:21:22.246 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 0|
16:21:22.246 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:21:22.247 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 2.183ms, +1.021ms
16:21:22.247 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.TaskChooserAlgorithm - worker 39 has answered 0 times, max. is 3
16:21:22.247 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.TaskChooserAlgorithm - returning answer-view
16:21:22.247 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.TaskChooserAlgorithm - task chooser constructs answer-view
16:21:22.247 [ratpack-compute-1-5] DEBUG o.j.i.DefaultConnectionProvider - setting auto commit : false
16:21:22.248 [ratpack-compute-1-5] DEBUG o.j.i.DefaultConnectionProvider - set savepoint
16:21:22.250 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` left outer join `crowdcontrol`.`Answer` on `crowdcontrol`.`Answer`.`reservation` = `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` where ((`crowdcontrol`.`Answer_Reservation`.`used` = ? or (`crowdcontrol`.`Answer_Reservation`.`timestamp` >= ? and `crowdcontrol`.`Answer_Reservation`.`worker` <> ?)) and `crowdcontrol`.`Answer_Reservation`.`experiment` = ? and ((`crowdcontrol`.`Answer`.`quality_assured` = ? and `crowdcontrol`.`Answer`.`quality` > (select `crowdcontrol`.`Experiment`.`result_quality_threshold` from `crowdcontrol`.`Experiment` where `crowdcontrol`.`Experiment`.`id_experiment` = ?)) or ?))) as `q`
16:21:22.251 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` left outer join `crowdcontrol`.`Answer` on `crowdcontrol`.`Answer`.`reservation` = `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` where ((`crowdcontrol`.`Answer_Reservation`.`used` = true or (`crowdcontrol`.`Answer_Reservation`.`timestamp` >= {ts '2016-03-17 14:21:22.249'} and `crowdcontrol`.`Answer_Reservation`.`worker` <> -1)) and `crowdcontrol`.`Answer_Reservation`.`experiment` = 20 and ((`crowdcontrol`.`Answer`.`quality_assured` = true and `crowdcontrol`.`Answer`.`quality` > (select `crowdcontrol`.`Experiment`.`result_quality_threshold` from `crowdcontrol`.`Experiment` where `crowdcontrol`.`Experiment`.`id_experiment` = 20)) or true))) as `q`
16:21:22.253 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 3.561ms
16:21:22.254 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:21:22.254 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | c|
16:21:22.254 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:21:22.255 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 9|
16:21:22.255 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:21:22.256 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 5.96ms, +2.398ms
16:21:22.256 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation`, `crowdcontrol`.`Answer_Reservation`.`worker`, `crowdcontrol`.`Answer_Reservation`.`experiment`, `crowdcontrol`.`Answer_Reservation`.`timestamp`, `crowdcontrol`.`Answer_Reservation`.`used` from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`experiment` = ? and `crowdcontrol`.`Answer_Reservation`.`worker` = ? and `crowdcontrol`.`Answer_Reservation`.`used` = ?)) as `q`
16:21:22.257 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation`, `crowdcontrol`.`Answer_Reservation`.`worker`, `crowdcontrol`.`Answer_Reservation`.`experiment`, `crowdcontrol`.`Answer_Reservation`.`timestamp`, `crowdcontrol`.`Answer_Reservation`.`used` from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`experiment` = 20 and `crowdcontrol`.`Answer_Reservation`.`worker` = 39 and `crowdcontrol`.`Answer_Reservation`.`used` = true)) as `q`
16:21:22.258 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 2.169ms
16:21:22.259 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:21:22.259 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | c|
16:21:22.259 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:21:22.259 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 0|
16:21:22.259 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:21:22.260 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 4.026ms, +1.856ms
16:21:22.261 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select count(*) from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`experiment` = ? and `crowdcontrol`.`Answer_Reservation`.`worker` = ? and `crowdcontrol`.`Answer_Reservation`.`used` = ?)
16:21:22.261 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select count(*) from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`experiment` = 20 and `crowdcontrol`.`Answer_Reservation`.`worker` = 39 and `crowdcontrol`.`Answer_Reservation`.`used` = false)
16:21:22.262 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 1.165ms
16:21:22.262 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +-----+
16:21:22.262 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : |count|
16:21:22.262 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +-----+
16:21:22.262 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 0|
16:21:22.262 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +-----+
16:21:22.264 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 3.203ms, +2.037ms
16:21:22.264 [ratpack-compute-1-5] TRACE e.k.i.c.w.d.o.ExperimentsPlatformOperations - Worker 39 has 0 reserved open answers {}.
16:21:22.264 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : update `crowdcontrol`.`Answer_Reservation` set `crowdcontrol`.`Answer_Reservation`.`timestamp` = ? where `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` in (?)
16:21:22.264 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : update `crowdcontrol`.`Answer_Reservation` set `crowdcontrol`.`Answer_Reservation`.`timestamp` = {ts '2016-03-17 16:21:22.264'} where `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` in (0)
16:21:22.265 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Affected row(s) : 0
16:21:22.265 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 1.174ms
16:21:22.266 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 1.642ms, +0.468ms
16:21:22.266 [ratpack-compute-1-5] TRACE e.k.i.c.w.d.o.ExperimentsPlatformOperations - Reserving 1 new Answers for worker 39.
16:21:22.267 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing batch query : insert into `crowdcontrol`.`Answer_Reservation` (`idAnswer_Reservation`, `worker`, `experiment`, `timestamp`, `used`) values (?, ?, ?, ?, ?)
16:21:22.268 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 1.166ms
16:21:22.268 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 1.26ms, +0.094ms
16:21:22.268 [ratpack-compute-1-5] DEBUG o.j.i.DefaultConnectionProvider - release savepoint
16:21:22.268 [ratpack-compute-1-5] DEBUG o.j.i.DefaultConnectionProvider - commit
16:21:22.278 [ratpack-compute-1-5] DEBUG o.j.i.DefaultConnectionProvider - setting auto commit : true
16:21:22.279 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`worker` = ? and `crowdcontrol`.`Answer_Reservation`.`experiment` = ? and `crowdcontrol`.`Answer_Reservation`.`used` = ?)
16:21:22.279 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`worker` = 39 and `crowdcontrol`.`Answer_Reservation`.`experiment` = 20 and `crowdcontrol`.`Answer_Reservation`.`used` = false)
16:21:22.283 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 3.833ms
16:21:22.285 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +--------------------+
16:21:22.285 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : |idAnswer_Reservation|
16:21:22.285 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +--------------------+
16:21:22.285 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 60|
16:21:22.285 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +--------------------+
16:21:22.285 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 6.136ms, +2.302ms
16:21:22.285 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.TaskChooserAlgorithm - task chooser prepared builder
16:21:22.285 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.Queries - returning view: type: ANSWER
title: "Calibtest"
description: "test"
answer_reservations: 60
rating_options {
value: 9
description: "good"
}
rating_options {
description: "bad"
}
constraints {
id: 35
name: "a"
}
constraints {
id: 36
name: "b"
}
constraints {
id: 37
name: "C"
}
constraints {
id: 38
name: "d"
}
16:21:23.988 [ratpack-compute-1-5] DEBUG e.k.i.c.w.c.Commands - Request to submit answer answer: "asdf"
experiment: 20
reservation: 60
for worker 39
16:21:23.988 [ratpack-compute-1-5] TRACE e.k.i.c.w.c.Commands - cleaning answer answer: "asdf"
experiment: 20
reservation: 60
for worker 39 form potential malicious html tags
16:21:23.988 [ratpack-compute-1-5] TRACE e.k.i.c.w.c.Commands - answer answer: "asdf"
experiment: 20
reservation: 60
for reservation 60 from worker 39 is valid
16:21:23.988 [ratpack-compute-1-5] DEBUG e.k.i.c.w.o.Communication - Trying to submit answer asdf for worker 39 with route /experiments/20/answers
16:21:24.042 [I/O dispatcher 2] DEBUG e.k.i.c.w.o.Communication - Object service answered with status 201
16:21:24.051 [ratpack-compute-1-5] DEBUG e.k.i.c.w.c.Commands - Object service answered with OK.
16:21:24.068 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.Queries - skipCreative is: false
16:21:24.068 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.Queries - skipRating is: false
16:21:24.069 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select 1 as `one` from dual where exists (select `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer`, `crowdcontrol`.`Calibration_Result`.`id_calibration_result`, `crowdcontrol`.`Calibration_Result`.`worker`, `crowdcontrol`.`Calibration_Result`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`id_experiments_calibration`, `crowdcontrol`.`Experiments_Calibration`.`experiments_platform`, `crowdcontrol`.`Experiments_Calibration`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`not` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` join `crowdcontrol`.`Experiments_Calibration` on (`crowdcontrol`.`Experiments_Calibration`.`experiments_platform` in (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = ? and `crowdcontrol`.`Experiments_Platform`.`platform` = ?)) and `crowdcontrol`.`Calibration_answer_option`.`calibration` = (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` = `crowdcontrol`.`Experiments_Calibration`.`answer`) and ((`crowdcontrol`.`Experiments_Calibration`.`not` = ? and `crowdcontrol`.`Experiments_Calibration`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`) or (`crowdcontrol`.`Experiments_Calibration`.`not` = ? and `crowdcontrol`.`Experiments_Calibration`.`answer` <> `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`))) where `crowdcontrol`.`Calibration_Result`.`worker` = ?)
16:21:24.069 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select 1 as `one` from dual where exists (select `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer`, `crowdcontrol`.`Calibration_Result`.`id_calibration_result`, `crowdcontrol`.`Calibration_Result`.`worker`, `crowdcontrol`.`Calibration_Result`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`id_experiments_calibration`, `crowdcontrol`.`Experiments_Calibration`.`experiments_platform`, `crowdcontrol`.`Experiments_Calibration`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`not` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` join `crowdcontrol`.`Experiments_Calibration` on (`crowdcontrol`.`Experiments_Calibration`.`experiments_platform` in (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = 20 and `crowdcontrol`.`Experiments_Platform`.`platform` = 'dummydummy')) and `crowdcontrol`.`Calibration_answer_option`.`calibration` = (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` = `crowdcontrol`.`Experiments_Calibration`.`answer`) and ((`crowdcontrol`.`Experiments_Calibration`.`not` = true and `crowdcontrol`.`Experiments_Calibration`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`) or (`crowdcontrol`.`Experiments_Calibration`.`not` = false and `crowdcontrol`.`Experiments_Calibration`.`answer` <> `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`))) where `crowdcontrol`.`Calibration_Result`.`worker` = 39)
16:21:24.071 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 2.537ms
16:21:24.072 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 3.316ms, +0.779ms
16:21:24.072 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:21:24.072 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | one|
16:21:24.072 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:21:24.072 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Worker`.`quality` from `crowdcontrol`.`Worker` where `crowdcontrol`.`Worker`.`id_worker` = ?
16:21:24.072 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Worker`.`quality` from `crowdcontrol`.`Worker` where `crowdcontrol`.`Worker`.`id_worker` = 39
16:21:24.073 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 0.661ms
16:21:24.073 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +-------+
16:21:24.073 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : |quality|
16:21:24.073 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +-------+
16:21:24.073 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 9|
16:21:24.073 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +-------+
16:21:24.074 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 1.228ms, +0.567ms
16:21:24.074 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.Queries - worker 39 is eligible for working on the assignment
16:21:24.074 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.Queries - platform dummydummy is able to render calibrations
16:21:24.074 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Calibration`.`id_calibration`, `crowdcontrol`.`Calibration`.`property`, `crowdcontrol`.`Calibration`.`name`, `crowdcontrol`.`Calibration`.`experiment`, `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration` on `crowdcontrol`.`Calibration_answer_option`.`calibration` = `crowdcontrol`.`Calibration`.`id_calibration` where (`crowdcontrol`.`Calibration`.`id_calibration` in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` in (select `crowdcontrol`.`Experiments_Calibration`.`answer` from `crowdcontrol`.`Experiments_Calibration` where `crowdcontrol`.`Experiments_Calibration`.`experiments_platform` = (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = ? and `crowdcontrol`.`Experiments_Platform`.`platform` = ?)))) and `crowdcontrol`.`Calibration`.`id_calibration` not in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` where `crowdcontrol`.`Calibration_Result`.`worker` = ?))
16:21:24.074 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Calibration`.`id_calibration`, `crowdcontrol`.`Calibration`.`property`, `crowdcontrol`.`Calibration`.`name`, `crowdcontrol`.`Calibration`.`experiment`, `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration` on `crowdcontrol`.`Calibration_answer_option`.`calibration` = `crowdcontrol`.`Calibration`.`id_calibration` where (`crowdcontrol`.`Calibration`.`id_calibration` in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` in (select `crowdcontrol`.`Experiments_Calibration`.`answer` from `crowdcontrol`.`Experiments_Calibration` where `crowdcontrol`.`Experiments_Calibration`.`experiments_platform` = (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = 20 and `crowdcontrol`.`Experiments_Platform`.`platform` = 'dummydummy')))) and `crowdcontrol`.`Calibration`.`id_calibration` not in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` where `crowdcontrol`.`Calibration_Result`.`worker` = 39))
16:21:24.077 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 2.74ms
16:21:24.077 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +--------------+--------+----+----------+----------------------------+-----------+------+
16:21:24.078 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : |id_calibration|property|name|experiment|id_calibration_answer_option|calibration|answer|
16:21:24.078 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +--------------+--------+----+----------+----------------------------+-----------+------+
16:21:24.078 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 3.663ms, +0.922ms
16:21:24.078 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.Queries - worker 39 must answer the calibrations {}
16:21:24.078 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.Queries - worker 39 must not answer calibrations
16:21:24.078 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.Queries - invoking task-chooser anti_spoof
16:21:24.079 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` left outer join `crowdcontrol`.`Answer` on `crowdcontrol`.`Answer`.`reservation` = `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` where ((`crowdcontrol`.`Answer_Reservation`.`used` = ? or (`crowdcontrol`.`Answer_Reservation`.`timestamp` >= ? and `crowdcontrol`.`Answer_Reservation`.`worker` <> ?)) and `crowdcontrol`.`Answer_Reservation`.`experiment` = ? and ((`crowdcontrol`.`Answer`.`quality_assured` = ? and `crowdcontrol`.`Answer`.`quality` > (select `crowdcontrol`.`Experiment`.`result_quality_threshold` from `crowdcontrol`.`Experiment` where `crowdcontrol`.`Experiment`.`id_experiment` = ?)) or ?))) as `q`
16:21:24.080 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` left outer join `crowdcontrol`.`Answer` on `crowdcontrol`.`Answer`.`reservation` = `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` where ((`crowdcontrol`.`Answer_Reservation`.`used` = true or (`crowdcontrol`.`Answer_Reservation`.`timestamp` >= {ts '2016-03-17 14:21:24.078'} and `crowdcontrol`.`Answer_Reservation`.`worker` <> 39)) and `crowdcontrol`.`Answer_Reservation`.`experiment` = 20 and ((`crowdcontrol`.`Answer`.`quality_assured` = true and `crowdcontrol`.`Answer`.`quality` > (select `crowdcontrol`.`Experiment`.`result_quality_threshold` from `crowdcontrol`.`Experiment` where `crowdcontrol`.`Experiment`.`id_experiment` = 20)) or true))) as `q`
16:21:24.085 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 6.49ms
16:21:24.085 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:21:24.085 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | c|
16:21:24.085 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:21:24.085 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 10|
16:21:24.085 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:21:24.091 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 12.595ms, +6.105ms
16:21:24.091 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.AntiSpoof - calculating phase for: answersCount=10, phases={1=1}, neededAnswers=10
16:21:24.091 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.AntiSpoof - entering phase 3
16:21:24.091 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.TaskChooserAlgorithm - constructing view with parameters: worker-id = 39, experimentID = 20, skipCreative = true, skipRating = false
16:21:24.092 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select count(*) as `c` from (select `crowdcontrol`.`Rating`.`id_rating`, `crowdcontrol`.`Rating`.`experiment`, `crowdcontrol`.`Rating`.`answer_r`, `crowdcontrol`.`Rating`.`timestamp`, `crowdcontrol`.`Rating`.`rating`, `crowdcontrol`.`Rating`.`reservation`, `crowdcontrol`.`Rating`.`feedback`, `crowdcontrol`.`Rating`.`worker_id`, `crowdcontrol`.`Rating`.`quality` from `crowdcontrol`.`Rating` where (`crowdcontrol`.`Rating`.`experiment` = ? and `crowdcontrol`.`Rating`.`worker_id` = ?)) as `q`
16:21:24.092 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select count(*) as `c` from (select `crowdcontrol`.`Rating`.`id_rating`, `crowdcontrol`.`Rating`.`experiment`, `crowdcontrol`.`Rating`.`answer_r`, `crowdcontrol`.`Rating`.`timestamp`, `crowdcontrol`.`Rating`.`rating`, `crowdcontrol`.`Rating`.`reservation`, `crowdcontrol`.`Rating`.`feedback`, `crowdcontrol`.`Rating`.`worker_id`, `crowdcontrol`.`Rating`.`quality` from `crowdcontrol`.`Rating` where (`crowdcontrol`.`Rating`.`experiment` = 20 and `crowdcontrol`.`Rating`.`worker_id` = 39)) as `q`
16:21:24.097 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 5.839ms
16:21:24.098 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:21:24.098 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | c|
16:21:24.098 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:21:24.098 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 0|
16:21:24.098 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:21:24.099 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 7.196ms, +1.356ms
16:21:24.099 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.TaskChooserAlgorithm - worker 39 has rated 0 times, max. is 3
16:21:24.099 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.TaskChooserAlgorithm - returning rating-view
16:21:24.099 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.TaskChooserAlgorithm - task chooser constructs rating-view
16:21:24.099 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Answer`.`id_answer`, `crowdcontrol`.`Answer`.`experiment`, `crowdcontrol`.`Answer`.`answer`, `crowdcontrol`.`Answer`.`timestamp`, `crowdcontrol`.`Answer`.`worker_id`, `crowdcontrol`.`Answer`.`reservation`, `crowdcontrol`.`Answer`.`quality`, `crowdcontrol`.`Answer`.`quality_assured`, `crowdcontrol`.`Answer`.`system_response`, `crowdcontrol`.`Answer`.`hash`, count(`crowdcontrol`.`Rating`.`id_rating`) as `count` from `crowdcontrol`.`Answer` left outer join `crowdcontrol`.`Rating` on (`crowdcontrol`.`Rating`.`answer_r` = `crowdcontrol`.`Answer`.`id_answer` and (`crowdcontrol`.`Rating`.`rating` is not null or `crowdcontrol`.`Rating`.`timestamp` >= ?)) where (`crowdcontrol`.`Answer`.`worker_id` <> ? and `crowdcontrol`.`Answer`.`experiment` = ?) group by `crowdcontrol`.`Answer`.`id_answer`, `crowdcontrol`.`Answer`.`experiment`, `crowdcontrol`.`Answer`.`answer`, `crowdcontrol`.`Answer`.`timestamp`, `crowdcontrol`.`Answer`.`worker_id`, `crowdcontrol`.`Answer`.`reservation`, `crowdcontrol`.`Answer`.`quality`, `crowdcontrol`.`Answer`.`quality_assured`, `crowdcontrol`.`Answer`.`system_response`, `crowdcontrol`.`Answer`.`hash`
16:21:24.100 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Answer`.`id_answer`, `crowdcontrol`.`Answer`.`experiment`, `crowdcontrol`.`Answer`.`answer`, `crowdcontrol`.`Answer`.`timestamp`, `crowdcontrol`.`Answer`.`worker_id`, `crowdcontrol`.`Answer`.`reservation`, `crowdcontrol`.`Answer`.`quality`, `crowdcontrol`.`Answer`.`quality_assured`, `crowdcontrol`.`Answer`.`system_response`, `crowdcontrol`.`Answer`.`hash`, count(`crowdcontrol`.`Rating`.`id_rating`) as `count` from `crowdcontrol`.`Answer` left outer join `crowdcontrol`.`Rating` on (`crowdcontrol`.`Rating`.`answer_r` = `crowdcontrol`.`Answer`.`id_answer` and (`crowdcontrol`.`Rating`.`rating` is not null or `crowdcontrol`.`Rating`.`timestamp` >= {ts '2016-03-17 14:21:24.099'})) where (`crowdcontrol`.`Answer`.`worker_id` <> 39 and `crowdcontrol`.`Answer`.`experiment` = 20) group by `crowdcontrol`.`Answer`.`id_answer`, `crowdcontrol`.`Answer`.`experiment`, `crowdcontrol`.`Answer`.`answer`, `crowdcontrol`.`Answer`.`timestamp`, `crowdcontrol`.`Answer`.`worker_id`, `crowdcontrol`.`Answer`.`reservation`, `crowdcontrol`.`Answer`.`quality`, `crowdcontrol`.`Answer`.`quality_assured`, `crowdcontrol`.`Answer`.`system_response`, `crowdcontrol`.`Answer`.`hash`
16:21:24.106 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 6.356ms
16:21:24.109 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +---------+----------+------+---------------------+---------+-----------+-------+---------------+---------------+------+-----+
16:21:24.109 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : |id_answer|experiment|answer|timestamp |worker_id|reservation|quality|quality_assured|system_response| hash|count|
16:21:24.109 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +---------+----------+------+---------------------+---------+-----------+-------+---------------+---------------+------+-----+
16:21:24.110 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 36| 20|bla |2016-03-17 16:13:34.0| 36| 53| 9|{null} |{null} |{null}| 2|
16:21:24.110 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 37| 20|bla |2016-03-17 16:13:37.0| 36| 52| 9|{null} |{null} |{null}| 2|
16:21:24.110 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 38| 20|bla |2016-03-17 16:13:39.0| 36| 51| 9|{null} |{null} |{null}| 2|
16:21:24.110 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 39| 20|asdf |2016-03-17 16:14:07.0| 37| 56| {null}|{null} |{null} |{null}| 0|
16:21:24.111 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 40| 20|asdf |2016-03-17 16:14:09.0| 37| 55| {null}|{null} |{null} |{null}| 0|
16:21:24.111 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +---------+----------+------+---------------------+---------+-----------+-------+---------------+---------------+------+-----+
16:21:24.111 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : |...4 record(s) truncated...
16:21:24.111 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 12.235ms, +5.879ms
16:21:24.112 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.TaskChooserAlgorithm - all the answers belonging to the experiment not from the worker with their count (max rating per answer is 3): +---------+----------+------+---------------------+---------+-----------+-------+---------------+---------------+------+-----+
|id_answer|experiment|answer|timestamp |worker_id|reservation|quality|quality_assured|system_response| hash|count|
+---------+----------+------+---------------------+---------+-----------+-------+---------------+---------------+------+-----+
| 36| 20|bla |2016-03-17 16:13:34.0| 36| 53| 9|{null} |{null} |{null}| 2|
| 37| 20|bla |2016-03-17 16:13:37.0| 36| 52| 9|{null} |{null} |{null}| 2|
| 38| 20|bla |2016-03-17 16:13:39.0| 36| 51| 9|{null} |{null} |{null}| 2|
| 39| 20|asdf |2016-03-17 16:14:07.0| 37| 56| {null}|{null} |{null} |{null}| 0|
| 40| 20|asdf |2016-03-17 16:14:09.0| 37| 55| {null}|{null} |{null} |{null}| 0|
| 41| 20|asdf |2016-03-17 16:14:10.0| 37| 54| {null}|{null} |{null} |{null}| 0|
| 42| 20|asdf |2016-03-17 16:20:46.0| 38| 59| {null}|{null} |{null} |{null}| 0|
| 43| 20|asdf |2016-03-17 16:20:48.0| 38| 58| {null}|{null} |{null} |{null}| 0|
| 44| 20|asdf |2016-03-17 16:20:49.0| 38| 57| {null}|{null} |{null} |{null}| 0|
+---------+----------+------+---------------------+---------+-----------+-------+---------------+---------------+------+-----+
16:21:24.113 [ratpack-compute-1-5] DEBUG o.j.i.DefaultConnectionProvider - setting auto commit : false
16:21:24.114 [ratpack-compute-1-5] DEBUG o.j.i.DefaultConnectionProvider - set savepoint
16:21:24.115 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Answer`.`id_answer`, `crowdcontrol`.`Answer`.`experiment`, `crowdcontrol`.`Answer`.`answer`, `crowdcontrol`.`Answer`.`timestamp`, `crowdcontrol`.`Answer`.`worker_id`, `crowdcontrol`.`Answer`.`reservation`, `crowdcontrol`.`Answer`.`quality`, `crowdcontrol`.`Answer`.`quality_assured`, `crowdcontrol`.`Answer`.`system_response`, `crowdcontrol`.`Answer`.`hash`, `crowdcontrol`.`Rating_Reservation`.`idReserverd_Rating` from `crowdcontrol`.`Answer` join `crowdcontrol`.`Rating_Reservation` on (`crowdcontrol`.`Rating_Reservation`.`worker` = ? and `crowdcontrol`.`Rating_Reservation`.`experiment` = ? and `crowdcontrol`.`Rating_Reservation`.`answer` = `crowdcontrol`.`Answer`.`id_answer`)
16:21:24.115 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Answer`.`id_answer`, `crowdcontrol`.`Answer`.`experiment`, `crowdcontrol`.`Answer`.`answer`, `crowdcontrol`.`Answer`.`timestamp`, `crowdcontrol`.`Answer`.`worker_id`, `crowdcontrol`.`Answer`.`reservation`, `crowdcontrol`.`Answer`.`quality`, `crowdcontrol`.`Answer`.`quality_assured`, `crowdcontrol`.`Answer`.`system_response`, `crowdcontrol`.`Answer`.`hash`, `crowdcontrol`.`Rating_Reservation`.`idReserverd_Rating` from `crowdcontrol`.`Answer` join `crowdcontrol`.`Rating_Reservation` on (`crowdcontrol`.`Rating_Reservation`.`worker` = 39 and `crowdcontrol`.`Rating_Reservation`.`experiment` = 20 and `crowdcontrol`.`Rating_Reservation`.`answer` = `crowdcontrol`.`Answer`.`id_answer`)
16:21:24.116 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 1.873ms
16:21:24.117 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +---------+----------+------+---------+---------+-----------+-------+---------------+---------------+----+------------------+
16:21:24.117 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : |id_answer|experiment|answer|timestamp|worker_id|reservation|quality|quality_assured|system_response|hash|idReserverd_Rating|
16:21:24.117 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +---------+----------+------+---------+---------+-----------+-------+---------------+---------------+----+------------------+
16:21:24.117 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 2.927ms, +1.054ms
16:21:24.117 [ratpack-compute-1-5] TRACE e.k.i.c.w.d.o.ExperimentsPlatformOperations - Worker 39 has reserved open ratings {}.
16:21:24.118 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : update `crowdcontrol`.`Rating_Reservation` set `crowdcontrol`.`Rating_Reservation`.`timestamp` = ? where 1 = 0
16:21:24.118 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : update `crowdcontrol`.`Rating_Reservation` set `crowdcontrol`.`Rating_Reservation`.`timestamp` = {ts '2016-03-17 16:21:24.118'} where 1 = 0
16:21:24.120 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Affected row(s) : 0
16:21:24.121 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 2.967ms
16:21:24.122 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 3.843ms, +0.876ms
16:21:24.122 [ratpack-compute-1-5] TRACE e.k.i.c.w.d.o.ExperimentsPlatformOperations - Reserving 3 new Ratings for worker 39.
16:21:24.122 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Answer`.`id_answer`, `crowdcontrol`.`Answer`.`experiment`, `crowdcontrol`.`Answer`.`answer`, `crowdcontrol`.`Answer`.`timestamp`, `crowdcontrol`.`Answer`.`worker_id`, `crowdcontrol`.`Answer`.`reservation`, `crowdcontrol`.`Answer`.`quality`, `crowdcontrol`.`Answer`.`quality_assured`, `crowdcontrol`.`Answer`.`system_response`, `crowdcontrol`.`Answer`.`hash`, count(`crowdcontrol`.`Rating_Reservation`.`idReserverd_Rating`) as `count` from `crowdcontrol`.`Answer` left outer join `crowdcontrol`.`Rating_Reservation` on (`crowdcontrol`.`Rating_Reservation`.`answer` = `crowdcontrol`.`Answer`.`id_answer` and (`crowdcontrol`.`Rating_Reservation`.`used` = ? or `crowdcontrol`.`Rating_Reservation`.`timestamp` >= ?)) where (`crowdcontrol`.`Answer`.`experiment` = ? and `crowdcontrol`.`Answer`.`worker_id` <> ? and `crowdcontrol`.`Answer`.`id_answer` not in (select `crowdcontrol`.`Rating_Reservation`.`answer` from `crowdcontrol`.`Rating_Reservation` where (`crowdcontrol`.`Rating_Reservation`.`worker` = ? and `crowdcontrol`.`Rating_Reservation`.`experiment` = ?)) and ((`crowdcontrol`.`Answer`.`quality_assured` = ? and `crowdcontrol`.`Answer`.`quality` <> ?) or ?)) group by `crowdcontrol`.`Answer`.`id_answer`, `crowdcontrol`.`Answer`.`experiment`, `crowdcontrol`.`Answer`.`answer`, `crowdcontrol`.`Answer`.`timestamp`, `crowdcontrol`.`Answer`.`worker_id`, `crowdcontrol`.`Answer`.`reservation`, `crowdcontrol`.`Answer`.`quality`, `crowdcontrol`.`Answer`.`quality_assured`, `crowdcontrol`.`Answer`.`system_response`, `crowdcontrol`.`Answer`.`hash` having `count` < (select `crowdcontrol`.`Experiment`.`ratings_per_answer` from `crowdcontrol`.`Experiment` where `crowdcontrol`.`Experiment`.`id_experiment` = ?) order by `crowdcontrol`.`Answer`.`quality_assured` desc limit ?
16:21:24.123 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Answer`.`id_answer`, `crowdcontrol`.`Answer`.`experiment`, `crowdcontrol`.`Answer`.`answer`, `crowdcontrol`.`Answer`.`timestamp`, `crowdcontrol`.`Answer`.`worker_id`, `crowdcontrol`.`Answer`.`reservation`, `crowdcontrol`.`Answer`.`quality`, `crowdcontrol`.`Answer`.`quality_assured`, `crowdcontrol`.`Answer`.`system_response`, `crowdcontrol`.`Answer`.`hash`, count(`crowdcontrol`.`Rating_Reservation`.`idReserverd_Rating`) as `count` from `crowdcontrol`.`Answer` left outer join `crowdcontrol`.`Rating_Reservation` on (`crowdcontrol`.`Rating_Reservation`.`answer` = `crowdcontrol`.`Answer`.`id_answer` and (`crowdcontrol`.`Rating_Reservation`.`used` = true or `crowdcontrol`.`Rating_Reservation`.`timestamp` >= {ts '2016-03-17 14:21:24.122'})) where (`crowdcontrol`.`Answer`.`experiment` = 20 and `crowdcontrol`.`Answer`.`worker_id` <> 39 and `crowdcontrol`.`Answer`.`id_answer` not in (select `crowdcontrol`.`Rating_Reservation`.`answer` from `crowdcontrol`.`Rating_Reservation` where (`crowdcontrol`.`Rating_Reservation`.`worker` = 39 and `crowdcontrol`.`Rating_Reservation`.`experiment` = 20)) and ((`crowdcontrol`.`Answer`.`quality_assured` = true and `crowdcontrol`.`Answer`.`quality` <> 0) or true)) group by `crowdcontrol`.`Answer`.`id_answer`, `crowdcontrol`.`Answer`.`experiment`, `crowdcontrol`.`Answer`.`answer`, `crowdcontrol`.`Answer`.`timestamp`, `crowdcontrol`.`Answer`.`worker_id`, `crowdcontrol`.`Answer`.`reservation`, `crowdcontrol`.`Answer`.`quality`, `crowdcontrol`.`Answer`.`quality_assured`, `crowdcontrol`.`Answer`.`system_response`, `crowdcontrol`.`Answer`.`hash` having `count` < (select `crowdcontrol`.`Experiment`.`ratings_per_answer` from `crowdcontrol`.`Experiment` where `crowdcontrol`.`Experiment`.`id_experiment` = 20) order by `crowdcontrol`.`Answer`.`quality_assured` desc limit 3
16:21:24.125 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 2.909ms
16:21:24.126 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +---------+----------+------+---------------------+---------+-----------+-------+---------------+---------------+------+-----+
16:21:24.126 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : |id_answer|experiment|answer|timestamp |worker_id|reservation|quality|quality_assured|system_response| hash|count|
16:21:24.126 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +---------+----------+------+---------------------+---------+-----------+-------+---------------+---------------+------+-----+
16:21:24.126 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 36| 20|bla |2016-03-17 16:13:34.0| 36| 53| 9|{null} |{null} |{null}| 2|
16:21:24.126 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 37| 20|bla |2016-03-17 16:13:37.0| 36| 52| 9|{null} |{null} |{null}| 2|
16:21:24.126 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 38| 20|bla |2016-03-17 16:13:39.0| 36| 51| 9|{null} |{null} |{null}| 2|
16:21:24.126 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +---------+----------+------+---------------------+---------+-----------+-------+---------------+---------------+------+-----+
16:21:24.126 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 4.112ms, +1.203ms
16:21:24.128 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing batch query : insert into `crowdcontrol`.`Rating_Reservation` (`idReserverd_Rating`, `worker`, `experiment`, `answer`, `timestamp`, `used`) values (?, ?, ?, ?, ?, ?)
16:21:24.139 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 11.205ms
16:21:24.139 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 11.31ms, +0.105ms
16:21:24.139 [ratpack-compute-1-5] DEBUG o.j.i.DefaultConnectionProvider - release savepoint
16:21:24.139 [ratpack-compute-1-5] DEBUG o.j.i.DefaultConnectionProvider - commit
16:21:24.143 [ratpack-compute-1-5] DEBUG o.j.i.DefaultConnectionProvider - setting auto commit : true
16:21:24.144 [ratpack-compute-1-5] TRACE e.k.i.c.w.d.o.ExperimentsPlatformOperations - Worker 39 can rate [+---------+----------+------+---------------------+---------+-----------+-------+---------------+---------------+------+
|id_answer|experiment|answer|timestamp |worker_id|reservation|quality|quality_assured|system_response| hash|
+---------+----------+------+---------------------+---------+-----------+-------+---------------+---------------+------+
| 36| 20|bla |2016-03-17 16:13:34.0| 36| 53| 9|{null} |{null} |{null}|
+---------+----------+------+---------------------+---------+-----------+-------+---------------+---------------+------+, +---------+----------+------+---------------------+---------+-----------+-------+---------------+---------------+------+
|id_answer|experiment|answer|timestamp |worker_id|reservation|quality|quality_assured|system_response| hash|
+---------+----------+------+---------------------+---------+-----------+-------+---------------+---------------+------+
| 37| 20|bla |2016-03-17 16:13:37.0| 36| 52| 9|{null} |{null} |{null}|
+---------+----------+------+---------------------+---------+-----------+-------+---------------+---------------+------+, +---------+----------+------+---------------------+---------+-----------+-------+---------------+---------------+------+
|id_answer|experiment|answer|timestamp |worker_id|reservation|quality|quality_assured|system_response| hash|
+---------+----------+------+---------------------+---------+-----------+-------+---------------+---------------+------+
| 38| 20|bla |2016-03-17 16:13:39.0| 36| 51| 9|{null} |{null} |{null}|
+---------+----------+------+---------------------+---------+-----------+-------+---------------+---------------+------+]
16:21:24.144 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Rating_Reservation`.`idReserverd_Rating`, `crowdcontrol`.`Rating_Reservation`.`worker`, `crowdcontrol`.`Rating_Reservation`.`experiment`, `crowdcontrol`.`Rating_Reservation`.`answer`, `crowdcontrol`.`Rating_Reservation`.`timestamp`, `crowdcontrol`.`Rating_Reservation`.`used` from `crowdcontrol`.`Rating_Reservation` where (`crowdcontrol`.`Rating_Reservation`.`answer` in (?, ?, ?) and `crowdcontrol`.`Rating_Reservation`.`worker` = ?)
16:21:24.144 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Rating_Reservation`.`idReserverd_Rating`, `crowdcontrol`.`Rating_Reservation`.`worker`, `crowdcontrol`.`Rating_Reservation`.`experiment`, `crowdcontrol`.`Rating_Reservation`.`answer`, `crowdcontrol`.`Rating_Reservation`.`timestamp`, `crowdcontrol`.`Rating_Reservation`.`used` from `crowdcontrol`.`Rating_Reservation` where (`crowdcontrol`.`Rating_Reservation`.`answer` in (36, 37, 38) and `crowdcontrol`.`Rating_Reservation`.`worker` = 39)
16:21:24.148 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 3.697ms
16:21:24.149 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +------------------+------+----------+------+---------------------+-----+
16:21:24.149 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : |idReserverd_Rating|worker|experiment|answer|timestamp |used |
16:21:24.149 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +------------------+------+----------+------+---------------------+-----+
16:21:24.149 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 31| 39| 20| 36|2016-03-17 14:21:24.0|false|
16:21:24.149 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 32| 39| 20| 37|2016-03-17 14:21:24.0|false|
16:21:24.149 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 33| 39| 20| 38|2016-03-17 14:21:24.0|false|
16:21:24.149 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +------------------+------+----------+------+---------------------+-----+
16:21:24.149 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 4.795ms, +1.098ms
16:21:24.149 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.TaskChooserAlgorithm - worker 39 can rate [id: 32
answer_id: 37
answer: "bla"
, id: 33
answer_id: 38
answer: "bla"
, id: 31
answer_id: 36
answer: "bla"
]
16:21:24.149 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.TaskChooserAlgorithm - task chooser prepared builder
16:21:24.149 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.Queries - returning view: type: RATING
title: "Calibtest"
description: "test"
answers_to_rate {
id: 32
answer_id: 37
answer: "bla"
}
answers_to_rate {
id: 33
answer_id: 38
answer: "bla"
}
answers_to_rate {
id: 31
answer_id: 36
answer: "bla"
}
rating_options {
value: 9
description: "good"
}
rating_options {
description: "bad"
}
constraints {
id: 35
name: "a"
}
constraints {
id: 36
name: "b"
}
constraints {
id: 37
name: "C"
}
constraints {
id: 38
name: "d"
}
16:21:32.569 [ratpack-compute-1-5] DEBUG e.k.i.c.w.c.Commands - Request to submit rating rating_id: 32
rating: 9
experiment: 20
answer_id: 37
for worker 39.
16:21:32.569 [ratpack-compute-1-5] DEBUG e.k.i.c.w.o.Communication - Trying to submit rating reservation: 32
experiment_id: 20
rating: 9
worker: 39
for worker 39 with route /experiments/20/answers/37/rating
16:21:32.578 [ratpack-compute-1-6] DEBUG e.k.i.c.w.c.Commands - Request to submit rating rating_id: 33
rating: 9
experiment: 20
answer_id: 38
for worker 39.
16:21:32.579 [ratpack-compute-1-6] DEBUG e.k.i.c.w.o.Communication - Trying to submit rating reservation: 33
experiment_id: 20
rating: 9
worker: 39
for worker 39 with route /experiments/20/answers/38/rating
16:21:32.582 [ratpack-compute-1-7] DEBUG e.k.i.c.w.c.Commands - Request to submit rating rating_id: 31
rating: 9
experiment: 20
answer_id: 36
for worker 39.
16:21:32.583 [ratpack-compute-1-7] DEBUG e.k.i.c.w.o.Communication - Trying to submit rating reservation: 31
experiment_id: 20
rating: 9
worker: 39
for worker 39 with route /experiments/20/answers/36/rating
16:21:35.084 [I/O dispatcher 2] DEBUG e.k.i.c.w.o.Communication - Object service answered with status 201
16:21:35.085 [ratpack-compute-1-7] DEBUG e.k.i.c.w.c.Commands - Object service answered with status 201.
16:21:35.117 [I/O dispatcher 1] DEBUG e.k.i.c.w.o.Communication - Object service answered with status 201
16:21:35.117 [ratpack-compute-1-6] DEBUG e.k.i.c.w.c.Commands - Object service answered with status 201.
16:21:38.441 [I/O dispatcher 2] DEBUG e.k.i.c.w.o.Communication - Object service answered with status 201
16:21:38.441 [ratpack-compute-1-5] DEBUG e.k.i.c.w.c.Commands - Object service answered with status 201.
16:21:38.457 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.Queries - skipCreative is: false
16:21:38.457 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.Queries - skipRating is: false
16:21:38.458 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select 1 as `one` from dual where exists (select `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer`, `crowdcontrol`.`Calibration_Result`.`id_calibration_result`, `crowdcontrol`.`Calibration_Result`.`worker`, `crowdcontrol`.`Calibration_Result`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`id_experiments_calibration`, `crowdcontrol`.`Experiments_Calibration`.`experiments_platform`, `crowdcontrol`.`Experiments_Calibration`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`not` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` join `crowdcontrol`.`Experiments_Calibration` on (`crowdcontrol`.`Experiments_Calibration`.`experiments_platform` in (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = ? and `crowdcontrol`.`Experiments_Platform`.`platform` = ?)) and `crowdcontrol`.`Calibration_answer_option`.`calibration` = (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` = `crowdcontrol`.`Experiments_Calibration`.`answer`) and ((`crowdcontrol`.`Experiments_Calibration`.`not` = ? and `crowdcontrol`.`Experiments_Calibration`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`) or (`crowdcontrol`.`Experiments_Calibration`.`not` = ? and `crowdcontrol`.`Experiments_Calibration`.`answer` <> `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`))) where `crowdcontrol`.`Calibration_Result`.`worker` = ?)
16:21:38.458 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select 1 as `one` from dual where exists (select `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer`, `crowdcontrol`.`Calibration_Result`.`id_calibration_result`, `crowdcontrol`.`Calibration_Result`.`worker`, `crowdcontrol`.`Calibration_Result`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`id_experiments_calibration`, `crowdcontrol`.`Experiments_Calibration`.`experiments_platform`, `crowdcontrol`.`Experiments_Calibration`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`not` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` join `crowdcontrol`.`Experiments_Calibration` on (`crowdcontrol`.`Experiments_Calibration`.`experiments_platform` in (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = 20 and `crowdcontrol`.`Experiments_Platform`.`platform` = 'dummydummy')) and `crowdcontrol`.`Calibration_answer_option`.`calibration` = (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` = `crowdcontrol`.`Experiments_Calibration`.`answer`) and ((`crowdcontrol`.`Experiments_Calibration`.`not` = true and `crowdcontrol`.`Experiments_Calibration`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`) or (`crowdcontrol`.`Experiments_Calibration`.`not` = false and `crowdcontrol`.`Experiments_Calibration`.`answer` <> `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`))) where `crowdcontrol`.`Calibration_Result`.`worker` = 39)
16:21:38.463 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 5.857ms
16:21:38.464 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 6.468ms, +0.61ms
16:21:38.464 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:21:38.464 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | one|
16:21:38.464 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:21:38.464 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Worker`.`quality` from `crowdcontrol`.`Worker` where `crowdcontrol`.`Worker`.`id_worker` = ?
16:21:38.464 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Worker`.`quality` from `crowdcontrol`.`Worker` where `crowdcontrol`.`Worker`.`id_worker` = 39
16:21:38.465 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 0.967ms
16:21:38.466 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +-------+
16:21:38.466 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : |quality|
16:21:38.466 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +-------+
16:21:38.466 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 9|
16:21:38.466 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +-------+
16:21:38.466 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 1.813ms, +0.846ms
16:21:38.466 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.Queries - worker 39 is eligible for working on the assignment
16:21:38.466 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.Queries - platform dummydummy is able to render calibrations
16:21:38.467 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Calibration`.`id_calibration`, `crowdcontrol`.`Calibration`.`property`, `crowdcontrol`.`Calibration`.`name`, `crowdcontrol`.`Calibration`.`experiment`, `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration` on `crowdcontrol`.`Calibration_answer_option`.`calibration` = `crowdcontrol`.`Calibration`.`id_calibration` where (`crowdcontrol`.`Calibration`.`id_calibration` in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` in (select `crowdcontrol`.`Experiments_Calibration`.`answer` from `crowdcontrol`.`Experiments_Calibration` where `crowdcontrol`.`Experiments_Calibration`.`experiments_platform` = (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = ? and `crowdcontrol`.`Experiments_Platform`.`platform` = ?)))) and `crowdcontrol`.`Calibration`.`id_calibration` not in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` where `crowdcontrol`.`Calibration_Result`.`worker` = ?))
16:21:38.467 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Calibration`.`id_calibration`, `crowdcontrol`.`Calibration`.`property`, `crowdcontrol`.`Calibration`.`name`, `crowdcontrol`.`Calibration`.`experiment`, `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration` on `crowdcontrol`.`Calibration_answer_option`.`calibration` = `crowdcontrol`.`Calibration`.`id_calibration` where (`crowdcontrol`.`Calibration`.`id_calibration` in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` in (select `crowdcontrol`.`Experiments_Calibration`.`answer` from `crowdcontrol`.`Experiments_Calibration` where `crowdcontrol`.`Experiments_Calibration`.`experiments_platform` = (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = 20 and `crowdcontrol`.`Experiments_Platform`.`platform` = 'dummydummy')))) and `crowdcontrol`.`Calibration`.`id_calibration` not in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` where `crowdcontrol`.`Calibration_Result`.`worker` = 39))
16:21:38.469 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 2.189ms
16:21:38.469 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +--------------+--------+----+----------+----------------------------+-----------+------+
16:21:38.469 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : |id_calibration|property|name|experiment|id_calibration_answer_option|calibration|answer|
16:21:38.469 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +--------------+--------+----+----------+----------------------------+-----------+------+
16:21:38.469 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 2.912ms, +0.722ms
16:21:38.470 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.Queries - worker 39 must answer the calibrations {}
16:21:38.470 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.Queries - worker 39 must not answer calibrations
16:21:38.470 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.Queries - invoking task-chooser anti_spoof
16:21:38.470 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` left outer join `crowdcontrol`.`Answer` on `crowdcontrol`.`Answer`.`reservation` = `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` where ((`crowdcontrol`.`Answer_Reservation`.`used` = ? or (`crowdcontrol`.`Answer_Reservation`.`timestamp` >= ? and `crowdcontrol`.`Answer_Reservation`.`worker` <> ?)) and `crowdcontrol`.`Answer_Reservation`.`experiment` = ? and ((`crowdcontrol`.`Answer`.`quality_assured` = ? and `crowdcontrol`.`Answer`.`quality` > (select `crowdcontrol`.`Experiment`.`result_quality_threshold` from `crowdcontrol`.`Experiment` where `crowdcontrol`.`Experiment`.`id_experiment` = ?)) or ?))) as `q`
16:21:38.471 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` left outer join `crowdcontrol`.`Answer` on `crowdcontrol`.`Answer`.`reservation` = `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` where ((`crowdcontrol`.`Answer_Reservation`.`used` = true or (`crowdcontrol`.`Answer_Reservation`.`timestamp` >= {ts '2016-03-17 14:21:38.47'} and `crowdcontrol`.`Answer_Reservation`.`worker` <> 39)) and `crowdcontrol`.`Answer_Reservation`.`experiment` = 20 and ((`crowdcontrol`.`Answer`.`quality_assured` = true and `crowdcontrol`.`Answer`.`quality` > (select `crowdcontrol`.`Experiment`.`result_quality_threshold` from `crowdcontrol`.`Experiment` where `crowdcontrol`.`Experiment`.`id_experiment` = 20)) or true))) as `q`
16:21:38.472 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 2.289ms
16:21:38.473 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:21:38.473 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | c|
16:21:38.473 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:21:38.473 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 10|
16:21:38.473 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:21:38.473 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 3.094ms, +0.805ms
16:21:38.473 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.AntiSpoof - calculating phase for: answersCount=10, phases={1=1}, neededAnswers=10
16:21:38.473 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.AntiSpoof - entering phase 3
16:21:38.473 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.TaskChooserAlgorithm - constructing view with parameters: worker-id = 39, experimentID = 20, skipCreative = true, skipRating = false
16:21:38.474 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select count(*) as `c` from (select `crowdcontrol`.`Rating`.`id_rating`, `crowdcontrol`.`Rating`.`experiment`, `crowdcontrol`.`Rating`.`answer_r`, `crowdcontrol`.`Rating`.`timestamp`, `crowdcontrol`.`Rating`.`rating`, `crowdcontrol`.`Rating`.`reservation`, `crowdcontrol`.`Rating`.`feedback`, `crowdcontrol`.`Rating`.`worker_id`, `crowdcontrol`.`Rating`.`quality` from `crowdcontrol`.`Rating` where (`crowdcontrol`.`Rating`.`experiment` = ? and `crowdcontrol`.`Rating`.`worker_id` = ?)) as `q`
16:21:38.474 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select count(*) as `c` from (select `crowdcontrol`.`Rating`.`id_rating`, `crowdcontrol`.`Rating`.`experiment`, `crowdcontrol`.`Rating`.`answer_r`, `crowdcontrol`.`Rating`.`timestamp`, `crowdcontrol`.`Rating`.`rating`, `crowdcontrol`.`Rating`.`reservation`, `crowdcontrol`.`Rating`.`feedback`, `crowdcontrol`.`Rating`.`worker_id`, `crowdcontrol`.`Rating`.`quality` from `crowdcontrol`.`Rating` where (`crowdcontrol`.`Rating`.`experiment` = 20 and `crowdcontrol`.`Rating`.`worker_id` = 39)) as `q`
16:21:38.475 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 1.775ms
16:21:38.476 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:21:38.476 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | c|
16:21:38.476 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:21:38.476 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 3|
16:21:38.476 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:21:38.476 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 2.764ms, +0.988ms
16:21:38.476 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.TaskChooserAlgorithm - worker 39 has rated 3 times, max. is 3
16:21:38.477 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.TaskChooserAlgorithm - skipping both
16:21:38.477 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select 1 as `one` from dual where exists (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`worker` = ? and `crowdcontrol`.`Answer_Reservation`.`experiment` = ? and `crowdcontrol`.`Answer_Reservation`.`used` = ?))
16:21:38.477 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select 1 as `one` from dual where exists (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`worker` = 39 and `crowdcontrol`.`Answer_Reservation`.`experiment` = 20 and `crowdcontrol`.`Answer_Reservation`.`used` = true))
16:21:38.478 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 1.455ms
16:21:38.479 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:21:38.479 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | one|
16:21:38.479 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:21:38.479 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 1|
16:21:38.479 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:21:38.479 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 2.58ms, +1.125ms
16:21:38.479 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.Queries - returning view:
16:21:42.168 [HikariPool-0 housekeeper] DEBUG c.z.h.p.HikariPool - HikariPool-0 - Pool stats (total=10, active=1, idle=9, waiting=0)
16:21:49.172 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.Queries - skipCreative is: false
16:21:49.172 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.Queries - skipRating is: false
16:21:49.173 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select 1 as `one` from dual where exists (select `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer`, `crowdcontrol`.`Calibration_Result`.`id_calibration_result`, `crowdcontrol`.`Calibration_Result`.`worker`, `crowdcontrol`.`Calibration_Result`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`id_experiments_calibration`, `crowdcontrol`.`Experiments_Calibration`.`experiments_platform`, `crowdcontrol`.`Experiments_Calibration`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`not` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` join `crowdcontrol`.`Experiments_Calibration` on (`crowdcontrol`.`Experiments_Calibration`.`experiments_platform` in (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = ? and `crowdcontrol`.`Experiments_Platform`.`platform` = ?)) and `crowdcontrol`.`Calibration_answer_option`.`calibration` = (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` = `crowdcontrol`.`Experiments_Calibration`.`answer`) and ((`crowdcontrol`.`Experiments_Calibration`.`not` = ? and `crowdcontrol`.`Experiments_Calibration`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`) or (`crowdcontrol`.`Experiments_Calibration`.`not` = ? and `crowdcontrol`.`Experiments_Calibration`.`answer` <> `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`))) where `crowdcontrol`.`Calibration_Result`.`worker` = ?)
16:21:49.173 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select 1 as `one` from dual where exists (select `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer`, `crowdcontrol`.`Calibration_Result`.`id_calibration_result`, `crowdcontrol`.`Calibration_Result`.`worker`, `crowdcontrol`.`Calibration_Result`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`id_experiments_calibration`, `crowdcontrol`.`Experiments_Calibration`.`experiments_platform`, `crowdcontrol`.`Experiments_Calibration`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`not` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` join `crowdcontrol`.`Experiments_Calibration` on (`crowdcontrol`.`Experiments_Calibration`.`experiments_platform` in (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = 20 and `crowdcontrol`.`Experiments_Platform`.`platform` = 'dummydummy')) and `crowdcontrol`.`Calibration_answer_option`.`calibration` = (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` = `crowdcontrol`.`Experiments_Calibration`.`answer`) and ((`crowdcontrol`.`Experiments_Calibration`.`not` = true and `crowdcontrol`.`Experiments_Calibration`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`) or (`crowdcontrol`.`Experiments_Calibration`.`not` = false and `crowdcontrol`.`Experiments_Calibration`.`answer` <> `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`))) where `crowdcontrol`.`Calibration_Result`.`worker` = 39)
16:21:49.182 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 9.103ms
16:21:49.182 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 9.55ms, +0.447ms
16:21:49.182 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:21:49.184 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | one|
16:21:49.184 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:21:49.185 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Worker`.`quality` from `crowdcontrol`.`Worker` where `crowdcontrol`.`Worker`.`id_worker` = ?
16:21:49.185 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Worker`.`quality` from `crowdcontrol`.`Worker` where `crowdcontrol`.`Worker`.`id_worker` = 39
16:21:49.186 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 1.782ms
16:21:49.187 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +-------+
16:21:49.190 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : |quality|
16:21:49.190 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +-------+
16:21:49.190 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 9|
16:21:49.190 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +-------+
16:21:49.190 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 5.972ms, +4.189ms
16:21:49.190 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.Queries - worker 39 is eligible for working on the assignment
16:21:49.191 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.Queries - platform dummydummy is able to render calibrations
16:21:49.191 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Calibration`.`id_calibration`, `crowdcontrol`.`Calibration`.`property`, `crowdcontrol`.`Calibration`.`name`, `crowdcontrol`.`Calibration`.`experiment`, `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration` on `crowdcontrol`.`Calibration_answer_option`.`calibration` = `crowdcontrol`.`Calibration`.`id_calibration` where (`crowdcontrol`.`Calibration`.`id_calibration` in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` in (select `crowdcontrol`.`Experiments_Calibration`.`answer` from `crowdcontrol`.`Experiments_Calibration` where `crowdcontrol`.`Experiments_Calibration`.`experiments_platform` = (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = ? and `crowdcontrol`.`Experiments_Platform`.`platform` = ?)))) and `crowdcontrol`.`Calibration`.`id_calibration` not in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` where `crowdcontrol`.`Calibration_Result`.`worker` = ?))
16:21:49.191 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Calibration`.`id_calibration`, `crowdcontrol`.`Calibration`.`property`, `crowdcontrol`.`Calibration`.`name`, `crowdcontrol`.`Calibration`.`experiment`, `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration` on `crowdcontrol`.`Calibration_answer_option`.`calibration` = `crowdcontrol`.`Calibration`.`id_calibration` where (`crowdcontrol`.`Calibration`.`id_calibration` in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` in (select `crowdcontrol`.`Experiments_Calibration`.`answer` from `crowdcontrol`.`Experiments_Calibration` where `crowdcontrol`.`Experiments_Calibration`.`experiments_platform` = (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = 20 and `crowdcontrol`.`Experiments_Platform`.`platform` = 'dummydummy')))) and `crowdcontrol`.`Calibration`.`id_calibration` not in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` where `crowdcontrol`.`Calibration_Result`.`worker` = 39))
16:21:49.195 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 4.073ms
16:21:49.196 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +--------------+--------+----+----------+----------------------------+-----------+------+
16:21:49.196 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : |id_calibration|property|name|experiment|id_calibration_answer_option|calibration|answer|
16:21:49.196 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +--------------+--------+----+----------+----------------------------+-----------+------+
16:21:49.196 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 5.066ms, +0.992ms
16:21:49.196 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.Queries - worker 39 must answer the calibrations {}
16:21:49.196 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.Queries - worker 39 must not answer calibrations
16:21:49.196 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.Queries - invoking task-chooser anti_spoof
16:21:49.197 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` left outer join `crowdcontrol`.`Answer` on `crowdcontrol`.`Answer`.`reservation` = `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` where ((`crowdcontrol`.`Answer_Reservation`.`used` = ? or (`crowdcontrol`.`Answer_Reservation`.`timestamp` >= ? and `crowdcontrol`.`Answer_Reservation`.`worker` <> ?)) and `crowdcontrol`.`Answer_Reservation`.`experiment` = ? and ((`crowdcontrol`.`Answer`.`quality_assured` = ? and `crowdcontrol`.`Answer`.`quality` > (select `crowdcontrol`.`Experiment`.`result_quality_threshold` from `crowdcontrol`.`Experiment` where `crowdcontrol`.`Experiment`.`id_experiment` = ?)) or ?))) as `q`
16:21:49.197 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` left outer join `crowdcontrol`.`Answer` on `crowdcontrol`.`Answer`.`reservation` = `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` where ((`crowdcontrol`.`Answer_Reservation`.`used` = true or (`crowdcontrol`.`Answer_Reservation`.`timestamp` >= {ts '2016-03-17 14:21:49.196'} and `crowdcontrol`.`Answer_Reservation`.`worker` <> 39)) and `crowdcontrol`.`Answer_Reservation`.`experiment` = 20 and ((`crowdcontrol`.`Answer`.`quality_assured` = true and `crowdcontrol`.`Answer`.`quality` > (select `crowdcontrol`.`Experiment`.`result_quality_threshold` from `crowdcontrol`.`Experiment` where `crowdcontrol`.`Experiment`.`id_experiment` = 20)) or true))) as `q`
16:21:49.199 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 2.265ms
16:21:49.199 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:21:49.199 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | c|
16:21:49.199 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:21:49.199 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 10|
16:21:49.199 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:21:49.200 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 3.387ms, +1.121ms
16:21:49.200 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.AntiSpoof - calculating phase for: answersCount=10, phases={1=1}, neededAnswers=10
16:21:49.200 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.AntiSpoof - entering phase 3
16:21:49.200 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.TaskChooserAlgorithm - constructing view with parameters: worker-id = 39, experimentID = 20, skipCreative = true, skipRating = false
16:21:49.201 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select count(*) as `c` from (select `crowdcontrol`.`Rating`.`id_rating`, `crowdcontrol`.`Rating`.`experiment`, `crowdcontrol`.`Rating`.`answer_r`, `crowdcontrol`.`Rating`.`timestamp`, `crowdcontrol`.`Rating`.`rating`, `crowdcontrol`.`Rating`.`reservation`, `crowdcontrol`.`Rating`.`feedback`, `crowdcontrol`.`Rating`.`worker_id`, `crowdcontrol`.`Rating`.`quality` from `crowdcontrol`.`Rating` where (`crowdcontrol`.`Rating`.`experiment` = ? and `crowdcontrol`.`Rating`.`worker_id` = ?)) as `q`
16:21:49.201 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select count(*) as `c` from (select `crowdcontrol`.`Rating`.`id_rating`, `crowdcontrol`.`Rating`.`experiment`, `crowdcontrol`.`Rating`.`answer_r`, `crowdcontrol`.`Rating`.`timestamp`, `crowdcontrol`.`Rating`.`rating`, `crowdcontrol`.`Rating`.`reservation`, `crowdcontrol`.`Rating`.`feedback`, `crowdcontrol`.`Rating`.`worker_id`, `crowdcontrol`.`Rating`.`quality` from `crowdcontrol`.`Rating` where (`crowdcontrol`.`Rating`.`experiment` = 20 and `crowdcontrol`.`Rating`.`worker_id` = 39)) as `q`
16:21:49.202 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 1.522ms
16:21:49.202 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:21:49.202 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | c|
16:21:49.202 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:21:49.202 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 3|
16:21:49.202 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:21:49.204 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 3.378ms, +1.856ms
16:21:49.204 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.TaskChooserAlgorithm - worker 39 has rated 3 times, max. is 3
16:21:49.205 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.TaskChooserAlgorithm - skipping both
16:21:49.205 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select 1 as `one` from dual where exists (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`worker` = ? and `crowdcontrol`.`Answer_Reservation`.`experiment` = ? and `crowdcontrol`.`Answer_Reservation`.`used` = ?))
16:21:49.207 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select 1 as `one` from dual where exists (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`worker` = 39 and `crowdcontrol`.`Answer_Reservation`.`experiment` = 20 and `crowdcontrol`.`Answer_Reservation`.`used` = true))
16:21:49.210 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 4.491ms
16:21:49.210 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:21:49.210 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | one|
16:21:49.211 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:21:49.211 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 1|
16:21:49.211 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:21:49.212 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 6.575ms, +2.084ms
16:21:49.212 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.Queries - returning view:
16:21:55.110 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.Queries - skipCreative is: false
16:21:55.110 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.Queries - skipRating is: false
16:21:55.110 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.Queries - handling no worker-id
16:21:55.110 [ratpack-compute-1-5] DEBUG e.k.i.c.w.o.Communication - Trying to get workerId for parameter {workerId=[121], assignmentId=[1234]} with route /workers/dummydummy/identity from platform dummydummy.
16:21:55.120 [I/O dispatcher 2] DEBUG e.k.i.c.w.o.Communication - Object service answered with status 404
16:21:55.120 [I/O dispatcher 2] DEBUG e.k.i.c.w.q.Queries - platform dummydummy returned nothing
16:21:55.125 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.Queries - email without workerid
16:21:55.125 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.Queries - returning view: type: EMAIL
16:21:59.244 [ratpack-compute-1-5] DEBUG e.k.i.c.w.c.Commands - Request submit to submit email email: "asdf@asdf.asdf"
platform_parameters {
key: "workerId"
values: "121"
}
platform_parameters {
key: "assignmentId"
values: "1234"
}
for platform dummydummy
16:21:59.245 [ratpack-compute-1-5] DEBUG e.k.i.c.w.ErrorHandler - bad request
edu.kit.ipd.crowdcontrol.workerservice.BadRequestException: invalid email: asdf@asdf.asdf
at edu.kit.ipd.crowdcontrol.workerservice.command.Commands.lambda$submitEmail$0(Commands.java:86)
at ratpack.exec.Promise.lambda$null$9(Promise.java:303)
at ratpack.exec.Downstream$1.success(Downstream.java:73)
at ratpack.exec.Promise.lambda$null$9(Promise.java:304)
at ratpack.exec.Downstream$1.success(Downstream.java:73)
at ratpack.exec.Promise.lambda$null$9(Promise.java:304)
at ratpack.exec.Downstream$1.success(Downstream.java:73)
at ratpack.exec.Promise.lambda$null$9(Promise.java:304)
at ratpack.exec.Downstream$1.success(Downstream.java:73)
at ratpack.exec.Promise.lambda$null$9(Promise.java:304)
at ratpack.exec.Downstream$1.success(Downstream.java:73)
at ratpack.exec.internal.DefaultExecution$2.lambda$success$1(DefaultExecution.java:161)
at ratpack.exec.internal.DefaultExecution$SingleEventExecStream.exec(DefaultExecution.java:419)
at ratpack.exec.internal.DefaultExecution.exec(DefaultExecution.java:248)
at ratpack.exec.internal.DefaultExecution.intercept(DefaultExecution.java:240)
at ratpack.exec.internal.DefaultExecution.drain(DefaultExecution.java:220)
at ratpack.exec.internal.DefaultExecution.<init>(DefaultExecution.java:96)
at ratpack.exec.internal.DefaultExecController$1.lambda$start$0(DefaultExecController.java:172)
at io.netty.util.concurrent.PromiseTask.run(PromiseTask.java:73)
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:339)
at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:258)
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:742)
at ratpack.exec.internal.DefaultExecController$ExecControllerBindingThreadFactory.lambda$newThread$0(DefaultExecController.java:113)
at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137)
at java.lang.Thread.run(Thread.java:745)
16:22:03.646 [ratpack-compute-1-5] DEBUG e.k.i.c.w.c.Commands - Request submit to submit email email: "asdf@asdf.de"
platform_parameters {
key: "workerId"
values: "121"
}
platform_parameters {
key: "assignmentId"
values: "1234"
}
for platform dummydummy
16:22:03.648 [ratpack-compute-1-5] TRACE e.k.i.c.w.o.Communication - Request to get WorkerID for email asdf@asdf.de.
16:22:03.648 [ratpack-compute-1-5] DEBUG e.k.i.c.w.o.Communication - Trying to get workerId for parameter {workerId=[121], assignmentId=[1234], email=[asdf@asdf.de]} with route /workers/dummydummy/identity from platform dummydummy.
16:22:03.674 [I/O dispatcher 2] DEBUG e.k.i.c.w.o.Communication - Object service answered with status 200
16:22:03.674 [I/O dispatcher 2] DEBUG e.k.i.c.w.o.Communication - Request to patch worker 40 with new email asdf@asdf.de for route /workers/40.
16:22:03.695 [I/O dispatcher 2] DEBUG e.k.i.c.w.o.Communication - Object service answered with status 200
16:22:03.695 [ratpack-compute-1-5] DEBUG e.k.i.c.w.JWTHelper - encoding JWT for workerID
16:22:03.696 [ratpack-compute-1-5] DEBUG e.k.i.c.w.c.Commands - Answer from Object-Service for submitting email email: "asdf@asdf.de"
platform_parameters {
key: "workerId"
values: "121"
}
platform_parameters {
key: "assignmentId"
values: "1234"
}
: authorization: "eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiI0MCJ9.0cX-B82A60OdwJDXuBRN-zKC6oCdAWMAM7hX4UZu8ng"
16:22:03.706 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.Queries - skipCreative is: false
16:22:03.706 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.Queries - skipRating is: false
16:22:03.706 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select 1 as `one` from dual where exists (select `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer`, `crowdcontrol`.`Calibration_Result`.`id_calibration_result`, `crowdcontrol`.`Calibration_Result`.`worker`, `crowdcontrol`.`Calibration_Result`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`id_experiments_calibration`, `crowdcontrol`.`Experiments_Calibration`.`experiments_platform`, `crowdcontrol`.`Experiments_Calibration`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`not` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` join `crowdcontrol`.`Experiments_Calibration` on (`crowdcontrol`.`Experiments_Calibration`.`experiments_platform` in (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = ? and `crowdcontrol`.`Experiments_Platform`.`platform` = ?)) and `crowdcontrol`.`Calibration_answer_option`.`calibration` = (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` = `crowdcontrol`.`Experiments_Calibration`.`answer`) and ((`crowdcontrol`.`Experiments_Calibration`.`not` = ? and `crowdcontrol`.`Experiments_Calibration`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`) or (`crowdcontrol`.`Experiments_Calibration`.`not` = ? and `crowdcontrol`.`Experiments_Calibration`.`answer` <> `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`))) where `crowdcontrol`.`Calibration_Result`.`worker` = ?)
16:22:03.707 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select 1 as `one` from dual where exists (select `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer`, `crowdcontrol`.`Calibration_Result`.`id_calibration_result`, `crowdcontrol`.`Calibration_Result`.`worker`, `crowdcontrol`.`Calibration_Result`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`id_experiments_calibration`, `crowdcontrol`.`Experiments_Calibration`.`experiments_platform`, `crowdcontrol`.`Experiments_Calibration`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`not` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` join `crowdcontrol`.`Experiments_Calibration` on (`crowdcontrol`.`Experiments_Calibration`.`experiments_platform` in (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = 20 and `crowdcontrol`.`Experiments_Platform`.`platform` = 'dummydummy')) and `crowdcontrol`.`Calibration_answer_option`.`calibration` = (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` = `crowdcontrol`.`Experiments_Calibration`.`answer`) and ((`crowdcontrol`.`Experiments_Calibration`.`not` = true and `crowdcontrol`.`Experiments_Calibration`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`) or (`crowdcontrol`.`Experiments_Calibration`.`not` = false and `crowdcontrol`.`Experiments_Calibration`.`answer` <> `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`))) where `crowdcontrol`.`Calibration_Result`.`worker` = 40)
16:22:03.708 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 1.706ms
16:22:03.709 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 2.269ms, +0.563ms
16:22:03.709 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:22:03.709 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | one|
16:22:03.709 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:22:03.709 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Worker`.`quality` from `crowdcontrol`.`Worker` where `crowdcontrol`.`Worker`.`id_worker` = ?
16:22:03.709 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Worker`.`quality` from `crowdcontrol`.`Worker` where `crowdcontrol`.`Worker`.`id_worker` = 40
16:22:03.710 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 0.747ms
16:22:03.710 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +-------+
16:22:03.710 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : |quality|
16:22:03.710 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +-------+
16:22:03.710 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 9|
16:22:03.710 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +-------+
16:22:03.713 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 4.526ms, +3.779ms
16:22:03.714 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.Queries - worker 40 is eligible for working on the assignment
16:22:03.714 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.Queries - platform dummydummy is able to render calibrations
16:22:03.714 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Calibration`.`id_calibration`, `crowdcontrol`.`Calibration`.`property`, `crowdcontrol`.`Calibration`.`name`, `crowdcontrol`.`Calibration`.`experiment`, `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration` on `crowdcontrol`.`Calibration_answer_option`.`calibration` = `crowdcontrol`.`Calibration`.`id_calibration` where (`crowdcontrol`.`Calibration`.`id_calibration` in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` in (select `crowdcontrol`.`Experiments_Calibration`.`answer` from `crowdcontrol`.`Experiments_Calibration` where `crowdcontrol`.`Experiments_Calibration`.`experiments_platform` = (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = ? and `crowdcontrol`.`Experiments_Platform`.`platform` = ?)))) and `crowdcontrol`.`Calibration`.`id_calibration` not in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` where `crowdcontrol`.`Calibration_Result`.`worker` = ?))
16:22:03.714 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Calibration`.`id_calibration`, `crowdcontrol`.`Calibration`.`property`, `crowdcontrol`.`Calibration`.`name`, `crowdcontrol`.`Calibration`.`experiment`, `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration` on `crowdcontrol`.`Calibration_answer_option`.`calibration` = `crowdcontrol`.`Calibration`.`id_calibration` where (`crowdcontrol`.`Calibration`.`id_calibration` in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` in (select `crowdcontrol`.`Experiments_Calibration`.`answer` from `crowdcontrol`.`Experiments_Calibration` where `crowdcontrol`.`Experiments_Calibration`.`experiments_platform` = (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = 20 and `crowdcontrol`.`Experiments_Platform`.`platform` = 'dummydummy')))) and `crowdcontrol`.`Calibration`.`id_calibration` not in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` where `crowdcontrol`.`Calibration_Result`.`worker` = 40))
16:22:03.716 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 1.643ms
16:22:03.716 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +--------------+------------+----+----------+----------------------------+-----------+------+
16:22:03.717 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : |id_calibration|property |name|experiment|id_calibration_answer_option|calibration|answer|
16:22:03.717 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +--------------+------------+----+----------+----------------------------+-----------+------+
16:22:03.717 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 18|Are you male|Sex | {null}| 18| 18|yes |
16:22:03.717 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 18|Are you male|Sex | {null}| 19| 18|no |
16:22:03.717 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +--------------+------------+----+----------+----------------------------+-----------+------+
16:22:03.717 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 2.671ms, +1.027ms
16:22:03.718 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.Queries - worker 40 must answer the calibrations {+--------------+------------+----+----------+
|id_calibration|property |name|experiment|
+--------------+------------+----+----------+
| 18|Are you male|Sex | {null}|
+--------------+------------+----+----------+=+----------------------------+-----------+------+
|id_calibration_answer_option|calibration|answer|
+----------------------------+-----------+------+
| 18| 18|yes |
| 19| 18|no |
+----------------------------+-----------+------+}
16:22:03.719 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.Queries - worker 40 must answer calibrations
16:22:03.719 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.Queries - returning view: type: CALIBRATION
calibrations {
question: "Are you male"
answer_options {
option: "yes"
id: 18
}
answer_options {
option: "no"
id: 19
}
id: 18
}
16:22:06.184 [ratpack-compute-1-5] DEBUG e.k.i.c.w.c.Commands - Trying to submit calibration answer_option: 19
for worker 40.
16:22:06.185 [ratpack-compute-1-5] DEBUG e.k.i.c.w.o.Communication - Trying to submit calibration answer_id: 19
for worker 40 with route /workers/40/calibrations
16:22:06.200 [I/O dispatcher 2] DEBUG e.k.i.c.w.o.Communication - Object service answered with status 201
16:22:06.201 [ratpack-compute-1-5] DEBUG e.k.i.c.w.c.Commands - Object service answered with OK.
16:22:06.233 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.Queries - skipCreative is: false
16:22:06.233 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.Queries - skipRating is: false
16:22:06.234 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select 1 as `one` from dual where exists (select `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer`, `crowdcontrol`.`Calibration_Result`.`id_calibration_result`, `crowdcontrol`.`Calibration_Result`.`worker`, `crowdcontrol`.`Calibration_Result`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`id_experiments_calibration`, `crowdcontrol`.`Experiments_Calibration`.`experiments_platform`, `crowdcontrol`.`Experiments_Calibration`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`not` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` join `crowdcontrol`.`Experiments_Calibration` on (`crowdcontrol`.`Experiments_Calibration`.`experiments_platform` in (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = ? and `crowdcontrol`.`Experiments_Platform`.`platform` = ?)) and `crowdcontrol`.`Calibration_answer_option`.`calibration` = (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` = `crowdcontrol`.`Experiments_Calibration`.`answer`) and ((`crowdcontrol`.`Experiments_Calibration`.`not` = ? and `crowdcontrol`.`Experiments_Calibration`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`) or (`crowdcontrol`.`Experiments_Calibration`.`not` = ? and `crowdcontrol`.`Experiments_Calibration`.`answer` <> `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`))) where `crowdcontrol`.`Calibration_Result`.`worker` = ?)
16:22:06.234 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select 1 as `one` from dual where exists (select `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer`, `crowdcontrol`.`Calibration_Result`.`id_calibration_result`, `crowdcontrol`.`Calibration_Result`.`worker`, `crowdcontrol`.`Calibration_Result`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`id_experiments_calibration`, `crowdcontrol`.`Experiments_Calibration`.`experiments_platform`, `crowdcontrol`.`Experiments_Calibration`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`not` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` join `crowdcontrol`.`Experiments_Calibration` on (`crowdcontrol`.`Experiments_Calibration`.`experiments_platform` in (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = 20 and `crowdcontrol`.`Experiments_Platform`.`platform` = 'dummydummy')) and `crowdcontrol`.`Calibration_answer_option`.`calibration` = (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` = `crowdcontrol`.`Experiments_Calibration`.`answer`) and ((`crowdcontrol`.`Experiments_Calibration`.`not` = true and `crowdcontrol`.`Experiments_Calibration`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`) or (`crowdcontrol`.`Experiments_Calibration`.`not` = false and `crowdcontrol`.`Experiments_Calibration`.`answer` <> `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`))) where `crowdcontrol`.`Calibration_Result`.`worker` = 40)
16:22:06.236 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 1.692ms
16:22:06.236 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 2.129ms, +0.436ms
16:22:06.236 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:22:06.236 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | one|
16:22:06.236 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:22:06.236 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Worker`.`quality` from `crowdcontrol`.`Worker` where `crowdcontrol`.`Worker`.`id_worker` = ?
16:22:06.236 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Worker`.`quality` from `crowdcontrol`.`Worker` where `crowdcontrol`.`Worker`.`id_worker` = 40
16:22:06.237 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 0.659ms
16:22:06.237 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +-------+
16:22:06.237 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : |quality|
16:22:06.237 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +-------+
16:22:06.237 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 9|
16:22:06.237 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +-------+
16:22:06.237 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 1.205ms, +0.546ms
16:22:06.238 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.Queries - worker 40 is eligible for working on the assignment
16:22:06.238 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.Queries - platform dummydummy is able to render calibrations
16:22:06.238 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Calibration`.`id_calibration`, `crowdcontrol`.`Calibration`.`property`, `crowdcontrol`.`Calibration`.`name`, `crowdcontrol`.`Calibration`.`experiment`, `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration` on `crowdcontrol`.`Calibration_answer_option`.`calibration` = `crowdcontrol`.`Calibration`.`id_calibration` where (`crowdcontrol`.`Calibration`.`id_calibration` in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` in (select `crowdcontrol`.`Experiments_Calibration`.`answer` from `crowdcontrol`.`Experiments_Calibration` where `crowdcontrol`.`Experiments_Calibration`.`experiments_platform` = (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = ? and `crowdcontrol`.`Experiments_Platform`.`platform` = ?)))) and `crowdcontrol`.`Calibration`.`id_calibration` not in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` where `crowdcontrol`.`Calibration_Result`.`worker` = ?))
16:22:06.238 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Calibration`.`id_calibration`, `crowdcontrol`.`Calibration`.`property`, `crowdcontrol`.`Calibration`.`name`, `crowdcontrol`.`Calibration`.`experiment`, `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration` on `crowdcontrol`.`Calibration_answer_option`.`calibration` = `crowdcontrol`.`Calibration`.`id_calibration` where (`crowdcontrol`.`Calibration`.`id_calibration` in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` in (select `crowdcontrol`.`Experiments_Calibration`.`answer` from `crowdcontrol`.`Experiments_Calibration` where `crowdcontrol`.`Experiments_Calibration`.`experiments_platform` = (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = 20 and `crowdcontrol`.`Experiments_Platform`.`platform` = 'dummydummy')))) and `crowdcontrol`.`Calibration`.`id_calibration` not in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` where `crowdcontrol`.`Calibration_Result`.`worker` = 40))
16:22:06.239 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 1.36ms
16:22:06.240 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +--------------+--------+----+----------+----------------------------+-----------+------+
16:22:06.240 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : |id_calibration|property|name|experiment|id_calibration_answer_option|calibration|answer|
16:22:06.240 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +--------------+--------+----+----------+----------------------------+-----------+------+
16:22:06.240 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 1.994ms, +0.634ms
16:22:06.240 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.Queries - worker 40 must answer the calibrations {}
16:22:06.240 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.Queries - worker 40 must not answer calibrations
16:22:06.240 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.Queries - invoking task-chooser anti_spoof
16:22:06.241 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` left outer join `crowdcontrol`.`Answer` on `crowdcontrol`.`Answer`.`reservation` = `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` where ((`crowdcontrol`.`Answer_Reservation`.`used` = ? or (`crowdcontrol`.`Answer_Reservation`.`timestamp` >= ? and `crowdcontrol`.`Answer_Reservation`.`worker` <> ?)) and `crowdcontrol`.`Answer_Reservation`.`experiment` = ? and ((`crowdcontrol`.`Answer`.`quality_assured` = ? and `crowdcontrol`.`Answer`.`quality` > (select `crowdcontrol`.`Experiment`.`result_quality_threshold` from `crowdcontrol`.`Experiment` where `crowdcontrol`.`Experiment`.`id_experiment` = ?)) or ?))) as `q`
16:22:06.242 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` left outer join `crowdcontrol`.`Answer` on `crowdcontrol`.`Answer`.`reservation` = `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` where ((`crowdcontrol`.`Answer_Reservation`.`used` = true or (`crowdcontrol`.`Answer_Reservation`.`timestamp` >= {ts '2016-03-17 14:22:06.24'} and `crowdcontrol`.`Answer_Reservation`.`worker` <> 40)) and `crowdcontrol`.`Answer_Reservation`.`experiment` = 20 and ((`crowdcontrol`.`Answer`.`quality_assured` = true and `crowdcontrol`.`Answer`.`quality` > (select `crowdcontrol`.`Experiment`.`result_quality_threshold` from `crowdcontrol`.`Experiment` where `crowdcontrol`.`Experiment`.`id_experiment` = 20)) or true))) as `q`
16:22:06.243 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 2.575ms
16:22:06.243 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:22:06.243 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | c|
16:22:06.243 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:22:06.243 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 10|
16:22:06.243 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:22:06.244 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 3.696ms, +1.121ms
16:22:06.245 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.AntiSpoof - calculating phase for: answersCount=10, phases={1=1}, neededAnswers=10
16:22:06.245 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.AntiSpoof - entering phase 3
16:22:06.245 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.TaskChooserAlgorithm - constructing view with parameters: worker-id = 40, experimentID = 20, skipCreative = true, skipRating = false
16:22:06.246 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select count(*) as `c` from (select `crowdcontrol`.`Rating`.`id_rating`, `crowdcontrol`.`Rating`.`experiment`, `crowdcontrol`.`Rating`.`answer_r`, `crowdcontrol`.`Rating`.`timestamp`, `crowdcontrol`.`Rating`.`rating`, `crowdcontrol`.`Rating`.`reservation`, `crowdcontrol`.`Rating`.`feedback`, `crowdcontrol`.`Rating`.`worker_id`, `crowdcontrol`.`Rating`.`quality` from `crowdcontrol`.`Rating` where (`crowdcontrol`.`Rating`.`experiment` = ? and `crowdcontrol`.`Rating`.`worker_id` = ?)) as `q`
16:22:06.248 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select count(*) as `c` from (select `crowdcontrol`.`Rating`.`id_rating`, `crowdcontrol`.`Rating`.`experiment`, `crowdcontrol`.`Rating`.`answer_r`, `crowdcontrol`.`Rating`.`timestamp`, `crowdcontrol`.`Rating`.`rating`, `crowdcontrol`.`Rating`.`reservation`, `crowdcontrol`.`Rating`.`feedback`, `crowdcontrol`.`Rating`.`worker_id`, `crowdcontrol`.`Rating`.`quality` from `crowdcontrol`.`Rating` where (`crowdcontrol`.`Rating`.`experiment` = 20 and `crowdcontrol`.`Rating`.`worker_id` = 40)) as `q`
16:22:06.250 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 4.384ms
16:22:06.251 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:22:06.251 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | c|
16:22:06.252 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:22:06.252 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 0|
16:22:06.252 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:22:06.253 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 7.515ms, +3.13ms
16:22:06.255 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.TaskChooserAlgorithm - worker 40 has rated 0 times, max. is 3
16:22:06.255 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.TaskChooserAlgorithm - returning rating-view
16:22:06.255 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.TaskChooserAlgorithm - task chooser constructs rating-view
16:22:06.255 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Answer`.`id_answer`, `crowdcontrol`.`Answer`.`experiment`, `crowdcontrol`.`Answer`.`answer`, `crowdcontrol`.`Answer`.`timestamp`, `crowdcontrol`.`Answer`.`worker_id`, `crowdcontrol`.`Answer`.`reservation`, `crowdcontrol`.`Answer`.`quality`, `crowdcontrol`.`Answer`.`quality_assured`, `crowdcontrol`.`Answer`.`system_response`, `crowdcontrol`.`Answer`.`hash`, count(`crowdcontrol`.`Rating`.`id_rating`) as `count` from `crowdcontrol`.`Answer` left outer join `crowdcontrol`.`Rating` on (`crowdcontrol`.`Rating`.`answer_r` = `crowdcontrol`.`Answer`.`id_answer` and (`crowdcontrol`.`Rating`.`rating` is not null or `crowdcontrol`.`Rating`.`timestamp` >= ?)) where (`crowdcontrol`.`Answer`.`worker_id` <> ? and `crowdcontrol`.`Answer`.`experiment` = ?) group by `crowdcontrol`.`Answer`.`id_answer`, `crowdcontrol`.`Answer`.`experiment`, `crowdcontrol`.`Answer`.`answer`, `crowdcontrol`.`Answer`.`timestamp`, `crowdcontrol`.`Answer`.`worker_id`, `crowdcontrol`.`Answer`.`reservation`, `crowdcontrol`.`Answer`.`quality`, `crowdcontrol`.`Answer`.`quality_assured`, `crowdcontrol`.`Answer`.`system_response`, `crowdcontrol`.`Answer`.`hash`
16:22:06.255 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Answer`.`id_answer`, `crowdcontrol`.`Answer`.`experiment`, `crowdcontrol`.`Answer`.`answer`, `crowdcontrol`.`Answer`.`timestamp`, `crowdcontrol`.`Answer`.`worker_id`, `crowdcontrol`.`Answer`.`reservation`, `crowdcontrol`.`Answer`.`quality`, `crowdcontrol`.`Answer`.`quality_assured`, `crowdcontrol`.`Answer`.`system_response`, `crowdcontrol`.`Answer`.`hash`, count(`crowdcontrol`.`Rating`.`id_rating`) as `count` from `crowdcontrol`.`Answer` left outer join `crowdcontrol`.`Rating` on (`crowdcontrol`.`Rating`.`answer_r` = `crowdcontrol`.`Answer`.`id_answer` and (`crowdcontrol`.`Rating`.`rating` is not null or `crowdcontrol`.`Rating`.`timestamp` >= {ts '2016-03-17 14:22:06.255'})) where (`crowdcontrol`.`Answer`.`worker_id` <> 40 and `crowdcontrol`.`Answer`.`experiment` = 20) group by `crowdcontrol`.`Answer`.`id_answer`, `crowdcontrol`.`Answer`.`experiment`, `crowdcontrol`.`Answer`.`answer`, `crowdcontrol`.`Answer`.`timestamp`, `crowdcontrol`.`Answer`.`worker_id`, `crowdcontrol`.`Answer`.`reservation`, `crowdcontrol`.`Answer`.`quality`, `crowdcontrol`.`Answer`.`quality_assured`, `crowdcontrol`.`Answer`.`system_response`, `crowdcontrol`.`Answer`.`hash`
16:22:06.257 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 1.845ms
16:22:06.259 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +---------+----------+------+---------------------+---------+-----------+-------+---------------+---------------+------+-----+
16:22:06.259 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : |id_answer|experiment|answer|timestamp |worker_id|reservation|quality|quality_assured|system_response| hash|count|
16:22:06.259 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +---------+----------+------+---------------------+---------+-----------+-------+---------------+---------------+------+-----+
16:22:06.259 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 36| 20|bla |2016-03-17 16:13:34.0| 36| 53| 9|true |{null} |{null}| 3|
16:22:06.259 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 37| 20|bla |2016-03-17 16:13:37.0| 36| 52| 9|true |{null} |{null}| 3|
16:22:06.259 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 38| 20|bla |2016-03-17 16:13:39.0| 36| 51| 9|true |{null} |{null}| 3|
16:22:06.259 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 39| 20|asdf |2016-03-17 16:14:07.0| 37| 56| {null}|{null} |{null} |{null}| 0|
16:22:06.259 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 40| 20|asdf |2016-03-17 16:14:09.0| 37| 55| {null}|{null} |{null} |{null}| 0|
16:22:06.259 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +---------+----------+------+---------------------+---------+-----------+-------+---------------+---------------+------+-----+
16:22:06.259 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : |...5 record(s) truncated...
16:22:06.259 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 3.944ms, +2.098ms
16:22:06.259 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.TaskChooserAlgorithm - all the answers belonging to the experiment not from the worker with their count (max rating per answer is 3): +---------+----------+------+---------------------+---------+-----------+-------+---------------+---------------+------+-----+
|id_answer|experiment|answer|timestamp |worker_id|reservation|quality|quality_assured|system_response| hash|count|
+---------+----------+------+---------------------+---------+-----------+-------+---------------+---------------+------+-----+
| 36| 20|bla |2016-03-17 16:13:34.0| 36| 53| 9|true |{null} |{null}| 3|
| 37| 20|bla |2016-03-17 16:13:37.0| 36| 52| 9|true |{null} |{null}| 3|
| 38| 20|bla |2016-03-17 16:13:39.0| 36| 51| 9|true |{null} |{null}| 3|
| 39| 20|asdf |2016-03-17 16:14:07.0| 37| 56| {null}|{null} |{null} |{null}| 0|
| 40| 20|asdf |2016-03-17 16:14:09.0| 37| 55| {null}|{null} |{null} |{null}| 0|
| 41| 20|asdf |2016-03-17 16:14:10.0| 37| 54| {null}|{null} |{null} |{null}| 0|
| 42| 20|asdf |2016-03-17 16:20:46.0| 38| 59| {null}|{null} |{null} |{null}| 0|
| 43| 20|asdf |2016-03-17 16:20:48.0| 38| 58| {null}|{null} |{null} |{null}| 0|
| 44| 20|asdf |2016-03-17 16:20:49.0| 38| 57| {null}|{null} |{null} |{null}| 0|
| 45| 20|asdf |2016-03-17 16:21:24.0| 39| 60| {null}|{null} |{null} |{null}| 0|
+---------+----------+------+---------------------+---------+-----------+-------+---------------+---------------+------+-----+
16:22:06.260 [ratpack-compute-1-5] DEBUG o.j.i.DefaultConnectionProvider - setting auto commit : false
16:22:06.260 [ratpack-compute-1-5] DEBUG o.j.i.DefaultConnectionProvider - set savepoint
16:22:06.261 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Answer`.`id_answer`, `crowdcontrol`.`Answer`.`experiment`, `crowdcontrol`.`Answer`.`answer`, `crowdcontrol`.`Answer`.`timestamp`, `crowdcontrol`.`Answer`.`worker_id`, `crowdcontrol`.`Answer`.`reservation`, `crowdcontrol`.`Answer`.`quality`, `crowdcontrol`.`Answer`.`quality_assured`, `crowdcontrol`.`Answer`.`system_response`, `crowdcontrol`.`Answer`.`hash`, `crowdcontrol`.`Rating_Reservation`.`idReserverd_Rating` from `crowdcontrol`.`Answer` join `crowdcontrol`.`Rating_Reservation` on (`crowdcontrol`.`Rating_Reservation`.`worker` = ? and `crowdcontrol`.`Rating_Reservation`.`experiment` = ? and `crowdcontrol`.`Rating_Reservation`.`answer` = `crowdcontrol`.`Answer`.`id_answer`)
16:22:06.261 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Answer`.`id_answer`, `crowdcontrol`.`Answer`.`experiment`, `crowdcontrol`.`Answer`.`answer`, `crowdcontrol`.`Answer`.`timestamp`, `crowdcontrol`.`Answer`.`worker_id`, `crowdcontrol`.`Answer`.`reservation`, `crowdcontrol`.`Answer`.`quality`, `crowdcontrol`.`Answer`.`quality_assured`, `crowdcontrol`.`Answer`.`system_response`, `crowdcontrol`.`Answer`.`hash`, `crowdcontrol`.`Rating_Reservation`.`idReserverd_Rating` from `crowdcontrol`.`Answer` join `crowdcontrol`.`Rating_Reservation` on (`crowdcontrol`.`Rating_Reservation`.`worker` = 40 and `crowdcontrol`.`Rating_Reservation`.`experiment` = 20 and `crowdcontrol`.`Rating_Reservation`.`answer` = `crowdcontrol`.`Answer`.`id_answer`)
16:22:06.261 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 0.809ms
16:22:06.262 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +---------+----------+------+---------+---------+-----------+-------+---------------+---------------+----+------------------+
16:22:06.262 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : |id_answer|experiment|answer|timestamp|worker_id|reservation|quality|quality_assured|system_response|hash|idReserverd_Rating|
16:22:06.262 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +---------+----------+------+---------+---------+-----------+-------+---------------+---------------+----+------------------+
16:22:06.262 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 1.199ms, +0.389ms
16:22:06.262 [ratpack-compute-1-5] TRACE e.k.i.c.w.d.o.ExperimentsPlatformOperations - Worker 40 has reserved open ratings {}.
16:22:06.262 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : update `crowdcontrol`.`Rating_Reservation` set `crowdcontrol`.`Rating_Reservation`.`timestamp` = ? where 1 = 0
16:22:06.262 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : update `crowdcontrol`.`Rating_Reservation` set `crowdcontrol`.`Rating_Reservation`.`timestamp` = {ts '2016-03-17 16:22:06.262'} where 1 = 0
16:22:06.265 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Affected row(s) : 0
16:22:06.265 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 3.162ms
16:22:06.266 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 3.928ms, +0.765ms
16:22:06.266 [ratpack-compute-1-5] TRACE e.k.i.c.w.d.o.ExperimentsPlatformOperations - Reserving 3 new Ratings for worker 40.
16:22:06.267 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Answer`.`id_answer`, `crowdcontrol`.`Answer`.`experiment`, `crowdcontrol`.`Answer`.`answer`, `crowdcontrol`.`Answer`.`timestamp`, `crowdcontrol`.`Answer`.`worker_id`, `crowdcontrol`.`Answer`.`reservation`, `crowdcontrol`.`Answer`.`quality`, `crowdcontrol`.`Answer`.`quality_assured`, `crowdcontrol`.`Answer`.`system_response`, `crowdcontrol`.`Answer`.`hash`, count(`crowdcontrol`.`Rating_Reservation`.`idReserverd_Rating`) as `count` from `crowdcontrol`.`Answer` left outer join `crowdcontrol`.`Rating_Reservation` on (`crowdcontrol`.`Rating_Reservation`.`answer` = `crowdcontrol`.`Answer`.`id_answer` and (`crowdcontrol`.`Rating_Reservation`.`used` = ? or `crowdcontrol`.`Rating_Reservation`.`timestamp` >= ?)) where (`crowdcontrol`.`Answer`.`experiment` = ? and `crowdcontrol`.`Answer`.`worker_id` <> ? and `crowdcontrol`.`Answer`.`id_answer` not in (select `crowdcontrol`.`Rating_Reservation`.`answer` from `crowdcontrol`.`Rating_Reservation` where (`crowdcontrol`.`Rating_Reservation`.`worker` = ? and `crowdcontrol`.`Rating_Reservation`.`experiment` = ?)) and ((`crowdcontrol`.`Answer`.`quality_assured` = ? and `crowdcontrol`.`Answer`.`quality` <> ?) or ?)) group by `crowdcontrol`.`Answer`.`id_answer`, `crowdcontrol`.`Answer`.`experiment`, `crowdcontrol`.`Answer`.`answer`, `crowdcontrol`.`Answer`.`timestamp`, `crowdcontrol`.`Answer`.`worker_id`, `crowdcontrol`.`Answer`.`reservation`, `crowdcontrol`.`Answer`.`quality`, `crowdcontrol`.`Answer`.`quality_assured`, `crowdcontrol`.`Answer`.`system_response`, `crowdcontrol`.`Answer`.`hash` having `count` < (select `crowdcontrol`.`Experiment`.`ratings_per_answer` from `crowdcontrol`.`Experiment` where `crowdcontrol`.`Experiment`.`id_experiment` = ?) order by `crowdcontrol`.`Answer`.`quality_assured` desc limit ?
16:22:06.267 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Answer`.`id_answer`, `crowdcontrol`.`Answer`.`experiment`, `crowdcontrol`.`Answer`.`answer`, `crowdcontrol`.`Answer`.`timestamp`, `crowdcontrol`.`Answer`.`worker_id`, `crowdcontrol`.`Answer`.`reservation`, `crowdcontrol`.`Answer`.`quality`, `crowdcontrol`.`Answer`.`quality_assured`, `crowdcontrol`.`Answer`.`system_response`, `crowdcontrol`.`Answer`.`hash`, count(`crowdcontrol`.`Rating_Reservation`.`idReserverd_Rating`) as `count` from `crowdcontrol`.`Answer` left outer join `crowdcontrol`.`Rating_Reservation` on (`crowdcontrol`.`Rating_Reservation`.`answer` = `crowdcontrol`.`Answer`.`id_answer` and (`crowdcontrol`.`Rating_Reservation`.`used` = true or `crowdcontrol`.`Rating_Reservation`.`timestamp` >= {ts '2016-03-17 14:22:06.266'})) where (`crowdcontrol`.`Answer`.`experiment` = 20 and `crowdcontrol`.`Answer`.`worker_id` <> 40 and `crowdcontrol`.`Answer`.`id_answer` not in (select `crowdcontrol`.`Rating_Reservation`.`answer` from `crowdcontrol`.`Rating_Reservation` where (`crowdcontrol`.`Rating_Reservation`.`worker` = 40 and `crowdcontrol`.`Rating_Reservation`.`experiment` = 20)) and ((`crowdcontrol`.`Answer`.`quality_assured` = true and `crowdcontrol`.`Answer`.`quality` <> 0) or true)) group by `crowdcontrol`.`Answer`.`id_answer`, `crowdcontrol`.`Answer`.`experiment`, `crowdcontrol`.`Answer`.`answer`, `crowdcontrol`.`Answer`.`timestamp`, `crowdcontrol`.`Answer`.`worker_id`, `crowdcontrol`.`Answer`.`reservation`, `crowdcontrol`.`Answer`.`quality`, `crowdcontrol`.`Answer`.`quality_assured`, `crowdcontrol`.`Answer`.`system_response`, `crowdcontrol`.`Answer`.`hash` having `count` < (select `crowdcontrol`.`Experiment`.`ratings_per_answer` from `crowdcontrol`.`Experiment` where `crowdcontrol`.`Experiment`.`id_experiment` = 20) order by `crowdcontrol`.`Answer`.`quality_assured` desc limit 3
16:22:06.268 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 2.006ms
16:22:06.269 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +---------+----------+------+---------------------+---------+-----------+-------+---------------+---------------+------+-----+
16:22:06.269 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : |id_answer|experiment|answer|timestamp |worker_id|reservation|quality|quality_assured|system_response| hash|count|
16:22:06.269 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +---------+----------+------+---------------------+---------+-----------+-------+---------------+---------------+------+-----+
16:22:06.269 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 39| 20|asdf |2016-03-17 16:14:07.0| 37| 56| {null}|{null} |{null} |{null}| 0|
16:22:06.269 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 40| 20|asdf |2016-03-17 16:14:09.0| 37| 55| {null}|{null} |{null} |{null}| 0|
16:22:06.269 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 41| 20|asdf |2016-03-17 16:14:10.0| 37| 54| {null}|{null} |{null} |{null}| 0|
16:22:06.269 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +---------+----------+------+---------------------+---------+-----------+-------+---------------+---------------+------+-----+
16:22:06.269 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 2.936ms, +0.93ms
16:22:06.270 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing batch query : insert into `crowdcontrol`.`Rating_Reservation` (`idReserverd_Rating`, `worker`, `experiment`, `answer`, `timestamp`, `used`) values (?, ?, ?, ?, ?, ?)
16:22:06.272 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 1.737ms
16:22:06.272 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 1.931ms, +0.194ms
16:22:06.272 [ratpack-compute-1-5] DEBUG o.j.i.DefaultConnectionProvider - release savepoint
16:22:06.272 [ratpack-compute-1-5] DEBUG o.j.i.DefaultConnectionProvider - commit
16:22:06.300 [ratpack-compute-1-5] DEBUG o.j.i.DefaultConnectionProvider - setting auto commit : true
16:22:06.300 [ratpack-compute-1-5] TRACE e.k.i.c.w.d.o.ExperimentsPlatformOperations - Worker 40 can rate [+---------+----------+------+---------------------+---------+-----------+-------+---------------+---------------+------+
|id_answer|experiment|answer|timestamp |worker_id|reservation|quality|quality_assured|system_response| hash|
+---------+----------+------+---------------------+---------+-----------+-------+---------------+---------------+------+
| 39| 20|asdf |2016-03-17 16:14:07.0| 37| 56| {null}|{null} |{null} |{null}|
+---------+----------+------+---------------------+---------+-----------+-------+---------------+---------------+------+, +---------+----------+------+---------------------+---------+-----------+-------+---------------+---------------+------+
|id_answer|experiment|answer|timestamp |worker_id|reservation|quality|quality_assured|system_response| hash|
+---------+----------+------+---------------------+---------+-----------+-------+---------------+---------------+------+
| 40| 20|asdf |2016-03-17 16:14:09.0| 37| 55| {null}|{null} |{null} |{null}|
+---------+----------+------+---------------------+---------+-----------+-------+---------------+---------------+------+, +---------+----------+------+---------------------+---------+-----------+-------+---------------+---------------+------+
|id_answer|experiment|answer|timestamp |worker_id|reservation|quality|quality_assured|system_response| hash|
+---------+----------+------+---------------------+---------+-----------+-------+---------------+---------------+------+
| 41| 20|asdf |2016-03-17 16:14:10.0| 37| 54| {null}|{null} |{null} |{null}|
+---------+----------+------+---------------------+---------+-----------+-------+---------------+---------------+------+]
16:22:06.301 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Rating_Reservation`.`idReserverd_Rating`, `crowdcontrol`.`Rating_Reservation`.`worker`, `crowdcontrol`.`Rating_Reservation`.`experiment`, `crowdcontrol`.`Rating_Reservation`.`answer`, `crowdcontrol`.`Rating_Reservation`.`timestamp`, `crowdcontrol`.`Rating_Reservation`.`used` from `crowdcontrol`.`Rating_Reservation` where (`crowdcontrol`.`Rating_Reservation`.`answer` in (?, ?, ?) and `crowdcontrol`.`Rating_Reservation`.`worker` = ?)
16:22:06.301 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Rating_Reservation`.`idReserverd_Rating`, `crowdcontrol`.`Rating_Reservation`.`worker`, `crowdcontrol`.`Rating_Reservation`.`experiment`, `crowdcontrol`.`Rating_Reservation`.`answer`, `crowdcontrol`.`Rating_Reservation`.`timestamp`, `crowdcontrol`.`Rating_Reservation`.`used` from `crowdcontrol`.`Rating_Reservation` where (`crowdcontrol`.`Rating_Reservation`.`answer` in (39, 40, 41) and `crowdcontrol`.`Rating_Reservation`.`worker` = 40)
16:22:06.302 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 0.987ms
16:22:06.303 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +------------------+------+----------+------+---------------------+-----+
16:22:06.303 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : |idReserverd_Rating|worker|experiment|answer|timestamp |used |
16:22:06.303 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +------------------+------+----------+------+---------------------+-----+
16:22:06.303 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 34| 40| 20| 39|2016-03-17 14:22:06.0|false|
16:22:06.303 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 35| 40| 20| 40|2016-03-17 14:22:06.0|false|
16:22:06.303 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 36| 40| 20| 41|2016-03-17 14:22:06.0|false|
16:22:06.303 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +------------------+------+----------+------+---------------------+-----+
16:22:06.303 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 2.384ms, +1.396ms
16:22:06.303 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.TaskChooserAlgorithm - worker 40 can rate [id: 34
answer_id: 39
answer: "asdf"
, id: 35
answer_id: 40
answer: "asdf"
, id: 36
answer_id: 41
answer: "asdf"
]
16:22:06.304 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.TaskChooserAlgorithm - task chooser prepared builder
16:22:06.305 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.Queries - returning view: type: RATING
title: "Calibtest"
description: "test"
answers_to_rate {
id: 34
answer_id: 39
answer: "asdf"
}
answers_to_rate {
id: 35
answer_id: 40
answer: "asdf"
}
answers_to_rate {
id: 36
answer_id: 41
answer: "asdf"
}
rating_options {
value: 9
description: "good"
}
rating_options {
description: "bad"
}
constraints {
id: 35
name: "a"
}
constraints {
id: 36
name: "b"
}
constraints {
id: 37
name: "C"
}
constraints {
id: 38
name: "d"
}
16:22:12.168 [HikariPool-0 housekeeper] DEBUG c.z.h.p.HikariPool - HikariPool-0 - Pool stats (total=10, active=1, idle=9, waiting=0)
16:22:12.604 [ratpack-compute-1-5] DEBUG e.k.i.c.w.c.Commands - Request to submit rating rating_id: 34
rating: 9
experiment: 20
answer_id: 39
for worker 40.
16:22:12.604 [ratpack-compute-1-5] DEBUG e.k.i.c.w.o.Communication - Trying to submit rating reservation: 34
experiment_id: 20
rating: 9
worker: 40
for worker 40 with route /experiments/20/answers/39/rating
16:22:12.610 [ratpack-compute-1-6] DEBUG e.k.i.c.w.c.Commands - Request to submit rating rating_id: 35
rating: 9
experiment: 20
answer_id: 40
for worker 40.
16:22:12.610 [ratpack-compute-1-6] DEBUG e.k.i.c.w.o.Communication - Trying to submit rating reservation: 35
experiment_id: 20
rating: 9
worker: 40
for worker 40 with route /experiments/20/answers/40/rating
16:22:12.625 [ratpack-compute-1-7] DEBUG e.k.i.c.w.c.Commands - Request to submit rating rating_id: 36
rating: 9
experiment: 20
answer_id: 41
for worker 40.
16:22:12.625 [ratpack-compute-1-7] DEBUG e.k.i.c.w.o.Communication - Trying to submit rating reservation: 36
experiment_id: 20
rating: 9
worker: 40
for worker 40 with route /experiments/20/answers/41/rating
16:22:12.689 [I/O dispatcher 2] DEBUG e.k.i.c.w.o.Communication - Object service answered with status 201
16:22:12.689 [ratpack-compute-1-5] DEBUG e.k.i.c.w.c.Commands - Object service answered with status 201.
16:22:12.721 [I/O dispatcher 4] DEBUG e.k.i.c.w.o.Communication - Object service answered with status 201
16:22:12.722 [ratpack-compute-1-7] DEBUG e.k.i.c.w.c.Commands - Object service answered with status 201.
16:22:12.742 [I/O dispatcher 3] DEBUG e.k.i.c.w.o.Communication - Object service answered with status 201
16:22:12.742 [ratpack-compute-1-6] DEBUG e.k.i.c.w.c.Commands - Object service answered with status 201.
16:22:12.753 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.Queries - skipCreative is: false
16:22:12.753 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.Queries - skipRating is: false
16:22:12.754 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select 1 as `one` from dual where exists (select `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer`, `crowdcontrol`.`Calibration_Result`.`id_calibration_result`, `crowdcontrol`.`Calibration_Result`.`worker`, `crowdcontrol`.`Calibration_Result`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`id_experiments_calibration`, `crowdcontrol`.`Experiments_Calibration`.`experiments_platform`, `crowdcontrol`.`Experiments_Calibration`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`not` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` join `crowdcontrol`.`Experiments_Calibration` on (`crowdcontrol`.`Experiments_Calibration`.`experiments_platform` in (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = ? and `crowdcontrol`.`Experiments_Platform`.`platform` = ?)) and `crowdcontrol`.`Calibration_answer_option`.`calibration` = (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` = `crowdcontrol`.`Experiments_Calibration`.`answer`) and ((`crowdcontrol`.`Experiments_Calibration`.`not` = ? and `crowdcontrol`.`Experiments_Calibration`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`) or (`crowdcontrol`.`Experiments_Calibration`.`not` = ? and `crowdcontrol`.`Experiments_Calibration`.`answer` <> `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`))) where `crowdcontrol`.`Calibration_Result`.`worker` = ?)
16:22:12.755 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select 1 as `one` from dual where exists (select `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer`, `crowdcontrol`.`Calibration_Result`.`id_calibration_result`, `crowdcontrol`.`Calibration_Result`.`worker`, `crowdcontrol`.`Calibration_Result`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`id_experiments_calibration`, `crowdcontrol`.`Experiments_Calibration`.`experiments_platform`, `crowdcontrol`.`Experiments_Calibration`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`not` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` join `crowdcontrol`.`Experiments_Calibration` on (`crowdcontrol`.`Experiments_Calibration`.`experiments_platform` in (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = 20 and `crowdcontrol`.`Experiments_Platform`.`platform` = 'dummydummy')) and `crowdcontrol`.`Calibration_answer_option`.`calibration` = (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` = `crowdcontrol`.`Experiments_Calibration`.`answer`) and ((`crowdcontrol`.`Experiments_Calibration`.`not` = true and `crowdcontrol`.`Experiments_Calibration`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`) or (`crowdcontrol`.`Experiments_Calibration`.`not` = false and `crowdcontrol`.`Experiments_Calibration`.`answer` <> `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`))) where `crowdcontrol`.`Calibration_Result`.`worker` = 40)
16:22:12.761 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 6.528ms
16:22:12.761 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 7.164ms, +0.635ms
16:22:12.761 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:22:12.761 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | one|
16:22:12.761 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:22:12.762 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Worker`.`quality` from `crowdcontrol`.`Worker` where `crowdcontrol`.`Worker`.`id_worker` = ?
16:22:12.762 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Worker`.`quality` from `crowdcontrol`.`Worker` where `crowdcontrol`.`Worker`.`id_worker` = 40
16:22:12.767 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 5.699ms
16:22:12.768 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +-------+
16:22:12.768 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : |quality|
16:22:12.768 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +-------+
16:22:12.769 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 9|
16:22:12.769 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +-------+
16:22:12.774 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 12.308ms, +6.608ms
16:22:12.774 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.Queries - worker 40 is eligible for working on the assignment
16:22:12.774 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.Queries - platform dummydummy is able to render calibrations
16:22:12.775 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Calibration`.`id_calibration`, `crowdcontrol`.`Calibration`.`property`, `crowdcontrol`.`Calibration`.`name`, `crowdcontrol`.`Calibration`.`experiment`, `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration` on `crowdcontrol`.`Calibration_answer_option`.`calibration` = `crowdcontrol`.`Calibration`.`id_calibration` where (`crowdcontrol`.`Calibration`.`id_calibration` in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` in (select `crowdcontrol`.`Experiments_Calibration`.`answer` from `crowdcontrol`.`Experiments_Calibration` where `crowdcontrol`.`Experiments_Calibration`.`experiments_platform` = (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = ? and `crowdcontrol`.`Experiments_Platform`.`platform` = ?)))) and `crowdcontrol`.`Calibration`.`id_calibration` not in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` where `crowdcontrol`.`Calibration_Result`.`worker` = ?))
16:22:12.775 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Calibration`.`id_calibration`, `crowdcontrol`.`Calibration`.`property`, `crowdcontrol`.`Calibration`.`name`, `crowdcontrol`.`Calibration`.`experiment`, `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration` on `crowdcontrol`.`Calibration_answer_option`.`calibration` = `crowdcontrol`.`Calibration`.`id_calibration` where (`crowdcontrol`.`Calibration`.`id_calibration` in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` in (select `crowdcontrol`.`Experiments_Calibration`.`answer` from `crowdcontrol`.`Experiments_Calibration` where `crowdcontrol`.`Experiments_Calibration`.`experiments_platform` = (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = 20 and `crowdcontrol`.`Experiments_Platform`.`platform` = 'dummydummy')))) and `crowdcontrol`.`Calibration`.`id_calibration` not in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` where `crowdcontrol`.`Calibration_Result`.`worker` = 40))
16:22:12.776 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 1.719ms
16:22:12.777 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +--------------+--------+----+----------+----------------------------+-----------+------+
16:22:12.777 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : |id_calibration|property|name|experiment|id_calibration_answer_option|calibration|answer|
16:22:12.777 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +--------------+--------+----+----------+----------------------------+-----------+------+
16:22:12.777 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 2.253ms, +0.534ms
16:22:12.777 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.Queries - worker 40 must answer the calibrations {}
16:22:12.777 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.Queries - worker 40 must not answer calibrations
16:22:12.777 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.Queries - invoking task-chooser anti_spoof
16:22:12.778 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` left outer join `crowdcontrol`.`Answer` on `crowdcontrol`.`Answer`.`reservation` = `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` where ((`crowdcontrol`.`Answer_Reservation`.`used` = ? or (`crowdcontrol`.`Answer_Reservation`.`timestamp` >= ? and `crowdcontrol`.`Answer_Reservation`.`worker` <> ?)) and `crowdcontrol`.`Answer_Reservation`.`experiment` = ? and ((`crowdcontrol`.`Answer`.`quality_assured` = ? and `crowdcontrol`.`Answer`.`quality` > (select `crowdcontrol`.`Experiment`.`result_quality_threshold` from `crowdcontrol`.`Experiment` where `crowdcontrol`.`Experiment`.`id_experiment` = ?)) or ?))) as `q`
16:22:12.778 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` left outer join `crowdcontrol`.`Answer` on `crowdcontrol`.`Answer`.`reservation` = `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` where ((`crowdcontrol`.`Answer_Reservation`.`used` = true or (`crowdcontrol`.`Answer_Reservation`.`timestamp` >= {ts '2016-03-17 14:22:12.777'} and `crowdcontrol`.`Answer_Reservation`.`worker` <> 40)) and `crowdcontrol`.`Answer_Reservation`.`experiment` = 20 and ((`crowdcontrol`.`Answer`.`quality_assured` = true and `crowdcontrol`.`Answer`.`quality` > (select `crowdcontrol`.`Experiment`.`result_quality_threshold` from `crowdcontrol`.`Experiment` where `crowdcontrol`.`Experiment`.`id_experiment` = 20)) or true))) as `q`
16:22:12.779 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 1.781ms
16:22:12.779 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:22:12.779 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | c|
16:22:12.779 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:22:12.779 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 10|
16:22:12.779 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:22:12.780 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 3.072ms, +1.29ms
16:22:12.781 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.AntiSpoof - calculating phase for: answersCount=10, phases={1=1}, neededAnswers=10
16:22:12.781 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.AntiSpoof - entering phase 3
16:22:12.781 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.TaskChooserAlgorithm - constructing view with parameters: worker-id = 40, experimentID = 20, skipCreative = true, skipRating = false
16:22:12.781 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select count(*) as `c` from (select `crowdcontrol`.`Rating`.`id_rating`, `crowdcontrol`.`Rating`.`experiment`, `crowdcontrol`.`Rating`.`answer_r`, `crowdcontrol`.`Rating`.`timestamp`, `crowdcontrol`.`Rating`.`rating`, `crowdcontrol`.`Rating`.`reservation`, `crowdcontrol`.`Rating`.`feedback`, `crowdcontrol`.`Rating`.`worker_id`, `crowdcontrol`.`Rating`.`quality` from `crowdcontrol`.`Rating` where (`crowdcontrol`.`Rating`.`experiment` = ? and `crowdcontrol`.`Rating`.`worker_id` = ?)) as `q`
16:22:12.781 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select count(*) as `c` from (select `crowdcontrol`.`Rating`.`id_rating`, `crowdcontrol`.`Rating`.`experiment`, `crowdcontrol`.`Rating`.`answer_r`, `crowdcontrol`.`Rating`.`timestamp`, `crowdcontrol`.`Rating`.`rating`, `crowdcontrol`.`Rating`.`reservation`, `crowdcontrol`.`Rating`.`feedback`, `crowdcontrol`.`Rating`.`worker_id`, `crowdcontrol`.`Rating`.`quality` from `crowdcontrol`.`Rating` where (`crowdcontrol`.`Rating`.`experiment` = 20 and `crowdcontrol`.`Rating`.`worker_id` = 40)) as `q`
16:22:12.782 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 1.499ms
16:22:12.783 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:22:12.783 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | c|
16:22:12.783 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:22:12.783 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 3|
16:22:12.783 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:22:12.784 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 3.057ms, +1.557ms
16:22:12.784 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.TaskChooserAlgorithm - worker 40 has rated 3 times, max. is 3
16:22:12.784 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.TaskChooserAlgorithm - skipping both
16:22:12.785 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select 1 as `one` from dual where exists (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`worker` = ? and `crowdcontrol`.`Answer_Reservation`.`experiment` = ? and `crowdcontrol`.`Answer_Reservation`.`used` = ?))
16:22:12.785 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select 1 as `one` from dual where exists (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`worker` = 40 and `crowdcontrol`.`Answer_Reservation`.`experiment` = 20 and `crowdcontrol`.`Answer_Reservation`.`used` = true))
16:22:12.786 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 0.99ms
16:22:12.786 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 1.465ms, +0.474ms
16:22:12.786 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:22:12.786 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | one|
16:22:12.786 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:22:12.787 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select 1 as `one` from dual where exists (select `crowdcontrol`.`Rating_Reservation`.`idReserverd_Rating` from `crowdcontrol`.`Rating_Reservation` where (`crowdcontrol`.`Rating_Reservation`.`worker` = ? and `crowdcontrol`.`Rating_Reservation`.`experiment` = ? and `crowdcontrol`.`Rating_Reservation`.`used` = ?))
16:22:12.787 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select 1 as `one` from dual where exists (select `crowdcontrol`.`Rating_Reservation`.`idReserverd_Rating` from `crowdcontrol`.`Rating_Reservation` where (`crowdcontrol`.`Rating_Reservation`.`worker` = 40 and `crowdcontrol`.`Rating_Reservation`.`experiment` = 20 and `crowdcontrol`.`Rating_Reservation`.`used` = true))
16:22:12.788 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 1.076ms
16:22:12.788 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:22:12.788 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | one|
16:22:12.788 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:22:12.788 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 1|
16:22:12.788 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:22:12.788 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 1.617ms, +0.541ms
16:22:12.788 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.Queries - returning view:
16:22:18.909 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.Queries - skipCreative is: false
16:22:18.909 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.Queries - skipRating is: false
16:22:18.909 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.Queries - handling no worker-id
16:22:18.909 [ratpack-compute-1-5] DEBUG e.k.i.c.w.o.Communication - Trying to get workerId for parameter {workerId=[121], assignmentId=[1234]} with route /workers/dummydummy/identity from platform dummydummy.
16:22:18.917 [I/O dispatcher 3] DEBUG e.k.i.c.w.o.Communication - Object service answered with status 404
16:22:18.917 [I/O dispatcher 3] DEBUG e.k.i.c.w.q.Queries - platform dummydummy returned nothing
16:22:18.918 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.Queries - email without workerid
16:22:18.918 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.Queries - returning view: type: EMAIL
16:22:22.891 [ratpack-compute-1-5] DEBUG e.k.i.c.w.c.Commands - Request submit to submit email email: "asdf@asdf.com"
platform_parameters {
key: "workerId"
values: "121"
}
platform_parameters {
key: "assignmentId"
values: "1234"
}
for platform dummydummy
16:22:22.892 [ratpack-compute-1-5] TRACE e.k.i.c.w.o.Communication - Request to get WorkerID for email asdf@asdf.com.
16:22:22.892 [ratpack-compute-1-5] DEBUG e.k.i.c.w.o.Communication - Trying to get workerId for parameter {workerId=[121], assignmentId=[1234], email=[asdf@asdf.com]} with route /workers/dummydummy/identity from platform dummydummy.
16:22:22.911 [I/O dispatcher 3] DEBUG e.k.i.c.w.o.Communication - Object service answered with status 200
16:22:22.911 [I/O dispatcher 3] DEBUG e.k.i.c.w.o.Communication - Request to patch worker 41 with new email asdf@asdf.com for route /workers/41.
16:22:22.921 [I/O dispatcher 3] DEBUG e.k.i.c.w.o.Communication - Object service answered with status 200
16:22:22.922 [ratpack-compute-1-5] DEBUG e.k.i.c.w.JWTHelper - encoding JWT for workerID
16:22:22.922 [ratpack-compute-1-5] DEBUG e.k.i.c.w.c.Commands - Answer from Object-Service for submitting email email: "asdf@asdf.com"
platform_parameters {
key: "workerId"
values: "121"
}
platform_parameters {
key: "assignmentId"
values: "1234"
}
: authorization: "eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiI0MSJ9.GBYhmj0W7c5ntF6tOULOTVxt3HK2KjQlbDwpSO4c0p0"
16:22:22.940 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.Queries - skipCreative is: false
16:22:22.940 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.Queries - skipRating is: false
16:22:22.941 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select 1 as `one` from dual where exists (select `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer`, `crowdcontrol`.`Calibration_Result`.`id_calibration_result`, `crowdcontrol`.`Calibration_Result`.`worker`, `crowdcontrol`.`Calibration_Result`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`id_experiments_calibration`, `crowdcontrol`.`Experiments_Calibration`.`experiments_platform`, `crowdcontrol`.`Experiments_Calibration`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`not` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` join `crowdcontrol`.`Experiments_Calibration` on (`crowdcontrol`.`Experiments_Calibration`.`experiments_platform` in (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = ? and `crowdcontrol`.`Experiments_Platform`.`platform` = ?)) and `crowdcontrol`.`Calibration_answer_option`.`calibration` = (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` = `crowdcontrol`.`Experiments_Calibration`.`answer`) and ((`crowdcontrol`.`Experiments_Calibration`.`not` = ? and `crowdcontrol`.`Experiments_Calibration`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`) or (`crowdcontrol`.`Experiments_Calibration`.`not` = ? and `crowdcontrol`.`Experiments_Calibration`.`answer` <> `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`))) where `crowdcontrol`.`Calibration_Result`.`worker` = ?)
16:22:22.941 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select 1 as `one` from dual where exists (select `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer`, `crowdcontrol`.`Calibration_Result`.`id_calibration_result`, `crowdcontrol`.`Calibration_Result`.`worker`, `crowdcontrol`.`Calibration_Result`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`id_experiments_calibration`, `crowdcontrol`.`Experiments_Calibration`.`experiments_platform`, `crowdcontrol`.`Experiments_Calibration`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`not` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` join `crowdcontrol`.`Experiments_Calibration` on (`crowdcontrol`.`Experiments_Calibration`.`experiments_platform` in (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = 20 and `crowdcontrol`.`Experiments_Platform`.`platform` = 'dummydummy')) and `crowdcontrol`.`Calibration_answer_option`.`calibration` = (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` = `crowdcontrol`.`Experiments_Calibration`.`answer`) and ((`crowdcontrol`.`Experiments_Calibration`.`not` = true and `crowdcontrol`.`Experiments_Calibration`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`) or (`crowdcontrol`.`Experiments_Calibration`.`not` = false and `crowdcontrol`.`Experiments_Calibration`.`answer` <> `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`))) where `crowdcontrol`.`Calibration_Result`.`worker` = 41)
16:22:22.942 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 2.012ms
16:22:22.943 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 2.479ms, +0.467ms
16:22:22.943 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:22:22.943 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | one|
16:22:22.943 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:22:22.943 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Worker`.`quality` from `crowdcontrol`.`Worker` where `crowdcontrol`.`Worker`.`id_worker` = ?
16:22:22.943 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Worker`.`quality` from `crowdcontrol`.`Worker` where `crowdcontrol`.`Worker`.`id_worker` = 41
16:22:22.944 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 0.799ms
16:22:22.944 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +-------+
16:22:22.944 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : |quality|
16:22:22.944 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +-------+
16:22:22.944 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 9|
16:22:22.944 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +-------+
16:22:22.944 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 1.415ms, +0.615ms
16:22:22.945 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.Queries - worker 41 is eligible for working on the assignment
16:22:22.945 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.Queries - platform dummydummy is able to render calibrations
16:22:22.945 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Calibration`.`id_calibration`, `crowdcontrol`.`Calibration`.`property`, `crowdcontrol`.`Calibration`.`name`, `crowdcontrol`.`Calibration`.`experiment`, `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration` on `crowdcontrol`.`Calibration_answer_option`.`calibration` = `crowdcontrol`.`Calibration`.`id_calibration` where (`crowdcontrol`.`Calibration`.`id_calibration` in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` in (select `crowdcontrol`.`Experiments_Calibration`.`answer` from `crowdcontrol`.`Experiments_Calibration` where `crowdcontrol`.`Experiments_Calibration`.`experiments_platform` = (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = ? and `crowdcontrol`.`Experiments_Platform`.`platform` = ?)))) and `crowdcontrol`.`Calibration`.`id_calibration` not in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` where `crowdcontrol`.`Calibration_Result`.`worker` = ?))
16:22:22.945 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Calibration`.`id_calibration`, `crowdcontrol`.`Calibration`.`property`, `crowdcontrol`.`Calibration`.`name`, `crowdcontrol`.`Calibration`.`experiment`, `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration` on `crowdcontrol`.`Calibration_answer_option`.`calibration` = `crowdcontrol`.`Calibration`.`id_calibration` where (`crowdcontrol`.`Calibration`.`id_calibration` in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` in (select `crowdcontrol`.`Experiments_Calibration`.`answer` from `crowdcontrol`.`Experiments_Calibration` where `crowdcontrol`.`Experiments_Calibration`.`experiments_platform` = (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = 20 and `crowdcontrol`.`Experiments_Platform`.`platform` = 'dummydummy')))) and `crowdcontrol`.`Calibration`.`id_calibration` not in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` where `crowdcontrol`.`Calibration_Result`.`worker` = 41))
16:22:22.948 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 2.605ms
16:22:22.949 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +--------------+------------+----+----------+----------------------------+-----------+------+
16:22:22.949 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : |id_calibration|property |name|experiment|id_calibration_answer_option|calibration|answer|
16:22:22.949 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +--------------+------------+----+----------+----------------------------+-----------+------+
16:22:22.949 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 18|Are you male|Sex | {null}| 18| 18|yes |
16:22:22.949 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 18|Are you male|Sex | {null}| 19| 18|no |
16:22:22.949 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +--------------+------------+----+----------+----------------------------+-----------+------+
16:22:22.949 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 4.305ms, +1.7ms
16:22:22.950 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.Queries - worker 41 must answer the calibrations {+--------------+------------+----+----------+
|id_calibration|property |name|experiment|
+--------------+------------+----+----------+
| 18|Are you male|Sex | {null}|
+--------------+------------+----+----------+=+----------------------------+-----------+------+
|id_calibration_answer_option|calibration|answer|
+----------------------------+-----------+------+
| 18| 18|yes |
| 19| 18|no |
+----------------------------+-----------+------+}
16:22:22.950 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.Queries - worker 41 must answer calibrations
16:22:22.950 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.Queries - returning view: type: CALIBRATION
calibrations {
question: "Are you male"
answer_options {
option: "yes"
id: 18
}
answer_options {
option: "no"
id: 19
}
id: 18
}
16:22:25.227 [ratpack-compute-1-5] DEBUG e.k.i.c.w.c.Commands - Trying to submit calibration answer_option: 19
for worker 41.
16:22:25.228 [ratpack-compute-1-5] DEBUG e.k.i.c.w.o.Communication - Trying to submit calibration answer_id: 19
for worker 41 with route /workers/41/calibrations
16:22:25.239 [I/O dispatcher 3] DEBUG e.k.i.c.w.o.Communication - Object service answered with status 201
16:22:25.240 [ratpack-compute-1-5] DEBUG e.k.i.c.w.c.Commands - Object service answered with OK.
16:22:25.254 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.Queries - skipCreative is: false
16:22:25.254 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.Queries - skipRating is: false
16:22:25.255 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select 1 as `one` from dual where exists (select `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer`, `crowdcontrol`.`Calibration_Result`.`id_calibration_result`, `crowdcontrol`.`Calibration_Result`.`worker`, `crowdcontrol`.`Calibration_Result`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`id_experiments_calibration`, `crowdcontrol`.`Experiments_Calibration`.`experiments_platform`, `crowdcontrol`.`Experiments_Calibration`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`not` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` join `crowdcontrol`.`Experiments_Calibration` on (`crowdcontrol`.`Experiments_Calibration`.`experiments_platform` in (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = ? and `crowdcontrol`.`Experiments_Platform`.`platform` = ?)) and `crowdcontrol`.`Calibration_answer_option`.`calibration` = (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` = `crowdcontrol`.`Experiments_Calibration`.`answer`) and ((`crowdcontrol`.`Experiments_Calibration`.`not` = ? and `crowdcontrol`.`Experiments_Calibration`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`) or (`crowdcontrol`.`Experiments_Calibration`.`not` = ? and `crowdcontrol`.`Experiments_Calibration`.`answer` <> `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`))) where `crowdcontrol`.`Calibration_Result`.`worker` = ?)
16:22:25.255 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select 1 as `one` from dual where exists (select `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer`, `crowdcontrol`.`Calibration_Result`.`id_calibration_result`, `crowdcontrol`.`Calibration_Result`.`worker`, `crowdcontrol`.`Calibration_Result`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`id_experiments_calibration`, `crowdcontrol`.`Experiments_Calibration`.`experiments_platform`, `crowdcontrol`.`Experiments_Calibration`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`not` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` join `crowdcontrol`.`Experiments_Calibration` on (`crowdcontrol`.`Experiments_Calibration`.`experiments_platform` in (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = 20 and `crowdcontrol`.`Experiments_Platform`.`platform` = 'dummydummy')) and `crowdcontrol`.`Calibration_answer_option`.`calibration` = (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` = `crowdcontrol`.`Experiments_Calibration`.`answer`) and ((`crowdcontrol`.`Experiments_Calibration`.`not` = true and `crowdcontrol`.`Experiments_Calibration`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`) or (`crowdcontrol`.`Experiments_Calibration`.`not` = false and `crowdcontrol`.`Experiments_Calibration`.`answer` <> `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`))) where `crowdcontrol`.`Calibration_Result`.`worker` = 41)
16:22:25.256 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 1.582ms
16:22:25.257 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 1.995ms, +0.412ms
16:22:25.257 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:22:25.257 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | one|
16:22:25.257 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:22:25.257 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Worker`.`quality` from `crowdcontrol`.`Worker` where `crowdcontrol`.`Worker`.`id_worker` = ?
16:22:25.258 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Worker`.`quality` from `crowdcontrol`.`Worker` where `crowdcontrol`.`Worker`.`id_worker` = 41
16:22:25.259 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 2.483ms
16:22:25.260 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +-------+
16:22:25.260 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : |quality|
16:22:25.260 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +-------+
16:22:25.260 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 9|
16:22:25.260 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +-------+
16:22:25.260 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 3.239ms, +0.756ms
16:22:25.260 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.Queries - worker 41 is eligible for working on the assignment
16:22:25.260 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.Queries - platform dummydummy is able to render calibrations
16:22:25.261 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Calibration`.`id_calibration`, `crowdcontrol`.`Calibration`.`property`, `crowdcontrol`.`Calibration`.`name`, `crowdcontrol`.`Calibration`.`experiment`, `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration` on `crowdcontrol`.`Calibration_answer_option`.`calibration` = `crowdcontrol`.`Calibration`.`id_calibration` where (`crowdcontrol`.`Calibration`.`id_calibration` in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` in (select `crowdcontrol`.`Experiments_Calibration`.`answer` from `crowdcontrol`.`Experiments_Calibration` where `crowdcontrol`.`Experiments_Calibration`.`experiments_platform` = (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = ? and `crowdcontrol`.`Experiments_Platform`.`platform` = ?)))) and `crowdcontrol`.`Calibration`.`id_calibration` not in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` where `crowdcontrol`.`Calibration_Result`.`worker` = ?))
16:22:25.261 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Calibration`.`id_calibration`, `crowdcontrol`.`Calibration`.`property`, `crowdcontrol`.`Calibration`.`name`, `crowdcontrol`.`Calibration`.`experiment`, `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration` on `crowdcontrol`.`Calibration_answer_option`.`calibration` = `crowdcontrol`.`Calibration`.`id_calibration` where (`crowdcontrol`.`Calibration`.`id_calibration` in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` in (select `crowdcontrol`.`Experiments_Calibration`.`answer` from `crowdcontrol`.`Experiments_Calibration` where `crowdcontrol`.`Experiments_Calibration`.`experiments_platform` = (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = 20 and `crowdcontrol`.`Experiments_Platform`.`platform` = 'dummydummy')))) and `crowdcontrol`.`Calibration`.`id_calibration` not in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` where `crowdcontrol`.`Calibration_Result`.`worker` = 41))
16:22:25.262 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 1.695ms
16:22:25.263 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +--------------+--------+----+----------+----------------------------+-----------+------+
16:22:25.263 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : |id_calibration|property|name|experiment|id_calibration_answer_option|calibration|answer|
16:22:25.263 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +--------------+--------+----+----------+----------------------------+-----------+------+
16:22:25.263 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 2.297ms, +0.601ms
16:22:25.263 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.Queries - worker 41 must answer the calibrations {}
16:22:25.263 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.Queries - worker 41 must not answer calibrations
16:22:25.263 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.Queries - invoking task-chooser anti_spoof
16:22:25.264 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` left outer join `crowdcontrol`.`Answer` on `crowdcontrol`.`Answer`.`reservation` = `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` where ((`crowdcontrol`.`Answer_Reservation`.`used` = ? or (`crowdcontrol`.`Answer_Reservation`.`timestamp` >= ? and `crowdcontrol`.`Answer_Reservation`.`worker` <> ?)) and `crowdcontrol`.`Answer_Reservation`.`experiment` = ? and ((`crowdcontrol`.`Answer`.`quality_assured` = ? and `crowdcontrol`.`Answer`.`quality` > (select `crowdcontrol`.`Experiment`.`result_quality_threshold` from `crowdcontrol`.`Experiment` where `crowdcontrol`.`Experiment`.`id_experiment` = ?)) or ?))) as `q`
16:22:25.264 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` left outer join `crowdcontrol`.`Answer` on `crowdcontrol`.`Answer`.`reservation` = `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` where ((`crowdcontrol`.`Answer_Reservation`.`used` = true or (`crowdcontrol`.`Answer_Reservation`.`timestamp` >= {ts '2016-03-17 14:22:25.263'} and `crowdcontrol`.`Answer_Reservation`.`worker` <> 41)) and `crowdcontrol`.`Answer_Reservation`.`experiment` = 20 and ((`crowdcontrol`.`Answer`.`quality_assured` = true and `crowdcontrol`.`Answer`.`quality` > (select `crowdcontrol`.`Experiment`.`result_quality_threshold` from `crowdcontrol`.`Experiment` where `crowdcontrol`.`Experiment`.`id_experiment` = 20)) or true))) as `q`
16:22:25.265 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 1.667ms
16:22:25.266 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:22:25.266 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | c|
16:22:25.266 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:22:25.266 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 10|
16:22:25.266 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:22:25.266 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 2.63ms, +0.963ms
16:22:25.266 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.AntiSpoof - calculating phase for: answersCount=10, phases={1=1}, neededAnswers=10
16:22:25.266 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.AntiSpoof - entering phase 3
16:22:25.266 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.TaskChooserAlgorithm - constructing view with parameters: worker-id = 41, experimentID = 20, skipCreative = true, skipRating = false
16:22:25.267 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select count(*) as `c` from (select `crowdcontrol`.`Rating`.`id_rating`, `crowdcontrol`.`Rating`.`experiment`, `crowdcontrol`.`Rating`.`answer_r`, `crowdcontrol`.`Rating`.`timestamp`, `crowdcontrol`.`Rating`.`rating`, `crowdcontrol`.`Rating`.`reservation`, `crowdcontrol`.`Rating`.`feedback`, `crowdcontrol`.`Rating`.`worker_id`, `crowdcontrol`.`Rating`.`quality` from `crowdcontrol`.`Rating` where (`crowdcontrol`.`Rating`.`experiment` = ? and `crowdcontrol`.`Rating`.`worker_id` = ?)) as `q`
16:22:25.267 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select count(*) as `c` from (select `crowdcontrol`.`Rating`.`id_rating`, `crowdcontrol`.`Rating`.`experiment`, `crowdcontrol`.`Rating`.`answer_r`, `crowdcontrol`.`Rating`.`timestamp`, `crowdcontrol`.`Rating`.`rating`, `crowdcontrol`.`Rating`.`reservation`, `crowdcontrol`.`Rating`.`feedback`, `crowdcontrol`.`Rating`.`worker_id`, `crowdcontrol`.`Rating`.`quality` from `crowdcontrol`.`Rating` where (`crowdcontrol`.`Rating`.`experiment` = 20 and `crowdcontrol`.`Rating`.`worker_id` = 41)) as `q`
16:22:25.268 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 0.981ms
16:22:25.268 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:22:25.268 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | c|
16:22:25.268 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:22:25.268 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 0|
16:22:25.268 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:22:25.268 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 1.437ms, +0.456ms
16:22:25.268 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.TaskChooserAlgorithm - worker 41 has rated 0 times, max. is 3
16:22:25.268 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.TaskChooserAlgorithm - returning rating-view
16:22:25.268 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.TaskChooserAlgorithm - task chooser constructs rating-view
16:22:25.268 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Answer`.`id_answer`, `crowdcontrol`.`Answer`.`experiment`, `crowdcontrol`.`Answer`.`answer`, `crowdcontrol`.`Answer`.`timestamp`, `crowdcontrol`.`Answer`.`worker_id`, `crowdcontrol`.`Answer`.`reservation`, `crowdcontrol`.`Answer`.`quality`, `crowdcontrol`.`Answer`.`quality_assured`, `crowdcontrol`.`Answer`.`system_response`, `crowdcontrol`.`Answer`.`hash`, count(`crowdcontrol`.`Rating`.`id_rating`) as `count` from `crowdcontrol`.`Answer` left outer join `crowdcontrol`.`Rating` on (`crowdcontrol`.`Rating`.`answer_r` = `crowdcontrol`.`Answer`.`id_answer` and (`crowdcontrol`.`Rating`.`rating` is not null or `crowdcontrol`.`Rating`.`timestamp` >= ?)) where (`crowdcontrol`.`Answer`.`worker_id` <> ? and `crowdcontrol`.`Answer`.`experiment` = ?) group by `crowdcontrol`.`Answer`.`id_answer`, `crowdcontrol`.`Answer`.`experiment`, `crowdcontrol`.`Answer`.`answer`, `crowdcontrol`.`Answer`.`timestamp`, `crowdcontrol`.`Answer`.`worker_id`, `crowdcontrol`.`Answer`.`reservation`, `crowdcontrol`.`Answer`.`quality`, `crowdcontrol`.`Answer`.`quality_assured`, `crowdcontrol`.`Answer`.`system_response`, `crowdcontrol`.`Answer`.`hash`
16:22:25.269 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Answer`.`id_answer`, `crowdcontrol`.`Answer`.`experiment`, `crowdcontrol`.`Answer`.`answer`, `crowdcontrol`.`Answer`.`timestamp`, `crowdcontrol`.`Answer`.`worker_id`, `crowdcontrol`.`Answer`.`reservation`, `crowdcontrol`.`Answer`.`quality`, `crowdcontrol`.`Answer`.`quality_assured`, `crowdcontrol`.`Answer`.`system_response`, `crowdcontrol`.`Answer`.`hash`, count(`crowdcontrol`.`Rating`.`id_rating`) as `count` from `crowdcontrol`.`Answer` left outer join `crowdcontrol`.`Rating` on (`crowdcontrol`.`Rating`.`answer_r` = `crowdcontrol`.`Answer`.`id_answer` and (`crowdcontrol`.`Rating`.`rating` is not null or `crowdcontrol`.`Rating`.`timestamp` >= {ts '2016-03-17 14:22:25.268'})) where (`crowdcontrol`.`Answer`.`worker_id` <> 41 and `crowdcontrol`.`Answer`.`experiment` = 20) group by `crowdcontrol`.`Answer`.`id_answer`, `crowdcontrol`.`Answer`.`experiment`, `crowdcontrol`.`Answer`.`answer`, `crowdcontrol`.`Answer`.`timestamp`, `crowdcontrol`.`Answer`.`worker_id`, `crowdcontrol`.`Answer`.`reservation`, `crowdcontrol`.`Answer`.`quality`, `crowdcontrol`.`Answer`.`quality_assured`, `crowdcontrol`.`Answer`.`system_response`, `crowdcontrol`.`Answer`.`hash`
16:22:25.271 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 2.222ms
16:22:25.272 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +---------+----------+------+---------------------+---------+-----------+-------+---------------+---------------+------+-----+
16:22:25.272 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : |id_answer|experiment|answer|timestamp |worker_id|reservation|quality|quality_assured|system_response| hash|count|
16:22:25.272 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +---------+----------+------+---------------------+---------+-----------+-------+---------------+---------------+------+-----+
16:22:25.272 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 36| 20|bla |2016-03-17 16:13:34.0| 36| 53| 9|true |{null} |{null}| 3|
16:22:25.272 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 37| 20|bla |2016-03-17 16:13:37.0| 36| 52| 9|true |{null} |{null}| 3|
16:22:25.272 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 38| 20|bla |2016-03-17 16:13:39.0| 36| 51| 9|true |{null} |{null}| 3|
16:22:25.272 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 39| 20|asdf |2016-03-17 16:14:07.0| 37| 56| 9|{null} |{null} |{null}| 1|
16:22:25.272 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 40| 20|asdf |2016-03-17 16:14:09.0| 37| 55| 9|{null} |{null} |{null}| 1|
16:22:25.272 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +---------+----------+------+---------------------+---------+-----------+-------+---------------+---------------+------+-----+
16:22:25.272 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : |...5 record(s) truncated...
16:22:25.272 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 3.787ms, +1.565ms
16:22:25.272 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.TaskChooserAlgorithm - all the answers belonging to the experiment not from the worker with their count (max rating per answer is 3): +---------+----------+------+---------------------+---------+-----------+-------+---------------+---------------+------+-----+
|id_answer|experiment|answer|timestamp |worker_id|reservation|quality|quality_assured|system_response| hash|count|
+---------+----------+------+---------------------+---------+-----------+-------+---------------+---------------+------+-----+
| 36| 20|bla |2016-03-17 16:13:34.0| 36| 53| 9|true |{null} |{null}| 3|
| 37| 20|bla |2016-03-17 16:13:37.0| 36| 52| 9|true |{null} |{null}| 3|
| 38| 20|bla |2016-03-17 16:13:39.0| 36| 51| 9|true |{null} |{null}| 3|
| 39| 20|asdf |2016-03-17 16:14:07.0| 37| 56| 9|{null} |{null} |{null}| 1|
| 40| 20|asdf |2016-03-17 16:14:09.0| 37| 55| 9|{null} |{null} |{null}| 1|
| 41| 20|asdf |2016-03-17 16:14:10.0| 37| 54| 9|{null} |{null} |{null}| 1|
| 42| 20|asdf |2016-03-17 16:20:46.0| 38| 59| {null}|{null} |{null} |{null}| 0|
| 43| 20|asdf |2016-03-17 16:20:48.0| 38| 58| {null}|{null} |{null} |{null}| 0|
| 44| 20|asdf |2016-03-17 16:20:49.0| 38| 57| {null}|{null} |{null} |{null}| 0|
| 45| 20|asdf |2016-03-17 16:21:24.0| 39| 60| {null}|{null} |{null} |{null}| 0|
+---------+----------+------+---------------------+---------+-----------+-------+---------------+---------------+------+-----+
16:22:25.273 [ratpack-compute-1-5] DEBUG o.j.i.DefaultConnectionProvider - setting auto commit : false
16:22:25.273 [ratpack-compute-1-5] DEBUG o.j.i.DefaultConnectionProvider - set savepoint
16:22:25.277 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Answer`.`id_answer`, `crowdcontrol`.`Answer`.`experiment`, `crowdcontrol`.`Answer`.`answer`, `crowdcontrol`.`Answer`.`timestamp`, `crowdcontrol`.`Answer`.`worker_id`, `crowdcontrol`.`Answer`.`reservation`, `crowdcontrol`.`Answer`.`quality`, `crowdcontrol`.`Answer`.`quality_assured`, `crowdcontrol`.`Answer`.`system_response`, `crowdcontrol`.`Answer`.`hash`, `crowdcontrol`.`Rating_Reservation`.`idReserverd_Rating` from `crowdcontrol`.`Answer` join `crowdcontrol`.`Rating_Reservation` on (`crowdcontrol`.`Rating_Reservation`.`worker` = ? and `crowdcontrol`.`Rating_Reservation`.`experiment` = ? and `crowdcontrol`.`Rating_Reservation`.`answer` = `crowdcontrol`.`Answer`.`id_answer`)
16:22:25.278 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Answer`.`id_answer`, `crowdcontrol`.`Answer`.`experiment`, `crowdcontrol`.`Answer`.`answer`, `crowdcontrol`.`Answer`.`timestamp`, `crowdcontrol`.`Answer`.`worker_id`, `crowdcontrol`.`Answer`.`reservation`, `crowdcontrol`.`Answer`.`quality`, `crowdcontrol`.`Answer`.`quality_assured`, `crowdcontrol`.`Answer`.`system_response`, `crowdcontrol`.`Answer`.`hash`, `crowdcontrol`.`Rating_Reservation`.`idReserverd_Rating` from `crowdcontrol`.`Answer` join `crowdcontrol`.`Rating_Reservation` on (`crowdcontrol`.`Rating_Reservation`.`worker` = 41 and `crowdcontrol`.`Rating_Reservation`.`experiment` = 20 and `crowdcontrol`.`Rating_Reservation`.`answer` = `crowdcontrol`.`Answer`.`id_answer`)
16:22:25.280 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 2.577ms
16:22:25.281 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +---------+----------+------+---------+---------+-----------+-------+---------------+---------------+----+------------------+
16:22:25.282 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : |id_answer|experiment|answer|timestamp|worker_id|reservation|quality|quality_assured|system_response|hash|idReserverd_Rating|
16:22:25.282 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +---------+----------+------+---------+---------+-----------+-------+---------------+---------------+----+------------------+
16:22:25.282 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 4.968ms, +2.39ms
16:22:25.282 [ratpack-compute-1-5] TRACE e.k.i.c.w.d.o.ExperimentsPlatformOperations - Worker 41 has reserved open ratings {}.
16:22:25.283 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : update `crowdcontrol`.`Rating_Reservation` set `crowdcontrol`.`Rating_Reservation`.`timestamp` = ? where 1 = 0
16:22:25.283 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : update `crowdcontrol`.`Rating_Reservation` set `crowdcontrol`.`Rating_Reservation`.`timestamp` = {ts '2016-03-17 16:22:25.282'} where 1 = 0
16:22:25.284 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Affected row(s) : 0
16:22:25.284 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 1.802ms
16:22:25.285 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 2.216ms, +0.413ms
16:22:25.285 [ratpack-compute-1-5] TRACE e.k.i.c.w.d.o.ExperimentsPlatformOperations - Reserving 3 new Ratings for worker 41.
16:22:25.285 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Answer`.`id_answer`, `crowdcontrol`.`Answer`.`experiment`, `crowdcontrol`.`Answer`.`answer`, `crowdcontrol`.`Answer`.`timestamp`, `crowdcontrol`.`Answer`.`worker_id`, `crowdcontrol`.`Answer`.`reservation`, `crowdcontrol`.`Answer`.`quality`, `crowdcontrol`.`Answer`.`quality_assured`, `crowdcontrol`.`Answer`.`system_response`, `crowdcontrol`.`Answer`.`hash`, count(`crowdcontrol`.`Rating_Reservation`.`idReserverd_Rating`) as `count` from `crowdcontrol`.`Answer` left outer join `crowdcontrol`.`Rating_Reservation` on (`crowdcontrol`.`Rating_Reservation`.`answer` = `crowdcontrol`.`Answer`.`id_answer` and (`crowdcontrol`.`Rating_Reservation`.`used` = ? or `crowdcontrol`.`Rating_Reservation`.`timestamp` >= ?)) where (`crowdcontrol`.`Answer`.`experiment` = ? and `crowdcontrol`.`Answer`.`worker_id` <> ? and `crowdcontrol`.`Answer`.`id_answer` not in (select `crowdcontrol`.`Rating_Reservation`.`answer` from `crowdcontrol`.`Rating_Reservation` where (`crowdcontrol`.`Rating_Reservation`.`worker` = ? and `crowdcontrol`.`Rating_Reservation`.`experiment` = ?)) and ((`crowdcontrol`.`Answer`.`quality_assured` = ? and `crowdcontrol`.`Answer`.`quality` <> ?) or ?)) group by `crowdcontrol`.`Answer`.`id_answer`, `crowdcontrol`.`Answer`.`experiment`, `crowdcontrol`.`Answer`.`answer`, `crowdcontrol`.`Answer`.`timestamp`, `crowdcontrol`.`Answer`.`worker_id`, `crowdcontrol`.`Answer`.`reservation`, `crowdcontrol`.`Answer`.`quality`, `crowdcontrol`.`Answer`.`quality_assured`, `crowdcontrol`.`Answer`.`system_response`, `crowdcontrol`.`Answer`.`hash` having `count` < (select `crowdcontrol`.`Experiment`.`ratings_per_answer` from `crowdcontrol`.`Experiment` where `crowdcontrol`.`Experiment`.`id_experiment` = ?) order by `crowdcontrol`.`Answer`.`quality_assured` desc limit ?
16:22:25.285 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Answer`.`id_answer`, `crowdcontrol`.`Answer`.`experiment`, `crowdcontrol`.`Answer`.`answer`, `crowdcontrol`.`Answer`.`timestamp`, `crowdcontrol`.`Answer`.`worker_id`, `crowdcontrol`.`Answer`.`reservation`, `crowdcontrol`.`Answer`.`quality`, `crowdcontrol`.`Answer`.`quality_assured`, `crowdcontrol`.`Answer`.`system_response`, `crowdcontrol`.`Answer`.`hash`, count(`crowdcontrol`.`Rating_Reservation`.`idReserverd_Rating`) as `count` from `crowdcontrol`.`Answer` left outer join `crowdcontrol`.`Rating_Reservation` on (`crowdcontrol`.`Rating_Reservation`.`answer` = `crowdcontrol`.`Answer`.`id_answer` and (`crowdcontrol`.`Rating_Reservation`.`used` = true or `crowdcontrol`.`Rating_Reservation`.`timestamp` >= {ts '2016-03-17 14:22:25.285'})) where (`crowdcontrol`.`Answer`.`experiment` = 20 and `crowdcontrol`.`Answer`.`worker_id` <> 41 and `crowdcontrol`.`Answer`.`id_answer` not in (select `crowdcontrol`.`Rating_Reservation`.`answer` from `crowdcontrol`.`Rating_Reservation` where (`crowdcontrol`.`Rating_Reservation`.`worker` = 41 and `crowdcontrol`.`Rating_Reservation`.`experiment` = 20)) and ((`crowdcontrol`.`Answer`.`quality_assured` = true and `crowdcontrol`.`Answer`.`quality` <> 0) or true)) group by `crowdcontrol`.`Answer`.`id_answer`, `crowdcontrol`.`Answer`.`experiment`, `crowdcontrol`.`Answer`.`answer`, `crowdcontrol`.`Answer`.`timestamp`, `crowdcontrol`.`Answer`.`worker_id`, `crowdcontrol`.`Answer`.`reservation`, `crowdcontrol`.`Answer`.`quality`, `crowdcontrol`.`Answer`.`quality_assured`, `crowdcontrol`.`Answer`.`system_response`, `crowdcontrol`.`Answer`.`hash` having `count` < (select `crowdcontrol`.`Experiment`.`ratings_per_answer` from `crowdcontrol`.`Experiment` where `crowdcontrol`.`Experiment`.`id_experiment` = 20) order by `crowdcontrol`.`Answer`.`quality_assured` desc limit 3
16:22:25.288 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 2.562ms
16:22:25.293 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +---------+----------+------+---------------------+---------+-----------+-------+---------------+---------------+------+-----+
16:22:25.293 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : |id_answer|experiment|answer|timestamp |worker_id|reservation|quality|quality_assured|system_response| hash|count|
16:22:25.293 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +---------+----------+------+---------------------+---------+-----------+-------+---------------+---------------+------+-----+
16:22:25.293 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 39| 20|asdf |2016-03-17 16:14:07.0| 37| 56| 9|{null} |{null} |{null}| 1|
16:22:25.293 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 40| 20|asdf |2016-03-17 16:14:09.0| 37| 55| 9|{null} |{null} |{null}| 1|
16:22:25.293 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 41| 20|asdf |2016-03-17 16:14:10.0| 37| 54| 9|{null} |{null} |{null}| 1|
16:22:25.293 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +---------+----------+------+---------------------+---------+-----------+-------+---------------+---------------+------+-----+
16:22:25.293 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 7.914ms, +5.352ms
16:22:25.294 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing batch query : insert into `crowdcontrol`.`Rating_Reservation` (`idReserverd_Rating`, `worker`, `experiment`, `answer`, `timestamp`, `used`) values (?, ?, ?, ?, ?, ?)
16:22:25.296 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 1.589ms
16:22:25.296 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 1.701ms, +0.111ms
16:22:25.296 [ratpack-compute-1-5] DEBUG o.j.i.DefaultConnectionProvider - release savepoint
16:22:25.296 [ratpack-compute-1-5] DEBUG o.j.i.DefaultConnectionProvider - commit
16:22:25.307 [ratpack-compute-1-5] DEBUG o.j.i.DefaultConnectionProvider - setting auto commit : true
16:22:25.307 [ratpack-compute-1-5] TRACE e.k.i.c.w.d.o.ExperimentsPlatformOperations - Worker 41 can rate [+---------+----------+------+---------------------+---------+-----------+-------+---------------+---------------+------+
|id_answer|experiment|answer|timestamp |worker_id|reservation|quality|quality_assured|system_response| hash|
+---------+----------+------+---------------------+---------+-----------+-------+---------------+---------------+------+
| 39| 20|asdf |2016-03-17 16:14:07.0| 37| 56| 9|{null} |{null} |{null}|
+---------+----------+------+---------------------+---------+-----------+-------+---------------+---------------+------+, +---------+----------+------+---------------------+---------+-----------+-------+---------------+---------------+------+
|id_answer|experiment|answer|timestamp |worker_id|reservation|quality|quality_assured|system_response| hash|
+---------+----------+------+---------------------+---------+-----------+-------+---------------+---------------+------+
| 40| 20|asdf |2016-03-17 16:14:09.0| 37| 55| 9|{null} |{null} |{null}|
+---------+----------+------+---------------------+---------+-----------+-------+---------------+---------------+------+, +---------+----------+------+---------------------+---------+-----------+-------+---------------+---------------+------+
|id_answer|experiment|answer|timestamp |worker_id|reservation|quality|quality_assured|system_response| hash|
+---------+----------+------+---------------------+---------+-----------+-------+---------------+---------------+------+
| 41| 20|asdf |2016-03-17 16:14:10.0| 37| 54| 9|{null} |{null} |{null}|
+---------+----------+------+---------------------+---------+-----------+-------+---------------+---------------+------+]
16:22:25.308 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Rating_Reservation`.`idReserverd_Rating`, `crowdcontrol`.`Rating_Reservation`.`worker`, `crowdcontrol`.`Rating_Reservation`.`experiment`, `crowdcontrol`.`Rating_Reservation`.`answer`, `crowdcontrol`.`Rating_Reservation`.`timestamp`, `crowdcontrol`.`Rating_Reservation`.`used` from `crowdcontrol`.`Rating_Reservation` where (`crowdcontrol`.`Rating_Reservation`.`answer` in (?, ?, ?) and `crowdcontrol`.`Rating_Reservation`.`worker` = ?)
16:22:25.308 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Rating_Reservation`.`idReserverd_Rating`, `crowdcontrol`.`Rating_Reservation`.`worker`, `crowdcontrol`.`Rating_Reservation`.`experiment`, `crowdcontrol`.`Rating_Reservation`.`answer`, `crowdcontrol`.`Rating_Reservation`.`timestamp`, `crowdcontrol`.`Rating_Reservation`.`used` from `crowdcontrol`.`Rating_Reservation` where (`crowdcontrol`.`Rating_Reservation`.`answer` in (39, 40, 41) and `crowdcontrol`.`Rating_Reservation`.`worker` = 41)
16:22:25.309 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 1.195ms
16:22:25.310 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +------------------+------+----------+------+---------------------+-----+
16:22:25.310 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : |idReserverd_Rating|worker|experiment|answer|timestamp |used |
16:22:25.310 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +------------------+------+----------+------+---------------------+-----+
16:22:25.310 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 37| 41| 20| 39|2016-03-17 14:22:25.0|false|
16:22:25.310 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 38| 41| 20| 40|2016-03-17 14:22:25.0|false|
16:22:25.310 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 39| 41| 20| 41|2016-03-17 14:22:25.0|false|
16:22:25.310 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +------------------+------+----------+------+---------------------+-----+
16:22:25.310 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 2.39ms, +1.195ms
16:22:25.310 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.TaskChooserAlgorithm - worker 41 can rate [id: 37
answer_id: 39
answer: "asdf"
, id: 38
answer_id: 40
answer: "asdf"
, id: 39
answer_id: 41
answer: "asdf"
]
16:22:25.310 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.TaskChooserAlgorithm - task chooser prepared builder
16:22:25.311 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.Queries - returning view: type: RATING
title: "Calibtest"
description: "test"
answers_to_rate {
id: 37
answer_id: 39
answer: "asdf"
}
answers_to_rate {
id: 38
answer_id: 40
answer: "asdf"
}
answers_to_rate {
id: 39
answer_id: 41
answer: "asdf"
}
rating_options {
value: 9
description: "good"
}
rating_options {
description: "bad"
}
constraints {
id: 35
name: "a"
}
constraints {
id: 36
name: "b"
}
constraints {
id: 37
name: "C"
}
constraints {
id: 38
name: "d"
}
16:22:30.607 [ratpack-compute-1-5] DEBUG e.k.i.c.w.c.Commands - Request to submit rating rating_id: 37
rating: 9
experiment: 20
answer_id: 39
for worker 41.
16:22:30.607 [ratpack-compute-1-5] DEBUG e.k.i.c.w.o.Communication - Trying to submit rating reservation: 37
experiment_id: 20
rating: 9
worker: 41
for worker 41 with route /experiments/20/answers/39/rating
16:22:30.613 [ratpack-compute-1-6] DEBUG e.k.i.c.w.c.Commands - Request to submit rating rating_id: 38
rating: 9
experiment: 20
answer_id: 40
for worker 41.
16:22:30.613 [ratpack-compute-1-6] DEBUG e.k.i.c.w.o.Communication - Trying to submit rating reservation: 38
experiment_id: 20
rating: 9
worker: 41
for worker 41 with route /experiments/20/answers/40/rating
16:22:30.624 [ratpack-compute-1-7] DEBUG e.k.i.c.w.c.Commands - Request to submit rating rating_id: 39
rating: 9
experiment: 20
answer_id: 41
for worker 41.
16:22:30.625 [ratpack-compute-1-7] DEBUG e.k.i.c.w.o.Communication - Trying to submit rating reservation: 39
experiment_id: 20
rating: 9
worker: 41
for worker 41 with route /experiments/20/answers/41/rating
16:22:30.734 [I/O dispatcher 3] DEBUG e.k.i.c.w.o.Communication - Object service answered with status 201
16:22:30.735 [I/O dispatcher 4] DEBUG e.k.i.c.w.o.Communication - Object service answered with status 201
16:22:30.735 [ratpack-compute-1-6] DEBUG e.k.i.c.w.c.Commands - Object service answered with status 201.
16:22:30.735 [ratpack-compute-1-5] DEBUG e.k.i.c.w.c.Commands - Object service answered with status 201.
16:22:30.756 [I/O dispatcher 2] DEBUG e.k.i.c.w.o.Communication - Object service answered with status 201
16:22:30.757 [ratpack-compute-1-7] DEBUG e.k.i.c.w.c.Commands - Object service answered with status 201.
16:22:30.769 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.Queries - skipCreative is: false
16:22:30.769 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.Queries - skipRating is: false
16:22:30.770 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select 1 as `one` from dual where exists (select `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer`, `crowdcontrol`.`Calibration_Result`.`id_calibration_result`, `crowdcontrol`.`Calibration_Result`.`worker`, `crowdcontrol`.`Calibration_Result`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`id_experiments_calibration`, `crowdcontrol`.`Experiments_Calibration`.`experiments_platform`, `crowdcontrol`.`Experiments_Calibration`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`not` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` join `crowdcontrol`.`Experiments_Calibration` on (`crowdcontrol`.`Experiments_Calibration`.`experiments_platform` in (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = ? and `crowdcontrol`.`Experiments_Platform`.`platform` = ?)) and `crowdcontrol`.`Calibration_answer_option`.`calibration` = (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` = `crowdcontrol`.`Experiments_Calibration`.`answer`) and ((`crowdcontrol`.`Experiments_Calibration`.`not` = ? and `crowdcontrol`.`Experiments_Calibration`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`) or (`crowdcontrol`.`Experiments_Calibration`.`not` = ? and `crowdcontrol`.`Experiments_Calibration`.`answer` <> `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`))) where `crowdcontrol`.`Calibration_Result`.`worker` = ?)
16:22:30.771 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select 1 as `one` from dual where exists (select `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer`, `crowdcontrol`.`Calibration_Result`.`id_calibration_result`, `crowdcontrol`.`Calibration_Result`.`worker`, `crowdcontrol`.`Calibration_Result`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`id_experiments_calibration`, `crowdcontrol`.`Experiments_Calibration`.`experiments_platform`, `crowdcontrol`.`Experiments_Calibration`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`not` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` join `crowdcontrol`.`Experiments_Calibration` on (`crowdcontrol`.`Experiments_Calibration`.`experiments_platform` in (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = 20 and `crowdcontrol`.`Experiments_Platform`.`platform` = 'dummydummy')) and `crowdcontrol`.`Calibration_answer_option`.`calibration` = (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` = `crowdcontrol`.`Experiments_Calibration`.`answer`) and ((`crowdcontrol`.`Experiments_Calibration`.`not` = true and `crowdcontrol`.`Experiments_Calibration`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`) or (`crowdcontrol`.`Experiments_Calibration`.`not` = false and `crowdcontrol`.`Experiments_Calibration`.`answer` <> `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`))) where `crowdcontrol`.`Calibration_Result`.`worker` = 41)
16:22:30.773 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 2.63ms
16:22:30.773 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 3.068ms, +0.437ms
16:22:30.773 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:22:30.773 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | one|
16:22:30.773 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:22:30.773 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Worker`.`quality` from `crowdcontrol`.`Worker` where `crowdcontrol`.`Worker`.`id_worker` = ?
16:22:30.773 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Worker`.`quality` from `crowdcontrol`.`Worker` where `crowdcontrol`.`Worker`.`id_worker` = 41
16:22:30.774 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 0.801ms
16:22:30.774 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +-------+
16:22:30.774 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : |quality|
16:22:30.774 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +-------+
16:22:30.774 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 9|
16:22:30.774 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +-------+
16:22:30.775 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 1.442ms, +0.641ms
16:22:30.775 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.Queries - worker 41 is eligible for working on the assignment
16:22:30.775 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.Queries - platform dummydummy is able to render calibrations
16:22:30.775 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Calibration`.`id_calibration`, `crowdcontrol`.`Calibration`.`property`, `crowdcontrol`.`Calibration`.`name`, `crowdcontrol`.`Calibration`.`experiment`, `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration` on `crowdcontrol`.`Calibration_answer_option`.`calibration` = `crowdcontrol`.`Calibration`.`id_calibration` where (`crowdcontrol`.`Calibration`.`id_calibration` in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` in (select `crowdcontrol`.`Experiments_Calibration`.`answer` from `crowdcontrol`.`Experiments_Calibration` where `crowdcontrol`.`Experiments_Calibration`.`experiments_platform` = (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = ? and `crowdcontrol`.`Experiments_Platform`.`platform` = ?)))) and `crowdcontrol`.`Calibration`.`id_calibration` not in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` where `crowdcontrol`.`Calibration_Result`.`worker` = ?))
16:22:30.775 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Calibration`.`id_calibration`, `crowdcontrol`.`Calibration`.`property`, `crowdcontrol`.`Calibration`.`name`, `crowdcontrol`.`Calibration`.`experiment`, `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration` on `crowdcontrol`.`Calibration_answer_option`.`calibration` = `crowdcontrol`.`Calibration`.`id_calibration` where (`crowdcontrol`.`Calibration`.`id_calibration` in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` in (select `crowdcontrol`.`Experiments_Calibration`.`answer` from `crowdcontrol`.`Experiments_Calibration` where `crowdcontrol`.`Experiments_Calibration`.`experiments_platform` = (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = 20 and `crowdcontrol`.`Experiments_Platform`.`platform` = 'dummydummy')))) and `crowdcontrol`.`Calibration`.`id_calibration` not in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` where `crowdcontrol`.`Calibration_Result`.`worker` = 41))
16:22:30.776 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 1.437ms
16:22:30.777 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +--------------+--------+----+----------+----------------------------+-----------+------+
16:22:30.777 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : |id_calibration|property|name|experiment|id_calibration_answer_option|calibration|answer|
16:22:30.777 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +--------------+--------+----+----------+----------------------------+-----------+------+
16:22:30.777 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 2.065ms, +0.628ms
16:22:30.777 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.Queries - worker 41 must answer the calibrations {}
16:22:30.777 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.Queries - worker 41 must not answer calibrations
16:22:30.777 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.Queries - invoking task-chooser anti_spoof
16:22:30.778 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` left outer join `crowdcontrol`.`Answer` on `crowdcontrol`.`Answer`.`reservation` = `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` where ((`crowdcontrol`.`Answer_Reservation`.`used` = ? or (`crowdcontrol`.`Answer_Reservation`.`timestamp` >= ? and `crowdcontrol`.`Answer_Reservation`.`worker` <> ?)) and `crowdcontrol`.`Answer_Reservation`.`experiment` = ? and ((`crowdcontrol`.`Answer`.`quality_assured` = ? and `crowdcontrol`.`Answer`.`quality` > (select `crowdcontrol`.`Experiment`.`result_quality_threshold` from `crowdcontrol`.`Experiment` where `crowdcontrol`.`Experiment`.`id_experiment` = ?)) or ?))) as `q`
16:22:30.778 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` left outer join `crowdcontrol`.`Answer` on `crowdcontrol`.`Answer`.`reservation` = `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` where ((`crowdcontrol`.`Answer_Reservation`.`used` = true or (`crowdcontrol`.`Answer_Reservation`.`timestamp` >= {ts '2016-03-17 14:22:30.777'} and `crowdcontrol`.`Answer_Reservation`.`worker` <> 41)) and `crowdcontrol`.`Answer_Reservation`.`experiment` = 20 and ((`crowdcontrol`.`Answer`.`quality_assured` = true and `crowdcontrol`.`Answer`.`quality` > (select `crowdcontrol`.`Experiment`.`result_quality_threshold` from `crowdcontrol`.`Experiment` where `crowdcontrol`.`Experiment`.`id_experiment` = 20)) or true))) as `q`
16:22:30.780 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 1.901ms
16:22:30.780 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:22:30.780 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | c|
16:22:30.780 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:22:30.780 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 10|
16:22:30.780 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:22:30.782 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 4.469ms, +2.567ms
16:22:30.783 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.AntiSpoof - calculating phase for: answersCount=10, phases={1=1}, neededAnswers=10
16:22:30.783 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.AntiSpoof - entering phase 3
16:22:30.783 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.TaskChooserAlgorithm - constructing view with parameters: worker-id = 41, experimentID = 20, skipCreative = true, skipRating = false
16:22:30.783 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select count(*) as `c` from (select `crowdcontrol`.`Rating`.`id_rating`, `crowdcontrol`.`Rating`.`experiment`, `crowdcontrol`.`Rating`.`answer_r`, `crowdcontrol`.`Rating`.`timestamp`, `crowdcontrol`.`Rating`.`rating`, `crowdcontrol`.`Rating`.`reservation`, `crowdcontrol`.`Rating`.`feedback`, `crowdcontrol`.`Rating`.`worker_id`, `crowdcontrol`.`Rating`.`quality` from `crowdcontrol`.`Rating` where (`crowdcontrol`.`Rating`.`experiment` = ? and `crowdcontrol`.`Rating`.`worker_id` = ?)) as `q`
16:22:30.783 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select count(*) as `c` from (select `crowdcontrol`.`Rating`.`id_rating`, `crowdcontrol`.`Rating`.`experiment`, `crowdcontrol`.`Rating`.`answer_r`, `crowdcontrol`.`Rating`.`timestamp`, `crowdcontrol`.`Rating`.`rating`, `crowdcontrol`.`Rating`.`reservation`, `crowdcontrol`.`Rating`.`feedback`, `crowdcontrol`.`Rating`.`worker_id`, `crowdcontrol`.`Rating`.`quality` from `crowdcontrol`.`Rating` where (`crowdcontrol`.`Rating`.`experiment` = 20 and `crowdcontrol`.`Rating`.`worker_id` = 41)) as `q`
16:22:30.784 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 1.698ms
16:22:30.785 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:22:30.785 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | c|
16:22:30.785 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:22:30.785 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 3|
16:22:30.785 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:22:30.785 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 2.368ms, +0.669ms
16:22:30.785 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.TaskChooserAlgorithm - worker 41 has rated 3 times, max. is 3
16:22:30.785 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.TaskChooserAlgorithm - skipping both
16:22:30.785 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select 1 as `one` from dual where exists (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`worker` = ? and `crowdcontrol`.`Answer_Reservation`.`experiment` = ? and `crowdcontrol`.`Answer_Reservation`.`used` = ?))
16:22:30.786 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select 1 as `one` from dual where exists (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`worker` = 41 and `crowdcontrol`.`Answer_Reservation`.`experiment` = 20 and `crowdcontrol`.`Answer_Reservation`.`used` = true))
16:22:30.786 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 0.805ms
16:22:30.787 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 1.156ms, +0.351ms
16:22:30.787 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:22:30.787 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | one|
16:22:30.787 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:22:30.787 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select 1 as `one` from dual where exists (select `crowdcontrol`.`Rating_Reservation`.`idReserverd_Rating` from `crowdcontrol`.`Rating_Reservation` where (`crowdcontrol`.`Rating_Reservation`.`worker` = ? and `crowdcontrol`.`Rating_Reservation`.`experiment` = ? and `crowdcontrol`.`Rating_Reservation`.`used` = ?))
16:22:30.787 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select 1 as `one` from dual where exists (select `crowdcontrol`.`Rating_Reservation`.`idReserverd_Rating` from `crowdcontrol`.`Rating_Reservation` where (`crowdcontrol`.`Rating_Reservation`.`worker` = 41 and `crowdcontrol`.`Rating_Reservation`.`experiment` = 20 and `crowdcontrol`.`Rating_Reservation`.`used` = true))
16:22:30.787 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 0.791ms
16:22:30.788 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:22:30.788 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | one|
16:22:30.788 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:22:30.788 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 1|
16:22:30.788 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:22:30.788 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 1.273ms, +0.481ms
16:22:30.788 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.Queries - returning view:
16:22:42.168 [HikariPool-0 housekeeper] DEBUG c.z.h.p.HikariPool - HikariPool-0 - Pool stats (total=10, active=1, idle=9, waiting=0)
16:23:01.633 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Experiment`.`id_experiment`, `crowdcontrol`.`Experiment`.`title`, `crowdcontrol`.`Experiment`.`description`, `crowdcontrol`.`Experiment`.`description_raw`, `crowdcontrol`.`Experiment`.`needed_answers`, `crowdcontrol`.`Experiment`.`ratings_per_answer`, `crowdcontrol`.`Experiment`.`anwers_per_worker`, `crowdcontrol`.`Experiment`.`ratings_per_worker`, `crowdcontrol`.`Experiment`.`answer_type`, `crowdcontrol`.`Experiment`.`algorithm_task_chooser`, `crowdcontrol`.`Experiment`.`algorithm_quality_answer`, `crowdcontrol`.`Experiment`.`algorithm_quality_rating`, `crowdcontrol`.`Experiment`.`base_payment`, `crowdcontrol`.`Experiment`.`bonus_answer`, `crowdcontrol`.`Experiment`.`bonus_rating`, `crowdcontrol`.`Experiment`.`template_data`, `crowdcontrol`.`Experiment`.`template`, `crowdcontrol`.`Experiment`.`worker_quality_threshold`, `crowdcontrol`.`Experiment`.`result_quality_threshold` from `crowdcontrol`.`Experiment` where `crowdcontrol`.`Experiment`.`id_experiment` = ?
16:23:01.633 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Experiment`.`id_experiment`, `crowdcontrol`.`Experiment`.`title`, `crowdcontrol`.`Experiment`.`description`, `crowdcontrol`.`Experiment`.`description_raw`, `crowdcontrol`.`Experiment`.`needed_answers`, `crowdcontrol`.`Experiment`.`ratings_per_answer`, `crowdcontrol`.`Experiment`.`anwers_per_worker`, `crowdcontrol`.`Experiment`.`ratings_per_worker`, `crowdcontrol`.`Experiment`.`answer_type`, `crowdcontrol`.`Experiment`.`algorithm_task_chooser`, `crowdcontrol`.`Experiment`.`algorithm_quality_answer`, `crowdcontrol`.`Experiment`.`algorithm_quality_rating`, `crowdcontrol`.`Experiment`.`base_payment`, `crowdcontrol`.`Experiment`.`bonus_answer`, `crowdcontrol`.`Experiment`.`bonus_rating`, `crowdcontrol`.`Experiment`.`template_data`, `crowdcontrol`.`Experiment`.`template`, `crowdcontrol`.`Experiment`.`worker_quality_threshold`, `crowdcontrol`.`Experiment`.`result_quality_threshold` from `crowdcontrol`.`Experiment` where `crowdcontrol`.`Experiment`.`id_experiment` = 21
16:23:01.634 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 1.263ms
16:23:01.635 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +-------------+--------------+-----------+---------------+--------------+------------------+-----------------+------------------+-----------+----------------------+------------------------+---------------------------+------------+------------+------------+-------------+--------+------------------------+------------------------+
16:23:01.635 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : |id_experiment|title |description|description_raw|needed_answers|ratings_per_answer|anwers_per_worker|ratings_per_worker|answer_type|algorithm_task_chooser|algorithm_quality_answer|algorithm_quality_rating |base_payment|bonus_answer|bonus_rating|template_data|template|worker_quality_threshold|result_quality_threshold|
16:23:01.635 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +-------------+--------------+-----------+---------------+--------------+------------------+-----------------+------------------+-----------+----------------------+------------------------+---------------------------+------------+------------+------------+-------------+--------+------------------------+------------------------+
16:23:01.635 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 21|Offline Test 8|test |test | 1| 3| 1| 3|{null} |anti_spoof |AnswerQualityByRatings |RatingQualityByDistribution| 0| 10| 10|{null} | {null}| 0| 4|
16:23:01.635 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +-------------+--------------+-----------+---------------+--------------+------------------+-----------------+------------------+-----------+----------------------+------------------------+---------------------------+------------+------------+------------+-------------+--------+------------------------+------------------------+
16:23:01.635 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 2.251ms, +0.988ms
16:23:01.635 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.Queries - skipCreative is: false
16:23:01.635 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.Queries - skipRating is: false
16:23:01.636 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select 1 as `one` from dual where exists (select `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer`, `crowdcontrol`.`Calibration_Result`.`id_calibration_result`, `crowdcontrol`.`Calibration_Result`.`worker`, `crowdcontrol`.`Calibration_Result`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`id_experiments_calibration`, `crowdcontrol`.`Experiments_Calibration`.`experiments_platform`, `crowdcontrol`.`Experiments_Calibration`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`not` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` join `crowdcontrol`.`Experiments_Calibration` on (`crowdcontrol`.`Experiments_Calibration`.`experiments_platform` in (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = ? and `crowdcontrol`.`Experiments_Platform`.`platform` = ?)) and `crowdcontrol`.`Calibration_answer_option`.`calibration` = (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` = `crowdcontrol`.`Experiments_Calibration`.`answer`) and ((`crowdcontrol`.`Experiments_Calibration`.`not` = ? and `crowdcontrol`.`Experiments_Calibration`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`) or (`crowdcontrol`.`Experiments_Calibration`.`not` = ? and `crowdcontrol`.`Experiments_Calibration`.`answer` <> `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`))) where `crowdcontrol`.`Calibration_Result`.`worker` = ?)
16:23:01.636 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select 1 as `one` from dual where exists (select `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer`, `crowdcontrol`.`Calibration_Result`.`id_calibration_result`, `crowdcontrol`.`Calibration_Result`.`worker`, `crowdcontrol`.`Calibration_Result`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`id_experiments_calibration`, `crowdcontrol`.`Experiments_Calibration`.`experiments_platform`, `crowdcontrol`.`Experiments_Calibration`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`not` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` join `crowdcontrol`.`Experiments_Calibration` on (`crowdcontrol`.`Experiments_Calibration`.`experiments_platform` in (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = 21 and `crowdcontrol`.`Experiments_Platform`.`platform` = 'dummydummy')) and `crowdcontrol`.`Calibration_answer_option`.`calibration` = (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` = `crowdcontrol`.`Experiments_Calibration`.`answer`) and ((`crowdcontrol`.`Experiments_Calibration`.`not` = true and `crowdcontrol`.`Experiments_Calibration`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`) or (`crowdcontrol`.`Experiments_Calibration`.`not` = false and `crowdcontrol`.`Experiments_Calibration`.`answer` <> `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`))) where `crowdcontrol`.`Calibration_Result`.`worker` = 41)
16:23:01.637 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 1.585ms
16:23:01.638 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 2.238ms, +0.653ms
16:23:01.638 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:23:01.638 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | one|
16:23:01.638 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:23:01.638 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Worker`.`quality` from `crowdcontrol`.`Worker` where `crowdcontrol`.`Worker`.`id_worker` = ?
16:23:01.638 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Worker`.`quality` from `crowdcontrol`.`Worker` where `crowdcontrol`.`Worker`.`id_worker` = 41
16:23:01.639 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 1.257ms
16:23:01.640 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +-------+
16:23:01.640 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : |quality|
16:23:01.640 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +-------+
16:23:01.640 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 9|
16:23:01.640 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +-------+
16:23:01.641 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 3.037ms, +1.779ms
16:23:01.642 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.Queries - worker 41 is eligible for working on the assignment
16:23:01.642 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.Queries - platform dummydummy is able to render calibrations
16:23:01.643 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Calibration`.`id_calibration`, `crowdcontrol`.`Calibration`.`property`, `crowdcontrol`.`Calibration`.`name`, `crowdcontrol`.`Calibration`.`experiment`, `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration` on `crowdcontrol`.`Calibration_answer_option`.`calibration` = `crowdcontrol`.`Calibration`.`id_calibration` where (`crowdcontrol`.`Calibration`.`id_calibration` in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` in (select `crowdcontrol`.`Experiments_Calibration`.`answer` from `crowdcontrol`.`Experiments_Calibration` where `crowdcontrol`.`Experiments_Calibration`.`experiments_platform` = (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = ? and `crowdcontrol`.`Experiments_Platform`.`platform` = ?)))) and `crowdcontrol`.`Calibration`.`id_calibration` not in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` where `crowdcontrol`.`Calibration_Result`.`worker` = ?))
16:23:01.643 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Calibration`.`id_calibration`, `crowdcontrol`.`Calibration`.`property`, `crowdcontrol`.`Calibration`.`name`, `crowdcontrol`.`Calibration`.`experiment`, `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration` on `crowdcontrol`.`Calibration_answer_option`.`calibration` = `crowdcontrol`.`Calibration`.`id_calibration` where (`crowdcontrol`.`Calibration`.`id_calibration` in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` in (select `crowdcontrol`.`Experiments_Calibration`.`answer` from `crowdcontrol`.`Experiments_Calibration` where `crowdcontrol`.`Experiments_Calibration`.`experiments_platform` = (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = 21 and `crowdcontrol`.`Experiments_Platform`.`platform` = 'dummydummy')))) and `crowdcontrol`.`Calibration`.`id_calibration` not in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` where `crowdcontrol`.`Calibration_Result`.`worker` = 41))
16:23:01.645 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 2.687ms
16:23:01.647 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +--------------+--------+----+----------+----------------------------+-----------+------+
16:23:01.647 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : |id_calibration|property|name|experiment|id_calibration_answer_option|calibration|answer|
16:23:01.647 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +--------------+--------+----+----------+----------------------------+-----------+------+
16:23:01.647 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 4.877ms, +2.19ms
16:23:01.647 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.Queries - worker 41 must answer the calibrations {}
16:23:01.648 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.Queries - worker 41 must not answer calibrations
16:23:01.648 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Experiments_Platform_Mode`.`mode` from `crowdcontrol`.`Experiments_Platform_Mode` where `crowdcontrol`.`Experiments_Platform_Mode`.`experiments_platform` in (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = ? and `crowdcontrol`.`Experiments_Platform`.`platform` = ?)) order by `crowdcontrol`.`Experiments_Platform_Mode`.`timestamp` desc limit ?
16:23:01.648 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Experiments_Platform_Mode`.`mode` from `crowdcontrol`.`Experiments_Platform_Mode` where `crowdcontrol`.`Experiments_Platform_Mode`.`experiments_platform` in (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = 21 and `crowdcontrol`.`Experiments_Platform`.`platform` = 'dummydummy')) order by `crowdcontrol`.`Experiments_Platform_Mode`.`timestamp` desc limit 1
16:23:01.649 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 1.205ms
16:23:01.650 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +------+
16:23:01.650 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : |mode |
16:23:01.650 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +------+
16:23:01.650 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : |normal|
16:23:01.650 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +------+
16:23:01.650 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 2.083ms, +0.878ms
16:23:01.650 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.Queries - invoking task-chooser anti_spoof
16:23:01.651 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` left outer join `crowdcontrol`.`Answer` on `crowdcontrol`.`Answer`.`reservation` = `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` where ((`crowdcontrol`.`Answer_Reservation`.`used` = ? or (`crowdcontrol`.`Answer_Reservation`.`timestamp` >= ? and `crowdcontrol`.`Answer_Reservation`.`worker` <> ?)) and `crowdcontrol`.`Answer_Reservation`.`experiment` = ? and ((`crowdcontrol`.`Answer`.`quality_assured` = ? and `crowdcontrol`.`Answer`.`quality` > (select `crowdcontrol`.`Experiment`.`result_quality_threshold` from `crowdcontrol`.`Experiment` where `crowdcontrol`.`Experiment`.`id_experiment` = ?)) or ?))) as `q`
16:23:01.651 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` left outer join `crowdcontrol`.`Answer` on `crowdcontrol`.`Answer`.`reservation` = `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` where ((`crowdcontrol`.`Answer_Reservation`.`used` = true or (`crowdcontrol`.`Answer_Reservation`.`timestamp` >= {ts '2016-03-17 14:23:01.65'} and `crowdcontrol`.`Answer_Reservation`.`worker` <> 41)) and `crowdcontrol`.`Answer_Reservation`.`experiment` = 21 and ((`crowdcontrol`.`Answer`.`quality_assured` = true and `crowdcontrol`.`Answer`.`quality` > (select `crowdcontrol`.`Experiment`.`result_quality_threshold` from `crowdcontrol`.`Experiment` where `crowdcontrol`.`Experiment`.`id_experiment` = 21)) or true))) as `q`
16:23:01.653 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 2.015ms
16:23:01.653 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:23:01.653 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | c|
16:23:01.653 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:23:01.653 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 0|
16:23:01.653 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:23:01.654 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 2.9ms, +0.884ms
16:23:01.654 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Algorithm_Task_Chooser_Param`.`data`, `crowdcontrol`.`Chosen_Task_Chooser_Param`.`value` from `crowdcontrol`.`Chosen_Task_Chooser_Param` join `crowdcontrol`.`Algorithm_Task_Chooser_Param` on `crowdcontrol`.`Chosen_Task_Chooser_Param`.`param` = `crowdcontrol`.`Algorithm_Task_Chooser_Param`.`id_Algorithm_Task_Chooser_Param` where `crowdcontrol`.`Chosen_Task_Chooser_Param`.`experiment` = ?
16:23:01.654 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Algorithm_Task_Chooser_Param`.`data`, `crowdcontrol`.`Chosen_Task_Chooser_Param`.`value` from `crowdcontrol`.`Chosen_Task_Chooser_Param` join `crowdcontrol`.`Algorithm_Task_Chooser_Param` on `crowdcontrol`.`Chosen_Task_Chooser_Param`.`param` = `crowdcontrol`.`Algorithm_Task_Chooser_Param`.`id_Algorithm_Task_Chooser_Param` where `crowdcontrol`.`Chosen_Task_Chooser_Param`.`experiment` = 21
16:23:01.655 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 1.215ms
16:23:01.656 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +----+-----+
16:23:01.656 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : |data|value|
16:23:01.656 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+-----+
16:23:01.657 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : |1 |1ab |
16:23:01.657 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+-----+
16:23:01.657 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 3.302ms, +2.086ms
16:23:01.657 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.AntiSpoof - calculating phase for: answersCount=0, phases={1=1}, neededAnswers=1
16:23:01.658 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.AntiSpoof - entering phase 1
16:23:01.658 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.TaskChooserAlgorithm - constructing view with parameters: worker-id = 41, experimentID = 21, skipCreative = false, skipRating = true
16:23:01.659 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation`, `crowdcontrol`.`Answer_Reservation`.`worker`, `crowdcontrol`.`Answer_Reservation`.`experiment`, `crowdcontrol`.`Answer_Reservation`.`timestamp`, `crowdcontrol`.`Answer_Reservation`.`used` from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`experiment` = ? and `crowdcontrol`.`Answer_Reservation`.`worker` = ? and `crowdcontrol`.`Answer_Reservation`.`used` = ?)) as `q`
16:23:01.659 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation`, `crowdcontrol`.`Answer_Reservation`.`worker`, `crowdcontrol`.`Answer_Reservation`.`experiment`, `crowdcontrol`.`Answer_Reservation`.`timestamp`, `crowdcontrol`.`Answer_Reservation`.`used` from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`experiment` = 21 and `crowdcontrol`.`Answer_Reservation`.`worker` = 41 and `crowdcontrol`.`Answer_Reservation`.`used` = true)) as `q`
16:23:01.661 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 2.151ms
16:23:01.661 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:23:01.661 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | c|
16:23:01.662 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:23:01.662 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 0|
16:23:01.662 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:23:01.663 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 4.584ms, +2.433ms
16:23:01.663 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.TaskChooserAlgorithm - worker 41 has answered 0 times, max. is 1
16:23:01.664 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.TaskChooserAlgorithm - returning answer-view
16:23:01.664 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.TaskChooserAlgorithm - task chooser constructs answer-view
16:23:01.664 [ratpack-compute-1-5] DEBUG o.j.i.DefaultConnectionProvider - setting auto commit : false
16:23:01.664 [ratpack-compute-1-5] DEBUG o.j.i.DefaultConnectionProvider - set savepoint
16:23:01.665 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` left outer join `crowdcontrol`.`Answer` on `crowdcontrol`.`Answer`.`reservation` = `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` where ((`crowdcontrol`.`Answer_Reservation`.`used` = ? or (`crowdcontrol`.`Answer_Reservation`.`timestamp` >= ? and `crowdcontrol`.`Answer_Reservation`.`worker` <> ?)) and `crowdcontrol`.`Answer_Reservation`.`experiment` = ? and ((`crowdcontrol`.`Answer`.`quality_assured` = ? and `crowdcontrol`.`Answer`.`quality` > (select `crowdcontrol`.`Experiment`.`result_quality_threshold` from `crowdcontrol`.`Experiment` where `crowdcontrol`.`Experiment`.`id_experiment` = ?)) or ?))) as `q`
16:23:01.666 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` left outer join `crowdcontrol`.`Answer` on `crowdcontrol`.`Answer`.`reservation` = `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` where ((`crowdcontrol`.`Answer_Reservation`.`used` = true or (`crowdcontrol`.`Answer_Reservation`.`timestamp` >= {ts '2016-03-17 14:23:01.665'} and `crowdcontrol`.`Answer_Reservation`.`worker` <> -1)) and `crowdcontrol`.`Answer_Reservation`.`experiment` = 21 and ((`crowdcontrol`.`Answer`.`quality_assured` = true and `crowdcontrol`.`Answer`.`quality` > (select `crowdcontrol`.`Experiment`.`result_quality_threshold` from `crowdcontrol`.`Experiment` where `crowdcontrol`.`Experiment`.`id_experiment` = 21)) or true))) as `q`
16:23:01.667 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 2.41ms
16:23:01.668 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:23:01.668 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | c|
16:23:01.668 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:23:01.668 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 0|
16:23:01.668 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:23:01.668 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 3.276ms, +0.866ms
16:23:01.669 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation`, `crowdcontrol`.`Answer_Reservation`.`worker`, `crowdcontrol`.`Answer_Reservation`.`experiment`, `crowdcontrol`.`Answer_Reservation`.`timestamp`, `crowdcontrol`.`Answer_Reservation`.`used` from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`experiment` = ? and `crowdcontrol`.`Answer_Reservation`.`worker` = ? and `crowdcontrol`.`Answer_Reservation`.`used` = ?)) as `q`
16:23:01.669 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation`, `crowdcontrol`.`Answer_Reservation`.`worker`, `crowdcontrol`.`Answer_Reservation`.`experiment`, `crowdcontrol`.`Answer_Reservation`.`timestamp`, `crowdcontrol`.`Answer_Reservation`.`used` from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`experiment` = 21 and `crowdcontrol`.`Answer_Reservation`.`worker` = 41 and `crowdcontrol`.`Answer_Reservation`.`used` = true)) as `q`
16:23:01.670 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 1.318ms
16:23:01.670 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:23:01.670 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | c|
16:23:01.670 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:23:01.670 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 0|
16:23:01.670 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:23:01.671 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 2.239ms, +0.921ms
16:23:01.671 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select count(*) from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`experiment` = ? and `crowdcontrol`.`Answer_Reservation`.`worker` = ? and `crowdcontrol`.`Answer_Reservation`.`used` = ?)
16:23:01.672 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select count(*) from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`experiment` = 21 and `crowdcontrol`.`Answer_Reservation`.`worker` = 41 and `crowdcontrol`.`Answer_Reservation`.`used` = false)
16:23:01.673 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 2.124ms
16:23:01.674 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +-----+
16:23:01.674 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : |count|
16:23:01.674 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +-----+
16:23:01.675 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 0|
16:23:01.675 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +-----+
16:23:01.675 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 4.476ms, +2.351ms
16:23:01.676 [ratpack-compute-1-5] TRACE e.k.i.c.w.d.o.ExperimentsPlatformOperations - Worker 41 has 0 reserved open answers {}.
16:23:01.676 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : update `crowdcontrol`.`Answer_Reservation` set `crowdcontrol`.`Answer_Reservation`.`timestamp` = ? where `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` in (?)
16:23:01.677 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : update `crowdcontrol`.`Answer_Reservation` set `crowdcontrol`.`Answer_Reservation`.`timestamp` = {ts '2016-03-17 16:23:01.676'} where `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` in (0)
16:23:01.678 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Affected row(s) : 0
16:23:01.679 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 2.485ms
16:23:01.679 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 3.097ms, +0.612ms
16:23:01.680 [ratpack-compute-1-5] TRACE e.k.i.c.w.d.o.ExperimentsPlatformOperations - Reserving 1 new Answers for worker 41.
16:23:01.682 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing batch query : insert into `crowdcontrol`.`Answer_Reservation` (`idAnswer_Reservation`, `worker`, `experiment`, `timestamp`, `used`) values (?, ?, ?, ?, ?)
16:23:01.684 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 2.461ms
16:23:01.685 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 2.965ms, +0.504ms
16:23:01.685 [ratpack-compute-1-5] DEBUG o.j.i.DefaultConnectionProvider - release savepoint
16:23:01.685 [ratpack-compute-1-5] DEBUG o.j.i.DefaultConnectionProvider - commit
16:23:01.697 [ratpack-compute-1-5] DEBUG o.j.i.DefaultConnectionProvider - setting auto commit : true
16:23:01.698 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`worker` = ? and `crowdcontrol`.`Answer_Reservation`.`experiment` = ? and `crowdcontrol`.`Answer_Reservation`.`used` = ?)
16:23:01.698 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` where (`crowdcontrol`.`Answer_Reservation`.`worker` = 41 and `crowdcontrol`.`Answer_Reservation`.`experiment` = 21 and `crowdcontrol`.`Answer_Reservation`.`used` = false)
16:23:01.700 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 1.557ms
16:23:01.701 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +--------------------+
16:23:01.701 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : |idAnswer_Reservation|
16:23:01.701 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +--------------------+
16:23:01.701 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 61|
16:23:01.701 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +--------------------+
16:23:01.701 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 2.373ms, +0.816ms
16:23:01.701 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.TaskChooserAlgorithm - task chooser prepared builder
16:23:01.701 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Constraint`.`id_constraint`, `crowdcontrol`.`Constraint`.`constraint`, `crowdcontrol`.`Constraint`.`experiment` from `crowdcontrol`.`Constraint` where `crowdcontrol`.`Constraint`.`experiment` = ?
16:23:01.701 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Constraint`.`id_constraint`, `crowdcontrol`.`Constraint`.`constraint`, `crowdcontrol`.`Constraint`.`experiment` from `crowdcontrol`.`Constraint` where `crowdcontrol`.`Constraint`.`experiment` = 21
16:23:01.702 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 0.895ms
16:23:01.703 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +-------------+-------------+----------+
16:23:01.703 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : |id_constraint|constraint |experiment|
16:23:01.703 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +-------------+-------------+----------+
16:23:01.703 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 39|must be funny| 21|
16:23:01.703 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +-------------+-------------+----------+
16:23:01.703 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 2.52ms, +1.625ms
16:23:01.704 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Rating_Option_Experiment`.`id_Rating_Option_Experiment`, `crowdcontrol`.`Rating_Option_Experiment`.`name`, `crowdcontrol`.`Rating_Option_Experiment`.`value`, `crowdcontrol`.`Rating_Option_Experiment`.`experiment` from `crowdcontrol`.`Rating_Option_Experiment` where `crowdcontrol`.`Rating_Option_Experiment`.`experiment` = ?
16:23:01.704 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Rating_Option_Experiment`.`id_Rating_Option_Experiment`, `crowdcontrol`.`Rating_Option_Experiment`.`name`, `crowdcontrol`.`Rating_Option_Experiment`.`value`, `crowdcontrol`.`Rating_Option_Experiment`.`experiment` from `crowdcontrol`.`Rating_Option_Experiment` where `crowdcontrol`.`Rating_Option_Experiment`.`experiment` = 21
16:23:01.705 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 1.237ms
16:23:01.706 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +---------------------------+----+-----+----------+
16:23:01.706 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : |id_Rating_Option_Experiment|name|value|experiment|
16:23:01.706 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +---------------------------+----+-----+----------+
16:23:01.706 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 41|good| 9| 21|
16:23:01.706 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 42|bad | 0| 21|
16:23:01.706 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +---------------------------+----+-----+----------+
16:23:01.706 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 1.977ms, +0.74ms
16:23:01.706 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.Queries - returning view: type: ANSWER
title: "Offline Test 8"
description: "test"
answer_reservations: 61
rating_options {
value: 9
description: "good"
}
rating_options {
description: "bad"
}
constraints {
id: 39
name: "must be funny"
}
16:23:03.557 [ratpack-compute-1-5] DEBUG e.k.i.c.w.c.Commands - Request to submit answer answer: "b"
experiment: 21
reservation: 61
for worker 41
16:23:03.557 [ratpack-compute-1-5] TRACE e.k.i.c.w.c.Commands - cleaning answer answer: "b"
experiment: 21
reservation: 61
for worker 41 form potential malicious html tags
16:23:03.557 [ratpack-compute-1-5] TRACE e.k.i.c.w.c.Commands - answer answer: "b"
experiment: 21
reservation: 61
for reservation 61 from worker 41 is valid
16:23:03.558 [ratpack-compute-1-5] DEBUG e.k.i.c.w.o.Communication - Trying to submit answer b for worker 41 with route /experiments/21/answers
16:23:03.646 [I/O dispatcher 1] DEBUG e.k.i.c.w.o.Communication - Object service answered with status 201
16:23:03.647 [ratpack-compute-1-5] DEBUG e.k.i.c.w.c.Commands - Object service answered with OK.
16:23:03.660 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.Queries - skipCreative is: false
16:23:03.660 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.Queries - skipRating is: false
16:23:03.661 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select 1 as `one` from dual where exists (select `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer`, `crowdcontrol`.`Calibration_Result`.`id_calibration_result`, `crowdcontrol`.`Calibration_Result`.`worker`, `crowdcontrol`.`Calibration_Result`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`id_experiments_calibration`, `crowdcontrol`.`Experiments_Calibration`.`experiments_platform`, `crowdcontrol`.`Experiments_Calibration`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`not` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` join `crowdcontrol`.`Experiments_Calibration` on (`crowdcontrol`.`Experiments_Calibration`.`experiments_platform` in (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = ? and `crowdcontrol`.`Experiments_Platform`.`platform` = ?)) and `crowdcontrol`.`Calibration_answer_option`.`calibration` = (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` = `crowdcontrol`.`Experiments_Calibration`.`answer`) and ((`crowdcontrol`.`Experiments_Calibration`.`not` = ? and `crowdcontrol`.`Experiments_Calibration`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`) or (`crowdcontrol`.`Experiments_Calibration`.`not` = ? and `crowdcontrol`.`Experiments_Calibration`.`answer` <> `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`))) where `crowdcontrol`.`Calibration_Result`.`worker` = ?)
16:23:03.661 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select 1 as `one` from dual where exists (select `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer`, `crowdcontrol`.`Calibration_Result`.`id_calibration_result`, `crowdcontrol`.`Calibration_Result`.`worker`, `crowdcontrol`.`Calibration_Result`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`id_experiments_calibration`, `crowdcontrol`.`Experiments_Calibration`.`experiments_platform`, `crowdcontrol`.`Experiments_Calibration`.`answer`, `crowdcontrol`.`Experiments_Calibration`.`not` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` join `crowdcontrol`.`Experiments_Calibration` on (`crowdcontrol`.`Experiments_Calibration`.`experiments_platform` in (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = 21 and `crowdcontrol`.`Experiments_Platform`.`platform` = 'dummydummy')) and `crowdcontrol`.`Calibration_answer_option`.`calibration` = (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` = `crowdcontrol`.`Experiments_Calibration`.`answer`) and ((`crowdcontrol`.`Experiments_Calibration`.`not` = true and `crowdcontrol`.`Experiments_Calibration`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`) or (`crowdcontrol`.`Experiments_Calibration`.`not` = false and `crowdcontrol`.`Experiments_Calibration`.`answer` <> `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`))) where `crowdcontrol`.`Calibration_Result`.`worker` = 41)
16:23:03.665 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 4.431ms
16:23:03.666 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 5.225ms, +0.794ms
16:23:03.666 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:23:03.666 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | one|
16:23:03.666 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:23:03.666 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Worker`.`quality` from `crowdcontrol`.`Worker` where `crowdcontrol`.`Worker`.`id_worker` = ?
16:23:03.667 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Worker`.`quality` from `crowdcontrol`.`Worker` where `crowdcontrol`.`Worker`.`id_worker` = 41
16:23:03.667 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 1.015ms
16:23:03.668 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +-------+
16:23:03.668 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : |quality|
16:23:03.668 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +-------+
16:23:03.668 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 9|
16:23:03.668 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +-------+
16:23:03.668 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 2.007ms, +0.991ms
16:23:03.668 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.Queries - worker 41 is eligible for working on the assignment
16:23:03.668 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.Queries - platform dummydummy is able to render calibrations
16:23:03.669 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select `crowdcontrol`.`Calibration`.`id_calibration`, `crowdcontrol`.`Calibration`.`property`, `crowdcontrol`.`Calibration`.`name`, `crowdcontrol`.`Calibration`.`experiment`, `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration` on `crowdcontrol`.`Calibration_answer_option`.`calibration` = `crowdcontrol`.`Calibration`.`id_calibration` where (`crowdcontrol`.`Calibration`.`id_calibration` in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` in (select `crowdcontrol`.`Experiments_Calibration`.`answer` from `crowdcontrol`.`Experiments_Calibration` where `crowdcontrol`.`Experiments_Calibration`.`experiments_platform` = (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = ? and `crowdcontrol`.`Experiments_Platform`.`platform` = ?)))) and `crowdcontrol`.`Calibration`.`id_calibration` not in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` where `crowdcontrol`.`Calibration_Result`.`worker` = ?))
16:23:03.669 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select `crowdcontrol`.`Calibration`.`id_calibration`, `crowdcontrol`.`Calibration`.`property`, `crowdcontrol`.`Calibration`.`name`, `crowdcontrol`.`Calibration`.`experiment`, `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option`, `crowdcontrol`.`Calibration_answer_option`.`calibration`, `crowdcontrol`.`Calibration_answer_option`.`answer` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration` on `crowdcontrol`.`Calibration_answer_option`.`calibration` = `crowdcontrol`.`Calibration`.`id_calibration` where (`crowdcontrol`.`Calibration`.`id_calibration` in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` where `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` in (select `crowdcontrol`.`Experiments_Calibration`.`answer` from `crowdcontrol`.`Experiments_Calibration` where `crowdcontrol`.`Experiments_Calibration`.`experiments_platform` = (select `crowdcontrol`.`Experiments_Platform`.`idExperiments_Platforms` from `crowdcontrol`.`Experiments_Platform` where (`crowdcontrol`.`Experiments_Platform`.`experiment` = 21 and `crowdcontrol`.`Experiments_Platform`.`platform` = 'dummydummy')))) and `crowdcontrol`.`Calibration`.`id_calibration` not in (select `crowdcontrol`.`Calibration_answer_option`.`calibration` from `crowdcontrol`.`Calibration_answer_option` join `crowdcontrol`.`Calibration_Result` on `crowdcontrol`.`Calibration_Result`.`answer` = `crowdcontrol`.`Calibration_answer_option`.`id_calibration_answer_option` where `crowdcontrol`.`Calibration_Result`.`worker` = 41))
16:23:03.670 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 1.286ms
16:23:03.670 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +--------------+--------+----+----------+----------------------------+-----------+------+
16:23:03.670 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : |id_calibration|property|name|experiment|id_calibration_answer_option|calibration|answer|
16:23:03.670 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +--------------+--------+----+----------+----------------------------+-----------+------+
16:23:03.670 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Finishing : Total: 1.757ms, +0.471ms
16:23:03.670 [ratpack-compute-1-5] TRACE e.k.i.c.w.q.Queries - worker 41 must answer the calibrations {}
16:23:03.670 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.Queries - worker 41 must not answer calibrations
16:23:03.671 [ratpack-compute-1-5] DEBUG e.k.i.c.w.q.Queries - invoking task-chooser anti_spoof
16:23:03.671 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Executing query : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` left outer join `crowdcontrol`.`Answer` on `crowdcontrol`.`Answer`.`reservation` = `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` where ((`crowdcontrol`.`Answer_Reservation`.`used` = ? or (`crowdcontrol`.`Answer_Reservation`.`timestamp` >= ? and `crowdcontrol`.`Answer_Reservation`.`worker` <> ?)) and `crowdcontrol`.`Answer_Reservation`.`experiment` = ? and ((`crowdcontrol`.`Answer`.`quality_assured` = ? and `crowdcontrol`.`Answer`.`quality` > (select `crowdcontrol`.`Experiment`.`result_quality_threshold` from `crowdcontrol`.`Experiment` where `crowdcontrol`.`Experiment`.`id_experiment` = ?)) or ?))) as `q`
16:23:03.671 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - -> with bind values : select count(*) as `c` from (select `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` from `crowdcontrol`.`Answer_Reservation` left outer join `crowdcontrol`.`Answer` on `crowdcontrol`.`Answer`.`reservation` = `crowdcontrol`.`Answer_Reservation`.`idAnswer_Reservation` where ((`crowdcontrol`.`Answer_Reservation`.`used` = true or (`crowdcontrol`.`Answer_Reservation`.`timestamp` >= {ts '2016-03-17 14:23:03.671'} and `crowdcontrol`.`Answer_Reservation`.`worker` <> 41)) and `crowdcontrol`.`Answer_Reservation`.`experiment` = 21 and ((`crowdcontrol`.`Answer`.`quality_assured` = true and `crowdcontrol`.`Answer`.`quality` > (select `crowdcontrol`.`Experiment`.`result_quality_threshold` from `crowdcontrol`.`Experiment` where `crowdcontrol`.`Experiment`.`id_experiment` = 21)) or true))) as `q`
16:23:03.674 [ratpack-compute-1-5] DEBUG o.j.t.StopWatch - Query executed : Total: 2.958ms
16:23:03.674 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - Fetched result : +----+
16:23:03.674 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | c|
16:23:03.674 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : +----+
16:23:03.674 [ratpack-compute-1-5] DEBUG o.j.t.LoggerListener - : | 1|
16:23:03.674 [ratpack-compute-1-
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment