lab_tech 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/MIT-LICENSE +20 -0
- data/README.md +323 -0
- data/Rakefile +30 -0
- data/app/models/lab_tech/application_record.rb +5 -0
- data/app/models/lab_tech/default_cleaner.rb +87 -0
- data/app/models/lab_tech/experiment.rb +190 -0
- data/app/models/lab_tech/observation.rb +40 -0
- data/app/models/lab_tech/percentile.rb +41 -0
- data/app/models/lab_tech/result.rb +130 -0
- data/app/models/lab_tech/speedup.rb +65 -0
- data/app/models/lab_tech/summary.rb +183 -0
- data/config/routes.rb +2 -0
- data/db/migrate/20190815192130_create_experiment_tables.rb +50 -0
- data/lib/lab_tech.rb +176 -0
- data/lib/lab_tech/engine.rb +6 -0
- data/lib/lab_tech/version.rb +3 -0
- data/lib/tasks/lab_tech_tasks.rake +4 -0
- data/spec/dummy/Rakefile +6 -0
- data/spec/dummy/app/assets/config/manifest.js +1 -0
- data/spec/dummy/app/assets/javascripts/application.js +14 -0
- data/spec/dummy/app/assets/stylesheets/application.css +15 -0
- data/spec/dummy/app/controllers/application_controller.rb +2 -0
- data/spec/dummy/app/jobs/application_job.rb +2 -0
- data/spec/dummy/app/models/application_record.rb +3 -0
- data/spec/dummy/bin/bundle +3 -0
- data/spec/dummy/bin/rails +4 -0
- data/spec/dummy/bin/rake +4 -0
- data/spec/dummy/bin/setup +33 -0
- data/spec/dummy/bin/update +28 -0
- data/spec/dummy/config.ru +5 -0
- data/spec/dummy/config/application.rb +35 -0
- data/spec/dummy/config/boot.rb +5 -0
- data/spec/dummy/config/database.yml +25 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +46 -0
- data/spec/dummy/config/environments/production.rb +71 -0
- data/spec/dummy/config/environments/test.rb +36 -0
- data/spec/dummy/config/initializers/application_controller_renderer.rb +8 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy/config/initializers/cors.rb +16 -0
- data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/spec/dummy/config/initializers/inflections.rb +16 -0
- data/spec/dummy/config/initializers/mime_types.rb +4 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/spec/dummy/config/locales/en.yml +33 -0
- data/spec/dummy/config/puma.rb +34 -0
- data/spec/dummy/config/routes.rb +3 -0
- data/spec/dummy/config/spring.rb +6 -0
- data/spec/dummy/db/schema.rb +52 -0
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +0 -0
- data/spec/dummy/log/test.log +1519 -0
- data/spec/examples.txt +79 -0
- data/spec/models/lab_tech/default_cleaner_spec.rb +32 -0
- data/spec/models/lab_tech/experiment_spec.rb +110 -0
- data/spec/models/lab_tech/percentile_spec.rb +85 -0
- data/spec/models/lab_tech/result_spec.rb +198 -0
- data/spec/models/lab_tech/speedup_spec.rb +133 -0
- data/spec/models/lab_tech/summary_spec.rb +325 -0
- data/spec/models/lab_tech_spec.rb +23 -0
- data/spec/rails_helper.rb +62 -0
- data/spec/spec_helper.rb +98 -0
- data/spec/support/misc_helpers.rb +7 -0
- metadata +238 -0
@@ -0,0 +1,34 @@
|
|
1
|
+
# Puma can serve each request in a thread from an internal thread pool.
|
2
|
+
# The `threads` method setting takes two numbers: a minimum and maximum.
|
3
|
+
# Any libraries that use thread pools should be configured to match
|
4
|
+
# the maximum value specified for Puma. Default is set to 5 threads for minimum
|
5
|
+
# and maximum; this matches the default thread size of Active Record.
|
6
|
+
#
|
7
|
+
threads_count = ENV.fetch("RAILS_MAX_THREADS") { 5 }
|
8
|
+
threads threads_count, threads_count
|
9
|
+
|
10
|
+
# Specifies the `port` that Puma will listen on to receive requests; default is 3000.
|
11
|
+
#
|
12
|
+
port ENV.fetch("PORT") { 3000 }
|
13
|
+
|
14
|
+
# Specifies the `environment` that Puma will run in.
|
15
|
+
#
|
16
|
+
environment ENV.fetch("RAILS_ENV") { "development" }
|
17
|
+
|
18
|
+
# Specifies the number of `workers` to boot in clustered mode.
|
19
|
+
# Workers are forked webserver processes. If using threads and workers together
|
20
|
+
# the concurrency of the application would be max `threads` * `workers`.
|
21
|
+
# Workers do not work on JRuby or Windows (both of which do not support
|
22
|
+
# processes).
|
23
|
+
#
|
24
|
+
# workers ENV.fetch("WEB_CONCURRENCY") { 2 }
|
25
|
+
|
26
|
+
# Use the `preload_app!` method when specifying a `workers` number.
|
27
|
+
# This directive tells Puma to first boot the application and load code
|
28
|
+
# before forking the application. This takes advantage of Copy On Write
|
29
|
+
# process behavior so workers use less memory.
|
30
|
+
#
|
31
|
+
# preload_app!
|
32
|
+
|
33
|
+
# Allow puma to be restarted by `rails restart` command.
|
34
|
+
plugin :tmp_restart
|
@@ -0,0 +1,52 @@
|
|
1
|
+
# This file is auto-generated from the current state of the database. Instead
|
2
|
+
# of editing this file, please use the migrations feature of Active Record to
|
3
|
+
# incrementally modify your database, and then regenerate this schema definition.
|
4
|
+
#
|
5
|
+
# Note that this schema.rb definition is the authoritative source for your
|
6
|
+
# database schema. If you need to create the application database on another
|
7
|
+
# system, you should be using db:schema:load, not running all the migrations
|
8
|
+
# from scratch. The latter is a flawed and unsustainable approach (the more migrations
|
9
|
+
# you'll amass, the slower it'll run and the greater likelihood for issues).
|
10
|
+
#
|
11
|
+
# It's strongly recommended that you check this file into your version control system.
|
12
|
+
|
13
|
+
ActiveRecord::Schema.define(version: 2019_08_15_192130) do
|
14
|
+
|
15
|
+
create_table "lab_tech_experiments", force: :cascade do |t|
|
16
|
+
t.string "name"
|
17
|
+
t.integer "percent_enabled", default: 0, null: false
|
18
|
+
t.integer "equivalent_count", default: 0, null: false
|
19
|
+
t.integer "timed_out_count", default: 0, null: false
|
20
|
+
t.integer "other_error_count", default: 0, null: false
|
21
|
+
t.index ["name"], name: "index_lab_tech_experiments_by_name", unique: true
|
22
|
+
end
|
23
|
+
|
24
|
+
create_table "lab_tech_observations", force: :cascade do |t|
|
25
|
+
t.integer "result_id", null: false
|
26
|
+
t.string "name", limit: 100
|
27
|
+
t.float "duration", limit: 24
|
28
|
+
t.text "value", limit: 4294967295
|
29
|
+
t.text "sql"
|
30
|
+
t.string "exception_class"
|
31
|
+
t.text "exception_message"
|
32
|
+
t.text "exception_backtrace"
|
33
|
+
t.datetime "created_at"
|
34
|
+
t.index ["result_id"], name: "index_lab_tech_observations_by_result_id"
|
35
|
+
end
|
36
|
+
|
37
|
+
create_table "lab_tech_results", force: :cascade do |t|
|
38
|
+
t.integer "experiment_id", null: false
|
39
|
+
t.text "context"
|
40
|
+
t.boolean "equivalent", default: false, null: false
|
41
|
+
t.boolean "raised_error", default: false, null: false
|
42
|
+
t.float "time_delta", limit: 24
|
43
|
+
t.float "speedup_factor", limit: 24
|
44
|
+
t.datetime "created_at"
|
45
|
+
t.boolean "timed_out", default: false, null: false
|
46
|
+
t.float "control_duration", limit: 24
|
47
|
+
t.float "candidate_duration", limit: 24
|
48
|
+
t.index ["experiment_id", "equivalent"], name: "index_lab_tech_results_by_exp_id_and_equivalent"
|
49
|
+
t.index ["experiment_id", "raised_error"], name: "index_lab_tech_results_by_exp_id_and_raised"
|
50
|
+
end
|
51
|
+
|
52
|
+
end
|
Binary file
|
File without changes
|
@@ -0,0 +1,1519 @@
|
|
1
|
+
[1m[35m (0.0ms)[0m [1m[35mDROP TABLE IF EXISTS "lab_tech_experiments"[0m
|
2
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
3
|
+
[1m[35m (1.6ms)[0m [1m[35mCREATE TABLE "lab_tech_experiments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "percent_enabled" integer DEFAULT 0 NOT NULL, "equivalent_count" integer DEFAULT 0 NOT NULL, "timed_out_count" integer DEFAULT 0 NOT NULL, "other_error_count" integer DEFAULT 0 NOT NULL)[0m
|
4
|
+
[1m[35m (0.7ms)[0m [1m[35mCREATE UNIQUE INDEX "index_lab_tech_experiments_by_name" ON "lab_tech_experiments" ("name")[0m
|
5
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "lab_tech_observations"[0m
|
6
|
+
[1m[35m (0.7ms)[0m [1m[35mCREATE TABLE "lab_tech_observations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "result_id" integer NOT NULL, "name" varchar(100), "duration" float(24), "value" text(4294967295), "sql" text, "exception_class" varchar, "exception_message" text, "exception_backtrace" text, "created_at" datetime)[0m
|
7
|
+
[1m[35m (0.8ms)[0m [1m[35mCREATE INDEX "index_lab_tech_observations_by_result_id" ON "lab_tech_observations" ("result_id")[0m
|
8
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "lab_tech_results"[0m
|
9
|
+
[1m[35m (0.7ms)[0m [1m[35mCREATE TABLE "lab_tech_results" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "experiment_id" integer NOT NULL, "context" text, "equivalent" boolean DEFAULT 'f' NOT NULL, "raised_error" boolean DEFAULT 'f' NOT NULL, "time_delta" float(24), "speedup_factor" float(24), "created_at" datetime, "timed_out" boolean DEFAULT 'f' NOT NULL, "control_duration" float(24), "candidate_duration" float(24))[0m
|
10
|
+
[1m[35m (0.7ms)[0m [1m[35mCREATE INDEX "index_lab_tech_results_by_exp_id_and_equivalent" ON "lab_tech_results" ("experiment_id", "equivalent")[0m
|
11
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
12
|
+
FROM sqlite_master
|
13
|
+
WHERE name='index_lab_tech_results_by_exp_id_and_equivalent' AND type='index'
|
14
|
+
UNION ALL
|
15
|
+
SELECT sql
|
16
|
+
FROM sqlite_temp_master
|
17
|
+
WHERE name='index_lab_tech_results_by_exp_id_and_equivalent' AND type='index'
|
18
|
+
[0m
|
19
|
+
[1m[35m (0.9ms)[0m [1m[35mCREATE INDEX "index_lab_tech_results_by_exp_id_and_raised" ON "lab_tech_results" ("experiment_id", "raised_error")[0m
|
20
|
+
[1m[35m (1.0ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
21
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
22
|
+
[1m[35m (0.8ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20190815192130)[0m
|
23
|
+
[1m[35m (0.9ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
24
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
25
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
26
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2019-08-22 20:52:05.257722"], ["updated_at", "2019-08-22 20:52:05.257722"]]
|
27
|
+
[1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
|
28
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
29
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
30
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
31
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
32
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
33
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
34
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
35
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "lab_tech_experiments" ("name") VALUES (?)[0m [["name", "whatever"]]
|
37
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38
|
+
[1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
|
39
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
40
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
41
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
42
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
43
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "lab_tech_experiments" ("name") VALUES (?)[0m [["name", "Experiment 0"]]
|
44
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
45
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
46
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_experiments" ("name") VALUES (?)[0m [["name", "Experiment 1"]]
|
47
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
48
|
+
[1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
|
49
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
50
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
51
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "lab_tech_experiments" ("name") VALUES (?)[0m [["name", "wibble"]]
|
52
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
53
|
+
[1m[36mLabTech::Experiment Load (0.1ms)[0m [1m[34mSELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ?[0m [["name", "wibble"], ["LIMIT", 1]]
|
54
|
+
[1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
|
55
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
56
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
57
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "lab_tech_experiments" ("name") VALUES (?)[0m [["name", "wibble"]]
|
58
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
59
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
60
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ?[0m [["percent_enabled", 100], ["id", 1]]
|
61
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
62
|
+
[1m[36mLabTech::Experiment Load (0.0ms)[0m [1m[34mSELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ?[0m [["name", "wibble"], ["LIMIT", 1]]
|
63
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
64
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2019-08-22 20:52:05.413815"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.00000761449337e-06]]
|
65
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- true\n"], ["created_at", "2019-08-22 20:52:05.415182"]]
|
66
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- true\n"], ["created_at", "2019-08-22 20:52:05.416046"]]
|
67
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ?[0m [["id", 1]]
|
68
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
69
|
+
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
70
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
71
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
72
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "lab_tech_experiments" ("name") VALUES (?)[0m [["name", "wibble"]]
|
73
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
74
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
75
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ?[0m [["percent_enabled", 100], ["id", 1]]
|
76
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
77
|
+
[1m[36mLabTech::Experiment Load (0.1ms)[0m [1m[34mSELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ?[0m [["name", "wibble"], ["LIMIT", 1]]
|
78
|
+
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
79
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
80
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
81
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "lab_tech_experiments" ("name") VALUES (?)[0m [["name", "wibble"]]
|
82
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
83
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
84
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ?[0m [["percent_enabled", 100], ["id", 1]]
|
85
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
86
|
+
[1m[36mLabTech::Experiment Load (0.0ms)[0m [1m[34mSELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ?[0m [["name", "wibble"], ["LIMIT", 1]]
|
87
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
88
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?)[0m [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -1.9999861251562834e-06], ["created_at", "2019-08-22 20:52:05.435732"], ["control_duration", 0.0], ["candidate_duration", 1.9999861251562834e-06]]
|
89
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- CONTROL\n"], ["created_at", "2019-08-22 20:52:05.437054"]]
|
90
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 1], ["name", "candidate"], ["duration", 1.9999861251562834e-06], ["value", "--- CANDIDATE\n"], ["created_at", "2019-08-22 20:52:05.437984"]]
|
91
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name != 'control')[0m [["result_id", 1]]
|
92
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ?[0m [["id", 1]]
|
93
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
94
|
+
[1m[36mLabTech::Result Load (0.1ms)[0m [1m[34mSELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ?[0m [["experiment_id", 1], ["LIMIT", 1]]
|
95
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name = 'control') LIMIT ?[0m [["result_id", 1], ["LIMIT", 1]]
|
96
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name != 'control') ORDER BY "lab_tech_observations"."id" ASC LIMIT ?[0m [["result_id", 1], ["LIMIT", 1]]
|
97
|
+
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
98
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
99
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
100
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "lab_tech_experiments" ("name") VALUES (?)[0m [["name", "wibble"]]
|
101
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
102
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
103
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ?[0m [["percent_enabled", 100], ["id", 1]]
|
104
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
105
|
+
[1m[36mLabTech::Experiment Load (0.0ms)[0m [1m[34mSELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ?[0m [["name", "wibble"], ["LIMIT", 1]]
|
106
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
107
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?)[0m [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 1.9999861251562834e-06], ["created_at", "2019-08-22 20:52:05.448977"], ["control_duration", 1.9999861251562834e-06], ["candidate_duration", 0.0]]
|
108
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 1], ["name", "control"], ["duration", 1.9999861251562834e-06], ["value", "--- Yes indeedily!\n"], ["created_at", "2019-08-22 20:52:05.449902"]]
|
109
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- You suck-diddly-uck, Flanders!\n"], ["created_at", "2019-08-22 20:52:05.450682"]]
|
110
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name != 'control')[0m [["result_id", 1]]
|
111
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ?[0m [["id", 1]]
|
112
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
113
|
+
[1m[36mLabTech::Result Load (0.1ms)[0m [1m[34mSELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ?[0m [["experiment_id", 1], ["LIMIT", 1]]
|
114
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name = 'control') LIMIT ?[0m [["result_id", 1], ["LIMIT", 1]]
|
115
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name != 'control') ORDER BY "lab_tech_observations"."id" ASC LIMIT ?[0m [["result_id", 1], ["LIMIT", 1]]
|
116
|
+
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
117
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
118
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
119
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "lab_tech_experiments" ("name") VALUES (?)[0m [["name", "wibble"]]
|
120
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
121
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
122
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_experiments" SET "percent_enabled" = ? WHERE "lab_tech_experiments"."id" = ?[0m [["percent_enabled", 100], ["id", 1]]
|
123
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
124
|
+
[1m[36mLabTech::Experiment Load (0.0ms)[0m [1m[34mSELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ?[0m [["name", "wibble"], ["LIMIT", 1]]
|
125
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
126
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.00000761449337e-06], ["speedup_factor", 2.0], ["created_at", "2019-08-22 20:52:05.459353"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.00000761449337e-06]]
|
127
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- :wibble\n"], ["created_at", "2019-08-22 20:52:05.460298"]]
|
128
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- :wibble\n"], ["created_at", "2019-08-22 20:52:05.461122"]]
|
129
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ?[0m [["id", 1]]
|
130
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
131
|
+
[1m[36mLabTech::Experiment Load (0.1ms)[0m [1m[34mSELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
132
|
+
[1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
|
133
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
134
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
135
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
136
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
137
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
138
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
139
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
140
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
141
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
142
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
143
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
144
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
145
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
146
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
147
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
148
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
149
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
150
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
151
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
152
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
153
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
154
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
155
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
156
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
157
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
158
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
159
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
160
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
161
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
162
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
163
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
164
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
165
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
166
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
167
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
168
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
169
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
170
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
171
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
172
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
173
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
174
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
175
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
176
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
177
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
178
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
179
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
180
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
181
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
182
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
183
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
184
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
185
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
186
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
187
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
188
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
189
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
190
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
191
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?)[0m [["name", "wibble"], ["percent_enabled", 100]]
|
192
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
193
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "lab_tech_observations"[0m
|
194
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "lab_tech_results"[0m
|
195
|
+
[1m[36mLabTech::Experiment Load (0.0ms)[0m [1m[34mSELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ?[0m [["name", "wibble"], ["LIMIT", 1]]
|
196
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
197
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 1.00000761449337e-06], ["speedup_factor", 2.0], ["created_at", "2019-08-22 20:52:05.484299"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.00000761449337e-06]]
|
198
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- :wibble\n"], ["created_at", "2019-08-22 20:52:05.485433"]]
|
199
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- :wobble\n"], ["created_at", "2019-08-22 20:52:05.486486"]]
|
200
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name != 'control')[0m [["result_id", 1]]
|
201
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ?[0m [["id", 1]]
|
202
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
203
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "lab_tech_results"[0m
|
204
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "lab_tech_observations"[0m
|
205
|
+
[1m[36mLabTech::Result Load (0.1ms)[0m [1m[34mSELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ?[0m [["LIMIT", 1]]
|
206
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name = 'control') LIMIT ?[0m [["result_id", 1], ["LIMIT", 1]]
|
207
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name != 'control') ORDER BY "lab_tech_observations"."id" ASC LIMIT ?[0m [["result_id", 1], ["LIMIT", 1]]
|
208
|
+
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
209
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
210
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
211
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?)[0m [["name", "wibble"], ["percent_enabled", 100]]
|
212
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
213
|
+
[1m[36mLabTech::Experiment Load (0.0ms)[0m [1m[34mSELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ?[0m [["name", "wibble"], ["LIMIT", 1]]
|
214
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
215
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -8.99998121894896e-06], ["speedup_factor", -5.499956344586729], ["created_at", "2019-08-22 20:52:05.494791"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.09999964479357e-05]]
|
216
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- :wibble\n"], ["created_at", "2019-08-22 20:52:05.495862"]]
|
217
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["result_id", 1], ["name", "candidate"], ["duration", 1.09999964479357e-05], ["exception_class", "Timeout::Error"], ["exception_message", "nope"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/result_spec.rb:181:in `block (5 levels) in <top (required)>'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/scientist-1.3.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/scientist-1.3.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/scientist-1.3.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/scientist-1.3.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/scientist-1.3.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:148:in `run'\", \"/Users/sam/work/lab_tech/lib/lab_tech.rb:37:in `science'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/result_spec.rb:179:in `block (3 levels) in <top (required)>'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:257:in `instance_exec'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:257:in `block in run'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:503:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:460:in `block in with_around_example_hooks'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:345:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/result_spec.rb:9:in `block (3 levels) in <top (required)>'\", \"/Users/sam/work/lab_tech/lib/lab_tech.rb:68:in `publish_results_in_test_mode'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/result_spec.rb:8:in `block (2 levels) in <top (required)>'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:450:in `instance_exec'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:450:in `instance_exec'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:373:in `execute_with'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:345:in `call'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-rails-3.8.2/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:450:in `instance_exec'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:450:in `instance_exec'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:373:in `execute_with'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:345:in `call'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:460:in `with_around_example_hooks'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:503:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:254:in `run'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:633:in `block in run_examples'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:629:in `map'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:629:in `run_examples'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:595:in `run'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:596:in `block in run'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:596:in `map'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:596:in `run'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:116:in `block (3 levels) in run_specs'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:116:in `map'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:116:in `block (2 levels) in run_specs'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/configuration.rb:2008:in `with_suite_hooks'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:111:in `block in run_specs'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:110:in `run_specs'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/exe/rspec:4:in `<top (required)>'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/bin/rspec:23:in `load'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/bin/rspec:23:in `<top (required)>'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.0.2/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.0.2/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.0.2/lib/bundler/cli/exec.rb:28:in `run'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.0.2/lib/bundler/cli.rb:465:in `exec'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.0.2/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.0.2/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.0.2/lib/bundler/vendor/thor/lib/thor.rb:387:in `dispatch'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.0.2/lib/bundler/cli.rb:27:in `dispatch'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.0.2/lib/bundler/vendor/thor/lib/thor/base.rb:466:in `start'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.0.2/lib/bundler/cli.rb:18:in `start'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.0.2/exe/bundle:30:in `block in <top (required)>'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.0.2/lib/bundler/friendly_errors.rb:124:in `with_friendly_errors'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.0.2/exe/bundle:22:in `<top (required)>'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/bin/bundle:23:in `load'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/bin/bundle:23:in `<main>'\"]"], ["created_at", "2019-08-22 20:52:05.496699"]]
|
218
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name != 'control')[0m [["result_id", 1]]
|
219
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_experiments" SET "timed_out_count" = COALESCE("timed_out_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ?[0m [["id", 1]]
|
220
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
221
|
+
[1m[36mLabTech::Result Load (0.0ms)[0m [1m[34mSELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ?[0m [["LIMIT", 1]]
|
222
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name != 'control')[0m [["result_id", 1]]
|
223
|
+
[1m[36mLabTech::Result Load (0.1ms)[0m [1m[34mSELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ?[0m [["equivalent", "t"], ["raised_error", "f"]]
|
224
|
+
[1m[36mLabTech::Result Load (0.0ms)[0m [1m[34mSELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ?[0m [["equivalent", "f"], ["raised_error", "f"]]
|
225
|
+
[1m[36mLabTech::Result Load (0.2ms)[0m [1m[34mSELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND (name != 'control') WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND (lab_tech_observations.exception_class = "Timeout::Error")[0m [["equivalent", "f"], ["raised_error", "t"]]
|
226
|
+
[1m[36mLabTech::Result Load (0.1ms)[0m [1m[34mSELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND (name != 'control') WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND (lab_tech_observations.exception_class != "Timeout::Error")[0m [["equivalent", "f"], ["raised_error", "t"]]
|
227
|
+
[1m[36mLabTech::Result Load (0.2ms)[0m [1m[34mSELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND (name != 'control') WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND (lab_tech_observations.exception_class = "Timeout::Error")[0m [["equivalent", "f"], ["raised_error", "t"]]
|
228
|
+
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
229
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
230
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
231
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?)[0m [["name", "wibble"], ["percent_enabled", 100]]
|
232
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
233
|
+
[1m[36mLabTech::Experiment Load (0.0ms)[0m [1m[34mSELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ?[0m [["name", "wibble"], ["LIMIT", 1]]
|
234
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
235
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?)[0m [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.5], ["created_at", "2019-08-22 20:52:05.512703"], ["control_duration", 0.5], ["candidate_duration", 0.0]]
|
236
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 1], ["name", "control"], ["duration", 0.5], ["value", "--- :wibble\n"], ["created_at", "2019-08-22 20:52:05.513725"]]
|
237
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- :wobble\n"], ["created_at", "2019-08-22 20:52:05.514596"]]
|
238
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name != 'control')[0m [["result_id", 1]]
|
239
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ?[0m [["id", 1]]
|
240
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
241
|
+
[1m[36mLabTech::Result Load (0.0ms)[0m [1m[34mSELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ?[0m [["LIMIT", 1]]
|
242
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name = 'control') LIMIT ?[0m [["result_id", 1], ["LIMIT", 1]]
|
243
|
+
[1m[36mLabTech::Observation Load (0.2ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name != 'control') ORDER BY "lab_tech_observations"."id" ASC LIMIT ?[0m [["result_id", 1], ["LIMIT", 1]]
|
244
|
+
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
245
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
246
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
247
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?)[0m [["name", "wibble"], ["percent_enabled", 100]]
|
248
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
249
|
+
[1m[36mLabTech::Experiment Load (0.1ms)[0m [1m[34mSELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ?[0m [["name", "wibble"], ["LIMIT", 1]]
|
250
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
251
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?)[0m [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.0], ["created_at", "2019-08-22 20:52:05.523063"], ["control_duration", 0.0], ["candidate_duration", 0.0]]
|
252
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2019-08-22 20:52:05.524149"]]
|
253
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- :wobble\n"], ["created_at", "2019-08-22 20:52:05.524982"]]
|
254
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name != 'control')[0m [["result_id", 1]]
|
255
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ?[0m [["id", 1]]
|
256
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
257
|
+
[1m[36mLabTech::Result Load (0.0ms)[0m [1m[34mSELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ?[0m [["LIMIT", 1]]
|
258
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name = 'control') LIMIT ?[0m [["result_id", 1], ["LIMIT", 1]]
|
259
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name != 'control') ORDER BY "lab_tech_observations"."id" ASC LIMIT ?[0m [["result_id", 1], ["LIMIT", 1]]
|
260
|
+
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
261
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
262
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
263
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?)[0m [["name", "wibble"], ["percent_enabled", 100]]
|
264
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
265
|
+
[1m[36mLabTech::Experiment Load (0.1ms)[0m [1m[34mSELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ?[0m [["name", "wibble"], ["LIMIT", 1]]
|
266
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
267
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2019-08-22 20:52:05.532874"], ["control_duration", 0.5], ["candidate_duration", 0.5]]
|
268
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 1], ["name", "control"], ["duration", 0.5], ["value", "--- :wibble\n"], ["created_at", "2019-08-22 20:52:05.533962"]]
|
269
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 1], ["name", "candidate"], ["duration", 0.5], ["value", "--- :wobble\n"], ["created_at", "2019-08-22 20:52:05.534975"]]
|
270
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name != 'control')[0m [["result_id", 1]]
|
271
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ?[0m [["id", 1]]
|
272
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
273
|
+
[1m[36mLabTech::Result Load (0.0ms)[0m [1m[34mSELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ?[0m [["LIMIT", 1]]
|
274
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name = 'control') LIMIT ?[0m [["result_id", 1], ["LIMIT", 1]]
|
275
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name != 'control') ORDER BY "lab_tech_observations"."id" ASC LIMIT ?[0m [["result_id", 1], ["LIMIT", 1]]
|
276
|
+
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
277
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
278
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
279
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?)[0m [["name", "wibble"], ["percent_enabled", 100]]
|
280
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
281
|
+
[1m[36mLabTech::Experiment Load (0.0ms)[0m [1m[34mSELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ?[0m [["name", "wibble"], ["LIMIT", 1]]
|
282
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
283
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2019-08-22 20:52:05.542582"], ["control_duration", 0.5], ["candidate_duration", 0.5]]
|
284
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 1], ["name", "control"], ["duration", 0.5], ["value", "--- :wibble\n"], ["created_at", "2019-08-22 20:52:05.543727"]]
|
285
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 1], ["name", "candidate"], ["duration", 0.5], ["value", "--- :wobble\n"], ["created_at", "2019-08-22 20:52:05.544610"]]
|
286
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name != 'control')[0m [["result_id", 1]]
|
287
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ?[0m [["id", 1]]
|
288
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
289
|
+
[1m[36mLabTech::Result Load (0.0ms)[0m [1m[34mSELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ?[0m [["LIMIT", 1]]
|
290
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name != 'control')[0m [["result_id", 1]]
|
291
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name = 'control') LIMIT ?[0m [["result_id", 1], ["LIMIT", 1]]
|
292
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name != 'control') ORDER BY "lab_tech_observations"."id" ASC LIMIT ?[0m [["result_id", 1], ["LIMIT", 1]]
|
293
|
+
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
294
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
295
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
296
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?)[0m [["name", "wibble"], ["percent_enabled", 100]]
|
297
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
298
|
+
[1m[36mLabTech::Experiment Load (0.1ms)[0m [1m[34mSELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ?[0m [["name", "wibble"], ["LIMIT", 1]]
|
299
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
300
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", -0.5], ["speedup_factor", -2.0], ["created_at", "2019-08-22 20:52:05.552832"], ["control_duration", 0.5], ["candidate_duration", 1.0]]
|
301
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 1], ["name", "control"], ["duration", 0.5], ["value", "--- :wibble\n"], ["created_at", "2019-08-22 20:52:05.554123"]]
|
302
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 1], ["name", "candidate"], ["duration", 1.0], ["value", "--- :wobble\n"], ["created_at", "2019-08-22 20:52:05.555110"]]
|
303
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name != 'control')[0m [["result_id", 1]]
|
304
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ?[0m [["id", 1]]
|
305
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
306
|
+
[1m[36mLabTech::Result Load (0.0ms)[0m [1m[34mSELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ?[0m [["LIMIT", 1]]
|
307
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name = 'control') LIMIT ?[0m [["result_id", 1], ["LIMIT", 1]]
|
308
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name != 'control') ORDER BY "lab_tech_observations"."id" ASC LIMIT ?[0m [["result_id", 1], ["LIMIT", 1]]
|
309
|
+
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
310
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
311
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
312
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?)[0m [["name", "wibble"], ["percent_enabled", 100]]
|
313
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
314
|
+
[1m[36mLabTech::Experiment Load (0.0ms)[0m [1m[34mSELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ?[0m [["name", "wibble"], ["LIMIT", 1]]
|
315
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
316
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2019-08-22 20:52:05.563091"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.00000761449337e-06]]
|
317
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- :wibble\n"], ["created_at", "2019-08-22 20:52:05.564176"]]
|
318
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- :WIBBLE\n"], ["created_at", "2019-08-22 20:52:05.565021"]]
|
319
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ?[0m [["id", 1]]
|
320
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
321
|
+
[1m[36mLabTech::Result Load (0.0ms)[0m [1m[34mSELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ?[0m [["LIMIT", 1]]
|
322
|
+
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
323
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
324
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
325
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?)[0m [["name", "wibble"], ["percent_enabled", 100]]
|
326
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
327
|
+
[1m[36mLabTech::Experiment Load (0.0ms)[0m [1m[34mSELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ?[0m [["name", "wibble"], ["LIMIT", 1]]
|
328
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
329
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -1.09999964479357e-05], ["speedup_factor", -11.999912689173458], ["created_at", "2019-08-22 20:52:05.570867"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.200000406242907e-05]]
|
330
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- :wibble\n"], ["created_at", "2019-08-22 20:52:05.571923"]]
|
331
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["result_id", 1], ["name", "candidate"], ["duration", 1.200000406242907e-05], ["exception_class", "RuntimeError"], ["exception_message", "nope"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/result_spec.rb:130:in `block (6 levels) in <top (required)>'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/scientist-1.3.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/scientist-1.3.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/scientist-1.3.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/scientist-1.3.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/scientist-1.3.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:148:in `run'\", \"/Users/sam/work/lab_tech/lib/lab_tech.rb:37:in `science'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/result_spec.rb:128:in `block (4 levels) in <top (required)>'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:450:in `instance_exec'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:450:in `instance_exec'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:348:in `run'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:507:in `block in run_owned_hooks_for'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:506:in `each'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:506:in `run_owned_hooks_for'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:593:in `block in run_example_hooks_for'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:592:in `reverse_each'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:592:in `run_example_hooks_for'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:462:in `run'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:497:in `run_before_example'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:256:in `block in run'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:503:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:460:in `block in with_around_example_hooks'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:345:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/result_spec.rb:9:in `block (3 levels) in <top (required)>'\", \"/Users/sam/work/lab_tech/lib/lab_tech.rb:68:in `publish_results_in_test_mode'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/result_spec.rb:8:in `block (2 levels) in <top (required)>'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:450:in `instance_exec'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:450:in `instance_exec'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:373:in `execute_with'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:345:in `call'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-rails-3.8.2/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:450:in `instance_exec'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:450:in `instance_exec'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:373:in `execute_with'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:345:in `call'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:460:in `with_around_example_hooks'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:503:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:254:in `run'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:633:in `block in run_examples'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:629:in `map'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:629:in `run_examples'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:595:in `run'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:596:in `block in run'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:596:in `map'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:596:in `run'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:596:in `block in run'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:596:in `map'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:596:in `run'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:116:in `block (3 levels) in run_specs'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:116:in `map'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:116:in `block (2 levels) in run_specs'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/configuration.rb:2008:in `with_suite_hooks'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:111:in `block in run_specs'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:110:in `run_specs'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/exe/rspec:4:in `<top (required)>'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/bin/rspec:23:in `load'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/bin/rspec:23:in `<top (required)>'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.0.2/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.0.2/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.0.2/lib/bundler/cli/exec.rb:28:in `run'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.0.2/lib/bundler/cli.rb:465:in `exec'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.0.2/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.0.2/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.0.2/lib/bundler/vendor/thor/lib/thor.rb:387:in `dispatch'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.0.2/lib/bundler/cli.rb:27:in `dispatch'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.0.2/lib/bundler/vendor/thor/lib/thor/base.rb:466:in `start'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.0.2/lib/bundler/cli.rb:18:in `start'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.0.2/exe/bundle:30:in `block in <top (required)>'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.0.2/lib/bundler/friendly_errors.rb:124:in `with_friendly_errors'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.0.2/exe/bundle:22:in `<top (required)>'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/bin/bundle:23:in `load'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/bin/bundle:23:in `<main>'\"]"], ["created_at", "2019-08-22 20:52:05.572787"]]
|
332
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name != 'control')[0m [["result_id", 1]]
|
333
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ?[0m [["id", 1]]
|
334
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
335
|
+
[1m[36mLabTech::Result Load (0.1ms)[0m [1m[34mSELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ?[0m [["LIMIT", 1]]
|
336
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name = 'control') LIMIT ?[0m [["result_id", 1], ["LIMIT", 1]]
|
337
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name != 'control') ORDER BY "lab_tech_observations"."id" ASC LIMIT ?[0m [["result_id", 1], ["LIMIT", 1]]
|
338
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name != 'control')[0m [["result_id", 1]]
|
339
|
+
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
340
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
341
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
342
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?)[0m [["name", "wibble"], ["percent_enabled", 100]]
|
343
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
344
|
+
[1m[36mLabTech::Experiment Load (0.0ms)[0m [1m[34mSELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ?[0m [["name", "wibble"], ["LIMIT", 1]]
|
345
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
346
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -1.1999974958598614e-05], ["created_at", "2019-08-22 20:52:05.581395"], ["control_duration", 0.0], ["candidate_duration", 1.1999974958598614e-05]]
|
347
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- :wibble\n"], ["created_at", "2019-08-22 20:52:05.582462"]]
|
348
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["result_id", 1], ["name", "candidate"], ["duration", 1.1999974958598614e-05], ["exception_class", "Timeout::Error"], ["exception_message", "nope"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/result_spec.rb:155:in `block (6 levels) in <top (required)>'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/scientist-1.3.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/scientist-1.3.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/scientist-1.3.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/scientist-1.3.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/scientist-1.3.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:148:in `run'\", \"/Users/sam/work/lab_tech/lib/lab_tech.rb:37:in `science'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/result_spec.rb:153:in `block (4 levels) in <top (required)>'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:450:in `instance_exec'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:450:in `instance_exec'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:348:in `run'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:507:in `block in run_owned_hooks_for'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:506:in `each'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:506:in `run_owned_hooks_for'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:593:in `block in run_example_hooks_for'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:592:in `reverse_each'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:592:in `run_example_hooks_for'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:462:in `run'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:497:in `run_before_example'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:256:in `block in run'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:503:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:460:in `block in with_around_example_hooks'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:345:in `call'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/result_spec.rb:9:in `block (3 levels) in <top (required)>'\", \"/Users/sam/work/lab_tech/lib/lab_tech.rb:68:in `publish_results_in_test_mode'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/result_spec.rb:8:in `block (2 levels) in <top (required)>'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:450:in `instance_exec'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:450:in `instance_exec'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:373:in `execute_with'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:345:in `call'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-rails-3.8.2/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:450:in `instance_exec'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:450:in `instance_exec'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:373:in `execute_with'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:345:in `call'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:460:in `with_around_example_hooks'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:503:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:254:in `run'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:633:in `block in run_examples'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:629:in `map'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:629:in `run_examples'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:595:in `run'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:596:in `block in run'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:596:in `map'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:596:in `run'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:596:in `block in run'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:596:in `map'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:596:in `run'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:116:in `block (3 levels) in run_specs'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:116:in `map'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:116:in `block (2 levels) in run_specs'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/configuration.rb:2008:in `with_suite_hooks'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:111:in `block in run_specs'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:110:in `run_specs'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/exe/rspec:4:in `<top (required)>'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/bin/rspec:23:in `load'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/bin/rspec:23:in `<top (required)>'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.0.2/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.0.2/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.0.2/lib/bundler/cli/exec.rb:28:in `run'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.0.2/lib/bundler/cli.rb:465:in `exec'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.0.2/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.0.2/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.0.2/lib/bundler/vendor/thor/lib/thor.rb:387:in `dispatch'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.0.2/lib/bundler/cli.rb:27:in `dispatch'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.0.2/lib/bundler/vendor/thor/lib/thor/base.rb:466:in `start'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.0.2/lib/bundler/cli.rb:18:in `start'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.0.2/exe/bundle:30:in `block in <top (required)>'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.0.2/lib/bundler/friendly_errors.rb:124:in `with_friendly_errors'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.0.2/exe/bundle:22:in `<top (required)>'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/bin/bundle:23:in `load'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/bin/bundle:23:in `<main>'\"]"], ["created_at", "2019-08-22 20:52:05.583302"]]
|
349
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name != 'control')[0m [["result_id", 1]]
|
350
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_experiments" SET "timed_out_count" = COALESCE("timed_out_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ?[0m [["id", 1]]
|
351
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
352
|
+
[1m[36mLabTech::Result Load (0.0ms)[0m [1m[34mSELECT "lab_tech_results".* FROM "lab_tech_results" ORDER BY "lab_tech_results"."id" DESC LIMIT ?[0m [["LIMIT", 1]]
|
353
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name = 'control') LIMIT ?[0m [["result_id", 1], ["LIMIT", 1]]
|
354
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name != 'control') ORDER BY "lab_tech_observations"."id" ASC LIMIT ?[0m [["result_id", 1], ["LIMIT", 1]]
|
355
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name != 'control')[0m [["result_id", 1]]
|
356
|
+
[1m[36mLabTech::Result Load (0.2ms)[0m [1m[34mSELECT "lab_tech_results".* FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND (name != 'control') WHERE "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND (lab_tech_observations.exception_class = "Timeout::Error")[0m [["equivalent", "f"], ["raised_error", "t"]]
|
357
|
+
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
358
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
359
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
360
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
361
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
362
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
363
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
364
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
365
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
366
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
367
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
368
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
369
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
370
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
371
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
372
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
373
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
374
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
375
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
376
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
377
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
378
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
379
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
380
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
381
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
382
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
383
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
384
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
385
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
386
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?)[0m [["name", "wibble"], ["percent_enabled", 100]]
|
387
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
388
|
+
[1m[36mLabTech::Result Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? LIMIT ?[0m [["experiment_id", 1], ["LIMIT", 1]]
|
389
|
+
[1m[36mLabTech::Experiment Load (0.0ms)[0m [1m[34mSELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
390
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ?[0m [["experiment_id", 1]]
|
391
|
+
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
392
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
393
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
394
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?)[0m [["name", "wibble"], ["percent_enabled", 100]]
|
395
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
396
|
+
[1m[36mLabTech::Experiment Load (0.0ms)[0m [1m[34mSELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ?[0m [["name", "wibble"], ["LIMIT", 1]]
|
397
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
398
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "lab_tech_results" ("experiment_id", "context", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["experiment_id", 1], ["context", "--- {}\n"], ["time_delta", 1.00000761449337e-06], ["speedup_factor", 2.0], ["created_at", "2019-08-22 20:52:05.605095"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.00000761449337e-06]]
|
399
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2019-08-22 20:52:05.606273"]]
|
400
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- bar\n"], ["created_at", "2019-08-22 20:52:05.607158"]]
|
401
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name != 'control')[0m [["result_id", 1]]
|
402
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ?[0m [["id", 1]]
|
403
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
404
|
+
[1m[36mLabTech::Experiment Load (0.0ms)[0m [1m[34mSELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
405
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ?[0m [["experiment_id", 1]]
|
406
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
407
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ?[0m [["experiment_id", 1]]
|
408
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ?[0m [["experiment_id", 1]]
|
409
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ?[0m [["experiment_id", 1]]
|
410
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ?[0m [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]
|
411
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ?[0m [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]
|
412
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND (name != 'control') WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND (lab_tech_observations.exception_class = "Timeout::Error")[0m [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"]]
|
413
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND (name != 'control') WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND (lab_tech_observations.exception_class != "Timeout::Error")[0m [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"]]
|
414
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "lab_tech_results"."time_delta", "lab_tech_results"."speedup_factor" FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ?[0m [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]
|
415
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
416
|
+
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
417
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
418
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
419
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?)[0m [["name", "wibble"], ["percent_enabled", 100]]
|
420
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
421
|
+
[1m[36mLabTech::Experiment Load (0.1ms)[0m [1m[34mSELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ?[0m [["name", "wibble"], ["LIMIT", 1]]
|
422
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
423
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -8.99998121894896e-06], ["speedup_factor", -5.499956344586729], ["created_at", "2019-08-22 20:52:05.635652"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.09999964479357e-05]]
|
424
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2019-08-22 20:52:05.636990"]]
|
425
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["result_id", 1], ["name", "candidate"], ["duration", 1.09999964479357e-05], ["exception_class", "RuntimeError"], ["exception_message", "nope"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/summary_spec.rb:98:in `block (4 levels) in <top (required)>'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/summary_spec.rb:12:in `block (3 levels) in record_experiment'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/scientist-1.3.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/scientist-1.3.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/scientist-1.3.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/scientist-1.3.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/scientist-1.3.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:148:in `run'\", \"/Users/sam/work/lab_tech/lib/lab_tech.rb:37:in `science'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/summary_spec.rb:10:in `block in record_experiment'\", \"/Users/sam/work/lab_tech/lib/lab_tech.rb:68:in `publish_results_in_test_mode'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/summary_spec.rb:8:in `record_experiment'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/summary_spec.rb:98:in `block (3 levels) in <top (required)>'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:450:in `instance_exec'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:450:in `instance_exec'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:348:in `run'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:507:in `block in run_owned_hooks_for'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:506:in `each'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:506:in `run_owned_hooks_for'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:593:in `block in run_example_hooks_for'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:592:in `reverse_each'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:592:in `run_example_hooks_for'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:462:in `run'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:497:in `run_before_example'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:256:in `block in run'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:503:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:460:in `block in with_around_example_hooks'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:345:in `call'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-rails-3.8.2/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:450:in `instance_exec'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:450:in `instance_exec'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:373:in `execute_with'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:345:in `call'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:460:in `with_around_example_hooks'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:503:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:254:in `run'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:633:in `block in run_examples'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:629:in `map'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:629:in `run_examples'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:595:in `run'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:596:in `block in run'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:596:in `map'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:596:in `run'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:116:in `block (3 levels) in run_specs'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:116:in `map'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:116:in `block (2 levels) in run_specs'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/configuration.rb:2008:in `with_suite_hooks'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:111:in `block in run_specs'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:110:in `run_specs'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/exe/rspec:4:in `<top (required)>'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/bin/rspec:23:in `load'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/bin/rspec:23:in `<top (required)>'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.0.2/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.0.2/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.0.2/lib/bundler/cli/exec.rb:28:in `run'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.0.2/lib/bundler/cli.rb:465:in `exec'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.0.2/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.0.2/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.0.2/lib/bundler/vendor/thor/lib/thor.rb:387:in `dispatch'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.0.2/lib/bundler/cli.rb:27:in `dispatch'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.0.2/lib/bundler/vendor/thor/lib/thor/base.rb:466:in `start'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.0.2/lib/bundler/cli.rb:18:in `start'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.0.2/exe/bundle:30:in `block in <top (required)>'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.0.2/lib/bundler/friendly_errors.rb:124:in `with_friendly_errors'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.0.2/exe/bundle:22:in `<top (required)>'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/bin/bundle:23:in `load'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/bin/bundle:23:in `<main>'\"]"], ["created_at", "2019-08-22 20:52:05.637907"]]
|
426
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name != 'control')[0m [["result_id", 1]]
|
427
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_experiments" SET "other_error_count" = COALESCE("other_error_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ?[0m [["id", 1]]
|
428
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
429
|
+
[1m[36mLabTech::Experiment Load (0.0ms)[0m [1m[34mSELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
430
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ?[0m [["experiment_id", 1]]
|
431
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
432
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ?[0m [["experiment_id", 1]]
|
433
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ?[0m [["experiment_id", 1]]
|
434
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ?[0m [["experiment_id", 1]]
|
435
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ?[0m [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]
|
436
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ?[0m [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]
|
437
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND (name != 'control') WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND (lab_tech_observations.exception_class = "Timeout::Error")[0m [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"]]
|
438
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND (name != 'control') WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND (lab_tech_observations.exception_class != "Timeout::Error")[0m [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"]]
|
439
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT "lab_tech_results"."time_delta", "lab_tech_results"."speedup_factor" FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ?[0m [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]
|
440
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
441
|
+
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
442
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
443
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
444
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?)[0m [["name", "wibble"], ["percent_enabled", 100]]
|
445
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
446
|
+
[1m[36mLabTech::Experiment Load (0.0ms)[0m [1m[34mSELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ?[0m [["name", "wibble"], ["LIMIT", 1]]
|
447
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
448
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "lab_tech_results" ("experiment_id", "context", "raised_error", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["experiment_id", 1], ["context", "--- {}\n"], ["raised_error", "t"], ["time_delta", -9.000010322779417e-06], ["speedup_factor", -5.500036380040455], ["created_at", "2019-08-22 20:52:05.649232"], ["control_duration", 1.9999861251562834e-06], ["candidate_duration", 1.09999964479357e-05]]
|
449
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 1], ["name", "control"], ["duration", 1.9999861251562834e-06], ["value", "--- foo\n"], ["created_at", "2019-08-22 20:52:05.650260"]]
|
450
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "exception_class", "exception_message", "exception_backtrace", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["result_id", 1], ["name", "candidate"], ["duration", 1.09999964479357e-05], ["exception_class", "Timeout::Error"], ["exception_message", "too slow"], ["exception_backtrace", "[\"/Users/sam/work/lab_tech/spec/models/lab_tech/summary_spec.rb:113:in `block (4 levels) in <top (required)>'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/summary_spec.rb:12:in `block (3 levels) in record_experiment'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/scientist-1.3.0/lib/scientist/observation.rb:33:in `initialize'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/scientist-1.3.0/lib/scientist/experiment.rb:224:in `new'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/scientist-1.3.0/lib/scientist/experiment.rb:224:in `block in run'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/scientist-1.3.0/lib/scientist/experiment.rb:221:in `each'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/scientist-1.3.0/lib/scientist/experiment.rb:221:in `run'\", \"/Users/sam/work/lab_tech/app/models/lab_tech/experiment.rb:148:in `run'\", \"/Users/sam/work/lab_tech/lib/lab_tech.rb:37:in `science'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/summary_spec.rb:10:in `block in record_experiment'\", \"/Users/sam/work/lab_tech/lib/lab_tech.rb:68:in `publish_results_in_test_mode'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/summary_spec.rb:8:in `record_experiment'\", \"/Users/sam/work/lab_tech/spec/models/lab_tech/summary_spec.rb:113:in `block (3 levels) in <top (required)>'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:450:in `instance_exec'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:450:in `instance_exec'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:348:in `run'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:507:in `block in run_owned_hooks_for'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:506:in `each'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:506:in `run_owned_hooks_for'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:593:in `block in run_example_hooks_for'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:592:in `reverse_each'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:592:in `run_example_hooks_for'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:462:in `run'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:497:in `run_before_example'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:256:in `block in run'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:503:in `block in with_around_and_singleton_context_hooks'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:460:in `block in with_around_example_hooks'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:345:in `call'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-rails-3.8.2/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:450:in `instance_exec'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:450:in `instance_exec'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:373:in `execute_with'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:345:in `call'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:460:in `with_around_example_hooks'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:503:in `with_around_and_singleton_context_hooks'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example.rb:254:in `run'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:633:in `block in run_examples'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:629:in `map'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:629:in `run_examples'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:595:in `run'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:596:in `block in run'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:596:in `map'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/example_group.rb:596:in `run'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:116:in `block (3 levels) in run_specs'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:116:in `map'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:116:in `block (2 levels) in run_specs'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/configuration.rb:2008:in `with_suite_hooks'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:111:in `block in run_specs'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/reporter.rb:74:in `report'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:110:in `run_specs'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/exe/rspec:4:in `<top (required)>'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/bin/rspec:23:in `load'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/bin/rspec:23:in `<top (required)>'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.0.2/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.0.2/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.0.2/lib/bundler/cli/exec.rb:28:in `run'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.0.2/lib/bundler/cli.rb:465:in `exec'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.0.2/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.0.2/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.0.2/lib/bundler/vendor/thor/lib/thor.rb:387:in `dispatch'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.0.2/lib/bundler/cli.rb:27:in `dispatch'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.0.2/lib/bundler/vendor/thor/lib/thor/base.rb:466:in `start'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.0.2/lib/bundler/cli.rb:18:in `start'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.0.2/exe/bundle:30:in `block in <top (required)>'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.0.2/lib/bundler/friendly_errors.rb:124:in `with_friendly_errors'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/bundler-2.0.2/exe/bundle:22:in `<top (required)>'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/bin/bundle:23:in `load'\", \"/Users/sam/.asdf/installs/ruby/2.6.3/bin/bundle:23:in `<main>'\"]"], ["created_at", "2019-08-22 20:52:05.651207"]]
|
451
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name != 'control')[0m [["result_id", 1]]
|
452
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_experiments" SET "timed_out_count" = COALESCE("timed_out_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ?[0m [["id", 1]]
|
453
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
454
|
+
[1m[36mLabTech::Experiment Load (0.0ms)[0m [1m[34mSELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
455
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ?[0m [["experiment_id", 1]]
|
456
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
457
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ?[0m [["experiment_id", 1]]
|
458
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ?[0m [["experiment_id", 1]]
|
459
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ?[0m [["experiment_id", 1]]
|
460
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ?[0m [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]
|
461
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ?[0m [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]
|
462
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND (name != 'control') WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND (lab_tech_observations.exception_class = "Timeout::Error")[0m [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"]]
|
463
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND (name != 'control') WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND (lab_tech_observations.exception_class != "Timeout::Error")[0m [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"]]
|
464
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT "lab_tech_results"."time_delta", "lab_tech_results"."speedup_factor" FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ?[0m [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]
|
465
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
466
|
+
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
467
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
468
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
469
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?)[0m [["name", "wibble"], ["percent_enabled", 100]]
|
470
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
471
|
+
[1m[36mLabTech::Experiment Load (0.0ms)[0m [1m[34mSELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ?[0m [["name", "wibble"], ["LIMIT", 1]]
|
472
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
473
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.00000761449337e-06], ["speedup_factor", -2.000029104455892], ["created_at", "2019-08-22 20:52:05.662945"], ["control_duration", 9.999785106629133e-07], ["candidate_duration", 1.9999861251562834e-06]]
|
474
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 1], ["name", "control"], ["duration", 9.999785106629133e-07], ["value", "--- foo\n"], ["created_at", "2019-08-22 20:52:05.664346"]]
|
475
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 1], ["name", "candidate"], ["duration", 1.9999861251562834e-06], ["value", "--- foo\n"], ["created_at", "2019-08-22 20:52:05.665391"]]
|
476
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ?[0m [["id", 1]]
|
477
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
478
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_results" SET "time_delta" = NULL, "speedup_factor" = NULL WHERE "lab_tech_results"."experiment_id" = ?[0m [["experiment_id", 1]]
|
479
|
+
[1m[36mLabTech::Experiment Load (0.1ms)[0m [1m[34mSELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
480
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ?[0m [["experiment_id", 1]]
|
481
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
482
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ?[0m [["experiment_id", 1]]
|
483
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ?[0m [["experiment_id", 1]]
|
484
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ?[0m [["experiment_id", 1]]
|
485
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ?[0m [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]
|
486
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ?[0m [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]
|
487
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND (name != 'control') WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND (lab_tech_observations.exception_class = "Timeout::Error")[0m [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"]]
|
488
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND (name != 'control') WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND (lab_tech_observations.exception_class != "Timeout::Error")[0m [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"]]
|
489
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "lab_tech_results"."time_delta", "lab_tech_results"."speedup_factor" FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ?[0m [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]
|
490
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
491
|
+
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
492
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
493
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
494
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?)[0m [["name", "wibble"], ["percent_enabled", 100]]
|
495
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
496
|
+
[1m[36mLabTech::Experiment Load (0.1ms)[0m [1m[34mSELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ?[0m [["name", "wibble"], ["LIMIT", 1]]
|
497
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
498
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.9999861251562834e-06], ["created_at", "2019-08-22 20:52:05.681575"], ["control_duration", 0.0], ["candidate_duration", 1.9999861251562834e-06]]
|
499
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 1], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2019-08-22 20:52:05.683316"]]
|
500
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 1], ["name", "candidate"], ["duration", 1.9999861251562834e-06], ["value", "--- foo\n"], ["created_at", "2019-08-22 20:52:05.684602"]]
|
501
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ?[0m [["id", 1]]
|
502
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
503
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_results" SET "time_delta" = NULL, "speedup_factor" = NULL WHERE "lab_tech_results"."experiment_id" = ?[0m [["experiment_id", 1]]
|
504
|
+
[1m[36mLabTech::Experiment Load (0.0ms)[0m [1m[34mSELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
505
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ?[0m [["experiment_id", 1]]
|
506
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
507
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ?[0m [["experiment_id", 1]]
|
508
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ?[0m [["experiment_id", 1]]
|
509
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ?[0m [["experiment_id", 1]]
|
510
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ?[0m [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]
|
511
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ?[0m [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]
|
512
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND (name != 'control') WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND (lab_tech_observations.exception_class = "Timeout::Error")[0m [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"]]
|
513
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND (name != 'control') WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND (lab_tech_observations.exception_class != "Timeout::Error")[0m [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"]]
|
514
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "lab_tech_results"."time_delta", "lab_tech_results"."speedup_factor" FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ?[0m [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]
|
515
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
516
|
+
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
517
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
518
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
519
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?)[0m [["name", "wibble"], ["percent_enabled", 100]]
|
520
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
521
|
+
[1m[36mLabTech::Experiment Load (0.0ms)[0m [1m[34mSELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ?[0m [["name", "wibble"], ["LIMIT", 1]]
|
522
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
523
|
+
[1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.00000761449337e-06], ["speedup_factor", -2.0], ["created_at", "2019-08-22 20:52:05.698450"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 2.00001522898674e-06]]
|
524
|
+
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2019-08-22 20:52:05.700641"]]
|
525
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 1], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2019-08-22 20:52:05.703087"]]
|
526
|
+
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ?[0m [["id", 1]]
|
527
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
528
|
+
[1m[36mLabTech::Result Load (0.2ms)[0m [1m[34mSELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ?[0m [["experiment_id", 1], ["LIMIT", 1]]
|
529
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
530
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ?[0m [["control_duration", 1.0], ["candidate_duration", 1.0], ["speedup_factor", 0.0], ["time_delta", 0.0], ["id", 1]]
|
531
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
532
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name = 'control') LIMIT ?[0m [["result_id", 1], ["LIMIT", 1]]
|
533
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
534
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ?[0m [["duration", 1.0], ["id", 1]]
|
535
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
536
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name != 'control') ORDER BY "lab_tech_observations"."id" ASC LIMIT ?[0m [["result_id", 1], ["LIMIT", 1]]
|
537
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
538
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ?[0m [["duration", 1.0], ["id", 2]]
|
539
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
540
|
+
[1m[36mLabTech::Result Load (0.1ms)[0m [1m[34mSELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ?[0m [["experiment_id", 1], ["LIMIT", 1]]
|
541
|
+
[1m[36mLabTech::Observation Load (0.2ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name = 'control') LIMIT ?[0m [["result_id", 1], ["LIMIT", 1]]
|
542
|
+
[1m[36mLabTech::Observation Load (0.2ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name != 'control') ORDER BY "lab_tech_observations"."id" ASC LIMIT ?[0m [["result_id", 1], ["LIMIT", 1]]
|
543
|
+
[1m[36mLabTech::Experiment Load (0.1ms)[0m [1m[34mSELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
544
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ?[0m [["experiment_id", 1]]
|
545
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
546
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ?[0m [["experiment_id", 1]]
|
547
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ?[0m [["experiment_id", 1]]
|
548
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ?[0m [["experiment_id", 1]]
|
549
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ?[0m [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]
|
550
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ?[0m [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]
|
551
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND (name != 'control') WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND (lab_tech_observations.exception_class = "Timeout::Error")[0m [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"]]
|
552
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND (name != 'control') WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND (lab_tech_observations.exception_class != "Timeout::Error")[0m [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"]]
|
553
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "lab_tech_results"."time_delta", "lab_tech_results"."speedup_factor" FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ?[0m [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]
|
554
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
555
|
+
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
556
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
557
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
558
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?)[0m [["name", "wibble"], ["percent_enabled", 100]]
|
559
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
560
|
+
[1m[36mLabTech::Experiment Load (0.0ms)[0m [1m[34mSELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ?[0m [["name", "wibble"], ["LIMIT", 1]]
|
561
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
562
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.9999861251562834e-06], ["created_at", "2019-08-22 20:52:05.726396"], ["control_duration", 1.9999861251562834e-06], ["candidate_duration", 0.0]]
|
563
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 1], ["name", "control"], ["duration", 1.9999861251562834e-06], ["value", "--- foo\n"], ["created_at", "2019-08-22 20:52:05.727440"]]
|
564
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2019-08-22 20:52:05.728359"]]
|
565
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ?[0m [["id", 1]]
|
566
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
567
|
+
[1m[36mLabTech::Result Load (0.1ms)[0m [1m[34mSELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ?[0m [["experiment_id", 1], ["LIMIT", 1]]
|
568
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
569
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ?[0m [["control_duration", 1.0], ["candidate_duration", 1.0], ["speedup_factor", 0.0], ["time_delta", 0.0], ["id", 1]]
|
570
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
571
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name = 'control') LIMIT ?[0m [["result_id", 1], ["LIMIT", 1]]
|
572
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
573
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ?[0m [["duration", 1.0], ["id", 1]]
|
574
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
575
|
+
[1m[36mLabTech::Observation Load (0.2ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name != 'control') ORDER BY "lab_tech_observations"."id" ASC LIMIT ?[0m [["result_id", 1], ["LIMIT", 1]]
|
576
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
577
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ?[0m [["duration", 1.0], ["id", 2]]
|
578
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
579
|
+
[1m[36mLabTech::Result Load (0.1ms)[0m [1m[34mSELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ?[0m [["experiment_id", 1], ["LIMIT", 1]]
|
580
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name = 'control') LIMIT ?[0m [["result_id", 1], ["LIMIT", 1]]
|
581
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name != 'control') ORDER BY "lab_tech_observations"."id" ASC LIMIT ?[0m [["result_id", 1], ["LIMIT", 1]]
|
582
|
+
[1m[36mLabTech::Experiment Load (0.0ms)[0m [1m[34mSELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
583
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ?[0m [["experiment_id", 1]]
|
584
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
585
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ?[0m [["experiment_id", 1]]
|
586
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ?[0m [["experiment_id", 1]]
|
587
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ?[0m [["experiment_id", 1]]
|
588
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ?[0m [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]
|
589
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ?[0m [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]
|
590
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND (name != 'control') WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND (lab_tech_observations.exception_class = "Timeout::Error")[0m [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"]]
|
591
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND (name != 'control') WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND (lab_tech_observations.exception_class != "Timeout::Error")[0m [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"]]
|
592
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "lab_tech_results"."time_delta", "lab_tech_results"."speedup_factor" FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ?[0m [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]
|
593
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
594
|
+
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
595
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
596
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
597
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?)[0m [["name", "wibble"], ["percent_enabled", 100]]
|
598
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
599
|
+
[1m[36mLabTech::Experiment Load (0.0ms)[0m [1m[34mSELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ?[0m [["name", "wibble"], ["LIMIT", 1]]
|
600
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
601
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 9.999785106629133e-07], ["speedup_factor", 1.9999708963911524], ["created_at", "2019-08-22 20:52:05.747961"], ["control_duration", 1.9999861251562834e-06], ["candidate_duration", 1.00000761449337e-06]]
|
602
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 1], ["name", "control"], ["duration", 1.9999861251562834e-06], ["value", "--- foo\n"], ["created_at", "2019-08-22 20:52:05.749044"]]
|
603
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2019-08-22 20:52:05.750002"]]
|
604
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ?[0m [["id", 1]]
|
605
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
606
|
+
[1m[36mLabTech::Result Load (0.1ms)[0m [1m[34mSELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ?[0m [["experiment_id", 1], ["LIMIT", 1]]
|
607
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
608
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ?[0m [["control_duration", 1.0], ["candidate_duration", 0.1], ["speedup_factor", 10.0], ["time_delta", 0.9], ["id", 1]]
|
609
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
610
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name = 'control') LIMIT ?[0m [["result_id", 1], ["LIMIT", 1]]
|
611
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
612
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ?[0m [["duration", 1.0], ["id", 1]]
|
613
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
614
|
+
[1m[36mLabTech::Observation Load (0.2ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name != 'control') ORDER BY "lab_tech_observations"."id" ASC LIMIT ?[0m [["result_id", 1], ["LIMIT", 1]]
|
615
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
616
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ?[0m [["duration", 0.1], ["id", 2]]
|
617
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
618
|
+
[1m[36mLabTech::Result Load (0.1ms)[0m [1m[34mSELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ?[0m [["experiment_id", 1], ["LIMIT", 1]]
|
619
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name = 'control') LIMIT ?[0m [["result_id", 1], ["LIMIT", 1]]
|
620
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name != 'control') ORDER BY "lab_tech_observations"."id" ASC LIMIT ?[0m [["result_id", 1], ["LIMIT", 1]]
|
621
|
+
[1m[36mLabTech::Experiment Load (0.0ms)[0m [1m[34mSELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
622
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ?[0m [["experiment_id", 1]]
|
623
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
624
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ?[0m [["experiment_id", 1]]
|
625
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ?[0m [["experiment_id", 1]]
|
626
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ?[0m [["experiment_id", 1]]
|
627
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ?[0m [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]
|
628
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ?[0m [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]
|
629
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND (name != 'control') WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND (lab_tech_observations.exception_class = "Timeout::Error")[0m [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"]]
|
630
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND (name != 'control') WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND (lab_tech_observations.exception_class != "Timeout::Error")[0m [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"]]
|
631
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT "lab_tech_results"."time_delta", "lab_tech_results"."speedup_factor" FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ?[0m [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]
|
632
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
633
|
+
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
634
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
635
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
636
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?)[0m [["name", "wibble"], ["percent_enabled", 100]]
|
637
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
638
|
+
[1m[36mLabTech::Experiment Load (0.0ms)[0m [1m[34mSELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ?[0m [["name", "wibble"], ["LIMIT", 1]]
|
639
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
640
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 9.999785106629133e-07], ["speedup_factor", 1.9999708963911524], ["created_at", "2019-08-22 20:52:05.770063"], ["control_duration", 1.9999861251562834e-06], ["candidate_duration", 1.00000761449337e-06]]
|
641
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 1], ["name", "control"], ["duration", 1.9999861251562834e-06], ["value", "--- foo\n"], ["created_at", "2019-08-22 20:52:05.771139"]]
|
642
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2019-08-22 20:52:05.772035"]]
|
643
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ?[0m [["id", 1]]
|
644
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
645
|
+
[1m[36mLabTech::Result Load (0.1ms)[0m [1m[34mSELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ?[0m [["experiment_id", 1], ["LIMIT", 1]]
|
646
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
647
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ?[0m [["control_duration", 1.0], ["candidate_duration", 10.0], ["speedup_factor", -10.0], ["time_delta", -9.0], ["id", 1]]
|
648
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
649
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name = 'control') LIMIT ?[0m [["result_id", 1], ["LIMIT", 1]]
|
650
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
651
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ?[0m [["duration", 1.0], ["id", 1]]
|
652
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
653
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name != 'control') ORDER BY "lab_tech_observations"."id" ASC LIMIT ?[0m [["result_id", 1], ["LIMIT", 1]]
|
654
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
655
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ?[0m [["duration", 10.0], ["id", 2]]
|
656
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
657
|
+
[1m[36mLabTech::Result Load (0.1ms)[0m [1m[34mSELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" ASC LIMIT ?[0m [["experiment_id", 1], ["LIMIT", 1]]
|
658
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name = 'control') LIMIT ?[0m [["result_id", 1], ["LIMIT", 1]]
|
659
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name != 'control') ORDER BY "lab_tech_observations"."id" ASC LIMIT ?[0m [["result_id", 1], ["LIMIT", 1]]
|
660
|
+
[1m[36mLabTech::Experiment Load (0.0ms)[0m [1m[34mSELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
661
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ?[0m [["experiment_id", 1]]
|
662
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
663
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ?[0m [["experiment_id", 1]]
|
664
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ?[0m [["experiment_id", 1]]
|
665
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ?[0m [["experiment_id", 1]]
|
666
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ?[0m [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]
|
667
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ?[0m [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]
|
668
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND (name != 'control') WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND (lab_tech_observations.exception_class = "Timeout::Error")[0m [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"]]
|
669
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND (name != 'control') WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND (lab_tech_observations.exception_class != "Timeout::Error")[0m [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"]]
|
670
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "lab_tech_results"."time_delta", "lab_tech_results"."speedup_factor" FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ?[0m [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]
|
671
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
672
|
+
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
673
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
674
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
675
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?)[0m [["name", "wibble"], ["percent_enabled", 100]]
|
676
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
677
|
+
[1m[36mLabTech::Experiment Load (0.0ms)[0m [1m[34mSELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ?[0m [["name", "wibble"], ["LIMIT", 1]]
|
678
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
679
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.9999861251562834e-06], ["speedup_factor", 2.9999708963911527], ["created_at", "2019-08-22 20:52:05.790543"], ["control_duration", 2.9999937396496534e-06], ["candidate_duration", 1.00000761449337e-06]]
|
680
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 1], ["name", "control"], ["duration", 2.9999937396496534e-06], ["value", "--- foo\n"], ["created_at", "2019-08-22 20:52:05.791597"]]
|
681
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2019-08-22 20:52:05.792651"]]
|
682
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ?[0m [["id", 1]]
|
683
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
684
|
+
[1m[36mLabTech::Result Load (0.1ms)[0m [1m[34mSELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ?[0m [["experiment_id", 1], ["LIMIT", 1]]
|
685
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
686
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ?[0m [["control_duration", 1.0], ["candidate_duration", 10.0], ["speedup_factor", -10.0], ["time_delta", -9.0], ["id", 1]]
|
687
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
688
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name = 'control') LIMIT ?[0m [["result_id", 1], ["LIMIT", 1]]
|
689
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
690
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ?[0m [["duration", 1.0], ["id", 1]]
|
691
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
692
|
+
[1m[36mLabTech::Observation Load (0.2ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name != 'control') ORDER BY "lab_tech_observations"."id" ASC LIMIT ?[0m [["result_id", 1], ["LIMIT", 1]]
|
693
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
694
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ?[0m [["duration", 10.0], ["id", 2]]
|
695
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
696
|
+
[1m[36mLabTech::Experiment Load (0.1ms)[0m [1m[34mSELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ?[0m [["name", "wibble"], ["LIMIT", 1]]
|
697
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
698
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.00000761449337e-06], ["speedup_factor", -2.0], ["created_at", "2019-08-22 20:52:05.803960"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 2.00001522898674e-06]]
|
699
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 2], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2019-08-22 20:52:05.805423"]]
|
700
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 2], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2019-08-22 20:52:05.806386"]]
|
701
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ?[0m [["id", 1]]
|
702
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
703
|
+
[1m[36mLabTech::Result Load (0.1ms)[0m [1m[34mSELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ?[0m [["experiment_id", 1], ["LIMIT", 1]]
|
704
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
705
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ?[0m [["control_duration", 1.0], ["candidate_duration", 2.0], ["time_delta", -1.0], ["id", 2]]
|
706
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
707
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name = 'control') LIMIT ?[0m [["result_id", 2], ["LIMIT", 1]]
|
708
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
709
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ?[0m [["duration", 1.0], ["id", 3]]
|
710
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
711
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name != 'control') ORDER BY "lab_tech_observations"."id" ASC LIMIT ?[0m [["result_id", 2], ["LIMIT", 1]]
|
712
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
713
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ?[0m [["duration", 2.0], ["id", 4]]
|
714
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
715
|
+
[1m[36mLabTech::Experiment Load (0.0ms)[0m [1m[34mSELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ?[0m [["name", "wibble"], ["LIMIT", 1]]
|
716
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
717
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.00000761449337e-06], ["speedup_factor", -2.0], ["created_at", "2019-08-22 20:52:05.824847"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 2.00001522898674e-06]]
|
718
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 3], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2019-08-22 20:52:05.826024"]]
|
719
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 3], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2019-08-22 20:52:05.826860"]]
|
720
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ?[0m [["id", 1]]
|
721
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
722
|
+
[1m[36mLabTech::Result Load (0.1ms)[0m [1m[34mSELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ?[0m [["experiment_id", 1], ["LIMIT", 1]]
|
723
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
724
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ?[0m [["control_duration", 1.0], ["candidate_duration", 1.0], ["speedup_factor", 0.0], ["time_delta", 0.0], ["id", 3]]
|
725
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
726
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name = 'control') LIMIT ?[0m [["result_id", 3], ["LIMIT", 1]]
|
727
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
728
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ?[0m [["duration", 1.0], ["id", 5]]
|
729
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
730
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name != 'control') ORDER BY "lab_tech_observations"."id" ASC LIMIT ?[0m [["result_id", 3], ["LIMIT", 1]]
|
731
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
732
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ?[0m [["duration", 1.0], ["id", 6]]
|
733
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
734
|
+
[1m[36mLabTech::Experiment Load (0.0ms)[0m [1m[34mSELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ?[0m [["name", "wibble"], ["LIMIT", 1]]
|
735
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
736
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.00000761449337e-06], ["speedup_factor", -2.0], ["created_at", "2019-08-22 20:52:05.835618"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 2.00001522898674e-06]]
|
737
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 4], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2019-08-22 20:52:05.836763"]]
|
738
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 4], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2019-08-22 20:52:05.837677"]]
|
739
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ?[0m [["id", 1]]
|
740
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
741
|
+
[1m[36mLabTech::Result Load (0.1ms)[0m [1m[34mSELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ?[0m [["experiment_id", 1], ["LIMIT", 1]]
|
742
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
743
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ?[0m [["control_duration", 1.0], ["candidate_duration", 0.5], ["speedup_factor", 2.0], ["time_delta", 0.5], ["id", 4]]
|
744
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
745
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name = 'control') LIMIT ?[0m [["result_id", 4], ["LIMIT", 1]]
|
746
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
747
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ?[0m [["duration", 1.0], ["id", 7]]
|
748
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
749
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name != 'control') ORDER BY "lab_tech_observations"."id" ASC LIMIT ?[0m [["result_id", 4], ["LIMIT", 1]]
|
750
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
751
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ?[0m [["duration", 0.5], ["id", 8]]
|
752
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
753
|
+
[1m[36mLabTech::Experiment Load (0.0ms)[0m [1m[34mSELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ?[0m [["name", "wibble"], ["LIMIT", 1]]
|
754
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
755
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.9999861251562834e-06], ["speedup_factor", 2.9999708963911527], ["created_at", "2019-08-22 20:52:05.846025"], ["control_duration", 2.9999937396496534e-06], ["candidate_duration", 1.00000761449337e-06]]
|
756
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 5], ["name", "control"], ["duration", 2.9999937396496534e-06], ["value", "--- foo\n"], ["created_at", "2019-08-22 20:52:05.846984"]]
|
757
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 5], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2019-08-22 20:52:05.847799"]]
|
758
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ?[0m [["id", 1]]
|
759
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
760
|
+
[1m[36mLabTech::Result Load (0.1ms)[0m [1m[34mSELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ?[0m [["experiment_id", 1], ["LIMIT", 1]]
|
761
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
762
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ?[0m [["control_duration", 1.0], ["candidate_duration", 0.1], ["speedup_factor", 10.0], ["time_delta", 0.9], ["id", 5]]
|
763
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
764
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name = 'control') LIMIT ?[0m [["result_id", 5], ["LIMIT", 1]]
|
765
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
766
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ?[0m [["duration", 1.0], ["id", 9]]
|
767
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
768
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name != 'control') ORDER BY "lab_tech_observations"."id" ASC LIMIT ?[0m [["result_id", 5], ["LIMIT", 1]]
|
769
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
770
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ?[0m [["duration", 0.1], ["id", 10]]
|
771
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
772
|
+
[1m[36mLabTech::Experiment Load (0.0ms)[0m [1m[34mSELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
773
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ?[0m [["experiment_id", 1]]
|
774
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
775
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ?[0m [["experiment_id", 1]]
|
776
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ?[0m [["experiment_id", 1]]
|
777
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ?[0m [["experiment_id", 1]]
|
778
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ?[0m [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]
|
779
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ?[0m [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]
|
780
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND (name != 'control') WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND (lab_tech_observations.exception_class = "Timeout::Error")[0m [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"]]
|
781
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND (name != 'control') WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND (lab_tech_observations.exception_class != "Timeout::Error")[0m [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"]]
|
782
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "lab_tech_results"."time_delta", "lab_tech_results"."speedup_factor" FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ?[0m [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]
|
783
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
784
|
+
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
785
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
786
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
787
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?)[0m [["name", "wibble"], ["percent_enabled", 100]]
|
788
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
789
|
+
[1m[36mLabTech::Experiment Load (0.0ms)[0m [1m[34mSELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ?[0m [["name", "wibble"], ["LIMIT", 1]]
|
790
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
791
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.00001522898674e-06], ["created_at", "2019-08-22 20:52:05.863984"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 0.0]]
|
792
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 1], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2019-08-22 20:52:05.865046"]]
|
793
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2019-08-22 20:52:05.865902"]]
|
794
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ?[0m [["id", 1]]
|
795
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
796
|
+
[1m[36mLabTech::Result Load (0.1ms)[0m [1m[34mSELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ?[0m [["experiment_id", 1], ["LIMIT", 1]]
|
797
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
798
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ?[0m [["control_duration", 1.0], ["candidate_duration", 10.0], ["speedup_factor", -10.0], ["time_delta", -9.0], ["id", 1]]
|
799
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
800
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name = 'control') LIMIT ?[0m [["result_id", 1], ["LIMIT", 1]]
|
801
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
802
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ?[0m [["duration", 1.0], ["id", 1]]
|
803
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
804
|
+
[1m[36mLabTech::Observation Load (0.2ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name != 'control') ORDER BY "lab_tech_observations"."id" ASC LIMIT ?[0m [["result_id", 1], ["LIMIT", 1]]
|
805
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
806
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ?[0m [["duration", 10.0], ["id", 2]]
|
807
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
808
|
+
[1m[36mLabTech::Experiment Load (0.0ms)[0m [1m[34mSELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ?[0m [["name", "wibble"], ["LIMIT", 1]]
|
809
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
810
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.9999861251562834e-06], ["created_at", "2019-08-22 20:52:05.874547"], ["control_duration", 0.0], ["candidate_duration", 1.9999861251562834e-06]]
|
811
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 2], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2019-08-22 20:52:05.875445"]]
|
812
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 2], ["name", "candidate"], ["duration", 1.9999861251562834e-06], ["value", "--- foo\n"], ["created_at", "2019-08-22 20:52:05.876208"]]
|
813
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ?[0m [["id", 1]]
|
814
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
815
|
+
[1m[36mLabTech::Result Load (0.1ms)[0m [1m[34mSELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ?[0m [["experiment_id", 1], ["LIMIT", 1]]
|
816
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
817
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ?[0m [["control_duration", 1.0], ["candidate_duration", 2.0], ["speedup_factor", -2.0], ["time_delta", -1.0], ["id", 2]]
|
818
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
819
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name = 'control') LIMIT ?[0m [["result_id", 2], ["LIMIT", 1]]
|
820
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
821
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ?[0m [["duration", 1.0], ["id", 3]]
|
822
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
823
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name != 'control') ORDER BY "lab_tech_observations"."id" ASC LIMIT ?[0m [["result_id", 2], ["LIMIT", 1]]
|
824
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
825
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ?[0m [["duration", 2.0], ["id", 4]]
|
826
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
827
|
+
[1m[36mLabTech::Experiment Load (0.0ms)[0m [1m[34mSELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ?[0m [["name", "wibble"], ["LIMIT", 1]]
|
828
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
829
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.9999861251562834e-06], ["created_at", "2019-08-22 20:52:05.883435"], ["control_duration", 0.0], ["candidate_duration", 1.9999861251562834e-06]]
|
830
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 3], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2019-08-22 20:52:05.884290"]]
|
831
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 3], ["name", "candidate"], ["duration", 1.9999861251562834e-06], ["value", "--- foo\n"], ["created_at", "2019-08-22 20:52:05.885207"]]
|
832
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ?[0m [["id", 1]]
|
833
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
834
|
+
[1m[36mLabTech::Result Load (0.1ms)[0m [1m[34mSELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ?[0m [["experiment_id", 1], ["LIMIT", 1]]
|
835
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
836
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ?[0m [["control_duration", 1.0], ["candidate_duration", 1.0], ["speedup_factor", 0.0], ["time_delta", 0.0], ["id", 3]]
|
837
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
838
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name = 'control') LIMIT ?[0m [["result_id", 3], ["LIMIT", 1]]
|
839
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
840
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ?[0m [["duration", 1.0], ["id", 5]]
|
841
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
842
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name != 'control') ORDER BY "lab_tech_observations"."id" ASC LIMIT ?[0m [["result_id", 3], ["LIMIT", 1]]
|
843
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
844
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ?[0m [["duration", 1.0], ["id", 6]]
|
845
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
846
|
+
[1m[36mLabTech::Experiment Load (0.0ms)[0m [1m[34mSELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ?[0m [["name", "wibble"], ["LIMIT", 1]]
|
847
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
848
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.00000761449337e-06], ["created_at", "2019-08-22 20:52:05.893616"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 0.0]]
|
849
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 4], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2019-08-22 20:52:05.894530"]]
|
850
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 4], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2019-08-22 20:52:05.895337"]]
|
851
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ?[0m [["id", 1]]
|
852
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
853
|
+
[1m[36mLabTech::Result Load (0.1ms)[0m [1m[34mSELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ?[0m [["experiment_id", 1], ["LIMIT", 1]]
|
854
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
855
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ?[0m [["control_duration", 1.0], ["candidate_duration", 0.5], ["speedup_factor", 2.0], ["time_delta", 0.5], ["id", 4]]
|
856
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
857
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name = 'control') LIMIT ?[0m [["result_id", 4], ["LIMIT", 1]]
|
858
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
859
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ?[0m [["duration", 1.0], ["id", 7]]
|
860
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
861
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name != 'control') ORDER BY "lab_tech_observations"."id" ASC LIMIT ?[0m [["result_id", 4], ["LIMIT", 1]]
|
862
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
863
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ?[0m [["duration", 0.5], ["id", 8]]
|
864
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
865
|
+
[1m[36mLabTech::Experiment Load (0.1ms)[0m [1m[34mSELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ?[0m [["name", "wibble"], ["LIMIT", 1]]
|
866
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
867
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.00000761449337e-06], ["speedup_factor", -2.000029104455892], ["created_at", "2019-08-22 20:52:05.903068"], ["control_duration", 9.999785106629133e-07], ["candidate_duration", 1.9999861251562834e-06]]
|
868
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 5], ["name", "control"], ["duration", 9.999785106629133e-07], ["value", "--- foo\n"], ["created_at", "2019-08-22 20:52:05.904258"]]
|
869
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 5], ["name", "candidate"], ["duration", 1.9999861251562834e-06], ["value", "--- foo\n"], ["created_at", "2019-08-22 20:52:05.905081"]]
|
870
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ?[0m [["id", 1]]
|
871
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
872
|
+
[1m[36mLabTech::Result Load (0.1ms)[0m [1m[34mSELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ?[0m [["experiment_id", 1], ["LIMIT", 1]]
|
873
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
874
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ?[0m [["control_duration", 1.0], ["candidate_duration", 0.1], ["speedup_factor", 10.0], ["time_delta", 0.9], ["id", 5]]
|
875
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
876
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name = 'control') LIMIT ?[0m [["result_id", 5], ["LIMIT", 1]]
|
877
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
878
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ?[0m [["duration", 1.0], ["id", 9]]
|
879
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
880
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name != 'control') ORDER BY "lab_tech_observations"."id" ASC LIMIT ?[0m [["result_id", 5], ["LIMIT", 1]]
|
881
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
882
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ?[0m [["duration", 0.1], ["id", 10]]
|
883
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
884
|
+
[1m[36mLabTech::Experiment Load (0.0ms)[0m [1m[34mSELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
885
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ?[0m [["experiment_id", 1]]
|
886
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
887
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ?[0m [["experiment_id", 1]]
|
888
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ?[0m [["experiment_id", 1]]
|
889
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ?[0m [["experiment_id", 1]]
|
890
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ?[0m [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]
|
891
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ?[0m [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]
|
892
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND (name != 'control') WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND (lab_tech_observations.exception_class = "Timeout::Error")[0m [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"]]
|
893
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND (name != 'control') WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND (lab_tech_observations.exception_class != "Timeout::Error")[0m [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"]]
|
894
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT "lab_tech_results"."time_delta", "lab_tech_results"."speedup_factor" FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ?[0m [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]
|
895
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
896
|
+
[1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
|
897
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
898
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
899
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?)[0m [["name", "wibble"], ["percent_enabled", 100]]
|
900
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
901
|
+
[1m[36mLabTech::Experiment Load (0.0ms)[0m [1m[34mSELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ?[0m [["name", "wibble"], ["LIMIT", 1]]
|
902
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
903
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2019-08-22 20:52:05.920815"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.00000761449337e-06]]
|
904
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 1], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2019-08-22 20:52:05.921938"]]
|
905
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 1], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2019-08-22 20:52:05.923017"]]
|
906
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ?[0m [["id", 1]]
|
907
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
908
|
+
[1m[36mLabTech::Result Load (0.1ms)[0m [1m[34mSELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ?[0m [["experiment_id", 1], ["LIMIT", 1]]
|
909
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
910
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ?[0m [["control_duration", 1.0], ["candidate_duration", 10.0], ["speedup_factor", -10.0], ["time_delta", -9.0], ["id", 1]]
|
911
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
912
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name = 'control') LIMIT ?[0m [["result_id", 1], ["LIMIT", 1]]
|
913
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
914
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ?[0m [["duration", 1.0], ["id", 1]]
|
915
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
916
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name != 'control') ORDER BY "lab_tech_observations"."id" ASC LIMIT ?[0m [["result_id", 1], ["LIMIT", 1]]
|
917
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
918
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ?[0m [["duration", 10.0], ["id", 2]]
|
919
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
920
|
+
[1m[36mLabTech::Experiment Load (0.0ms)[0m [1m[34mSELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ?[0m [["name", "wibble"], ["LIMIT", 1]]
|
921
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
922
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.00000761449337e-06], ["speedup_factor", -2.000029104455892], ["created_at", "2019-08-22 20:52:05.930863"], ["control_duration", 9.999785106629133e-07], ["candidate_duration", 1.9999861251562834e-06]]
|
923
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 2], ["name", "control"], ["duration", 9.999785106629133e-07], ["value", "--- foo\n"], ["created_at", "2019-08-22 20:52:05.931718"]]
|
924
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 2], ["name", "candidate"], ["duration", 1.9999861251562834e-06], ["value", "--- foo\n"], ["created_at", "2019-08-22 20:52:05.932552"]]
|
925
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ?[0m [["id", 1]]
|
926
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
927
|
+
[1m[36mLabTech::Result Load (0.1ms)[0m [1m[34mSELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ?[0m [["experiment_id", 1], ["LIMIT", 1]]
|
928
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
929
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ?[0m [["control_duration", 1.0], ["candidate_duration", 2.0], ["speedup_factor", -2.0], ["time_delta", -1.0], ["id", 2]]
|
930
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
931
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name = 'control') LIMIT ?[0m [["result_id", 2], ["LIMIT", 1]]
|
932
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
933
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ?[0m [["duration", 1.0], ["id", 3]]
|
934
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
935
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name != 'control') ORDER BY "lab_tech_observations"."id" ASC LIMIT ?[0m [["result_id", 2], ["LIMIT", 1]]
|
936
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
937
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ?[0m [["duration", 2.0], ["id", 4]]
|
938
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
939
|
+
[1m[36mLabTech::Experiment Load (0.0ms)[0m [1m[34mSELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ?[0m [["name", "wibble"], ["LIMIT", 1]]
|
940
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
941
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2019-08-22 20:52:05.940284"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.00000761449337e-06]]
|
942
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 3], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2019-08-22 20:52:05.941133"]]
|
943
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 3], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2019-08-22 20:52:05.941873"]]
|
944
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ?[0m [["id", 1]]
|
945
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
946
|
+
[1m[36mLabTech::Result Load (0.1ms)[0m [1m[34mSELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ?[0m [["experiment_id", 1], ["LIMIT", 1]]
|
947
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
948
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ? WHERE "lab_tech_results"."id" = ?[0m [["control_duration", 1.0], ["candidate_duration", 1.0], ["id", 3]]
|
949
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
950
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name = 'control') LIMIT ?[0m [["result_id", 3], ["LIMIT", 1]]
|
951
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
952
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ?[0m [["duration", 1.0], ["id", 5]]
|
953
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
954
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name != 'control') ORDER BY "lab_tech_observations"."id" ASC LIMIT ?[0m [["result_id", 3], ["LIMIT", 1]]
|
955
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
956
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ?[0m [["duration", 1.0], ["id", 6]]
|
957
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
958
|
+
[1m[36mLabTech::Experiment Load (0.0ms)[0m [1m[34mSELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ?[0m [["name", "wibble"], ["LIMIT", 1]]
|
959
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
960
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -9.999785106629133e-07], ["speedup_factor", -1.9999708963911524], ["created_at", "2019-08-22 20:52:05.948681"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.9999861251562834e-06]]
|
961
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 4], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2019-08-22 20:52:05.949502"]]
|
962
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 4], ["name", "candidate"], ["duration", 1.9999861251562834e-06], ["value", "--- foo\n"], ["created_at", "2019-08-22 20:52:05.950221"]]
|
963
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ?[0m [["id", 1]]
|
964
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
965
|
+
[1m[36mLabTech::Result Load (0.1ms)[0m [1m[34mSELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ?[0m [["experiment_id", 1], ["LIMIT", 1]]
|
966
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
967
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ?[0m [["control_duration", 1.0], ["candidate_duration", 0.5], ["speedup_factor", 2.0], ["time_delta", 0.5], ["id", 4]]
|
968
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
969
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name = 'control') LIMIT ?[0m [["result_id", 4], ["LIMIT", 1]]
|
970
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
971
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ?[0m [["duration", 1.0], ["id", 7]]
|
972
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
973
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name != 'control') ORDER BY "lab_tech_observations"."id" ASC LIMIT ?[0m [["result_id", 4], ["LIMIT", 1]]
|
974
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
975
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ?[0m [["duration", 0.5], ["id", 8]]
|
976
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
977
|
+
[1m[36mLabTech::Experiment Load (0.0ms)[0m [1m[34mSELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ?[0m [["name", "wibble"], ["LIMIT", 1]]
|
978
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
979
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -2.00001522898674e-06], ["created_at", "2019-08-22 20:52:05.957646"], ["control_duration", 0.0], ["candidate_duration", 2.00001522898674e-06]]
|
980
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 5], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2019-08-22 20:52:05.958460"]]
|
981
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 5], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2019-08-22 20:52:05.959188"]]
|
982
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ?[0m [["id", 1]]
|
983
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
984
|
+
[1m[36mLabTech::Result Load (0.1ms)[0m [1m[34mSELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ?[0m [["experiment_id", 1], ["LIMIT", 1]]
|
985
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
986
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ?[0m [["control_duration", 1.0], ["candidate_duration", 0.1], ["speedup_factor", 10.0], ["time_delta", 0.9], ["id", 5]]
|
987
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
988
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name = 'control') LIMIT ?[0m [["result_id", 5], ["LIMIT", 1]]
|
989
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
990
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ?[0m [["duration", 1.0], ["id", 9]]
|
991
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
992
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name != 'control') ORDER BY "lab_tech_observations"."id" ASC LIMIT ?[0m [["result_id", 5], ["LIMIT", 1]]
|
993
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
994
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ?[0m [["duration", 0.1], ["id", 10]]
|
995
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
996
|
+
[1m[36mLabTech::Experiment Load (0.0ms)[0m [1m[34mSELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
997
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ?[0m [["experiment_id", 1]]
|
998
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
999
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ?[0m [["experiment_id", 1]]
|
1000
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ?[0m [["experiment_id", 1]]
|
1001
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ?[0m [["experiment_id", 1]]
|
1002
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ?[0m [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]
|
1003
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ?[0m [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]
|
1004
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND (name != 'control') WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND (lab_tech_observations.exception_class = "Timeout::Error")[0m [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"]]
|
1005
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND (name != 'control') WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND (lab_tech_observations.exception_class != "Timeout::Error")[0m [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"]]
|
1006
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT "lab_tech_results"."time_delta", "lab_tech_results"."speedup_factor" FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ?[0m [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]
|
1007
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1008
|
+
[1m[35m (0.7ms)[0m [1m[31mrollback transaction[0m
|
1009
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1010
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1011
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?)[0m [["name", "wibble"], ["percent_enabled", 100]]
|
1012
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1013
|
+
[1m[36mLabTech::Experiment Load (0.0ms)[0m [1m[34mSELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ?[0m [["name", "wibble"], ["LIMIT", 1]]
|
1014
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1015
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.00000761449337e-06], ["speedup_factor", 2.000029104455892], ["created_at", "2019-08-22 20:52:05.974752"], ["control_duration", 1.9999861251562834e-06], ["candidate_duration", 9.999785106629133e-07]]
|
1016
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 1], ["name", "control"], ["duration", 1.9999861251562834e-06], ["value", "--- foo\n"], ["created_at", "2019-08-22 20:52:05.975669"]]
|
1017
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 1], ["name", "candidate"], ["duration", 9.999785106629133e-07], ["value", "--- foo\n"], ["created_at", "2019-08-22 20:52:05.976435"]]
|
1018
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ?[0m [["id", 1]]
|
1019
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1020
|
+
[1m[36mLabTech::Result Load (0.1ms)[0m [1m[34mSELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ?[0m [["experiment_id", 1], ["LIMIT", 1]]
|
1021
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1022
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ?[0m [["control_duration", 1.7367], ["candidate_duration", 0.15918569372771518], ["speedup_factor", 10.9099], ["time_delta", 1.5775143062722847], ["id", 1]]
|
1023
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1024
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name = 'control') LIMIT ?[0m [["result_id", 1], ["LIMIT", 1]]
|
1025
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1026
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ?[0m [["duration", 1.7367], ["id", 1]]
|
1027
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1028
|
+
[1m[36mLabTech::Observation Load (0.2ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name != 'control') ORDER BY "lab_tech_observations"."id" ASC LIMIT ?[0m [["result_id", 1], ["LIMIT", 1]]
|
1029
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1030
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ?[0m [["duration", 0.15918569372771518], ["id", 2]]
|
1031
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1032
|
+
[1m[36mLabTech::Experiment Load (0.0ms)[0m [1m[34mSELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ?[0m [["name", "wibble"], ["LIMIT", 1]]
|
1033
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1034
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.00000761449337e-06], ["created_at", "2019-08-22 20:52:05.983322"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 0.0]]
|
1035
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 2], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2019-08-22 20:52:05.984071"]]
|
1036
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 2], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2019-08-22 20:52:05.984817"]]
|
1037
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ?[0m [["id", 1]]
|
1038
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1039
|
+
[1m[36mLabTech::Result Load (0.1ms)[0m [1m[34mSELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ?[0m [["experiment_id", 1], ["LIMIT", 1]]
|
1040
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1041
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ?[0m [["control_duration", 0.0642], ["candidate_duration", 0.20661485999999998], ["speedup_factor", -3.2183], ["time_delta", -0.14241485999999998], ["id", 2]]
|
1042
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1043
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name = 'control') LIMIT ?[0m [["result_id", 2], ["LIMIT", 1]]
|
1044
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1045
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ?[0m [["duration", 0.0642], ["id", 3]]
|
1046
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1047
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name != 'control') ORDER BY "lab_tech_observations"."id" ASC LIMIT ?[0m [["result_id", 2], ["LIMIT", 1]]
|
1048
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1049
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ?[0m [["duration", 0.20661485999999998], ["id", 4]]
|
1050
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1051
|
+
[1m[36mLabTech::Experiment Load (0.0ms)[0m [1m[34mSELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ?[0m [["name", "wibble"], ["LIMIT", 1]]
|
1052
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1053
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.00000761449337e-06], ["speedup_factor", 2.0], ["created_at", "2019-08-22 20:52:05.999647"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.00000761449337e-06]]
|
1054
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 3], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2019-08-22 20:52:06.000542"]]
|
1055
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 3], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2019-08-22 20:52:06.001229"]]
|
1056
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ?[0m [["id", 1]]
|
1057
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1058
|
+
[1m[36mLabTech::Result Load (0.1ms)[0m [1m[34mSELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ?[0m [["experiment_id", 1], ["LIMIT", 1]]
|
1059
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1060
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ?[0m [["control_duration", 0.0702], ["candidate_duration", 0.07656012], ["speedup_factor", -1.0906], ["time_delta", -0.006360119999999997], ["id", 3]]
|
1061
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1062
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name = 'control') LIMIT ?[0m [["result_id", 3], ["LIMIT", 1]]
|
1063
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1064
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ?[0m [["duration", 0.0702], ["id", 5]]
|
1065
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1066
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name != 'control') ORDER BY "lab_tech_observations"."id" ASC LIMIT ?[0m [["result_id", 3], ["LIMIT", 1]]
|
1067
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1068
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ?[0m [["duration", 0.07656012], ["id", 6]]
|
1069
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1070
|
+
[1m[36mLabTech::Experiment Load (0.0ms)[0m [1m[34mSELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ?[0m [["name", "wibble"], ["LIMIT", 1]]
|
1071
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1072
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.9999861251562834e-06], ["created_at", "2019-08-22 20:52:06.007791"], ["control_duration", 1.9999861251562834e-06], ["candidate_duration", 0.0]]
|
1073
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 4], ["name", "control"], ["duration", 1.9999861251562834e-06], ["value", "--- foo\n"], ["created_at", "2019-08-22 20:52:06.008542"]]
|
1074
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 4], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2019-08-22 20:52:06.009204"]]
|
1075
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ?[0m [["id", 1]]
|
1076
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1077
|
+
[1m[36mLabTech::Result Load (0.1ms)[0m [1m[34mSELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ?[0m [["experiment_id", 1], ["LIMIT", 1]]
|
1078
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1079
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ?[0m [["control_duration", 0.0552], ["candidate_duration", 0.04962689921783691], ["speedup_factor", 1.1123], ["time_delta", 0.005573100782163089], ["id", 4]]
|
1080
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1081
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name = 'control') LIMIT ?[0m [["result_id", 4], ["LIMIT", 1]]
|
1082
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1083
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ?[0m [["duration", 0.0552], ["id", 7]]
|
1084
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1085
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name != 'control') ORDER BY "lab_tech_observations"."id" ASC LIMIT ?[0m [["result_id", 4], ["LIMIT", 1]]
|
1086
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1087
|
+
[1m[35mSQL (0.0ms)[0m [1m[33mUPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ?[0m [["duration", 0.04962689921783691], ["id", 8]]
|
1088
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1089
|
+
[1m[36mLabTech::Experiment Load (0.0ms)[0m [1m[34mSELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ?[0m [["name", "wibble"], ["LIMIT", 1]]
|
1090
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1091
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.00000761449337e-06], ["speedup_factor", 2.0], ["created_at", "2019-08-22 20:52:06.015026"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 1.00000761449337e-06]]
|
1092
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 5], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2019-08-22 20:52:06.015705"]]
|
1093
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 5], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2019-08-22 20:52:06.016312"]]
|
1094
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ?[0m [["id", 1]]
|
1095
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1096
|
+
[1m[36mLabTech::Result Load (0.1ms)[0m [1m[34mSELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ?[0m [["experiment_id", 1], ["LIMIT", 1]]
|
1097
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1098
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ?[0m [["control_duration", 0.0539], ["candidate_duration", 0.045647018970189704], ["speedup_factor", 1.1808], ["time_delta", 0.0082529810298103], ["id", 5]]
|
1099
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1100
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name = 'control') LIMIT ?[0m [["result_id", 5], ["LIMIT", 1]]
|
1101
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1102
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ?[0m [["duration", 0.0539], ["id", 9]]
|
1103
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1104
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name != 'control') ORDER BY "lab_tech_observations"."id" ASC LIMIT ?[0m [["result_id", 5], ["LIMIT", 1]]
|
1105
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1106
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ?[0m [["duration", 0.045647018970189704], ["id", 10]]
|
1107
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1108
|
+
[1m[36mLabTech::Experiment Load (0.0ms)[0m [1m[34mSELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ?[0m [["name", "wibble"], ["LIMIT", 1]]
|
1109
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1110
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2019-08-22 20:52:06.022670"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.00000761449337e-06]]
|
1111
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 6], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2019-08-22 20:52:06.023547"]]
|
1112
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 6], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2019-08-22 20:52:06.024187"]]
|
1113
|
+
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ?[0m [["id", 1]]
|
1114
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1115
|
+
[1m[36mLabTech::Result Load (0.2ms)[0m [1m[34mSELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ?[0m [["experiment_id", 1], ["LIMIT", 1]]
|
1116
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1117
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ?[0m [["control_duration", 0.0554], ["candidate_duration", 0.06243026], ["speedup_factor", -1.1269], ["time_delta", -0.0070302600000000035], ["id", 6]]
|
1118
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1119
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name = 'control') LIMIT ?[0m [["result_id", 6], ["LIMIT", 1]]
|
1120
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1121
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ?[0m [["duration", 0.0554], ["id", 11]]
|
1122
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1123
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name != 'control') ORDER BY "lab_tech_observations"."id" ASC LIMIT ?[0m [["result_id", 6], ["LIMIT", 1]]
|
1124
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1125
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ?[0m [["duration", 0.06243026], ["id", 12]]
|
1126
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1127
|
+
[1m[36mLabTech::Experiment Load (0.1ms)[0m [1m[34mSELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
1128
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ?[0m [["experiment_id", 1]]
|
1129
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1130
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ?[0m [["experiment_id", 1]]
|
1131
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ?[0m [["experiment_id", 1]]
|
1132
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ?[0m [["experiment_id", 1]]
|
1133
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ?[0m [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]
|
1134
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ?[0m [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]
|
1135
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND (name != 'control') WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND (lab_tech_observations.exception_class = "Timeout::Error")[0m [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"]]
|
1136
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND (name != 'control') WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND (lab_tech_observations.exception_class != "Timeout::Error")[0m [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"]]
|
1137
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT "lab_tech_results"."time_delta", "lab_tech_results"."speedup_factor" FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ?[0m [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]
|
1138
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1139
|
+
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
1140
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1141
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1142
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "lab_tech_experiments" ("name", "percent_enabled") VALUES (?, ?)[0m [["name", "wibble"], ["percent_enabled", 100]]
|
1143
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1144
|
+
[1m[36mLabTech::Experiment Load (0.0ms)[0m [1m[34mSELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ?[0m [["name", "wibble"], ["LIMIT", 1]]
|
1145
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1146
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.9999861251562834e-06], ["created_at", "2019-08-22 20:52:06.138604"], ["control_duration", 1.9999861251562834e-06], ["candidate_duration", 0.0]]
|
1147
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 1], ["name", "control"], ["duration", 1.9999861251562834e-06], ["value", "--- foo\n"], ["created_at", "2019-08-22 20:52:06.139605"]]
|
1148
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 1], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2019-08-22 20:52:06.140452"]]
|
1149
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ?[0m [["id", 1]]
|
1150
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1151
|
+
[1m[36mLabTech::Result Load (0.1ms)[0m [1m[34mSELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ?[0m [["experiment_id", 1], ["LIMIT", 1]]
|
1152
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1153
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ?[0m [["control_duration", 0.0030516], ["candidate_duration", 0.00306088], ["speedup_factor", -1.0030410276576223], ["time_delta", -9.280000000000399e-06], ["id", 1]]
|
1154
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1155
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name = 'control') LIMIT ?[0m [["result_id", 1], ["LIMIT", 1]]
|
1156
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1157
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ?[0m [["duration", 0.0030516], ["id", 1]]
|
1158
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1159
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name != 'control') ORDER BY "lab_tech_observations"."id" ASC LIMIT ?[0m [["result_id", 1], ["LIMIT", 1]]
|
1160
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1161
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ?[0m [["duration", 0.00306088], ["id", 2]]
|
1162
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1163
|
+
[1m[36mLabTech::Experiment Load (0.0ms)[0m [1m[34mSELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ?[0m [["name", "wibble"], ["LIMIT", 1]]
|
1164
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1165
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.00000761449337e-06], ["speedup_factor", 2.000029104455892], ["created_at", "2019-08-22 20:52:06.148044"], ["control_duration", 1.9999861251562834e-06], ["candidate_duration", 9.999785106629133e-07]]
|
1166
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 2], ["name", "control"], ["duration", 1.9999861251562834e-06], ["value", "--- foo\n"], ["created_at", "2019-08-22 20:52:06.148904"]]
|
1167
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 2], ["name", "candidate"], ["duration", 9.999785106629133e-07], ["value", "--- foo\n"], ["created_at", "2019-08-22 20:52:06.149669"]]
|
1168
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ?[0m [["id", 1]]
|
1169
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1170
|
+
[1m[36mLabTech::Result Load (0.1ms)[0m [1m[34mSELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ?[0m [["experiment_id", 1], ["LIMIT", 1]]
|
1171
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1172
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ?[0m [["control_duration", 0.000261548], ["candidate_duration", 0.00220928], ["speedup_factor", -8.446938993989631], ["time_delta", -0.0019477320000000002], ["id", 2]]
|
1173
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1174
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name = 'control') LIMIT ?[0m [["result_id", 2], ["LIMIT", 1]]
|
1175
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1176
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ?[0m [["duration", 0.000261548], ["id", 3]]
|
1177
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1178
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name != 'control') ORDER BY "lab_tech_observations"."id" ASC LIMIT ?[0m [["result_id", 2], ["LIMIT", 1]]
|
1179
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1180
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ?[0m [["duration", 0.00220928], ["id", 4]]
|
1181
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1182
|
+
[1m[36mLabTech::Experiment Load (0.0ms)[0m [1m[34mSELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ?[0m [["name", "wibble"], ["LIMIT", 1]]
|
1183
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1184
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.00000761449337e-06], ["speedup_factor", -2.000029104455892], ["created_at", "2019-08-22 20:52:06.157834"], ["control_duration", 9.999785106629133e-07], ["candidate_duration", 1.9999861251562834e-06]]
|
1185
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 3], ["name", "control"], ["duration", 9.999785106629133e-07], ["value", "--- foo\n"], ["created_at", "2019-08-22 20:52:06.158662"]]
|
1186
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 3], ["name", "candidate"], ["duration", 1.9999861251562834e-06], ["value", "--- foo\n"], ["created_at", "2019-08-22 20:52:06.159383"]]
|
1187
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ?[0m [["id", 1]]
|
1188
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1189
|
+
[1m[36mLabTech::Result Load (0.1ms)[0m [1m[34mSELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ?[0m [["experiment_id", 1], ["LIMIT", 1]]
|
1190
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1191
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ?[0m [["control_duration", 0.000781327], ["candidate_duration", 0.00279742], ["speedup_factor", -3.5803447212242765], ["time_delta", -0.002016093], ["id", 3]]
|
1192
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1193
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name = 'control') LIMIT ?[0m [["result_id", 3], ["LIMIT", 1]]
|
1194
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1195
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ?[0m [["duration", 0.000781327], ["id", 5]]
|
1196
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1197
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name != 'control') ORDER BY "lab_tech_observations"."id" ASC LIMIT ?[0m [["result_id", 3], ["LIMIT", 1]]
|
1198
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1199
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ?[0m [["duration", 0.00279742], ["id", 6]]
|
1200
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1201
|
+
[1m[36mLabTech::Experiment Load (0.0ms)[0m [1m[34mSELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ?[0m [["name", "wibble"], ["LIMIT", 1]]
|
1202
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1203
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.0000367183238268e-06], ["speedup_factor", -2.0000582089117844], ["created_at", "2019-08-22 20:52:06.166061"], ["control_duration", 9.999785106629133e-07], ["candidate_duration", 2.00001522898674e-06]]
|
1204
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 4], ["name", "control"], ["duration", 9.999785106629133e-07], ["value", "--- foo\n"], ["created_at", "2019-08-22 20:52:06.166858"]]
|
1205
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 4], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2019-08-22 20:52:06.167570"]]
|
1206
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ?[0m [["id", 1]]
|
1207
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1208
|
+
[1m[36mLabTech::Result Load (0.1ms)[0m [1m[34mSELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ?[0m [["experiment_id", 1], ["LIMIT", 1]]
|
1209
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1210
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ?[0m [["control_duration", 0.00201508], ["candidate_duration", 0.002386], ["speedup_factor", -1.1840720963931954], ["time_delta", -0.0003709200000000003], ["id", 4]]
|
1211
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1212
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name = 'control') LIMIT ?[0m [["result_id", 4], ["LIMIT", 1]]
|
1213
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1214
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ?[0m [["duration", 0.00201508], ["id", 7]]
|
1215
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1216
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name != 'control') ORDER BY "lab_tech_observations"."id" ASC LIMIT ?[0m [["result_id", 4], ["LIMIT", 1]]
|
1217
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1218
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ?[0m [["duration", 0.002386], ["id", 8]]
|
1219
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1220
|
+
[1m[36mLabTech::Experiment Load (0.0ms)[0m [1m[34mSELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ?[0m [["name", "wibble"], ["LIMIT", 1]]
|
1221
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1222
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 2.00001522898674e-06], ["created_at", "2019-08-22 20:52:06.176122"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 0.0]]
|
1223
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 5], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2019-08-22 20:52:06.176956"]]
|
1224
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 5], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2019-08-22 20:52:06.177774"]]
|
1225
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ?[0m [["id", 1]]
|
1226
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1227
|
+
[1m[36mLabTech::Result Load (0.1ms)[0m [1m[34mSELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ?[0m [["experiment_id", 1], ["LIMIT", 1]]
|
1228
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1229
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ?[0m [["control_duration", 0.000593603], ["candidate_duration", 0.00275979], ["speedup_factor", -4.6492184170228255], ["time_delta", -0.002166187], ["id", 5]]
|
1230
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1231
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name = 'control') LIMIT ?[0m [["result_id", 5], ["LIMIT", 1]]
|
1232
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1233
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ?[0m [["duration", 0.000593603], ["id", 9]]
|
1234
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1235
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name != 'control') ORDER BY "lab_tech_observations"."id" ASC LIMIT ?[0m [["result_id", 5], ["LIMIT", 1]]
|
1236
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1237
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ?[0m [["duration", 0.00275979], ["id", 10]]
|
1238
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1239
|
+
[1m[36mLabTech::Experiment Load (0.0ms)[0m [1m[34mSELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ?[0m [["name", "wibble"], ["LIMIT", 1]]
|
1240
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1241
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.9999861251562834e-06], ["created_at", "2019-08-22 20:52:06.184648"], ["control_duration", 0.0], ["candidate_duration", 1.9999861251562834e-06]]
|
1242
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 6], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2019-08-22 20:52:06.185457"]]
|
1243
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 6], ["name", "candidate"], ["duration", 1.9999861251562834e-06], ["value", "--- foo\n"], ["created_at", "2019-08-22 20:52:06.186225"]]
|
1244
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ?[0m [["id", 1]]
|
1245
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1246
|
+
[1m[36mLabTech::Result Load (0.1ms)[0m [1m[34mSELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ?[0m [["experiment_id", 1], ["LIMIT", 1]]
|
1247
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1248
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ?[0m [["control_duration", 0.000259521], ["candidate_duration", 0.0021131], ["speedup_factor", -8.142308329576412], ["time_delta", -0.0018535790000000002], ["id", 6]]
|
1249
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1250
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name = 'control') LIMIT ?[0m [["result_id", 6], ["LIMIT", 1]]
|
1251
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1252
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ?[0m [["duration", 0.000259521], ["id", 11]]
|
1253
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1254
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name != 'control') ORDER BY "lab_tech_observations"."id" ASC LIMIT ?[0m [["result_id", 6], ["LIMIT", 1]]
|
1255
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1256
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ?[0m [["duration", 0.0021131], ["id", 12]]
|
1257
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1258
|
+
[1m[36mLabTech::Experiment Load (0.0ms)[0m [1m[34mSELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ?[0m [["name", "wibble"], ["LIMIT", 1]]
|
1259
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1260
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.0000367183238268e-06], ["speedup_factor", 2.0000582089117844], ["created_at", "2019-08-22 20:52:06.192646"], ["control_duration", 2.00001522898674e-06], ["candidate_duration", 9.999785106629133e-07]]
|
1261
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 7], ["name", "control"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2019-08-22 20:52:06.193384"]]
|
1262
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 7], ["name", "candidate"], ["duration", 9.999785106629133e-07], ["value", "--- foo\n"], ["created_at", "2019-08-22 20:52:06.194046"]]
|
1263
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ?[0m [["id", 1]]
|
1264
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1265
|
+
[1m[36mLabTech::Result Load (0.1ms)[0m [1m[34mSELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ?[0m [["experiment_id", 1], ["LIMIT", 1]]
|
1266
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1267
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ?[0m [["control_duration", 0.000673067], ["candidate_duration", 0.00250636], ["speedup_factor", -3.7237897564432667], ["time_delta", -0.0018332930000000002], ["id", 7]]
|
1268
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1269
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name = 'control') LIMIT ?[0m [["result_id", 7], ["LIMIT", 1]]
|
1270
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1271
|
+
[1m[35mSQL (0.0ms)[0m [1m[33mUPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ?[0m [["duration", 0.000673067], ["id", 13]]
|
1272
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1273
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name != 'control') ORDER BY "lab_tech_observations"."id" ASC LIMIT ?[0m [["result_id", 7], ["LIMIT", 1]]
|
1274
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1275
|
+
[1m[35mSQL (0.0ms)[0m [1m[33mUPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ?[0m [["duration", 0.00250636], ["id", 14]]
|
1276
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1277
|
+
[1m[36mLabTech::Experiment Load (0.0ms)[0m [1m[34mSELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ?[0m [["name", "wibble"], ["LIMIT", 1]]
|
1278
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1279
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.00000761449337e-06], ["created_at", "2019-08-22 20:52:06.199941"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 0.0]]
|
1280
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 8], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2019-08-22 20:52:06.200870"]]
|
1281
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 8], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2019-08-22 20:52:06.201583"]]
|
1282
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ?[0m [["id", 1]]
|
1283
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1284
|
+
[1m[36mLabTech::Result Load (0.1ms)[0m [1m[34mSELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ?[0m [["experiment_id", 1], ["LIMIT", 1]]
|
1285
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1286
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ?[0m [["control_duration", 0.00229586], ["candidate_duration", 0.00285059], ["speedup_factor", -1.2416218758983564], ["time_delta", -0.0005547300000000002], ["id", 8]]
|
1287
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1288
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name = 'control') LIMIT ?[0m [["result_id", 8], ["LIMIT", 1]]
|
1289
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1290
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ?[0m [["duration", 0.00229586], ["id", 15]]
|
1291
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1292
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name != 'control') ORDER BY "lab_tech_observations"."id" ASC LIMIT ?[0m [["result_id", 8], ["LIMIT", 1]]
|
1293
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1294
|
+
[1m[35mSQL (0.0ms)[0m [1m[33mUPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ?[0m [["duration", 0.00285059], ["id", 16]]
|
1295
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1296
|
+
[1m[36mLabTech::Experiment Load (0.0ms)[0m [1m[34mSELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ?[0m [["name", "wibble"], ["LIMIT", 1]]
|
1297
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1298
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -9.999785106629133e-07], ["speedup_factor", -1.9999708963911524], ["created_at", "2019-08-22 20:52:06.207716"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.9999861251562834e-06]]
|
1299
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 9], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2019-08-22 20:52:06.208413"]]
|
1300
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 9], ["name", "candidate"], ["duration", 1.9999861251562834e-06], ["value", "--- foo\n"], ["created_at", "2019-08-22 20:52:06.209029"]]
|
1301
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ?[0m [["id", 1]]
|
1302
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1303
|
+
[1m[36mLabTech::Result Load (0.1ms)[0m [1m[34mSELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ?[0m [["experiment_id", 1], ["LIMIT", 1]]
|
1304
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1305
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ?[0m [["control_duration", 0.002911], ["candidate_duration", 0.00275513], ["speedup_factor", 1.0565744629110059], ["time_delta", 0.0001558699999999998], ["id", 9]]
|
1306
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1307
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name = 'control') LIMIT ?[0m [["result_id", 9], ["LIMIT", 1]]
|
1308
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1309
|
+
[1m[35mSQL (0.0ms)[0m [1m[33mUPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ?[0m [["duration", 0.002911], ["id", 17]]
|
1310
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1311
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name != 'control') ORDER BY "lab_tech_observations"."id" ASC LIMIT ?[0m [["result_id", 9], ["LIMIT", 1]]
|
1312
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1313
|
+
[1m[35mSQL (0.0ms)[0m [1m[33mUPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ?[0m [["duration", 0.00275513], ["id", 18]]
|
1314
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1315
|
+
[1m[36mLabTech::Experiment Load (0.0ms)[0m [1m[34mSELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ?[0m [["name", "wibble"], ["LIMIT", 1]]
|
1316
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1317
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -9.999785106629133e-07], ["speedup_factor", -1.9999708963911524], ["created_at", "2019-08-22 20:52:06.214911"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.9999861251562834e-06]]
|
1318
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 10], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2019-08-22 20:52:06.215594"]]
|
1319
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 10], ["name", "candidate"], ["duration", 1.9999861251562834e-06], ["value", "--- foo\n"], ["created_at", "2019-08-22 20:52:06.216206"]]
|
1320
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ?[0m [["id", 1]]
|
1321
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1322
|
+
[1m[36mLabTech::Result Load (0.1ms)[0m [1m[34mSELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ?[0m [["experiment_id", 1], ["LIMIT", 1]]
|
1323
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1324
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ?[0m [["control_duration", 0.00275274], ["candidate_duration", 0.00251802], ["speedup_factor", 1.0932160983629995], ["time_delta", 0.0002347199999999999], ["id", 10]]
|
1325
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1326
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name = 'control') LIMIT ?[0m [["result_id", 10], ["LIMIT", 1]]
|
1327
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1328
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ?[0m [["duration", 0.00275274], ["id", 19]]
|
1329
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1330
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name != 'control') ORDER BY "lab_tech_observations"."id" ASC LIMIT ?[0m [["result_id", 10], ["LIMIT", 1]]
|
1331
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1332
|
+
[1m[35mSQL (0.0ms)[0m [1m[33mUPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ?[0m [["duration", 0.00251802], ["id", 20]]
|
1333
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1334
|
+
[1m[36mLabTech::Experiment Load (0.0ms)[0m [1m[34mSELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ?[0m [["name", "wibble"], ["LIMIT", 1]]
|
1335
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1336
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.0000367183238268e-06], ["speedup_factor", -2.0000582089117844], ["created_at", "2019-08-22 20:52:06.222437"], ["control_duration", 9.999785106629133e-07], ["candidate_duration", 2.00001522898674e-06]]
|
1337
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 11], ["name", "control"], ["duration", 9.999785106629133e-07], ["value", "--- foo\n"], ["created_at", "2019-08-22 20:52:06.223132"]]
|
1338
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 11], ["name", "candidate"], ["duration", 2.00001522898674e-06], ["value", "--- foo\n"], ["created_at", "2019-08-22 20:52:06.223736"]]
|
1339
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ?[0m [["id", 1]]
|
1340
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1341
|
+
[1m[36mLabTech::Result Load (0.1ms)[0m [1m[34mSELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ?[0m [["experiment_id", 1], ["LIMIT", 1]]
|
1342
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1343
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ?[0m [["control_duration", 0.000236285], ["candidate_duration", 0.00198174], ["speedup_factor", -8.387074930698098], ["time_delta", -0.0017454550000000001], ["id", 11]]
|
1344
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1345
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name = 'control') LIMIT ?[0m [["result_id", 11], ["LIMIT", 1]]
|
1346
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1347
|
+
[1m[35mSQL (0.0ms)[0m [1m[33mUPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ?[0m [["duration", 0.000236285], ["id", 21]]
|
1348
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1349
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name != 'control') ORDER BY "lab_tech_observations"."id" ASC LIMIT ?[0m [["result_id", 11], ["LIMIT", 1]]
|
1350
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1351
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ?[0m [["duration", 0.00198174], ["id", 22]]
|
1352
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1353
|
+
[1m[36mLabTech::Experiment Load (0.0ms)[0m [1m[34mSELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ?[0m [["name", "wibble"], ["LIMIT", 1]]
|
1354
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1355
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 9.999785106629133e-07], ["speedup_factor", 1.9999708963911524], ["created_at", "2019-08-22 20:52:06.229419"], ["control_duration", 1.9999861251562834e-06], ["candidate_duration", 1.00000761449337e-06]]
|
1356
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 12], ["name", "control"], ["duration", 1.9999861251562834e-06], ["value", "--- foo\n"], ["created_at", "2019-08-22 20:52:06.230177"]]
|
1357
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 12], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2019-08-22 20:52:06.230798"]]
|
1358
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ?[0m [["id", 1]]
|
1359
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1360
|
+
[1m[36mLabTech::Result Load (0.1ms)[0m [1m[34mSELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ?[0m [["experiment_id", 1], ["LIMIT", 1]]
|
1361
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1362
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ?[0m [["control_duration", 0.000225291], ["candidate_duration", 0.00257419], ["speedup_factor", -11.426066731471742], ["time_delta", -0.002348899], ["id", 12]]
|
1363
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1364
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name = 'control') LIMIT ?[0m [["result_id", 12], ["LIMIT", 1]]
|
1365
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1366
|
+
[1m[35mSQL (0.0ms)[0m [1m[33mUPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ?[0m [["duration", 0.000225291], ["id", 23]]
|
1367
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1368
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name != 'control') ORDER BY "lab_tech_observations"."id" ASC LIMIT ?[0m [["result_id", 12], ["LIMIT", 1]]
|
1369
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1370
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ?[0m [["duration", 0.00257419], ["id", 24]]
|
1371
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1372
|
+
[1m[36mLabTech::Experiment Load (0.0ms)[0m [1m[34mSELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ?[0m [["name", "wibble"], ["LIMIT", 1]]
|
1373
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1374
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -9.999785106629133e-07], ["created_at", "2019-08-22 20:52:06.237052"], ["control_duration", 0.0], ["candidate_duration", 9.999785106629133e-07]]
|
1375
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 13], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2019-08-22 20:52:06.237780"]]
|
1376
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 13], ["name", "candidate"], ["duration", 9.999785106629133e-07], ["value", "--- foo\n"], ["created_at", "2019-08-22 20:52:06.238387"]]
|
1377
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ?[0m [["id", 1]]
|
1378
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1379
|
+
[1m[36mLabTech::Result Load (0.1ms)[0m [1m[34mSELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ?[0m [["experiment_id", 1], ["LIMIT", 1]]
|
1380
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1381
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ?[0m [["control_duration", 0.000356831], ["candidate_duration", 0.00244557], ["speedup_factor", -6.853580546533234], ["time_delta", -0.002088739], ["id", 13]]
|
1382
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1383
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name = 'control') LIMIT ?[0m [["result_id", 13], ["LIMIT", 1]]
|
1384
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1385
|
+
[1m[35mSQL (0.0ms)[0m [1m[33mUPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ?[0m [["duration", 0.000356831], ["id", 25]]
|
1386
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1387
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name != 'control') ORDER BY "lab_tech_observations"."id" ASC LIMIT ?[0m [["result_id", 13], ["LIMIT", 1]]
|
1388
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1389
|
+
[1m[35mSQL (0.0ms)[0m [1m[33mUPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ?[0m [["duration", 0.00244557], ["id", 26]]
|
1390
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1391
|
+
[1m[36mLabTech::Experiment Load (0.0ms)[0m [1m[34mSELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ?[0m [["name", "wibble"], ["LIMIT", 1]]
|
1392
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1393
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.00000761449337e-06], ["created_at", "2019-08-22 20:52:06.250851"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 0.0]]
|
1394
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 14], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2019-08-22 20:52:06.251588"]]
|
1395
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 14], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2019-08-22 20:52:06.252553"]]
|
1396
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ?[0m [["id", 1]]
|
1397
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1398
|
+
[1m[36mLabTech::Result Load (0.1ms)[0m [1m[34mSELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ?[0m [["experiment_id", 1], ["LIMIT", 1]]
|
1399
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1400
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ?[0m [["control_duration", 0.000287118], ["candidate_duration", 0.00248476], ["speedup_factor", -8.654142199374473], ["time_delta", -0.002197642], ["id", 14]]
|
1401
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1402
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name = 'control') LIMIT ?[0m [["result_id", 14], ["LIMIT", 1]]
|
1403
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1404
|
+
[1m[35mSQL (0.0ms)[0m [1m[33mUPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ?[0m [["duration", 0.000287118], ["id", 27]]
|
1405
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1406
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name != 'control') ORDER BY "lab_tech_observations"."id" ASC LIMIT ?[0m [["result_id", 14], ["LIMIT", 1]]
|
1407
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1408
|
+
[1m[35mSQL (0.0ms)[0m [1m[33mUPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ?[0m [["duration", 0.00248476], ["id", 28]]
|
1409
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1410
|
+
[1m[36mLabTech::Experiment Load (0.0ms)[0m [1m[34mSELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ?[0m [["name", "wibble"], ["LIMIT", 1]]
|
1411
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1412
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 0.0], ["speedup_factor", 0.0], ["created_at", "2019-08-22 20:52:06.258421"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 1.00000761449337e-06]]
|
1413
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 15], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2019-08-22 20:52:06.259111"]]
|
1414
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 15], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2019-08-22 20:52:06.259717"]]
|
1415
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ?[0m [["id", 1]]
|
1416
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1417
|
+
[1m[36mLabTech::Result Load (0.1ms)[0m [1m[34mSELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ?[0m [["experiment_id", 1], ["LIMIT", 1]]
|
1418
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1419
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ?[0m [["control_duration", 0.000556486], ["candidate_duration", 0.00261352], ["speedup_factor", -4.696470351455382], ["time_delta", -0.0020570339999999997], ["id", 15]]
|
1420
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1421
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name = 'control') LIMIT ?[0m [["result_id", 15], ["LIMIT", 1]]
|
1422
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1423
|
+
[1m[35mSQL (0.0ms)[0m [1m[33mUPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ?[0m [["duration", 0.000556486], ["id", 29]]
|
1424
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1425
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name != 'control') ORDER BY "lab_tech_observations"."id" ASC LIMIT ?[0m [["result_id", 15], ["LIMIT", 1]]
|
1426
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1427
|
+
[1m[35mSQL (0.0ms)[0m [1m[33mUPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ?[0m [["duration", 0.00261352], ["id", 30]]
|
1428
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1429
|
+
[1m[36mLabTech::Experiment Load (0.0ms)[0m [1m[34mSELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ?[0m [["name", "wibble"], ["LIMIT", 1]]
|
1430
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1431
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 1.00000761449337e-06], ["created_at", "2019-08-22 20:52:06.265538"], ["control_duration", 1.00000761449337e-06], ["candidate_duration", 0.0]]
|
1432
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 16], ["name", "control"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2019-08-22 20:52:06.266196"]]
|
1433
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 16], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2019-08-22 20:52:06.266784"]]
|
1434
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ?[0m [["id", 1]]
|
1435
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1436
|
+
[1m[36mLabTech::Result Load (0.1ms)[0m [1m[34mSELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ?[0m [["experiment_id", 1], ["LIMIT", 1]]
|
1437
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1438
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ?[0m [["control_duration", 0.00237066], ["candidate_duration", 0.00265087], ["speedup_factor", -1.1181991512912015], ["time_delta", -0.0002802099999999999], ["id", 16]]
|
1439
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1440
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name = 'control') LIMIT ?[0m [["result_id", 16], ["LIMIT", 1]]
|
1441
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1442
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ?[0m [["duration", 0.00237066], ["id", 31]]
|
1443
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1444
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name != 'control') ORDER BY "lab_tech_observations"."id" ASC LIMIT ?[0m [["result_id", 16], ["LIMIT", 1]]
|
1445
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1446
|
+
[1m[35mSQL (0.0ms)[0m [1m[33mUPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ?[0m [["duration", 0.00265087], ["id", 32]]
|
1447
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1448
|
+
[1m[36mLabTech::Experiment Load (0.0ms)[0m [1m[34mSELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ?[0m [["name", "wibble"], ["LIMIT", 1]]
|
1449
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1450
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", -1.9999861251562834e-06], ["created_at", "2019-08-22 20:52:06.272956"], ["control_duration", 0.0], ["candidate_duration", 1.9999861251562834e-06]]
|
1451
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 17], ["name", "control"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2019-08-22 20:52:06.273643"]]
|
1452
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 17], ["name", "candidate"], ["duration", 1.9999861251562834e-06], ["value", "--- foo\n"], ["created_at", "2019-08-22 20:52:06.274234"]]
|
1453
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ?[0m [["id", 1]]
|
1454
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1455
|
+
[1m[36mLabTech::Result Load (0.1ms)[0m [1m[34mSELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ?[0m [["experiment_id", 1], ["LIMIT", 1]]
|
1456
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1457
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ?[0m [["control_duration", 0.00183386], ["candidate_duration", 0.00211302], ["speedup_factor", -1.1522253607145585], ["time_delta", -0.0002791600000000001], ["id", 17]]
|
1458
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1459
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name = 'control') LIMIT ?[0m [["result_id", 17], ["LIMIT", 1]]
|
1460
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1461
|
+
[1m[35mSQL (0.0ms)[0m [1m[33mUPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ?[0m [["duration", 0.00183386], ["id", 33]]
|
1462
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1463
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name != 'control') ORDER BY "lab_tech_observations"."id" ASC LIMIT ?[0m [["result_id", 17], ["LIMIT", 1]]
|
1464
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1465
|
+
[1m[35mSQL (0.0ms)[0m [1m[33mUPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ?[0m [["duration", 0.00211302], ["id", 34]]
|
1466
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1467
|
+
[1m[36mLabTech::Experiment Load (0.0ms)[0m [1m[34mSELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ?[0m [["name", "wibble"], ["LIMIT", 1]]
|
1468
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1469
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 9.999785106629133e-07], ["created_at", "2019-08-22 20:52:06.279711"], ["control_duration", 9.999785106629133e-07], ["candidate_duration", 0.0]]
|
1470
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 18], ["name", "control"], ["duration", 9.999785106629133e-07], ["value", "--- foo\n"], ["created_at", "2019-08-22 20:52:06.280358"]]
|
1471
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 18], ["name", "candidate"], ["duration", 0.0], ["value", "--- foo\n"], ["created_at", "2019-08-22 20:52:06.280951"]]
|
1472
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ?[0m [["id", 1]]
|
1473
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1474
|
+
[1m[36mLabTech::Result Load (0.1ms)[0m [1m[34mSELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ?[0m [["experiment_id", 1], ["LIMIT", 1]]
|
1475
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1476
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ?[0m [["control_duration", 0.00296087], ["candidate_duration", 0.00294441], ["speedup_factor", 1.0055902540746702], ["time_delta", 1.6459999999999825e-05], ["id", 18]]
|
1477
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1478
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name = 'control') LIMIT ?[0m [["result_id", 18], ["LIMIT", 1]]
|
1479
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1480
|
+
[1m[35mSQL (0.0ms)[0m [1m[33mUPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ?[0m [["duration", 0.00296087], ["id", 35]]
|
1481
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1482
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name != 'control') ORDER BY "lab_tech_observations"."id" ASC LIMIT ?[0m [["result_id", 18], ["LIMIT", 1]]
|
1483
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1484
|
+
[1m[35mSQL (0.0ms)[0m [1m[33mUPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ?[0m [["duration", 0.00294441], ["id", 36]]
|
1485
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1486
|
+
[1m[36mLabTech::Experiment Load (0.0ms)[0m [1m[34mSELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."name" = ? LIMIT ?[0m [["name", "wibble"], ["LIMIT", 1]]
|
1487
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1488
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_results" ("experiment_id", "context", "equivalent", "time_delta", "speedup_factor", "created_at", "control_duration", "candidate_duration") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["experiment_id", 1], ["context", "--- {}\n"], ["equivalent", "t"], ["time_delta", 9.999785106629133e-07], ["speedup_factor", 1.9999708963911524], ["created_at", "2019-08-22 20:52:06.286708"], ["control_duration", 1.9999861251562834e-06], ["candidate_duration", 1.00000761449337e-06]]
|
1489
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 19], ["name", "control"], ["duration", 1.9999861251562834e-06], ["value", "--- foo\n"], ["created_at", "2019-08-22 20:52:06.287489"]]
|
1490
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "lab_tech_observations" ("result_id", "name", "duration", "value", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["result_id", 19], ["name", "candidate"], ["duration", 1.00000761449337e-06], ["value", "--- foo\n"], ["created_at", "2019-08-22 20:52:06.288114"]]
|
1491
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_experiments" SET "equivalent_count" = COALESCE("equivalent_count", 0) + 1 WHERE "lab_tech_experiments"."id" = ?[0m [["id", 1]]
|
1492
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1493
|
+
[1m[36mLabTech::Result Load (0.1ms)[0m [1m[34mSELECT "lab_tech_results".* FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? ORDER BY "lab_tech_results"."id" DESC LIMIT ?[0m [["experiment_id", 1], ["LIMIT", 1]]
|
1494
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1495
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_results" SET "control_duration" = ?, "candidate_duration" = ?, "speedup_factor" = ?, "time_delta" = ? WHERE "lab_tech_results"."id" = ?[0m [["control_duration", 0.00031988], ["candidate_duration", 0.00323599], ["speedup_factor", -10.116262348380642], ["time_delta", -0.00291611], ["id", 19]]
|
1496
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1497
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name = 'control') LIMIT ?[0m [["result_id", 19], ["LIMIT", 1]]
|
1498
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1499
|
+
[1m[35mSQL (0.0ms)[0m [1m[33mUPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ?[0m [["duration", 0.00031988], ["id", 37]]
|
1500
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1501
|
+
[1m[36mLabTech::Observation Load (0.1ms)[0m [1m[34mSELECT "lab_tech_observations".* FROM "lab_tech_observations" WHERE "lab_tech_observations"."result_id" = ? AND (name != 'control') ORDER BY "lab_tech_observations"."id" ASC LIMIT ?[0m [["result_id", 19], ["LIMIT", 1]]
|
1502
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1503
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "lab_tech_observations" SET "duration" = ? WHERE "lab_tech_observations"."id" = ?[0m [["duration", 0.00323599], ["id", 38]]
|
1504
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1505
|
+
[1m[36mLabTech::Experiment Load (0.0ms)[0m [1m[34mSELECT "lab_tech_experiments".* FROM "lab_tech_experiments" WHERE "lab_tech_experiments"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
1506
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ?[0m [["experiment_id", 1]]
|
1507
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1508
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT MIN("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ?[0m [["experiment_id", 1]]
|
1509
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT MAX("lab_tech_results"."created_at") FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ?[0m [["experiment_id", 1]]
|
1510
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ?[0m [["experiment_id", 1]]
|
1511
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ?[0m [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]
|
1512
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ?[0m [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "f"]]
|
1513
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND (name != 'control') WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND (lab_tech_observations.exception_class = "Timeout::Error")[0m [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"]]
|
1514
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "lab_tech_results" INNER JOIN "lab_tech_observations" ON "lab_tech_observations"."result_id" = "lab_tech_results"."id" AND (name != 'control') WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ? AND (lab_tech_observations.exception_class != "Timeout::Error")[0m [["experiment_id", 1], ["equivalent", "f"], ["raised_error", "t"]]
|
1515
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT "lab_tech_results"."time_delta", "lab_tech_results"."speedup_factor" FROM "lab_tech_results" WHERE "lab_tech_results"."experiment_id" = ? AND "lab_tech_results"."equivalent" = ? AND "lab_tech_results"."raised_error" = ?[0m [["experiment_id", 1], ["equivalent", "t"], ["raised_error", "f"]]
|
1516
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1517
|
+
[1m[35m (0.7ms)[0m [1m[31mrollback transaction[0m
|
1518
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1519
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|